Lines Matching refs:rdlp
424 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp() function
463 while (rdlp(mp, RXQ_COMMAND) & mask) in rxq_disable()
489 while (rdlp(mp, TXQ_COMMAND) & mask) in txq_disable()
1041 if (rdlp(mp, TXQ_COMMAND) & (1 << txq->index)) in txq_kick()
1044 hw_desc_ptr = rdlp(mp, TXQ_CURRENT_DESC_PTR(txq->index)); in txq_kick()
1203 val = rdlp(mp, off); in txq_set_fixed_prio_mode()
1214 u32 pscr = rdlp(mp, PORT_SERIAL_CONTROL); in mv643xx_eth_adjust_link()
1289 rdlp(mp, RX_DISCARD_FRAME_CNT); in mib_counters_clear()
1290 rdlp(mp, RX_OVERRUN_FRAME_CNT); in mib_counters_clear()
1329 p->rx_discard += rdlp(mp, RX_DISCARD_FRAME_CNT); in mib_counters_update()
1330 p->rx_overrun += rdlp(mp, RX_OVERRUN_FRAME_CNT); in mib_counters_update()
1356 u32 val = rdlp(mp, SDMA_CONFIG); in get_rx_coal()
1380 val = rdlp(mp, SDMA_CONFIG); in set_rx_coal()
1400 temp = (rdlp(mp, TX_FIFO_URGENT_THRESHOLD) & 0x3fff0) >> 4; in get_tx_coal()
1508 port_status = rdlp(mp, PORT_STATUS); in mv643xx_eth_get_link_ksettings_phyless()
1767 unsigned int mac_h = rdlp(mp, MAC_ADDR_HIGH); in uc_addr_get()
1768 unsigned int mac_l = rdlp(mp, MAC_ADDR_LOW); in uc_addr_get()
1815 port_config = rdlp(mp, PORT_CONFIG) & ~UNICAST_PROMISCUOUS_MODE; in mv643xx_eth_program_unicast_filter()
2152 int_cause = rdlp(mp, INT_CAUSE) & mp->int_mask; in mv643xx_eth_collect_events()
2159 int_cause_ext = rdlp(mp, INT_CAUSE_EXT); in mv643xx_eth_collect_events()
2165 ~(rdlp(mp, TXQ_COMMAND) & 0xff); in mv643xx_eth_collect_events()
2202 port_status = rdlp(mp, PORT_STATUS); in handle_link_event()
2340 pscr = rdlp(mp, PORT_SERIAL_CONTROL); in port_start()
2430 rdlp(mp, INT_CAUSE_EXT); in mv643xx_eth_open()
2502 u32 ps = rdlp(mp, PORT_STATUS); in port_reset()
2510 data = rdlp(mp, PORT_SERIAL_CONTROL); in port_reset()
2524 rdlp(mp, INT_MASK); in mv643xx_eth_stop()
2615 rdlp(mp, INT_MASK); in mv643xx_eth_netpoll()
3052 pscr = rdlp(mp, PORT_SERIAL_CONTROL); in init_pscr()
3129 psc1r = rdlp(mp, PORT_SERIAL_CONTROL1); in mv643xx_eth_probe()
3306 rdlp(mp, INT_MASK); in mv643xx_eth_shutdown()