Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/drivers/net/phy/
Dphy-core.c446 u16 regnum) in mmd_phy_indirect()
468 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd()
502 int phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in phy_read_mmd()
524 int __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in __phy_write_mmd()
561 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd()
586 int phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify_changed()
609 int __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in __phy_modify()
630 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify()
655 int __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd_changed()
688 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd_changed()
[all …]
Dmdio_bus.c750 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
782 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
816 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
848 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
870 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
896 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write_nested()
919 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write()
940 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set) in mdiobus_modify()
/kernel/linux/linux-6.6/drivers/net/phy/
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()
608 int __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in __phy_write_mmd()
645 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd()
670 int phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify_changed()
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()
739 int __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd_changed()
772 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd_changed()
[all …]
Dmdio_bus.c847 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
879 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
913 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
943 int __mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in __mdiobus_c45_read()
976 int __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, in __mdiobus_c45_write()
1013 int devad, u32 regnum, u16 mask, in __mdiobus_c45_modify_changed()
1044 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
1066 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
1089 int mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in mdiobus_c45_read()
1116 u32 regnum) in mdiobus_c45_read_nested()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/ngbe/
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()
/kernel/linux/linux-6.6/arch/ia64/include/uapi/asm/
Dgcc_intrin.h22 #define ia64_invala_gr(regnum) asm volatile ("invala.e r%0" :: "i"(regnum)) argument
24 #define ia64_invala_fr(regnum) asm volatile ("invala.e f%0" :: "i"(regnum)) argument
34 #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
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dgcc_intrin.h22 #define ia64_invala_gr(regnum) asm volatile ("invala.e r%0" :: "i"(regnum)) argument
24 #define ia64_invala_fr(regnum) asm volatile ("invala.e f%0" :: "i"(regnum)) argument
34 #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
[all …]
/kernel/linux/linux-6.6/drivers/net/mdio/
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()
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()
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()
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()
/kernel/linux/linux-6.6/include/linux/
Dmdio.h566 static inline int __mdiodev_read(struct mdio_device *mdiodev, u32 regnum) in __mdiodev_read()
571 static inline int __mdiodev_write(struct mdio_device *mdiodev, u32 regnum, in __mdiodev_write()
577 static inline int __mdiodev_modify(struct mdio_device *mdiodev, u32 regnum, in __mdiodev_modify()
584 u32 regnum, u16 mask, u16 set) in __mdiodev_modify_changed()
590 static inline int mdiodev_read(struct mdio_device *mdiodev, u32 regnum) in mdiodev_read()
595 static inline int mdiodev_write(struct mdio_device *mdiodev, u32 regnum, in mdiodev_write()
601 static inline int mdiodev_modify(struct mdio_device *mdiodev, u32 regnum, in mdiodev_modify()
608 u32 regnum, u16 mask, u16 set) in mdiodev_modify_changed()
615 u32 regnum, u16 mask, u16 set) in mdiodev_c45_modify()
622 int devad, u32 regnum, u16 mask, in mdiodev_c45_modify_changed()
[all …]
/kernel/linux/linux-6.6/include/linux/fsl/
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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sunplus/
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()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
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()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
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()
/kernel/linux/linux-5.10/drivers/net/mdio/
Dmdio-cavium.c29 int phy_id, int regnum) in cavium_mdiobus_c45_addr()
62 int cavium_mdiobus_read(struct mii_bus *bus, int phy_id, int regnum) in cavium_mdiobus_read()
103 int cavium_mdiobus_write(struct mii_bus *bus, int phy_id, int regnum, u16 val) in cavium_mdiobus_write()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
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()
/kernel/linux/linux-5.10/include/linux/
Dphy.h941 static inline int phy_read(struct phy_device *phydev, u32 regnum) in phy_read()
946 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ argument
966 static inline int __phy_read(struct phy_device *phydev, u32 regnum) in __phy_read()
981 static inline int phy_write(struct phy_device *phydev, u32 regnum, u16 val) in phy_write()
994 static inline int __phy_write(struct phy_device *phydev, u32 regnum, u16 val) in __phy_write()
1012 static inline int __phy_modify_changed(struct phy_device *phydev, u32 regnum, in __phy_modify_changed()
1043 #define phy_read_mmd_poll_timeout(phydev, devaddr, regnum, val, cond, \ argument
1098 static inline int __phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val) in __phy_set_bits()
1111 static inline int __phy_clear_bits(struct phy_device *phydev, u32 regnum, in __phy_clear_bits()
1123 static inline int phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val) in phy_set_bits()
[all …]
Dmdio.h340 static inline u32 mdiobus_c45_addr(int devad, u16 regnum) in mdiobus_c45_addr()
346 u16 regnum) in __mdiobus_c45_read()
352 u16 regnum, u16 val) in __mdiobus_c45_write()
359 u16 regnum) in mdiobus_c45_read()
365 u16 regnum, u16 val) in mdiobus_c45_write()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/
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()
/kernel/linux/linux-6.6/arch/microblaze/kernel/
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
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dhw_exception_handler.S110 #define R3_TO_LWREG_V(regnum) \ argument
115 #define R3_TO_LWREG(regnum) \ argument
120 #define SWREG_TO_R3_V(regnum) \ argument
125 #define SWREG_TO_R3(regnum) \ argument
130 #define R3_TO_LWREG_VM_V(regnum) \ argument
134 #define R3_TO_LWREG_VM(regnum) \ argument
138 #define SWREG_TO_R3_VM_V(regnum) \ argument
142 #define SWREG_TO_R3_VM(regnum) \ argument
/kernel/linux/linux-6.6/drivers/net/dsa/qca/
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()
898 qca8k_internal_mdio_write(struct mii_bus *slave_bus, int phy, int regnum, u16 data) in qca8k_internal_mdio_write()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvmdio.c141 int regnum) in orion_mdio_smi_read()
173 int regnum, u16 value) in orion_mdio_smi_write()
206 int regnum) in orion_mdio_xsmi_read()
239 int regnum, u16 value) in orion_mdio_xsmi_write()

123456789