Home
last modified time | relevance | path

Searched defs:regnum (Results 1 – 25 of 88) sorted by relevance

1234

/linux/drivers/net/phy/
H A Dmdio_bus.c886 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
915 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
946 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
976 int __mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in __mdiobus_c45_read()
1006 int __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, in __mdiobus_c45_write()
1040 int devad, u32 regnum, u16 mask, in __mdiobus_c45_modify_changed()
1071 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
1093 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
1116 int mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in mdiobus_c45_read()
1143 u32 regnum) in mdiobus_c45_read_nested()
[all …]
/linux/drivers/net/mdio/
H A Dmdio-cavium.c29 int phy_id, int devad, int regnum) in cavium_mdiobus_c45_addr()
60 int cavium_mdiobus_read_c22(struct mii_bus *bus, int phy_id, int regnum) in cavium_mdiobus_read_c22()
91 int regnum) in cavium_mdiobus_read_c45()
124 int cavium_mdiobus_write_c22(struct mii_bus *bus, int phy_id, int regnum, in cavium_mdiobus_write_c22()
160 int regnum, u16 val) in cavium_mdiobus_write_c45()
H A Dmdio-mux.c38 static int mdio_mux_read(struct mii_bus *bus, int phy_id, int regnum) in mdio_mux_read()
59 int regnum) in mdio_mux_read_c45()
83 int regnum, u16 val) in mdio_mux_write()
105 int regnum, u16 val) in mdio_mux_write_c45()
H A Dmdio-regmap.c25 static int mdio_regmap_read_c22(struct mii_bus *bus, int addr, int regnum) in mdio_regmap_read_c22()
41 static int mdio_regmap_write_c22(struct mii_bus *bus, int addr, int regnum, in mdio_regmap_write_c22()
/linux/include/linux/fsl/
H A Denetc_mdio.h51 int regnum) in enetc_mdio_read_c22()
54 int regnum, u16 value) in enetc_mdio_write_c22()
57 int devad, int regnum) in enetc_mdio_read_c45()
60 int devad, int regnum, u16 value) in enetc_mdio_write_c45()
/linux/drivers/net/ethernet/tehuti/
H A Dtn40_mdio.c52 u16 regnum) in tn40_mdio_read()
76 u16 regnum, u16 data) in tn40_mdio_write()
103 int regnum) in tn40_mdio_read_c45()
109 int regnum, u16 val) in tn40_mdio_write_c45()
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c14 static int ngbe_phy_read_reg_internal(struct mii_bus *bus, int phy_addr, int regnum) in ngbe_phy_read_reg_internal()
23 static int ngbe_phy_write_reg_internal(struct mii_bus *bus, int phy_addr, int regnum, u16 value) in ngbe_phy_write_reg_internal()
32 static int ngbe_phy_read_reg_c22(struct mii_bus *bus, int phy_addr, int regnum) in ngbe_phy_read_reg_c22()
46 int regnum, u16 value) in ngbe_phy_write_reg_c22()
/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_mdio.c18 static int spl2sw_mdio_access(struct spl2sw_common *comm, u8 cmd, u8 addr, u8 regnum, u16 wdata) in spl2sw_mdio_access()
60 static int spl2sw_mii_read(struct mii_bus *bus, int addr, int regnum) in spl2sw_mii_read()
67 static int spl2sw_mii_write(struct mii_bus *bus, int addr, int regnum, u16 val) in spl2sw_mii_write()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_mdio.c58 int enetc_mdio_write_c22(struct mii_bus *bus, int phy_id, int regnum, in enetc_mdio_write_c22()
92 int regnum, u16 value) in enetc_mdio_write_c45()
129 int enetc_mdio_read_c22(struct mii_bus *bus, int phy_id, int regnum) in enetc_mdio_read_c22()
172 int regnum) in enetc_mdio_read_c45()
/linux/tools/perf/arch/x86/util/
H A Dunwind-libunwind.c12 int LIBUNWIND__ARCH_REG_ID(int regnum) in LIBUNWIND__ARCH_REG_ID()
76 int LIBUNWIND__ARCH_REG_ID(int regnum) in LIBUNWIND__ARCH_REG_ID()
/linux/arch/microblaze/kernel/
H A Dhw_exception_handler.S104 #define R3_TO_LWREG_V(regnum) \ argument
109 #define R3_TO_LWREG(regnum) \ argument
114 #define SWREG_TO_R3_V(regnum) \ argument
119 #define SWREG_TO_R3(regnum) \ argument
123 #define R3_TO_LWREG_VM_V(regnum) \ argument
127 #define R3_TO_LWREG_VM(regnum) \ argument
131 #define SWREG_TO_R3_VM_V(regnum) \ argument
135 #define SWREG_TO_R3_VM(regnum) \ argument
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c688 int regnum, u32 gssr) in ixgbe_mii_bus_read_generic_c22()
722 int devad, int regnum, u32 gssr) in ixgbe_mii_bus_read_generic_c45()
760 int regnum, u16 val, u32 gssr) in ixgbe_mii_bus_write_generic_c22()
791 int devad, int regnum, u16 val, in ixgbe_mii_bus_write_generic_c45()
824 static int ixgbe_mii_bus_read_c22(struct mii_bus *bus, int addr, int regnum) in ixgbe_mii_bus_read_c22()
841 int regnum) in ixgbe_mii_bus_read_c45()
857 static int ixgbe_mii_bus_write_c22(struct mii_bus *bus, int addr, int regnum, in ixgbe_mii_bus_write_c22()
876 int regnum, u16 val) in ixgbe_mii_bus_write_c45()
893 int regnum) in ixgbe_x550em_a_mii_bus_read_c22()
911 int devad, int regnum) in ixgbe_x550em_a_mii_bus_read_c45()
[all …]
/linux/drivers/net/ethernet/marvell/
H A Dmvmdio.c131 int regnum) in orion_mdio_smi_read()
160 int regnum, u16 value) in orion_mdio_smi_write()
188 int dev_addr, int regnum) in orion_mdio_xsmi_read_c45()
217 int dev_addr, int regnum, u16 value) in orion_mdio_xsmi_write_c45()
/linux/include/linux/
H A Dphy.h1298 static inline int phy_read(struct phy_device *phydev, u32 regnum) in phy_read()
1303 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ argument
1324 static inline int __phy_read(struct phy_device *phydev, u32 regnum) in __phy_read()
1339 static inline int phy_write(struct phy_device *phydev, u32 regnum, u16 val) in phy_write()
1352 static inline int __phy_write(struct phy_device *phydev, u32 regnum, u16 val) in __phy_write()
1370 static inline int __phy_modify_changed(struct phy_device *phydev, u32 regnum, in __phy_modify_changed()
1402 #define phy_read_mmd_poll_timeout(phydev, devaddr, regnum, val, cond, \ argument
1459 static inline int __phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val) in __phy_set_bits()
1472 static inline int __phy_clear_bits(struct phy_device *phydev, u32 regnum, in __phy_clear_bits()
1484 static inline int phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val) in phy_set_bits()
[all …]
/linux/drivers/net/usb/
H A Dnet1080.c96 nc_vendor_read(struct usbnet *dev, u8 req, u8 regnum, u16 *retval_ptr) in nc_vendor_read()
111 nc_register_read(struct usbnet *dev, u8 regnum, u16 *retval_ptr) in nc_register_read()
117 nc_vendor_write(struct usbnet *dev, u8 req, u8 regnum, u16 value) in nc_vendor_write()
125 nc_register_write(struct usbnet *dev, u8 regnum, u16 value) in nc_register_write()
/linux/drivers/net/ethernet/freescale/
H A Dxgmac_mdio.c131 static int xgmac_mdio_write_c22(struct mii_bus *bus, int phy_id, int regnum, in xgmac_mdio_write_c22()
164 int regnum, u16 value) in xgmac_mdio_write_c45()
206 static int xgmac_mdio_read_c22(struct mii_bus *bus, int phy_id, int regnum) in xgmac_mdio_read_c22()
266 int regnum) in xgmac_mdio_read_c45()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-phy.c44 static int emac_mdio_read(struct mii_bus *bus, int addr, int regnum) in emac_mdio_read()
67 static int emac_mdio_write(struct mii_bus *bus, int addr, int regnum, u16 val) in emac_mdio_write()
/linux/drivers/net/dsa/
H A Dlan9303-core.c286 static int lan9303_virt_phy_reg_read(struct lan9303 *chip, int regnum) in lan9303_virt_phy_reg_read()
301 static int lan9303_virt_phy_reg_write(struct lan9303 *chip, int regnum, u16 val) in lan9303_virt_phy_reg_write()
315 static int lan9303_indirect_phy_read(struct lan9303 *chip, int addr, int regnum) in lan9303_indirect_phy_read()
353 int regnum, u16 val) in lan9303_indirect_phy_write()
393 static int lan9303_write_switch_reg(struct lan9303 *chip, u16 regnum, u32 val) in lan9303_write_switch_reg()
425 static int lan9303_read_switch_reg(struct lan9303 *chip, u16 regnum, u32 *val) in lan9303_read_switch_reg()
461 static int lan9303_write_switch_reg_mask(struct lan9303 *chip, u16 regnum, in lan9303_write_switch_reg_mask()
477 u16 regnum, u32 val) in lan9303_write_switch_port()
484 u16 regnum, u32 *val) in lan9303_read_switch_port()
1079 static int lan9303_phy_read(struct dsa_switch *ds, int port, int regnum) in lan9303_phy_read()
[all …]
H A Dmt7530.c554 static int mt7530_phy_read_c22(struct mt7530_priv *priv, int port, int regnum) in mt7530_phy_read_c22()
559 static int mt7530_phy_write_c22(struct mt7530_priv *priv, int port, int regnum, in mt7530_phy_write_c22()
566 int devad, int regnum) in mt7530_phy_read_c45()
572 int regnum, u16 val) in mt7530_phy_write_c45()
579 int regnum) in mt7531_ind_c45_phy_read()
627 int regnum, u16 data) in mt7531_ind_c45_phy_write()
673 mt7531_ind_c22_phy_read(struct mt7530_priv *priv, int port, int regnum) in mt7531_ind_c22_phy_read()
710 mt7531_ind_c22_phy_write(struct mt7530_priv *priv, int port, int regnum, in mt7531_ind_c22_phy_write()
747 mt753x_phy_read_c22(struct mii_bus *bus, int port, int regnum) in mt753x_phy_read_c22()
755 mt753x_phy_read_c45(struct mii_bus *bus, int port, int devad, int regnum) in mt753x_phy_read_c45()
[all …]
/linux/drivers/net/dsa/realtek/
H A Drtl83xx.c47 static int rtl83xx_user_mdio_read(struct mii_bus *bus, int addr, int regnum) in rtl83xx_user_mdio_read()
54 static int rtl83xx_user_mdio_write(struct mii_bus *bus, int addr, int regnum, in rtl83xx_user_mdio_write()
/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma-mdio.c200 static int bcma_mdio_mii_read(struct mii_bus *bus, int mii_id, int regnum) in bcma_mdio_mii_read()
205 static int bcma_mdio_mii_write(struct mii_bus *bus, int mii_id, int regnum, in bcma_mdio_mii_write()
/linux/drivers/net/ethernet/hisilicon/
H A Dhns_mdio.c218 int phy_id, int regnum, u16 data) in hns_mdio_write_c22()
260 int regnum, u16 data) in hns_mdio_write_c45()
313 static int hns_mdio_read_c22(struct mii_bus *bus, int phy_id, int regnum) in hns_mdio_read_c22()
364 int regnum) in hns_mdio_read_c45()
/linux/tools/perf/arch/arm/util/
H A Dunwind-libunwind.c9 int libunwind__arch_reg_id(int regnum) in libunwind__arch_reg_id()
/linux/tools/perf/arch/loongarch/util/
H A Dunwind-libunwind.c9 int libunwind__arch_reg_id(int regnum) in libunwind__arch_reg_id()
/linux/tools/perf/arch/arm64/util/
H A Dunwind-libunwind.c11 int LIBUNWIND__ARCH_REG_ID(int regnum) in LIBUNWIND__ARCH_REG_ID()

1234