Home
last modified time | relevance | path

Searched refs:dp_sel (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/usb/
H A Dsmsc75xx.c436 u32 dp_sel; in smsc75xx_dataport_wait_not_busy() local
437 ret = smsc75xx_read_reg(dev, DP_SEL, &dp_sel); in smsc75xx_dataport_wait_not_busy()
443 if (dp_sel & DP_SEL_DPRDY) in smsc75xx_dataport_wait_not_busy()
458 u32 dp_sel; in smsc75xx_dataport_write() local
469 ret = smsc75xx_read_reg(dev, DP_SEL, &dp_sel); in smsc75xx_dataport_write()
475 dp_sel &= ~DP_SEL_RSEL; in smsc75xx_dataport_write()
476 dp_sel |= ram_select; in smsc75xx_dataport_write()
477 ret = smsc75xx_write_reg(dev, DP_SEL, dp_sel); in smsc75xx_dataport_write()
H A Dlan78xx.c1160 u32 dp_sel; in lan78xx_dataport_wait_not_busy() local
1162 ret = lan78xx_read_reg(dev, DP_SEL, &dp_sel); in lan78xx_dataport_wait_not_busy()
1166 if (dp_sel & DP_SEL_DPRDY_) in lan78xx_dataport_wait_not_busy()
1181 u32 dp_sel; in lan78xx_dataport_write() local
1193 ret = lan78xx_read_reg(dev, DP_SEL, &dp_sel); in lan78xx_dataport_write()
1195 dp_sel &= ~DP_SEL_RSEL_MASK_; in lan78xx_dataport_write()
1196 dp_sel |= ram_select; in lan78xx_dataport_write()
1197 ret = lan78xx_write_reg(dev, DP_SEL, dp_sel); in lan78xx_dataport_write()
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c751 u32 dp_sel; in lan743x_dp_write() local
757 dp_sel = lan743x_csr_read(adapter, DP_SEL); in lan743x_dp_write()
758 dp_sel &= ~DP_SEL_MASK_; in lan743x_dp_write()
759 dp_sel |= select; in lan743x_dp_write()
760 lan743x_csr_write(adapter, DP_SEL, dp_sel); in lan743x_dp_write()