Searched refs:lan7x_write_reg (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/usb/eth/ |
H A D | lan75xx.c | 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() 96 lan7x_write_reg(udev, MAC_RX, 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() 176 ret = lan7x_write_reg(udev, INT_STS, 0xFFFFFFFF); in lan75xx_eth_start() 180 ret = lan7x_write_reg(udev, LAN75XX_BURST_CAP, 0); in lan75xx_eth_start() 200 ret = lan7x_write_reg(udev, FLOW, 0); in lan75xx_eth_start() [all …]
|
H A D | lan78xx.c | 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() 114 ret = lan7x_write_reg(udev, LAN78XX_OTP_CMD_GO, in lan78xx_read_raw_otp() 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() 258 lan7x_write_reg(udev, MAC_TX, MAC_TX_TXEN); in lan78xx_start_tx_path() 268 lan7x_write_reg(udev, MAC_RX, in lan78xx_start_rx_path() 325 ret = lan7x_write_reg(udev, LAN78XX_MAF_HI(0), in lan78xx_write_hwaddr() [all …]
|
H A D | lan7x.c | 19 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()
|
H A D | lan7x.h | 121 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data);
|