Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/net/phy/
H A Dphy-core.c530 u16 regnum) in mmd_phy_indirect()
552 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd()
586 int phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in phy_read_mmd()
645 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd()
693 int __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in __phy_modify()
714 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify()
772 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd_changed()
797 int __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd()
820 int phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd()
940 int phy_read_paged(struct phy_device *phydev, int page, u32 regnum) in phy_read_paged()
[all …]
H A Dmdio_bus.c847 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
876 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
907 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
1001 int devad, u32 regnum, u16 mask, in __mdiobus_c45_modify_changed()
1032 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
1054 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
1104 u32 regnum) in mdiobus_c45_read_nested()
1153 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write()
1206 u32 regnum, u16 val) in mdiobus_c45_write_nested()
1292 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in mdiobus_modify_changed()
[all …]
/openbmc/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_mdi_c22(struct mii_bus *bus, int phy_addr, int regnum) in ngbe_phy_read_reg_mdi_c22()
60 static int ngbe_phy_write_reg_mdi_c22(struct mii_bus *bus, int phy_addr, int regnum, u16 value) in ngbe_phy_write_reg_mdi_c22()
87 static int ngbe_phy_read_reg_mdi_c45(struct mii_bus *bus, int phy_addr, int devnum, int regnum) in ngbe_phy_read_reg_mdi_c45()
116 int devnum, int regnum, u16 value) in ngbe_phy_write_reg_mdi_c45()
143 static int ngbe_phy_read_reg_c22(struct mii_bus *bus, int phy_addr, int regnum) in ngbe_phy_read_reg_c22()
157 int regnum, u16 value) in ngbe_phy_write_reg_c22()
/openbmc/linux/arch/ia64/include/uapi/asm/
H A Dgcc_intrin.h34 #define ia64_setreg(regnum, val) \ argument
63 #define ia64_getreg(regnum) \ argument
169 #define ia64_ldfs(regnum, x) \ argument
175 #define ia64_ldfd(regnum, x) \ argument
181 #define ia64_ldfe(regnum, x) \ argument
187 #define ia64_ldf8(regnum, x) \ argument
193 #define ia64_ldf_fill(regnum, x) \ argument
204 #define ia64_stfs(x, regnum) \ argument
210 #define ia64_stfd(x, regnum) \ argument
216 #define ia64_stfe(x, regnum) \ argument
[all …]
/openbmc/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-aspeed.c88 static int aspeed_mdio_read_c22(struct mii_bus *bus, int addr, int regnum) in aspeed_mdio_read_c22()
100 static int aspeed_mdio_write_c22(struct mii_bus *bus, int addr, int regnum, in aspeed_mdio_write_c22()
108 int regnum) in aspeed_mdio_read_c45()
126 int regnum, u16 val) in aspeed_mdio_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()
/openbmc/linux/include/linux/
H A Dmdio.h569 static inline int __mdiodev_read(struct mdio_device *mdiodev, u32 regnum) in __mdiodev_read()
574 static inline int __mdiodev_write(struct mdio_device *mdiodev, u32 regnum, in __mdiodev_write()
587 u32 regnum, u16 mask, u16 set) in __mdiodev_modify_changed()
593 static inline int mdiodev_read(struct mdio_device *mdiodev, u32 regnum) in mdiodev_read()
598 static inline int mdiodev_write(struct mdio_device *mdiodev, u32 regnum, in mdiodev_write()
604 static inline int mdiodev_modify(struct mdio_device *mdiodev, u32 regnum, in mdiodev_modify()
611 u32 regnum, u16 mask, u16 set) in mdiodev_modify_changed()
618 u32 regnum, u16 mask, u16 set) in mdiodev_c45_modify()
625 int devad, u32 regnum, u16 mask, in mdiodev_c45_modify_changed()
633 u16 regnum) in mdiodev_c45_read()
[all …]
H A Dphy.h1239 static inline int phy_read(struct phy_device *phydev, u32 regnum) in phy_read()
1244 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ argument
1265 static inline int __phy_read(struct phy_device *phydev, u32 regnum) in __phy_read()
1342 #define phy_read_mmd_poll_timeout(phydev, devaddr, regnum, val, cond, \ argument
1412 static inline int __phy_clear_bits(struct phy_device *phydev, u32 regnum, in __phy_clear_bits()
1451 u32 regnum, u16 val) in __phy_set_bits_mmd()
1467 u32 regnum, u16 val) in __phy_clear_bits_mmd()
1481 u32 regnum, u16 val) in phy_set_bits_mmd()
1495 u32 regnum, u16 val) in phy_clear_bits_mmd()
2019 u32 regnum, u16 val) in phy_package_write()
[all …]
/openbmc/u-boot/drivers/net/
H A Dfsl_mdio.c16 int dev_addr, int regnum, int value) in tsec_local_mdio_write()
30 int dev_addr, int regnum) in tsec_local_mdio_read()
75 int tsec_phy_read(struct mii_dev *bus, int addr, int dev_addr, int regnum) in tsec_phy_read()
83 int tsec_phy_write(struct mii_dev *bus, int addr, int dev_addr, int regnum, in tsec_phy_write()
/openbmc/u-boot/drivers/net/phy/
H A Dmicrel_ksz90x1.c214 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val) in ksz9021_phy_extended_write()
223 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum) in ksz9021_phy_extended_read()
232 int regnum) in ksz9021_phy_extread()
238 int devaddr, int regnum, u16 val) in ksz9021_phy_extwrite()
287 int devaddr, int regnum, u16 mode, u16 val) in ksz9031_phy_extended_write()
304 int regnum, u16 mode) in ksz9031_phy_extended_read()
316 int regnum) in ksz9031_phy_extread()
323 int devaddr, int regnum, u16 val) in ksz9031_phy_extwrite()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/qemu/scripts/
H A Dfeature_to_c.py54 regnum = 0 variable
70 regnum = int(element.attrib['regnum']) variable
/openbmc/qemu/target/hexagon/
H A Dcpu.c105 static void print_reg(FILE *f, CPUHexagonState *env, int regnum) in print_reg()
120 static void print_vreg(FILE *f, CPUHexagonState *env, int regnum, in print_vreg()
144 void hexagon_debug_vreg(CPUHexagonState *env, int regnum) in hexagon_debug_vreg()
149 static void print_qreg(FILE *f, CPUHexagonState *env, int regnum, in print_qreg()
174 void hexagon_debug_qreg(CPUHexagonState *env, int regnum) in hexagon_debug_qreg()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvmdio.c124 int regnum) in orion_mdio_smi_read()
153 int regnum, u16 value) in orion_mdio_smi_write()
181 int dev_addr, int regnum) in orion_mdio_xsmi_read_c45()
210 int dev_addr, int regnum, u16 value) in orion_mdio_xsmi_write_c45()
/openbmc/u-boot/drivers/net/fm/
H A Dtgec_phy.c20 int regnum, u16 value) in tgec_mdio_write()
62 int regnum) in tgec_mdio_read()
/openbmc/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
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c41 qca8k_mii_write_lo(struct mii_bus *bus, int phy_id, u32 regnum, u32 val) in qca8k_mii_write_lo()
56 qca8k_mii_write_hi(struct mii_bus *bus, int phy_id, u32 regnum, u32 val) in qca8k_mii_write_hi()
71 qca8k_mii_read_lo(struct mii_bus *bus, int phy_id, u32 regnum, u32 *val) in qca8k_mii_read_lo()
91 qca8k_mii_read_hi(struct mii_bus *bus, int phy_id, u32 regnum, u32 *val) in qca8k_mii_read_hi()
111 qca8k_mii_read32(struct mii_bus *bus, int phy_id, u32 regnum, u32 *val) in qca8k_mii_read32()
133 qca8k_mii_write32(struct mii_bus *bus, int phy_id, u32 regnum, u32 val) in qca8k_mii_write32()
624 int regnum, u16 data) in qca8k_phy_eth_command()
816 qca8k_mdio_write(struct qca8k_priv *priv, int phy, int regnum, u16 data) in qca8k_mdio_write()
854 qca8k_mdio_read(struct qca8k_priv *priv, int phy, int regnum) in qca8k_mdio_read()
912 qca8k_internal_mdio_read(struct mii_bus *slave_bus, int phy, int regnum) in qca8k_internal_mdio_read()
[all …]
/openbmc/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 s32 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()
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()
929 int regnum, u16 val) in ixgbe_x550em_a_mii_bus_write_c22()
[all …]
/openbmc/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()
/openbmc/u-boot/board/freescale/ls1021aqds/
H A Deth.c69 int regnum) in ls1021a_mdio_read()
79 int regnum, u16 value) in ls1021a_mdio_write()

123456