/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/ |
H A D | uart.c | 33 static int s3fwrn82_uart_write(void *phy_id, struct sk_buff *out) in s3fwrn82_uart_write() argument 35 struct s3fwrn82_uart_phy *phy = phy_id; in s3fwrn82_uart_write()
|
/kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 41 qca8k_mii_write_lo(struct mii_bus *bus, int phy_id, u32 regnum, u32 val) in qca8k_mii_write_lo() argument 47 ret = bus->write(bus, phy_id, regnum, lo); 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() argument 62 ret = bus->write(bus, phy_id, regnum, hi); 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() argument 75 ret = bus->read(bus, phy_id, regnum); 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() argument 95 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_hi() 111 qca8k_mii_read32(struct mii_bus *bus, int phy_id, u32 regnum, u32 *val) in qca8k_mii_read32() argument 118 ret = qca8k_mii_read_lo(bus, phy_id, regnu in qca8k_mii_read32() 133 qca8k_mii_write32(struct mii_bus *bus, int phy_id, u32 regnum, u32 val) qca8k_mii_write32() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | smsc95xx.c | 164 static u32 mii_address_cmd(int phy_id, int idx, u16 op) in mii_address_cmd() argument 166 return (phy_id & 0x1f) << 11 | (idx & 0x1f) << 6 | op; in mii_address_cmd() 169 static int smsc95xx_mdio_read(struct usbnet *dev, int phy_id, int idx) in smsc95xx_mdio_read() argument 184 addr = mii_address_cmd(phy_id, idx, MII_READ_ | MII_BUSY_); in smsc95xx_mdio_read() 216 static void smsc95xx_mdio_write(struct usbnet *dev, int phy_id, int idx, in smsc95xx_mdio_write() argument 240 addr = mii_address_cmd(phy_id, idx, MII_WRITE_ | MII_BUSY_); in smsc95xx_mdio_write() 295 static int smsc95xx_mdiobus_read(struct mii_bus *bus, int phy_id, int idx) in smsc95xx_mdiobus_read() argument 299 return smsc95xx_mdio_read(dev, phy_id, idx); in smsc95xx_mdiobus_read() 302 static int smsc95xx_mdiobus_write(struct mii_bus *bus, int phy_id, int idx, in smsc95xx_mdiobus_write() argument 307 smsc95xx_mdio_write(dev, phy_id, id in smsc95xx_mdiobus_write() 1352 int ret, phy_id = pdata->phydev->mdio.addr; smsc95xx_enter_suspend1() local [all...] |
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | icplus.c | 311 .phy_id = 0x02430d80, 321 .phy_id = 0x02430d90, 329 .phy_id = 0x02430c54,
|
H A D | phy.c | 325 mii_data->phy_id = phydev->mdio.addr; in phy_mii_ioctl() 329 if (mdio_phy_id_is_c45(mii_data->phy_id)) { in phy_mii_ioctl() 330 prtad = mdio_phy_id_prtad(mii_data->phy_id); in phy_mii_ioctl() 331 devad = mdio_phy_id_devad(mii_data->phy_id); in phy_mii_ioctl() 334 prtad = mii_data->phy_id; in phy_mii_ioctl() 342 if (mdio_phy_id_is_c45(mii_data->phy_id)) { in phy_mii_ioctl() 343 prtad = mdio_phy_id_prtad(mii_data->phy_id); in phy_mii_ioctl() 344 devad = mdio_phy_id_devad(mii_data->phy_id); in phy_mii_ioctl() 347 prtad = mii_data->phy_id; in phy_mii_ioctl()
|
H A D | marvell10g.c | 126 if (phydev->drv->phy_id == MARVELL_PHY_ID_88X3310) in mv10g_hwmon_read_temp_reg() 197 if (phydev->drv->phy_id != MARVELL_PHY_ID_88X3310) in mv3310_hwmon_config() 273 if (phydev->drv->phy_id != MARVELL_PHY_ID_88X3310 || in mv3310_power_up() 777 .phy_id = MARVELL_PHY_ID_88X3310, 793 .phy_id = MARVELL_PHY_ID_88E2110,
|
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.h | 371 void asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc); 372 void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op); 373 void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op);
|
/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/ |
H A D | firmware.c | 58 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_fw_work_complete() 121 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_fw_send_chunk() 224 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mii.h | 19 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);
|
H A D | davinci_emac.h | 30 * phy_id can be one of the following: 35 const char *phy_id; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mii.h | 19 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);
|
H A D | phy.h | 546 * @phy_id: UID for this device found during discovery 643 u32 phy_id; member 873 * @phy_id: The result of reading the UID registers of this PHY 877 * @phy_id_mask: Defines the important bits of the phy_id 894 u32 phy_id; member 972 * phy_id and phy_id_mask. 1152 #define PHY_ID_MATCH_EXACT(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 0) 1153 #define PHY_ID_MATCH_MODEL(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 4) 1154 #define PHY_ID_MATCH_VENDOR(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 10) 1163 * This uses an equivalent test to (@id & @mask) == (@phy_id 1672 fwnode_get_phy_id(struct fwnode_handle *fwnode, u32 *phy_id) fwnode_get_phy_id() argument [all...] |
H A D | davinci_emac.h | 30 * phy_id can be one of the following: 35 const char *phy_id; member
|
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.h | 371 void asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc); 372 void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op); 373 void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op);
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | link.c | 80 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_add_link() 132 /* The phy_id, link address and listen_lmac can be modified only until in iwl_mvm_link_changed() 137 cmd.phy_id = cpu_to_le32(phyctxt->id); in iwl_mvm_link_changed() 139 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_link_changed()
|
/kernel/linux/linux-6.6/drivers/nfc/nxp-nci/ |
H A D | firmware.c | 58 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); in nxp_nci_fw_work_complete() 119 r = info->phy_ops->write(info->phy_id, skb); in nxp_nci_fw_send_chunk() 221 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); in nxp_nci_fw_download()
|
/third_party/eudev/src/udev/ |
H A D | udev-builtin-path_id.c | 168 const char *phy_id; in handle_scsi_sas() local 210 phy_id = udev_device_get_sysattr_value(target_sasdev, "phy_identifier"); in handle_scsi_sas() 211 if (phy_id == NULL) { in handle_scsi_sas() 238 path_prepend(path, "sas-exp%s-phy%s-%s", sas_address, phy_id, lun); in handle_scsi_sas() 240 path_prepend(path, "sas-phy%s-%s", phy_id, lun); in handle_scsi_sas()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_roboswitch.c | 90 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_read() 107 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_write() 413 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR && in wpa_driver_roboswitch_init() 414 if_mii(&drv->ifr)->phy_id != 0) { in wpa_driver_roboswitch_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_roboswitch.c | 90 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_read() 107 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_write() 413 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR && in wpa_driver_roboswitch_init() 414 if_mii(&drv->ifr)->phy_id != 0) { in wpa_driver_roboswitch_init()
|
/kernel/linux/linux-5.10/drivers/nfc/pn544/ |
H A D | pn544.h | 19 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
|
/kernel/linux/linux-6.6/drivers/nfc/pn544/ |
H A D | pn544.h | 19 int pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
H A D | xilinx_emaclite.c | 728 * @phy_id: the phy address 737 static int xemaclite_mdio_read(struct mii_bus *bus, int phy_id, int reg) in xemaclite_mdio_read() argument 752 ((phy_id << XEL_MDIOADDR_PHYADR_SHIFT) | reg), in xemaclite_mdio_read() 763 "%s(phy_id=%i, reg=%x) == %x\n", __func__, in xemaclite_mdio_read() 764 phy_id, reg, rc); in xemaclite_mdio_read() 772 * @phy_id: the phy address 781 static int xemaclite_mdio_write(struct mii_bus *bus, int phy_id, int reg, in xemaclite_mdio_write() argument 788 "%s(phy_id=%i, reg=%x, val=%x)\n", __func__, in xemaclite_mdio_write() 789 phy_id, reg, val); in xemaclite_mdio_write() 801 ((phy_id << XEL_MDIOADDR_PHYADR_SHIF in xemaclite_mdio_write() [all...] |
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/ |
H A D | core.c | 218 r = info->phy_ops->enable(info->phy_id); in st21nfca_hci_open() 237 info->phy_ops->disable(info->phy_id); in st21nfca_hci_close() 312 return info->phy_ops->write(info->phy_id, skb); in st21nfca_hci_xmit() 938 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, in st21nfca_hci_probe() argument 955 info->phy_id = phy_id; in st21nfca_hci_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/ |
H A D | ks8851_common.c | 996 static int ks8851_mdio_read(struct mii_bus *bus, int phy_id, int reg) in ks8851_mdio_read() argument 1000 if (phy_id != 0) in ks8851_mdio_read() 1009 return ks8851_phy_read_common(ks->netdev, phy_id, reg); in ks8851_mdio_read() 1012 static int ks8851_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) in ks8851_mdio_write() argument 1016 ks8851_phy_write(ks->netdev, phy_id, reg, val); in ks8851_mdio_write() 1181 ks->mii.phy_id = 1; in ks8851_probe_common()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/ |
H A D | xilinx_emaclite.c | 711 * @phy_id: the phy address 720 static int xemaclite_mdio_read(struct mii_bus *bus, int phy_id, int reg) in xemaclite_mdio_read() argument 735 ((phy_id << XEL_MDIOADDR_PHYADR_SHIFT) | reg), in xemaclite_mdio_read() 746 "%s(phy_id=%i, reg=%x) == %x\n", __func__, in xemaclite_mdio_read() 747 phy_id, reg, rc); in xemaclite_mdio_read() 755 * @phy_id: the phy address 764 static int xemaclite_mdio_write(struct mii_bus *bus, int phy_id, int reg, in xemaclite_mdio_write() argument 771 "%s(phy_id=%i, reg=%x, val=%x)\n", __func__, in xemaclite_mdio_write() 772 phy_id, reg, val); in xemaclite_mdio_write() 784 ((phy_id << XEL_MDIOADDR_PHYADR_SHIF in xemaclite_mdio_write() [all...] |