/kernel/linux/linux-6.6/drivers/phy/ti/ |
H A D | phy-gmii-sel.c | 303 int phy_id = args->args[0]; in phy_gmii_sel_of_xlate() local 312 if (phy_id > priv->num_ports) in phy_gmii_sel_of_xlate() 314 if (phy_id != priv->if_phys[phy_id - 1].id) in phy_gmii_sel_of_xlate() 317 phy_id--; in phy_gmii_sel_of_xlate() 319 priv->if_phys[phy_id].rmii_clock_external = args->args[1]; in phy_gmii_sel_of_xlate() 321 priv->if_phys[phy_id].id, args->args[1]); in phy_gmii_sel_of_xlate() 323 return priv->if_phys[phy_id].if_phy; in phy_gmii_sel_of_xlate()
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | at803x.c | 470 if (phydev->drv->phy_id == ATH8031_PHY_ID) { in at803x_set_wol() 483 if (phydev->drv->phy_id == ATH8031_PHY_ID) { in at803x_set_wol() 802 if (phydev->drv->phy_id == ATH8030_PHY_ID || in at803x_parse_dt() 803 phydev->drv->phy_id == ATH8035_PHY_ID) { in at803x_parse_dt() 831 if (phydev->drv->phy_id == ATH8031_PHY_ID) { in at803x_parse_dt() 871 if (phydev->drv->phy_id == ATH8031_PHY_ID) { in at803x_probe() 912 if (phydev->drv->phy_id != ATH8031_PHY_ID) in at803x_get_features() 1010 if (phydev->drv->phy_id == ATH8031_PHY_ID) { in at803x_config_init() 1187 if (phydev->drv->phy_id == QCA8081_PHY_ID) in at803x_read_specific_status() 1318 if (phydev->drv->phy_id in at803x_config_aneg() [all...] |
H A D | bcm54140.c | 125 #define BCM54140_PHY_ID_REV(phy_id) ((phy_id) & 0x7) 502 u32 phy_id; in bcm54140_get_base_addr_and_port() local 510 * same phy_id like we do. Step 1 will scan forward, step 2 in bcm54140_get_base_addr_and_port() 540 phy_id = tmp << 16; in bcm54140_get_base_addr_and_port() 544 phy_id |= tmp; in bcm54140_get_base_addr_and_port() 547 if ((phy_id & phydev->drv->phy_id_mask) != in bcm54140_get_base_addr_and_port() 548 (phydev->drv->phy_id & phydev->drv->phy_id_mask)) { in bcm54140_get_base_addr_and_port() 610 if (BCM54140_PHY_ID_REV(phydev->phy_id) == BCM54140_REV_B0) { in bcm54140_config_init() 858 .phy_id [all...] |
H A D | lxt.c | 310 .phy_id = 0x78100000, 318 .phy_id = 0x001378e0, 327 .phy_id = 0x00137a10, 338 .phy_id = 0x00137a10,
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | bcm54140.c | 125 #define BCM54140_PHY_ID_REV(phy_id) ((phy_id) & 0x7) 502 u32 phy_id; in bcm54140_get_base_addr_and_port() local 510 * same phy_id like we do. Step 1 will scan forward, step 2 in bcm54140_get_base_addr_and_port() 540 phy_id = tmp << 16; in bcm54140_get_base_addr_and_port() 544 phy_id |= tmp; in bcm54140_get_base_addr_and_port() 547 if ((phy_id & phydev->drv->phy_id_mask) != in bcm54140_get_base_addr_and_port() 548 (phydev->drv->phy_id & phydev->drv->phy_id_mask)) { in bcm54140_get_base_addr_and_port() 610 if (BCM54140_PHY_ID_REV(phydev->phy_id) == BCM54140_REV_B0) { in bcm54140_config_init() 831 .phy_id [all...] |
H A D | micrel.c | 356 if ((phydev->phy_id & MICREL_PHY_ID_MASK) != PHY_ID_KSZ8051) in ksz8051_ksz8795_match_phy_device() 1166 .phy_id = PHY_ID_KS8737, 1177 .phy_id = PHY_ID_KSZ8021, 1192 .phy_id = PHY_ID_KSZ8031, 1207 .phy_id = PHY_ID_KSZ8041, 1224 .phy_id = PHY_ID_KSZ8041RNLI, 1253 .phy_id = PHY_ID_KSZ8001, 1268 .phy_id = PHY_ID_KSZ8081, 1284 .phy_id = PHY_ID_KSZ8061, 1294 .phy_id [all...] |
H A D | lxt.c | 236 .phy_id = 0x78100000, 244 .phy_id = 0x001378e0, 253 .phy_id = 0x00137a10, 264 .phy_id = 0x00137a10,
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | tsi108_dev.c | 75 const unsigned int *phy_id; in tsi108_eth_of_init() local 123 phy_id = of_get_property(phy, "reg", NULL); in tsi108_eth_of_init() 127 tsi_eth_data.phy = *phy_id; in tsi108_eth_of_init()
|
/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | tsi108_dev.c | 75 const unsigned int *phy_id; in tsi108_eth_of_init() local 120 phy_id = of_get_property(phy, "reg", NULL); in tsi108_eth_of_init() 124 tsi_eth_data.phy = *phy_id; in tsi108_eth_of_init()
|
/kernel/linux/linux-5.10/tools/firewire/ |
H A D | nosy-dump.h | 19 uint32_t phy_id:6; member 45 uint32_t phy_id:6; member 63 uint32_t phy_id:6; member
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A D | mptsas.h | 102 u8 phy_id; member 134 u8 phy_id; /* phy number of parent device */ member 160 u8 phy_id; /* phy index */ member
|
/kernel/linux/linux-6.6/drivers/message/fusion/ |
H A D | mptsas.h | 102 u8 phy_id; member 135 u8 phy_id; /* phy number of parent device */ member 161 u8 phy_id; /* phy index */ member
|
/kernel/linux/linux-6.6/tools/firewire/ |
H A D | nosy-dump.h | 19 uint32_t phy_id:6; member 45 uint32_t phy_id:6; member 63 uint32_t phy_id:6; member
|
/kernel/linux/linux-5.10/drivers/nfc/st-nci/ |
H A D | ndlc.h | 20 void *phy_id; member 48 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | phy_fixed.h | 18 extern int fixed_phy_add(unsigned int irq, int phy_id, 34 static inline int fixed_phy_add(unsigned int irq, int phy_id, in fixed_phy_add() argument
|
/kernel/linux/linux-6.6/drivers/nfc/st-nci/ |
H A D | ndlc.h | 20 void *phy_id; member 48 int ndlc_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-fec.c | 52 static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) in fs_enet_fec_mii_read() argument 61 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location)); in fs_enet_fec_mii_read() 75 static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) in fs_enet_fec_mii_write() argument 85 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val)); in fs_enet_fec_mii_write()
|
/kernel/linux/linux-5.10/drivers/net/mdio/ |
H A D | mdio-mux.c | 38 static int mdio_mux_read(struct mii_bus *bus, int phy_id, int regnum) in mdio_mux_read() argument 51 r = pb->mii_bus->read(pb->mii_bus, phy_id, regnum); in mdio_mux_read() 61 static int mdio_mux_write(struct mii_bus *bus, int phy_id, in mdio_mux_write() argument 76 r = pb->mii_bus->write(pb->mii_bus, phy_id, regnum, val); in mdio_mux_write()
|
H A D | of_mdio.c | 30 static int of_get_phy_id(struct device_node *device, u32 *phy_id) in of_get_phy_id() argument 38 *phy_id = ((upper & 0xFFFF) << 16) | (lower & 0xFFFF); in of_get_phy_id() 114 u32 phy_id; in of_mdiobus_register_phy() local 123 if (!is_c45 && !of_get_phy_id(child, &phy_id)) in of_mdiobus_register_phy() 124 phy = phy_device_create(mdio, addr, phy_id, 0, NULL); in of_mdiobus_register_phy() 215 u32 phy_id; in of_mdiobus_child_is_phy() local 217 if (of_get_phy_id(child, &phy_id) != -EINVAL) in of_mdiobus_child_is_phy()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-fec.c | 53 static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) in fs_enet_fec_mii_read() argument 62 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location)); in fs_enet_fec_mii_read() 76 static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) in fs_enet_fec_mii_write() argument 86 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val)); in fs_enet_fec_mii_write()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/asix/ |
H A D | ax88796c_ioctl.c | 171 int ax88796c_mdio_read(struct mii_bus *mdiobus, int phy_id, int loc) in ax88796c_mdio_read() argument 178 | MDIOCR_FADDR(phy_id) | MDIOCR_READ, P2_MDIOCR); in ax88796c_mdio_read() 193 ax88796c_mdio_write(struct mii_bus *mdiobus, int phy_id, int loc, u16 val) in ax88796c_mdio_write() argument 202 MDIOCR_RADDR(loc) | MDIOCR_FADDR(phy_id) in ax88796c_mdio_write()
|
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core-topology.c | 176 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local 185 phy_id = 0; in build_tree() 199 if (phy_id != SELF_ID_PHY_ID(q)) { in build_tree() 201 phy_id, SELF_ID_PHY_ID(q)); in build_tree() 228 if (phy_id == (card->node_id & 0x3f)) in build_tree() 274 "parent_count=%d\n", phy_id, parent_count); in build_tree() 297 phy_id++; in build_tree()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
H A D | media.c | 47 int tulip_mdio_read(struct net_device *dev, int phy_id, int location) in tulip_mdio_read() argument 51 int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; in tulip_mdio_read() 60 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_read() 68 iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); in tulip_mdio_read() 109 void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int val) in tulip_mdio_write() argument 113 int cmd = (0x5002 << 16) | ((phy_id & 0x1f) << 23) | (location<<18) | (val & 0xffff); in tulip_mdio_write() 121 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_write()
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | mdio.c | 538 mii_data->phy_id = mdio->prtad; in mdio_mii_ioctl() 548 /* Validate/convert phy_id */ in mdio_mii_ioctl() 550 mdio_phy_id_is_c45(mii_data->phy_id)) { in mdio_mii_ioctl() 551 prtad = mdio_phy_id_prtad(mii_data->phy_id); in mdio_mii_ioctl() 552 devad = mdio_phy_id_devad(mii_data->phy_id); in mdio_mii_ioctl() 554 mii_data->phy_id < 0x20) { in mdio_mii_ioctl() 555 prtad = mii_data->phy_id; in mdio_mii_ioctl() 560 mii_data->phy_id == mdio->prtad) { in mdio_mii_ioctl()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mdio.h | 119 static inline bool mdio_phy_id_is_c45(int phy_id) in mdio_phy_id_is_c45() argument 121 return (phy_id & MDIO_PHY_ID_C45) && !(phy_id & ~MDIO_PHY_ID_C45_MASK); in mdio_phy_id_is_c45() 124 static inline __u16 mdio_phy_id_prtad(int phy_id) in mdio_phy_id_prtad() argument 126 return (phy_id & MDIO_PHY_ID_PRTAD) >> 5; in mdio_phy_id_prtad() 129 static inline __u16 mdio_phy_id_devad(int phy_id) in mdio_phy_id_devad() argument 131 return phy_id & MDIO_PHY_ID_DEVAD; in mdio_phy_id_devad()
|