Searched refs:phy_id (Results 76 - 100 of 341) sorted by relevance

1234567891011>>

/linux-master/drivers/nfc/
H A Dmei_phy.c247 static int nfc_mei_phy_write(void *phy_id, struct sk_buff *skb) argument
249 struct nfc_mei_phy *phy = phy_id;
314 static int nfc_mei_phy_enable(void *phy_id) argument
317 struct nfc_mei_phy *phy = phy_id;
356 static void nfc_mei_phy_disable(void *phy_id) argument
358 struct nfc_mei_phy *phy = phy_id;
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dphy.c288 .phy_id = 0x00000000,
353 .phy_id = 0x000fc410,
361 .phy_id = 0x0143bc00,
433 .phy_id = 0x0282f000,
453 .phy_id = 0x01410CC0,
468 .phy_id = 0x01410C90,
493 .phy_id = 0x004dd070,
530 if ((id & def->phy_id_mask) == def->phy_id)
/linux-master/drivers/net/phy/
H A Dcicada.c129 .phy_id = 0x000fc410,
137 .phy_id = 0x000fc440,
H A Dste10Xp.c104 .phy_id = STE101P_PHY_ID,
114 .phy_id = STE100P_PHY_ID,
H A DuPD60620.c82 .phy_id = UPD60620_PHY_ID,
H A Dteranetics.c77 .phy_id = PHY_ID_TN2020,
H A Dlxt.c310 .phy_id = 0x78100000,
318 .phy_id = 0x001378e0,
327 .phy_id = 0x00137a10,
338 .phy_id = 0x00137a10,
H A Dbcm54140.c125 #define BCM54140_PHY_ID_REV(phy_id) ((phy_id) & 0x7)
510 u32 phy_id; local
518 * same phy_id like we do. Step 1 will scan forward, step 2
548 phy_id = tmp << 16;
552 phy_id |= tmp;
555 if ((phy_id & phydev->drv->phy_id_mask) !=
556 (phydev->drv->phy_id & phydev->drv->phy_id_mask)) {
618 if (BCM54140_PHY_ID_REV(phydev->phy_id) == BCM54140_REV_B0) {
866 .phy_id
[all...]
/linux-master/include/linux/mdio/
H A 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);
/linux-master/drivers/net/usb/
H A Dsr9700.c177 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) argument
183 if (phy_id) {
202 netdev_dbg(netdev, "sr_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n",
203 phy_id, loc, res);
208 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, argument
214 if (phy_id) {
219 netdev_dbg(netdev, "sr_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n",
220 phy_id, loc, val);
372 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET);
373 sr_mdio_write(netdev, mii->phy_id, MII_ADVERTIS
[all...]
H A Dsr9800.c335 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) argument
342 sr_read_cmd(dev, SR_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, &res);
347 "%s : phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", __func__,
348 phy_id, loc, le16_to_cpu(res));
354 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) argument
360 "%s : phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", __func__,
361 phy_id, loc, val);
364 sr_write_cmd(dev, SR_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res);
373 u32 phy_id; local
378 phy_reg = sr_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID
[all...]
H A Dch9200.c177 static int ch9200_mdio_read(struct net_device *netdev, int phy_id, int loc) argument
182 netdev_dbg(netdev, "%s phy_id:%02x loc:%02x\n",
183 __func__, phy_id, loc);
185 if (phy_id != 0)
195 int phy_id, int loc, int val)
200 netdev_dbg(netdev, "%s() phy_id=%02x loc:%02x\n",
201 __func__, phy_id, loc);
203 if (phy_id != 0)
194 ch9200_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) argument
/linux-master/drivers/nfc/st21nfca/
H A Di2c.c132 static int st21nfca_hci_i2c_enable(void *phy_id) argument
134 struct st21nfca_i2c_phy *phy = phy_id;
145 static void st21nfca_hci_i2c_disable(void *phy_id) argument
147 struct st21nfca_i2c_phy *phy = phy_id;
182 static int st21nfca_hci_i2c_write(void *phy_id, struct sk_buff *skb) argument
185 struct st21nfca_i2c_phy *phy = phy_id;
419 static irqreturn_t st21nfca_hci_irq_thread_fn(int irq, void *phy_id) argument
421 struct st21nfca_i2c_phy *phy = phy_id;
/linux-master/drivers/net/mdio/
H A Dmdio-xgene.c80 int xgene_mdio_rgmii_read(struct mii_bus *bus, int phy_id, int reg) argument
86 data = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg);
106 int xgene_mdio_rgmii_write(struct mii_bus *bus, int phy_id, int reg, u16 data) argument
112 val = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg);
211 static int xgene_xfi_mdio_write(struct mii_bus *bus, int phy_id, argument
218 val = SET_VAL(HSTPHYADX, phy_id) | SET_VAL(HSTREGADX, reg) |
235 static int xgene_xfi_mdio_read(struct mii_bus *bus, int phy_id, int reg) argument
241 val = SET_VAL(HSTPHYADX, phy_id) | SET_VAL(HSTREGADX, reg);
H A Dmdio-bcm-unimac.c91 static int unimac_mdio_read(struct mii_bus *bus, int phy_id, int reg) argument
102 cmd = MDIO_RD | (phy_id << MDIO_PMD_SHIFT) | (reg << MDIO_REG_SHIFT);
119 if (!(bus->phy_ignore_ta_mask & 1 << phy_id) && (cmd & MDIO_READ_FAIL)) {
130 static int unimac_mdio_write(struct mii_bus *bus, int phy_id, argument
142 cmd = MDIO_WR | (phy_id << MDIO_PMD_SHIFT) |
/linux-master/drivers/phy/ti/
H A Dphy-gmii-sel.c303 int phy_id = args->args[0]; local
312 if (phy_id > priv->num_ports)
314 if (phy_id != priv->if_phys[phy_id - 1].id)
317 phy_id--;
319 priv->if_phys[phy_id].rmii_clock_external = args->args[1];
321 priv->if_phys[phy_id].id, args->args[1]);
323 return priv->if_phys[phy_id].if_phy;
/linux-master/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_dio_link_encoder.c72 uint8_t phy_id; local
76 phy_id = 0;
79 phy_id = 1;
82 phy_id = 2;
85 phy_id = 3;
88 phy_id = 4;
91 phy_id = 5;
94 phy_id = 6;
97 phy_id = 0;
100 return phy_id;
[all...]
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c66 phy->identify_frame->phy_id = phy->sas_phy.id;
1255 * @phy_id: the PHY id whose LED we want to manupulate
1258 void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op) argument
1260 if (phy_id < ASD_MAX_PHYS) {
1261 u32 v = asd_read_reg_dword(asd_ha, LmCONTROL(phy_id));
1266 asd_write_reg_dword(asd_ha, LmCONTROL(phy_id), v);
1273 * @phy_id: integer, the phy id
1279 void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op) argument
1281 if (phy_id < ASD_MAX_PHYS) {
1286 v |= (1 << phy_id);
1302 asd_enable_phy(struct asd_ha_struct *asd_ha, int phy_id) argument
[all...]
/linux-master/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-fec.c54 static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) argument
63 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location));
77 static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) argument
87 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val));
/linux-master/drivers/net/ethernet/asix/
H A Dax88796c_ioctl.c171 int ax88796c_mdio_read(struct mii_bus *mdiobus, int phy_id, int loc) argument
178 | MDIOCR_FADDR(phy_id) | MDIOCR_READ, P2_MDIOCR);
193 ax88796c_mdio_write(struct mii_bus *mdiobus, int phy_id, int loc, u16 val) argument
202 MDIOCR_RADDR(loc) | MDIOCR_FADDR(phy_id)
/linux-master/arch/powerpc/platforms/pasemi/
H A Dgpio_mdio.c115 static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location) argument
119 u8 addr = phy_id & 0xff;
154 static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val) argument
158 u8 addr = phy_id & 0xff;
/linux-master/drivers/firewire/
H A Dcore-topology.c177 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; local
186 phy_id = 0;
200 if (phy_id != SELF_ID_PHY_ID(q)) {
202 phy_id, SELF_ID_PHY_ID(q));
229 if (phy_id == (card->node_id & 0x3f))
275 "parent_count=%d\n", phy_id, parent_count);
298 phy_id++;
/linux-master/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c3097 u8 phy_id = (u8)((phyid_npip_portstate & 0xFF0000) >> 16); local
3102 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id];
3107 pm80xx_chip_phy_ctl_req(pm8001_ha, phy_id,
3111 port->wide_port_phymap |= (1U << phy_id);
3135 u8 phy_id = local
3140 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id];
3146 port->wide_port_phymap |= (1U << phy_id);
3150 port_id, phy_id, link_rate, portstate, deviceType);
3158 pm80xx_chip_phy_ctl_req(pm8001_ha, phy_id,
3195 pm8001_bytes_dmaed(pm8001_ha, phy_id);
3214 u8 phy_id = local
3262 u8 phy_id = local
3335 u32 phy_id = local
3398 u8 phy_id = local
4631 pm80xx_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) argument
4668 pm80xx_chip_phy_stop_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) argument
4692 u32 linkrate, phy_id; local
[all...]
/linux-master/drivers/net/ethernet/8390/
H A Daxnet_cs.c91 static int mdio_read(unsigned int addr, int phy_id, int loc);
92 static void mdio_write(unsigned int addr, int phy_id, int loc, int value);
117 int phy_id; member in struct:axnet_dev
350 info->phy_id = (i < 32) ? i : -1;
361 if (info->phy_id != -1) {
363 info->phy_id, j);
429 static int mdio_read(unsigned int addr, int phy_id, int loc) argument
431 u_int cmd = (0xf6<<10)|(phy_id<<5)|loc;
448 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) argument
450 u_int cmd = (0x05<<28)|(phy_id<<2
[all...]
/linux-master/include/scsi/
H A Dsas.h294 u8 phy_id; member in struct:sas_identify_frame
405 u8 phy_id; member in struct:discover_resp
454 u8 phy_id; member in struct:report_phy_sata_resp
515 u8 phy_id; member in struct:sas_identify_frame
626 u8 phy_id; member in struct:discover_resp
675 u8 phy_id; member in struct:report_phy_sata_resp

Completed in 435 milliseconds

1234567891011>>