Lines Matching refs:ioread32be
395 tmp = ioread32be(®s->tsec_id2); in init()
547 iowrite32be(ioread32be(reg) | bit_mask, reg); in set_bucket()
549 iowrite32be(ioread32be(reg) & (~bit_mask), reg); in set_bucket()
675 return (u16)ioread32be(®s->maxfrm); in dtsec_get_max_frame_length()
685 event = ioread32be(®s->ievent) & in dtsec_isr()
688 event &= ioread32be(®s->imask); in dtsec_isr()
717 tpkt1 = ioread32be(®s->tpkt); in dtsec_isr()
720 tmp_reg1 = ioread32be(®s->reserved02c0[27]); in dtsec_isr()
741 tpkt2 = ioread32be(®s->tpkt); in dtsec_isr()
742 tmp_reg2 = ioread32be(®s->reserved02c0[27]); in dtsec_isr()
758 iowrite32be(ioread32be(®s->rctrl) | in dtsec_isr()
765 if (ioread32be(®s->ievent) & in dtsec_isr()
770 if (ioread32be(®s->ievent) & in dtsec_isr()
815 event = ioread32be(®s->tmr_pevent); in dtsec_1588_isr()
816 event &= ioread32be(®s->tmr_pemask); in dtsec_1588_isr()
868 iowrite32be(ioread32be(®s->tctrl) & in graceful_start()
871 iowrite32be(ioread32be(®s->rctrl) & in graceful_start()
882 tmp = ioread32be(®s->rctrl) | RCTRL_GRS; in graceful_stop()
900 tmp = ioread32be(®s->tctrl) | TCTRL_GTS; in graceful_stop()
918 tmp = ioread32be(®s->maccfg1); in dtsec_enable()
943 tmp = ioread32be(®s->maccfg1); in dtsec_disable()
965 if ((ioread32be(®s->rctrl) & RCTRL_GRS) == 0) in dtsec_set_tx_pause_frames()
967 if ((ioread32be(®s->tctrl) & TCTRL_GTS) == 0) in dtsec_set_tx_pause_frames()
980 ptv = ioread32be(®s->ptv); in dtsec_set_tx_pause_frames()
986 iowrite32be(ioread32be(®s->maccfg1) | MACCFG1_TX_FLOW, in dtsec_set_tx_pause_frames()
989 iowrite32be(ioread32be(®s->maccfg1) & ~MACCFG1_TX_FLOW, in dtsec_set_tx_pause_frames()
1006 if ((ioread32be(®s->rctrl) & RCTRL_GRS) == 0) in dtsec_accept_rx_pause_frames()
1008 if ((ioread32be(®s->tctrl) & TCTRL_GTS) == 0) in dtsec_accept_rx_pause_frames()
1013 tmp = ioread32be(®s->maccfg1); in dtsec_accept_rx_pause_frames()
1033 if ((ioread32be(®s->rctrl) & RCTRL_GRS) == 0) in dtsec_modify_mac_address()
1035 if ((ioread32be(®s->tctrl) & TCTRL_GTS) == 0) in dtsec_modify_mac_address()
1065 ghtx = (bool)((ioread32be(®s->rctrl) & RCTRL_GHTX) ? true : false); in dtsec_add_hash_mac_address()
1125 tmp = ioread32be(®s->rctrl); in dtsec_set_allmulti()
1144 rctrl = ioread32be(®s->rctrl); in dtsec_set_tstamp()
1145 tctrl = ioread32be(®s->tctrl); in dtsec_set_tstamp()
1176 ghtx = (bool)((ioread32be(®s->rctrl) & RCTRL_GHTX) ? true : false); in dtsec_del_hash_mac_address()
1241 tmp = ioread32be(®s->rctrl); in dtsec_set_promiscuous()
1250 tmp = ioread32be(®s->rctrl); in dtsec_set_promiscuous()
1270 if ((ioread32be(®s->rctrl) & RCTRL_GRS) == 0) in dtsec_adjust_link()
1272 if ((ioread32be(®s->tctrl) & TCTRL_GTS) == 0) in dtsec_adjust_link()
1277 tmp = ioread32be(®s->maccfg2); in dtsec_adjust_link()
1289 tmp = ioread32be(®s->ecntrl); in dtsec_adjust_link()
1326 *mac_version = ioread32be(®s->tsec_id); in dtsec_get_version()
1352 iowrite32be(ioread32be(®s->imask) | bit_mask, in dtsec_set_exception()
1355 iowrite32be(ioread32be(®s->imask) & ~bit_mask, in dtsec_set_exception()
1366 iowrite32be(ioread32be(®s->tmr_pemask) | in dtsec_set_exception()
1371 iowrite32be(ioread32be(®s->tmr_pemask) & in dtsec_set_exception()
1443 max_frm_ln = (u16)ioread32be(®s->maxfrm); in dtsec_init()