Lines Matching refs:lan78xx_read_reg
603 static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data) in lan78xx_read_reg() function
670 ret = lan78xx_read_reg(dev, reg, &buf); in lan78xx_update_reg()
822 ret = lan78xx_read_reg(dev, reg, &buf); in lan78xx_stop_hw()
836 ret = lan78xx_read_reg(dev, reg, &buf); in lan78xx_stop_hw()
963 ret = lan78xx_read_reg(dev, MII_ACC, &val); in lan78xx_mdiobus_wait_not_busy()
996 ret = lan78xx_read_reg(dev, E2P_CMD, &val); in lan78xx_wait_eeprom()
1021 ret = lan78xx_read_reg(dev, E2P_CMD, &val); in lan78xx_eeprom_confirm_not_busy()
1044 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_read_raw_eeprom()
1078 ret = lan78xx_read_reg(dev, E2P_DATA, &val); in lan78xx_read_raw_eeprom()
1119 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_write_raw_eeprom()
1192 ret = lan78xx_read_reg(dev, OTP_PWR_DN, &buf); in lan78xx_read_raw_otp()
1205 ret = lan78xx_read_reg(dev, OTP_PWR_DN, &buf); in lan78xx_read_raw_otp()
1239 ret = lan78xx_read_reg(dev, OTP_STATUS, &buf); in lan78xx_read_raw_otp()
1250 ret = lan78xx_read_reg(dev, OTP_RD_DATA, &buf); in lan78xx_read_raw_otp()
1268 ret = lan78xx_read_reg(dev, OTP_PWR_DN, &buf); in lan78xx_write_raw_otp()
1281 ret = lan78xx_read_reg(dev, OTP_PWR_DN, &buf); in lan78xx_write_raw_otp()
1324 ret = lan78xx_read_reg(dev, OTP_STATUS, &buf); in lan78xx_write_raw_otp()
1366 ret = lan78xx_read_reg(dev, DP_SEL, &dp_sel); in lan78xx_dataport_wait_not_busy()
1609 ret = lan78xx_read_reg(dev, MAC_CR, &val); in lan78xx_mac_reset()
1622 ret = lan78xx_read_reg(dev, MAC_CR, &val); in lan78xx_mac_reset()
1673 ret = lan78xx_read_reg(dev, USB_CFG1, &buf); in lan78xx_link_reset()
1681 ret = lan78xx_read_reg(dev, USB_CFG1, &buf); in lan78xx_link_reset()
1690 ret = lan78xx_read_reg(dev, USB_CFG1, &buf); in lan78xx_link_reset()
1858 ret = lan78xx_read_reg(dev, USB_CFG0, &buf); in lan78xx_get_wol()
1919 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_get_eee()
1922 ret = lan78xx_read_reg(dev, EEE_TX_LPI_REQ_DLY, &buf); in lan78xx_get_eee()
2117 ret = lan78xx_read_reg(dev, lan78xx_regs[i], &data[i]); in lan78xx_get_regs()
2165 ret = lan78xx_read_reg(dev, RX_ADDRL, &addr_lo); in lan78xx_init_mac_address()
2169 ret = lan78xx_read_reg(dev, RX_ADDRH, &addr_hi); in lan78xx_init_mac_address()
2254 ret = lan78xx_read_reg(dev, MII_DATA, &val); in lan78xx_mdiobus_read()
2366 ret = lan78xx_read_reg(dev, MAC_CR, &data); in lan78xx_link_status_change()
2434 ret = lan78xx_read_reg(dev, INT_EP_CTL, &buf); in lan78xx_irq_bus_sync_unlock()
2469 ret = lan78xx_read_reg(dev, INT_EP_CTL, &buf); in lan78xx_setup_irq_domain()
2535 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan7801_phy_init()
2636 lan78xx_read_reg(dev, HW_CFG, ®); in lan78xx_phy_init()
2662 ret = lan78xx_read_reg(dev, MAC_RX, &buf); in lan78xx_set_rx_max_frame_length()
2889 ret = lan78xx_read_reg(dev, USB_CFG1, &buf); in lan78xx_init_ltm()
2994 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan78xx_reset()
3007 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan78xx_reset()
3024 ret = lan78xx_read_reg(dev, ID_REV, &buf); in lan78xx_reset()
3032 ret = lan78xx_read_reg(dev, USB_CFG0, &buf); in lan78xx_reset()
3055 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan78xx_reset()
3067 ret = lan78xx_read_reg(dev, USB_CFG0, &buf); in lan78xx_reset()
3103 ret = lan78xx_read_reg(dev, RFE_CTL, &pdata->rfe_ctl); in lan78xx_reset()
3121 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_reset()
3134 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_reset()
3145 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_reset()
4654 ret = lan78xx_read_reg(dev, WUCSR, &buf); in lan78xx_set_auto_suspend()
4665 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_set_auto_suspend()
4680 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_set_auto_suspend()
4728 ret = lan78xx_read_reg(dev, PMT_CTL, &temp_pmt_ctl); in lan78xx_set_suspend()
4877 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_set_suspend()
4971 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_suspend()
4984 ret = lan78xx_read_reg(dev, PMT_CTL, &buf); in lan78xx_suspend()