| /Linux-v5.4/drivers/usb/gadget/udc/bdc/ |
| D | bdc_core.c | 445 int phy_num; in bdc_phy_init() local 448 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init() 449 ret = phy_init(bdc->phys[phy_num]); in bdc_phy_init() 452 ret = phy_power_on(bdc->phys[phy_num]); in bdc_phy_init() 454 phy_exit(bdc->phys[phy_num]); in bdc_phy_init() 462 while (--phy_num >= 0) { in bdc_phy_init() 463 phy_power_off(bdc->phys[phy_num]); in bdc_phy_init() 464 phy_exit(bdc->phys[phy_num]); in bdc_phy_init() 472 int phy_num; in bdc_phy_exit() local 474 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_exit() [all …]
|
| /Linux-v5.4/drivers/phy/rockchip/ |
| 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-v5.4/drivers/usb/serial/ |
| D | f81534.c | 169 u8 phy_num; member 334 reg + port_priv->phy_num * F81534_UART_OFFSET, data); in f81534_set_port_register() 343 reg + port_priv->phy_num * F81534_UART_OFFSET, data); in f81534_get_port_register() 476 int phy_num = port_priv->phy_num; in f81534_prepare_write_buffer() local 496 &buf[phy_num * F81534_RECEIVE_BLOCK_SIZE + 4], in f81534_prepare_write_buffer() 499 buf[phy_num * F81534_RECEIVE_BLOCK_SIZE + 2] = tx_len; in f81534_prepare_write_buffer() 1048 __func__, port_priv->phy_num, old_msr, msr); in f81534_msr_changed() 1164 int phy_num = data[0]; in f81534_process_per_serial_block() local 1202 __func__, phy_num, read_size, in f81534_process_per_serial_block() 1343 idx = F81534_CONF_INIT_GPIO_OFFSET + port_priv->phy_num; in f81534_set_port_output_pin() [all …]
|
| D | mos7840.c | 2121 u8 phy_num = mos7840_port->port_num; in mos7840_port_probe() local 2125 phy_num = 3; in mos7840_port_probe() 2127 mos7840_port->SpRegOffset = 0x8 + 2 * (phy_num - 2); in mos7840_port_probe() 2128 mos7840_port->ControlRegOffset = 0x9 + 2 * (phy_num - 2); in mos7840_port_probe() 2129 mos7840_port->DcrRegOffset = 0x16 + 3 * (phy_num - 2); in mos7840_port_probe()
|
| /Linux-v5.4/drivers/net/ethernet/dec/tulip/ |
| 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-v5.4/drivers/net/ethernet/ti/ |
| D | tlan.c | 962 u32 phy = priv->phy[priv->phy_num]; in tlan_ioctl() 1720 phy = priv->phy[priv->phy_num]; in tlan_handle_status_check() 1728 if ((net_sts & TLAN_NET_STS_MIRQ) && (priv->phy_num == 0)) { in tlan_handle_status_check() 2238 if (priv->phy_num == 0 || in tlan_reset_adapter() 2267 phy = priv->phy[priv->phy_num]; in tlan_finish_reset() 2274 if (priv->phy_num == 0) in tlan_finish_reset() 2323 if (priv->phy_num == 0) { in tlan_finish_reset() 2425 phy = priv->phy[priv->phy_num]; in tlan_phy_print() 2475 priv->phy_num = 0xffff; in tlan_phy_detect() 2504 priv->phy_num = 1; in tlan_phy_detect() [all …]
|
| D | tlan.h | 205 u32 phy_num; member
|
| /Linux-v5.4/drivers/dma/ |
| D | ste_dma40.c | 1881 int phy_num = j + event_group * 2; in d40_allocate_channel() local 1882 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel() 1902 int phy_num = j + event_group * 2; in d40_allocate_channel() local 1907 if ((i != phy_num) && (i != phy_num + 1)) { in d40_allocate_channel() 1928 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel() 1935 for (i = phy_num + 1; i >= phy_num; i--) { in d40_allocate_channel()
|
| /Linux-v5.4/drivers/scsi/mvsas/ |
| D | mv_sas.c | 1198 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify() local 1200 for (phy_id = 0; phy_id < phy_num; phy_id++) { in mvs_dev_found_notify() 1209 if (phy_id == phy_num) { in mvs_dev_found_notify()
|
| /Linux-v5.4/drivers/scsi/hisi_sas/ |
| D | hisi_sas_main.c | 776 u8 phy_num = parent_dev->ex_dev.num_phys; in hisi_sas_dev_found() local 779 for (phy_no = 0; phy_no < phy_num; phy_no++) { in hisi_sas_dev_found() 786 if (phy_no == phy_num) { in hisi_sas_dev_found()
|
| /Linux-v5.4/drivers/message/fusion/ |
| D | mptsas.c | 3684 u8 phy_num; in mptsas_send_link_status_event() local 3693 phy_num = link_data->PhyNum; in mptsas_send_link_status_event() 3697 phy_info = &port_info->phy_info[phy_num]; in mptsas_send_link_status_event()
|
| D | mptbase.c | 7569 u8 phy_num = (u8)(evData0); in mpt_display_event_info() local 7576 phy_num, port_num, port_width, primitive); in mpt_display_event_info()
|
| /Linux-v5.4/drivers/scsi/mpt3sas/ |
| D | mpt3sas_scsih.c | 6045 _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phy_num, in _scsih_add_device() argument
|