| /linux/drivers/usb/gadget/udc/bdc/ |
| A D | bdc_core.c | 449 int phy_num; in bdc_phy_init() local 452 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init() 458 phy_exit(bdc->phys[phy_num]); in bdc_phy_init() 466 while (--phy_num >= 0) { in bdc_phy_init() 468 phy_exit(bdc->phys[phy_num]); in bdc_phy_init() 476 int phy_num; in bdc_phy_exit() local 478 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_exit() 480 phy_exit(bdc->phys[phy_num]); in bdc_phy_exit() 491 int phy_num; in bdc_probe() local 524 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_probe() [all …]
|
| /linux/drivers/usb/serial/ |
| A D | f81534.c | 169 u8 phy_num; member 474 int phy_num = port_priv->phy_num; in f81534_prepare_write_buffer() local 494 &buf[phy_num * F81534_RECEIVE_BLOCK_SIZE + 4], in f81534_prepare_write_buffer() 497 buf[phy_num * F81534_RECEIVE_BLOCK_SIZE + 2] = tx_len; in f81534_prepare_write_buffer() 1046 __func__, port_priv->phy_num, old_msr, msr); in f81534_msr_changed() 1157 int phy_num = data[0]; in f81534_process_per_serial_block() local 1195 __func__, phy_num, read_size, in f81534_process_per_serial_block() 1349 pins = &f81534_port_out_pins[port_priv->phy_num]; in f81534_set_port_output_pin() 1390 port_priv->phy_num = ret; in f81534_port_probe() 1394 port->port_number, port_priv->phy_num); in f81534_port_probe() [all …]
|
| A D | mos7840.c | 1569 u8 phy_num = mos7840_port->port_num; in mos7840_port_probe() local 1573 phy_num = 3; in mos7840_port_probe() 1575 mos7840_port->SpRegOffset = 0x8 + 2 * (phy_num - 2); in mos7840_port_probe() 1576 mos7840_port->ControlRegOffset = 0x9 + 2 * (phy_num - 2); in mos7840_port_probe() 1577 mos7840_port->DcrRegOffset = 0x16 + 3 * (phy_num - 2); in mos7840_port_probe()
|
| /linux/drivers/phy/rockchip/ |
| A D | phy-rockchip-pcie.c | 370 u32 phy_num; in rockchip_pcie_phy_probe() local 406 if (of_property_read_u32(dev->of_node, "#phy-cells", &phy_num)) in rockchip_pcie_phy_probe() 409 phy_num = (phy_num == 0) ? 1 : PHY_MAX_LANE_NUM; in rockchip_pcie_phy_probe() 410 dev_dbg(dev, "phy number is %d\n", phy_num); in rockchip_pcie_phy_probe() 412 for (i = 0; i < phy_num; i++) { in rockchip_pcie_phy_probe()
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| A D | media.c | 246 int phy_num = p[0]; in tulip_select_media() local 271 (tulip_mdio_read (dev, phy_num, MII_BMCR) & BMCR_RESET)) in tulip_select_media() 298 (tulip_mdio_read (dev, phy_num, MII_BMCR) & BMCR_RESET)) in tulip_select_media() 309 tp->advertising[phy_num] = tmp_info | 1; in tulip_select_media() 312 tp->mii_advertise = tp->advertising[phy_num]; in tulip_select_media() 316 tp->phys[phy_num]); in tulip_select_media() 317 tulip_mdio_write(dev, tp->phys[phy_num], 4, tp->mii_advertise); in tulip_select_media()
|
| /linux/drivers/net/ethernet/ti/ |
| A D | tlan.c | 2213 if (priv->phy_num == 0 || in tlan_reset_adapter() 2249 if (priv->phy_num == 0) in tlan_finish_reset() 2298 if (priv->phy_num == 0) { in tlan_finish_reset() 2460 priv->phy_num = 0xffff; in tlan_phy_detect() 2489 priv->phy_num = 1; in tlan_phy_detect() 2491 priv->phy_num = 0; in tlan_phy_detect() 2635 priv->phy_num = 0; in tlan_phy_start_link() 2704 (priv->phy_num != 0)) { in tlan_phy_finish_auto_neg() 2705 priv->phy_num = 0; in tlan_phy_finish_auto_neg() 2710 if (priv->phy_num == 0) { in tlan_phy_finish_auto_neg() [all …]
|
| A D | tlan.h | 205 u32 phy_num; member
|
| /linux/drivers/scsi/mpi3mr/mpi/ |
| A D | mpi30_ioc.h | 417 u8 phy_num; member 432 u8 phy_num; member 496 u8 phy_num; member
|
| A D | mpi30_transport.h | 230 u8 phy_num; member
|
| A D | mpi30_cnfg.h | 1683 u8 phy_num; member
|
| /linux/drivers/dma/ |
| A D | ste_dma40.c | 1880 int phy_num = j + event_group * 2; in d40_allocate_channel() local 1881 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel() 1901 int phy_num = j + event_group * 2; in d40_allocate_channel() local 1906 if ((i != phy_num) && (i != phy_num + 1)) { in d40_allocate_channel() 1927 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel() 1934 for (i = phy_num + 1; i >= phy_num; i--) { in d40_allocate_channel()
|
| /linux/drivers/scsi/mvsas/ |
| A D | mv_sas.c | 1196 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify() local 1198 for (phy_id = 0; phy_id < phy_num; phy_id++) { in mvs_dev_found_notify() 1207 if (phy_id == phy_num) { in mvs_dev_found_notify()
|
| /linux/drivers/scsi/hisi_sas/ |
| A D | hisi_sas_main.c | 796 u8 phy_num = parent_dev->ex_dev.num_phys; in hisi_sas_dev_found() local 799 for (phy_no = 0; phy_no < phy_num; phy_no++) { in hisi_sas_dev_found() 806 if (phy_no == phy_num) { in hisi_sas_dev_found()
|
| /linux/drivers/scsi/mpt3sas/ |
| A D | mpt3sas_scsih.c | 6510 _scsih_alloc_vphy(struct MPT3SAS_ADAPTER *ioc, u8 port_id, u8 phy_num) in _scsih_alloc_vphy() argument 6519 vphy = mpt3sas_get_vphy_by_phy(ioc, port, phy_num); in _scsih_alloc_vphy() 6532 port->vphys_mask |= (1 << phy_num); in _scsih_alloc_vphy() 6533 vphy->phy_mask |= (1 << phy_num); in _scsih_alloc_vphy() 6539 vphy, port->port_id, phy_num); in _scsih_alloc_vphy() 7293 _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phy_num, in _scsih_add_device() argument
|
| /linux/drivers/message/fusion/ |
| A D | mptsas.c | 3710 u8 phy_num; in mptsas_send_link_status_event() local 3719 phy_num = link_data->PhyNum; in mptsas_send_link_status_event() 3723 phy_info = &port_info->phy_info[phy_num]; in mptsas_send_link_status_event()
|
| A D | mptbase.c | 7553 u8 phy_num = (u8)(evData0); in mpt_display_event_info() local 7560 phy_num, port_num, port_width, primitive); in mpt_display_event_info()
|