Home
last modified time | relevance | path

Searched refs:phy_id (Results 1 – 14 of 14) sorted by relevance

/include/linux/fsl/
Denetc_mdio.h40 int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum);
41 int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value);
46 static inline int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum) in enetc_mdio_read() argument
48 static inline int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, in enetc_mdio_write() argument
/include/linux/platform_data/
Deth-ep93xx.h7 unsigned char phy_id; member
/include/linux/
Dphy_fixed.h21 extern int fixed_phy_add(unsigned int irq, int phy_id,
37 static inline int fixed_phy_add(unsigned int irq, int phy_id, in fixed_phy_add() argument
Ddavinci_emac.h35 const char *phy_id; member
Dmdio.h117 static inline bool mdio_phy_id_is_c45(int phy_id) in mdio_phy_id_is_c45() argument
119 return (phy_id & MDIO_PHY_ID_C45) && !(phy_id & ~MDIO_PHY_ID_C45_MASK); in mdio_phy_id_is_c45()
122 static inline __u16 mdio_phy_id_prtad(int phy_id) in mdio_phy_id_prtad() argument
124 return (phy_id & MDIO_PHY_ID_PRTAD) >> 5; in mdio_phy_id_prtad()
127 static inline __u16 mdio_phy_id_devad(int phy_id) in mdio_phy_id_devad() argument
129 return phy_id & MDIO_PHY_ID_DEVAD; in mdio_phy_id_devad()
Dsungem_phy.h24 u32 phy_id; /* Concatenated ID1 << 16 | ID2 */ member
Dmii.h19 int phy_id; member
29 int (*mdio_read) (struct net_device *dev, int phy_id, int location);
30 void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val);
Dphy.h621 u32 phy_id; member
792 u32 phy_id; member
991 #define PHY_ID_MATCH_EXACT(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 0)
992 #define PHY_ID_MATCH_MODEL(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 4)
993 #define PHY_ID_MATCH_VENDOR(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 10)
1467 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id,
1471 int fwnode_get_phy_id(struct fwnode_handle *fwnode, u32 *phy_id);
1480 static inline int fwnode_get_phy_id(struct fwnode_handle *fwnode, u32 *phy_id) in fwnode_get_phy_id() argument
Dmod_devicetable.h621 __u32 phy_id; member
/include/net/
Dethoc.h18 s8 phy_id; member
/include/linux/mdio/
Dmdio-xgene.h130 int xgene_mdio_rgmii_read(struct mii_bus *bus, int phy_id, int reg);
131 int xgene_mdio_rgmii_write(struct mii_bus *bus, int phy_id, int reg, u16 data);
/include/scsi/
Dsas.h294 u8 phy_id; member
405 u8 phy_id; member
454 u8 phy_id; member
515 u8 phy_id; member
626 u8 phy_id; member
675 u8 phy_id; member
Dlibsas.h93 int phy_id; member
/include/uapi/linux/
Dmii.h179 __u16 phy_id; member