Home
last modified time | relevance | path

Searched refs:lan7x_write_reg (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/usb/eth/
Dlan78xx.c87 ret = lan7x_write_reg(udev, LAN78XX_OTP_PWR_DN, 0); in lan78xx_read_raw_otp()
100 ret = lan7x_write_reg(udev, LAN78XX_OTP_ADDR1, in lan78xx_read_raw_otp()
105 ret = lan7x_write_reg(udev, LAN78XX_OTP_ADDR2, in lan78xx_read_raw_otp()
110 ret = lan7x_write_reg(udev, LAN78XX_OTP_FUNC_CMD, in lan78xx_read_raw_otp()
114 ret = lan7x_write_reg(udev, LAN78XX_OTP_CMD_GO, in lan78xx_read_raw_otp()
193 ret = lan7x_write_reg(udev, LAN78XX_FCT_FLOW, fct_flow); in lan78xx_update_flowcontrol()
196 return lan7x_write_reg(udev, FLOW, flow); in lan78xx_update_flowcontrol()
218 ret = lan7x_write_reg(udev, HW_CFG, val); in lan78xx_read_mac()
235 ret = lan7x_write_reg(udev, HW_CFG, saved); in lan78xx_read_mac()
250 return lan7x_write_reg(udev, LAN78XX_RFE_CTL, in lan78xx_set_receive_filter()
[all …]
Dlan75xx.c69 ret = lan7x_write_reg(udev, LAN75XX_FCT_FLOW, fct_flow); in lan75xx_update_flowcontrol()
72 return lan7x_write_reg(udev, FLOW, flow); in lan75xx_update_flowcontrol()
78 return lan7x_write_reg(udev, LAN75XX_RFE_CTL, in lan75xx_set_receive_filter()
86 lan7x_write_reg(udev, MAC_TX, MAC_TX_TXEN); in lan75xx_start_tx_path()
89 lan7x_write_reg(udev, LAN75XX_FCT_TX_CTL, FCT_TX_CTL_EN); in lan75xx_start_tx_path()
96 lan7x_write_reg(udev, MAC_RX, in lan75xx_start_rx_path()
101 lan7x_write_reg(udev, LAN75XX_FCT_RX_CTL, FCT_RX_CTL_EN); in lan75xx_start_rx_path()
128 return lan7x_write_reg(udev, HW_CFG, val); in lan75xx_basic_reset()
141 ret = lan7x_write_reg(udev, RX_ADDRL, addr_lo); in lan75xx_write_hwaddr()
145 ret = lan7x_write_reg(udev, RX_ADDRH, addr_hi); in lan75xx_write_hwaddr()
[all …]
Dlan7x.c19 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data) in lan7x_write_reg() function
80 lan7x_write_reg(udev, MII_ACC, addr); in lan7x_mdio_read()
102 lan7x_write_reg(udev, MII_DATA, regval); in lan7x_mdio_write()
107 lan7x_write_reg(udev, MII_ACC, addr); in lan7x_mdio_write()
165 lan7x_write_reg(udev, E2P_CMD, val); in lan7x_read_eeprom()
338 ret = lan7x_write_reg(udev, PMT_CTL, data | PMT_CTL_PHY_RST); in lan7x_pmt_phy_reset()
361 ret = lan7x_write_reg(udev, HW_CFG, HW_CFG_LRST); in lan7x_basic_reset()
Dlan7x.h121 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data);