/drivers/nfc/microread/ |
H A D | microread.h | 25 int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
|
/drivers/nfc/ |
H A D | mei_phy.h | 24 int nfc_mei_phy_enable(void *phy_id); 25 void nfc_mei_phy_disable(void *phy_id);
|
H A D | mei_phy.c | 51 int nfc_mei_phy_enable(void *phy_id) argument 54 struct nfc_mei_phy *phy = phy_id; 82 void nfc_mei_phy_disable(void *phy_id) argument 84 struct nfc_mei_phy *phy = phy_id; 99 static int nfc_mei_phy_write(void *phy_id, struct sk_buff *skb) argument 101 struct nfc_mei_phy *phy = phy_id;
|
/drivers/scsi/aic94xx/ |
H A D | aic94xx_scb.c | 90 int phy_id = dl->status_block[0] & DL_PHY_MASK; local 91 struct asd_phy *phy = &asd_ha->phys[phy_id]; 99 ASD_DPRINTK("phy%d: device unplugged\n", phy_id); 100 asd_turn_led(asd_ha, phy_id, 0); 106 asd_turn_led(asd_ha, phy_id, 1); 109 phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto); 114 asd_turn_led(asd_ha, phy_id, 1); 119 ASD_DPRINTK("phy%d error while OOB: oob status:0x%x\n", phy_id, 121 asd_turn_led(asd_ha, phy_id, 0); 237 int edb_id, int phy_id) 235 asd_bytes_dmaed_tasklet(struct asd_ascb *ascb, struct done_list_struct *dl, int edb_id, int phy_id) argument 258 asd_link_reset_err_tasklet(struct asd_ascb *ascb, struct done_list_struct *dl, int phy_id) argument 311 asd_primitive_rcvd_tasklet(struct asd_ascb *ascb, struct done_list_struct *dl, int phy_id) argument 422 int phy_id = sb_opcode & DL_PHY_MASK; local 648 u8 phy_id = control_phy->phy_id; local 776 asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc) argument [all...] |
/drivers/scsi/mvsas/ |
H A D | mv_94xx.c | 51 void set_phy_tuning(struct mvs_info *mvi, int phy_id, argument 96 mvs_write_port_vsr_addr(mvi, phy_id, setting_0); 97 tmp = mvs_read_port_vsr_data(mvi, phy_id); 102 mvs_write_port_vsr_data(mvi, phy_id, tmp); 105 mvs_write_port_vsr_addr(mvi, phy_id, setting_1); 106 tmp = mvs_read_port_vsr_data(mvi, phy_id); 109 mvs_write_port_vsr_data(mvi, phy_id, tmp); 113 void set_phy_ffe_tuning(struct mvs_info *mvi, int phy_id, argument 130 mvs_write_port_vsr_addr(mvi, phy_id, VSR_PHY_FFE_CONTROL); 131 tmp = mvs_read_port_vsr_data(mvi, phy_id); 180 set_phy_rate(struct mvs_info *mvi, int phy_id, u8 rate) argument 219 mvs_94xx_config_reg_from_hba(struct mvs_info *mvi, int phy_id) argument 260 mvs_94xx_enable_xmt(struct mvs_info *mvi, int phy_id) argument 270 mvs_94xx_phy_reset(struct mvs_info *mvi, u32 phy_id, int hard) argument 302 mvs_94xx_phy_disable(struct mvs_info *mvi, u32 phy_id) argument 310 mvs_94xx_phy_enable(struct mvs_info *mvi, u32 phy_id) argument 862 mvs_94xx_phy_set_link_rate(struct mvs_info *mvi, u32 phy_id, struct sas_phy_linkrates *rates) argument [all...] |
H A D | mv_64xx.c | 44 static void mvs_64xx_enable_xmt(struct mvs_info *mvi, int phy_id) argument 51 tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT); 53 tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); 83 static void mvs_64xx_stp_reset(struct mvs_info *mvi, u32 phy_id) argument 89 if (phy_id < MVS_SOC_PORTS) 98 if (phy_id < MVS_SOC_PORTS) 99 tmp |= (1U << phy_id) << PCTL_LINK_OFFS; 101 tmp |= (1U << (phy_id - MVS_SOC_PORTS)) << PCTL_LINK_OFFS; 104 if (phy_id < MVS_SOC_PORTS) { 120 static void mvs_64xx_phy_reset(struct mvs_info *mvi, u32 phy_id, in argument 209 mvs_64xx_phy_disable(struct mvs_info *mvi, u32 phy_id) argument 231 mvs_64xx_phy_enable(struct mvs_info *mvi, u32 phy_id) argument 636 mvs_64xx_phy_set_link_rate(struct mvs_info *mvi, u32 phy_id, struct sas_phy_linkrates *rates) argument [all...] |
/drivers/net/ |
H A D | mii.c | 40 advert = mii->mdio_read(mii->dev, mii->phy_id, addr); 76 ecmd->phy_address = mii->phy_id; 81 bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); 82 bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); 84 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); 85 stat1000 = mii->mdio_read(dev, mii->phy_id, MII_STAT1000); 159 if (ecmd->phy_address != mii->phy_id) 181 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); 184 advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); 193 mii->mdio_write(dev, mii->phy_id, MII_ADVERTIS [all...] |
/drivers/nfc/pn544/ |
H A D | pn544.h | 31 int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name,
|
/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 23 u8 phy_id) 28 if (phy_id >= sas_ha->num_phys) { 34 phy = sas_ha->sas_phy[phy_id]->phy; 35 resp_data[9] = phy_id; 38 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, 45 if (!sas_ha->sas_phy[phy_id]->port || 46 !sas_ha->sas_phy[phy_id]->port->port_dev) 49 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; 141 u8 phy_id) 147 if (phy_id > 22 sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, u8 phy_id) argument 140 sas_report_phy_sata(struct sas_ha_struct *sas_ha, u8 *resp_data, u8 phy_id) argument 183 sas_phy_control(struct sas_ha_struct *sas_ha, u8 phy_id, u8 phy_op, enum sas_linkrate min, enum sas_linkrate max, u8 *resp_data) argument [all...] |
H A D | sas_expander.c | 38 static int sas_configure_phy(struct domain_device *dev, int phy_id, 198 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, void *rsp) argument 207 struct ex_phy *phy = &ex->ex_phy[phy_id]; 215 phy->phy = sas_phy_alloc(&rphy->dev, phy_id); 243 phy->phy_id = phy_id; 252 phy->phy_id = phy_id; 279 phy->phy->identify.phy_identifier = phy_id; 341 SAS_ADDR(dev->sas_addr), phy->phy_id, 347 sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) argument 579 sas_smp_phy_control(struct domain_device *dev, int phy_id, enum phy_func phy_func, struct sas_phy_linkrates *rates) argument 612 sas_ex_disable_phy(struct domain_device *dev, int phy_id) argument 697 sas_get_report_phy_sata(struct domain_device *dev, int phy_id, struct smp_resp *rps_resp) argument 772 sas_ex_discover_end_dev( struct domain_device *parent, int phy_id) argument 883 sas_ex_join_wide_port(struct domain_device *parent, int phy_id) argument 906 sas_ex_discover_expander( struct domain_device *parent, int phy_id) argument 984 sas_ex_discover_dev(struct domain_device *dev, int phy_id) argument 1387 sas_configure_present(struct domain_device *dev, int phy_id, u8 *sas_addr, int *index, int *present) argument 1461 sas_configure_set(struct domain_device *dev, int phy_id, u8 *sas_addr, int index, int include) argument 1501 sas_configure_phy(struct domain_device *dev, int phy_id, u8 *sas_addr, int include) argument 1678 sas_get_phy_discover(struct domain_device *dev, int phy_id, struct smp_resp *disc_resp) argument 1704 sas_get_phy_change_count(struct domain_device *dev, int phy_id, int *pcc) argument 1722 sas_get_phy_attached_dev(struct domain_device *dev, int phy_id, u8 *sas_addr, enum sas_device_type *type) argument 1745 sas_find_bcast_phy(struct domain_device *dev, int *phy_id, int from_phy, bool update) argument 1830 int phy_id = -1; local 1878 sas_unregister_devs_sas_addr(struct domain_device *parent, int phy_id, bool last) argument 1952 sas_discover_new(struct domain_device *dev, int phy_id) argument 1997 sas_rediscover_dev(struct domain_device *dev, int phy_id, bool last) argument 2068 sas_rediscover(struct domain_device *dev, const int phy_id) argument 2116 int i = 0, phy_id; local [all...] |
/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_mdio.c | 22 static int temac_mdio_read(struct mii_bus *bus, int phy_id, int reg) argument 31 temac_iow(lp, XTE_LSW0_OFFSET, (phy_id << 5) | reg); 35 dev_dbg(lp->dev, "temac_mdio_read(phy_id=%i, reg=%x) == %x\n", 36 phy_id, reg, rc); 41 static int temac_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) argument 45 dev_dbg(lp->dev, "temac_mdio_write(phy_id=%i, reg=%x, val=%x)\n", 46 phy_id, reg, val); 53 temac_indirect_out32(lp, XTE_MIIMAI_OFFSET, (phy_id << 5) | reg);
|
H A D | xilinx_axienet_mdio.c | 37 * @phy_id: Address of the PHY device 46 static int axienet_mdio_read(struct mii_bus *bus, int phy_id, int reg) argument 57 (((phy_id << XAE_MDIO_MCR_PHYAD_SHIFT) & 70 dev_dbg(lp->dev, "axienet_mdio_read(phy_id=%i, reg=%x) == %x\n", 71 phy_id, reg, rc); 79 * @phy_id: Address of the PHY device 89 static int axienet_mdio_write(struct mii_bus *bus, int phy_id, int reg, argument 95 dev_dbg(lp->dev, "axienet_mdio_write(phy_id=%i, reg=%x, val=%x)\n", 96 phy_id, reg, val); 104 (((phy_id << XAE_MDIO_MCR_PHYAD_SHIF [all...] |
/drivers/nfc/st21nfca/ |
H A D | st21nfca.h | 54 int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, 66 void *phy_id; member in struct:st21nfca_hci_info
|
/drivers/nfc/st21nfcb/ |
H A D | ndlc.h | 29 void *phy_id; member in struct:llt_ndlc 56 int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,
|
/drivers/net/phy/ |
H A D | vitesse.c | 133 (phydev->drv->phy_id == PHY_ID_VSC8234 || 134 phydev->drv->phy_id == PHY_ID_VSC8244 || 135 phydev->drv->phy_id == PHY_ID_VSC8514 || 136 phydev->drv->phy_id == PHY_ID_VSC8574) ? 227 .phy_id = PHY_ID_VSC8234, 239 .phy_id = PHY_ID_VSC8244, 251 .phy_id = PHY_ID_VSC8514, 263 .phy_id = PHY_ID_VSC8574, 275 .phy_id = PHY_ID_VSC8662, 288 .phy_id [all...] |
H A D | realtek.c | 69 .phy_id = 0x00008201, 78 .phy_id = 0x001cc912, 89 .phy_id = 0x001cc915,
|
H A D | mdio-octeon.c | 60 int phy_id, int regnum) 76 smi_cmd.s.phy_adr = phy_id; 93 static int octeon_mdiobus_read(struct mii_bus *bus, int phy_id, int regnum) argument 102 int r = octeon_mdiobus_c45_addr(p, phy_id, regnum); 115 smi_cmd.s.phy_adr = phy_id; 133 static int octeon_mdiobus_write(struct mii_bus *bus, int phy_id, argument 144 int r = octeon_mdiobus_c45_addr(p, phy_id, regnum); 160 smi_cmd.s.phy_adr = phy_id; 59 octeon_mdiobus_c45_addr(struct octeon_mdiobus *p, int phy_id, int regnum) argument
|
H A D | smsc.c | 138 .phy_id = 0x0007c0a0, /* OUI=0x00800f, Model#=0x0a */ 161 .phy_id = 0x0007c0b0, /* OUI=0x00800f, Model#=0x0b */ 184 .phy_id = 0x0007c0c0, /* OUI=0x00800f, Model#=0x0c */ 207 .phy_id = 0x0007c0d0, /* OUI=0x00800f, Model#=0x0d */ 229 .phy_id = 0x0007c0f0, /* OUI=0x00800f, Model#=0x0f */
|
/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx_phy.c | 28 static int mpc52xx_fec_mdio_transfer(struct mii_bus *bus, int phy_id, argument 35 value |= (phy_id << FEC_MII_DATA_PA_SHIFT) & FEC_MII_DATA_PA_MSK; 52 static int mpc52xx_fec_mdio_read(struct mii_bus *bus, int phy_id, int reg) argument 54 return mpc52xx_fec_mdio_transfer(bus, phy_id, reg, FEC_MII_READ_FRAME); 57 static int mpc52xx_fec_mdio_write(struct mii_bus *bus, int phy_id, int reg, argument 60 return mpc52xx_fec_mdio_transfer(bus, phy_id, reg,
|
/drivers/scsi/isci/ |
H A D | sas.h | 128 u8 phy_id; /* byte 9 */ member in struct:smp_req_phy_id 146 u8 phy_id; /* byte 9 */ member in struct:smp_req_conf_rtinfo 169 u8 phy_id; /* byte 9 */ member in struct:smp_req_phycntl
|
/drivers/net/ethernet/ti/ |
H A D | cpsw.h | 21 char phy_id[MII_BUS_ID_SIZE]; member in struct:cpsw_slave_data
|
/drivers/net/ethernet/sis/ |
H A D | sis190.c | 297 int phy_id; member in struct:sis190_phy 383 static void mdio_write(void __iomem *ioaddr, int phy_id, int reg, int val) argument 386 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift) | 390 static int mdio_read(void __iomem *ioaddr, int phy_id, int reg) argument 393 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift)); 398 static void __mdio_write(struct net_device *dev, int phy_id, int reg, int val) argument 402 mdio_write(tp->mmio_addr, phy_id, reg, val); 405 static int __mdio_read(struct net_device *dev, int phy_id, int reg) argument 409 return mdio_read(tp->mmio_addr, phy_id, reg); 412 static u16 mdio_read_latched(void __iomem *ioaddr, int phy_id, in argument 919 int phy_id = tp->mii_if.phy_id; local 1317 sis190_init_phy(struct net_device *dev, struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument 1359 int phy_id = tp->mii_if.phy_id; local 1387 int phy_id; local 1716 int phy_id = tp->mii_if.phy_id; local [all...] |
/drivers/net/usb/ |
H A D | asix_devices.c | 76 u32 phy_id; local 81 phy_reg = asix_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID1); 90 phy_id = (phy_reg & 0xffff) << 16; 92 phy_reg = asix_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID2); 96 phy_id |= (phy_reg & 0xffff); 98 return phy_id; 242 dev->mii.phy_id = asix_get_phy_addr(dev); 249 asix_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, BMCR_RESET); 250 asix_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, 361 asix_mdio_write(dev->net, dev->mii.phy_id, MII_BMC [all...] |
/drivers/message/fusion/ |
H A D | mptsas.h | 102 u8 phy_id; member in struct:mptsas_hotplug_event 134 u8 phy_id; /* phy number of parent device */ member in struct:mptsas_devinfo 160 u8 phy_id; /* phy index */ member in struct:mptsas_phyinfo
|
/drivers/net/ethernet/ibm/emac/ |
H A D | phy.h | 43 u32 phy_id; /* Concatenated ID1 << 16 | ID2 */ member in struct:mii_phy_def
|