Searched refs:lan9303_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/dsa/ |
H A D | lan9303-core.c | 243 static int lan9303_read(struct regmap *regmap, unsigned int offset, u32 *reg) in lan9303_read() function 272 ret = lan9303_read(chip->regmap, offset, ®); in lan9303_read_wait() 294 ret = lan9303_read(chip->regmap, LAN9303_VIRT_PHY_BASE + regnum, &val); in lan9303_virt_phy_reg_read() 339 ret = lan9303_read(chip->regmap, LAN9303_PMI_DATA, &val); in lan9303_indirect_phy_read() 453 ret = lan9303_read(chip->regmap, LAN9303_SWITCH_CSR_DATA, val); in lan9303_read_switch_reg() 884 err = read_poll_timeout(lan9303_read, ret, in lan9303_check_device() 898 ret = lan9303_read(chip->regmap, LAN9303_CHIP_REV, ®); in lan9303_check_device() 957 ret = lan9303_read(chip->regmap, LAN9303_VIRT_SPECIAL_CTRL, ®); in lan9303_setup() 1353 lan9303_read(chip->regmap, flow_ctl_reg[port], ®); in lan9303_phylink_mac_link_up() 1445 ret = lan9303_read(chip->regmap, LAN9303_BYTE_ORDER, ®); in lan9303_probe()
|