Lines Matching refs:iowrite32be

349 	iowrite32be(tmp, &regs->macstnaddr1);  in set_mac_address()
352 iowrite32be(tmp, &regs->macstnaddr2); in set_mac_address()
364 iowrite32be(MACCFG1_SOFT_RESET, &regs->maccfg1); in init()
365 iowrite32be(0, &regs->maccfg1); in init()
371 iowrite32be(tmp, &regs->ptv); in init()
378 iowrite32be(tmp, &regs->rctrl); in init()
384 iowrite32be(tbi_addr, &regs->tbipa); in init()
386 iowrite32be(0, &regs->tmr_ctrl); in init()
391 iowrite32be(tmp, &regs->tmr_pevent); in init()
396 iowrite32be(tmp, &regs->tmr_pemask); in init()
403 iowrite32be(tmp, &regs->maccfg1); in init()
411 iowrite32be(tmp, &regs->maccfg2); in init()
422 iowrite32be(tmp, &regs->ipgifg); in init()
430 iowrite32be(tmp, &regs->hafdup); in init()
433 iowrite32be(cfg->maximum_frame, &regs->maxfrm); in init()
435 iowrite32be(0xffffffff, &regs->cam1); in init()
436 iowrite32be(0xffffffff, &regs->cam2); in init()
438 iowrite32be(exception_mask, &regs->imask); in init()
440 iowrite32be(0xffffffff, &regs->ievent); in init()
450 iowrite32be(0, &regs->igaddr[i]); in init()
452 iowrite32be(0, &regs->gaddr[i]); in init()
472 iowrite32be(ioread32be(reg) | bit_mask, reg); in set_bucket()
474 iowrite32be(ioread32be(reg) & (~bit_mask), reg); in set_bucket()
599 iowrite32be(event, &regs->ievent); in dtsec_isr()
668 iowrite32be(ioread32be(&regs->rctrl) | in dtsec_isr()
682 iowrite32be(DTSEC_IMASK_GRSCEN, in dtsec_isr()
729 iowrite32be(event, &regs->tmr_pevent); in dtsec_1588_isr()
794 iowrite32be(ioread32be(&regs->tctrl) & ~TCTRL_GTS, &regs->tctrl); in graceful_start()
795 iowrite32be(ioread32be(&regs->rctrl) & ~RCTRL_GRS, &regs->rctrl); in graceful_start()
805 iowrite32be(tmp, &regs->rctrl); in graceful_stop()
821 iowrite32be(tmp, &regs->tctrl); in graceful_stop()
856 iowrite32be(ptv, &regs->ptv); in dtsec_set_tx_pause_frames()
859 iowrite32be(ioread32be(&regs->maccfg1) | MACCFG1_TX_FLOW, in dtsec_set_tx_pause_frames()
862 iowrite32be(ioread32be(&regs->maccfg1) & ~MACCFG1_TX_FLOW, in dtsec_set_tx_pause_frames()
878 iowrite32be(tmp, &regs->maccfg1); in dtsec_accept_rx_pause_frames()
926 iowrite32be(tmp, &regs->ecntrl); in dtsec_mac_config()
948 iowrite32be(tmp, &regs->ecntrl); in dtsec_link_up()
960 iowrite32be(tmp, &regs->maccfg2); in dtsec_link_up()
967 iowrite32be(tmp, &regs->maccfg1); in dtsec_link_up()
985 iowrite32be(tmp, &regs->maccfg1); in dtsec_link_down()
1086 iowrite32be(tmp, &regs->rctrl); in dtsec_set_allmulti()
1107 iowrite32be(rctrl, &regs->rctrl); in dtsec_set_tstamp()
1108 iowrite32be(tctrl, &regs->tctrl); in dtsec_set_tstamp()
1194 iowrite32be(tmp, &regs->rctrl); in dtsec_set_promiscuous()
1203 iowrite32be(tmp, &regs->rctrl); in dtsec_set_promiscuous()
1226 iowrite32be(ioread32be(&regs->imask) | bit_mask, in dtsec_set_exception()
1229 iowrite32be(ioread32be(&regs->imask) & ~bit_mask, in dtsec_set_exception()
1240 iowrite32be(ioread32be(&regs->tmr_pemask) | in dtsec_set_exception()
1245 iowrite32be(ioread32be(&regs->tmr_pemask) & in dtsec_set_exception()