Home
last modified time | relevance | path

Searched refs:phy_id (Results 351 - 375 of 656) sorted by relevance

1...<<11121314151617181920>>...27

/kernel/linux/linux-5.10/drivers/scsi/mvsas/
H A Dmv_init.c79 static void mvs_phy_init(struct mvs_info *mvi, int phy_id) in mvs_phy_init() argument
81 struct mvs_phy *phy = &mvi->phy[phy_id]; in mvs_phy_init()
87 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init()
96 sas_phy->id = phy_id; in mvs_phy_init()
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmxl-gpy.c831 .phy_id = PHY_ID_GPY115B,
866 .phy_id = PHY_ID_GPY211B,
901 .phy_id = PHY_ID_GPY212B,
936 .phy_id = PHY_ID_GPY215B,
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_init.c78 static void mvs_phy_init(struct mvs_info *mvi, int phy_id) in mvs_phy_init() argument
80 struct mvs_phy *phy = &mvi->phy[phy_id]; in mvs_phy_init()
86 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init()
93 sas_phy->id = phy_id; in mvs_phy_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
H A Dnatsemi.c603 static int miiport_read(struct net_device *dev, int phy_id, int reg);
604 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data);
1077 static int miiport_read(struct net_device *dev, int phy_id, int reg) in miiport_read() argument
1087 cmd = (0x06 << 10) | (phy_id << 5) | reg; in miiport_read()
1102 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data) in miiport_write() argument
1110 cmd = (0x5002 << 16) | (phy_id << 23) | (reg << 18) | data; in miiport_write()
3079 data->phy_id = np->phy_addr_external; in netdev_ioctl()
3083 /* The phy_id is not enough to uniquely identify in netdev_ioctl()
3088 if ((data->phy_id & 0x1f) == np->phy_addr_external) in netdev_ioctl()
3094 move_int_phy(dev, data->phy_id in netdev_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/natsemi/
H A Dnatsemi.c603 static int miiport_read(struct net_device *dev, int phy_id, int reg);
604 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data);
1077 static int miiport_read(struct net_device *dev, int phy_id, int reg) in miiport_read() argument
1087 cmd = (0x06 << 10) | (phy_id << 5) | reg; in miiport_read()
1102 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data) in miiport_write() argument
1110 cmd = (0x5002 << 16) | (phy_id << 23) | (reg << 18) | data; in miiport_write()
3079 data->phy_id = np->phy_addr_external; in netdev_ioctl()
3083 /* The phy_id is not enough to uniquely identify in netdev_ioctl()
3088 if ((data->phy_id & 0x1f) == np->phy_addr_external) in netdev_ioctl()
3094 move_int_phy(dev, data->phy_id in netdev_ioctl()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dphy.c63 u16 phy_id; in e1000e_get_phy_id() local
70 ret_val = e1e_rphy(hw, MII_PHYSID1, &phy_id); in e1000e_get_phy_id()
74 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id()
76 ret_val = e1e_rphy(hw, MII_PHYSID2, &phy_id); in e1000e_get_phy_id()
80 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id()
81 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id()
2221 * @phy_id: phy_id read from the phy
2225 enum e1000_phy_type e1000e_get_phy_type_from_id(u32 phy_id) in e1000e_get_phy_type_from_id() argument
2229 switch (phy_id) { in e1000e_get_phy_type_from_id()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
H A Dstarfire.c567 static int mdio_read(struct net_device *dev, int phy_id, int location);
568 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
812 np->mii_if.phy_id = np->phys[0]; in starfire_init_one()
832 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument
835 void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2); in mdio_read()
849 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write() argument
852 void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2); in mdio_write()
1917 if ((cmd == SIOCSMIIREG) && (data->phy_id == np->phys[0])) in netdev_ioctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
H A Depic100.c291 static int mdio_read(struct net_device *dev, int phy_id, int location);
292 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val);
464 ep->mii.phy_id = ep->phys[0]; in epic_init_one()
605 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument
609 int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; in mdio_read()
618 if (phy_id == 1 && location < 6 && in mdio_read()
629 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) in mdio_write() argument
636 ew32(MIICtrl, (phy_id << 9) | (loc << 4) | MII_WRITEOP); in mdio_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c909 data->phy_id = phy; in private_ioctl()
911 data->phy_id = 32; in private_ioctl()
913 data->phy_id = 1; in private_ioctl()
919 if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { in private_ioctl()
949 data->val_out = tulip_mdio_read (dev, data->phy_id & 0x1f, regnum); in private_ioctl()
956 if (data->phy_id == phy) { in private_ioctl()
970 if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { in private_ioctl()
983 tulip_mdio_write (dev, data->phy_id & 0x1f, regnum, data->val_in); in private_ioctl()
/kernel/linux/linux-5.10/drivers/scsi/isci/
H A Dhost.c1929 u32 phy_id; in sci_controller_afe_initialization() local
1983 for (phy_id = 0; phy_id < SCI_MAX_PHYS; phy_id++) { in sci_controller_afe_initialization()
1984 struct scu_afe_transceiver __iomem *xcvr = &afe->scu_afe_xcvr[phy_id]; in sci_controller_afe_initialization()
1985 const struct sci_phy_oem_params *oem_phy = &oem->phys[phy_id]; in sci_controller_afe_initialization()
1987 is_long_cable(phy_id, cable_selection_mask); in sci_controller_afe_initialization()
1989 is_medium_cable(phy_id, cable_selection_mask); in sci_controller_afe_initialization()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c472 (unsigned long long) sas_address, mpt3sas_phy->phy_id); in _transport_delete_phy()
494 sas_address, mpt3sas_phy->phy_id); in _transport_add_phy()
686 mpt3sas_phy->phy_id); in mpt3sas_transport_port_add()
818 mpt3sas_phy->phy_id); in mpt3sas_transport_port_remove()
846 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy()
868 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy()
915 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy()
937 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy()
/kernel/linux/linux-6.6/drivers/net/ethernet/adaptec/
H A Dstarfire.c567 static int mdio_read(struct net_device *dev, int phy_id, int location);
568 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
814 np->mii_if.phy_id = np->phys[0]; in starfire_init_one()
834 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument
837 void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2); in mdio_read()
851 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write() argument
854 void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2); in mdio_write()
1919 if ((cmd == SIOCSMIIREG) && (data->phy_id == np->phys[0])) in netdev_ioctl()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dphy.c64 u16 phy_id; in e1000e_get_phy_id() local
71 ret_val = e1e_rphy(hw, MII_PHYSID1, &phy_id); in e1000e_get_phy_id()
75 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id()
77 ret_val = e1e_rphy(hw, MII_PHYSID2, &phy_id); in e1000e_get_phy_id()
81 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id()
82 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id()
2230 * @phy_id: phy_id read from the phy
2234 enum e1000_phy_type e1000e_get_phy_type_from_id(u32 phy_id) in e1000e_get_phy_type_from_id() argument
2238 switch (phy_id) { in e1000e_get_phy_type_from_id()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c909 data->phy_id = phy; in private_ioctl()
911 data->phy_id = 32; in private_ioctl()
913 data->phy_id = 1; in private_ioctl()
919 if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { in private_ioctl()
949 data->val_out = tulip_mdio_read (dev, data->phy_id & 0x1f, regnum); in private_ioctl()
956 if (data->phy_id == phy) { in private_ioctl()
970 if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { in private_ioctl()
983 tulip_mdio_write (dev, data->phy_id & 0x1f, regnum, data->val_in); in private_ioctl()
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/
H A Depic100.c291 static int mdio_read(struct net_device *dev, int phy_id, int location);
292 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val);
466 ep->mii.phy_id = ep->phys[0]; in epic_init_one()
607 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument
611 int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; in mdio_read()
620 if (phy_id == 1 && location < 6 && in mdio_read()
631 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) in mdio_write() argument
638 ew32(MIICtrl, (phy_id << 9) | (loc << 4) | MII_WRITEOP); in mdio_write()
/kernel/linux/linux-6.6/drivers/scsi/isci/
H A Dhost.c1927 u32 phy_id; in sci_controller_afe_initialization() local
1981 for (phy_id = 0; phy_id < SCI_MAX_PHYS; phy_id++) { in sci_controller_afe_initialization()
1982 struct scu_afe_transceiver __iomem *xcvr = &afe->scu_afe_xcvr[phy_id]; in sci_controller_afe_initialization()
1983 const struct sci_phy_oem_params *oem_phy = &oem->phys[phy_id]; in sci_controller_afe_initialization()
1985 is_long_cable(phy_id, cable_selection_mask); in sci_controller_afe_initialization()
1987 is_medium_cable(phy_id, cable_selection_mask); in sci_controller_afe_initialization()
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dpegasus.c248 static int mdio_read(struct net_device *dev, int phy_id, int loc) in mdio_read() argument
254 ret = read_mii_word(pegasus, phy_id, loc, &res); in mdio_read()
261 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) in mdio_write() argument
266 write_mii_word(pegasus, phy_id, loc, &data); in mdio_write()
1219 pegasus->mii.phy_id = pegasus->phy; in pegasus_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/faraday/
H A Dftmac100.c789 static int ftmac100_mdio_read(struct net_device *netdev, int phy_id, int reg) in ftmac100_mdio_read() argument
795 phycr = FTMAC100_PHYCR_PHYAD(phy_id) | in ftmac100_mdio_read()
814 static void ftmac100_mdio_write(struct net_device *netdev, int phy_id, int reg, in ftmac100_mdio_write() argument
821 phycr = FTMAC100_PHYCR_PHYAD(phy_id) | in ftmac100_mdio_write()
1186 priv->mii.phy_id = 0; in ftmac100_probe()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dpegasus.c223 static int mdio_read(struct net_device *dev, int phy_id, int loc) in mdio_read() argument
229 ret = read_mii_word(pegasus, phy_id, loc, &res); in mdio_read()
236 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) in mdio_write() argument
241 write_mii_word(pegasus, phy_id, loc, &data); in mdio_write()
1193 pegasus->mii.phy_id = pegasus->phy; in pegasus_probe()
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
H A Dboard-neuros-osd2.c210 soc_info->emac_pdata->phy_id = NEUROS_OSD2_PHY_ID; in davinci_ntosd2_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.h282 int phy_id; member
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dbcm84881.c228 .phy_id = 0xae025150,
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dmii.h179 __u16 phy_id; member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.h288 int phy_id; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dmii.h179 __u16 phy_id; member

Completed in 68 milliseconds

1...<<11121314151617181920>>...27