Home
last modified time | relevance | path

Searched refs:phy_num (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c449 int phy_num; in bdc_phy_init() local
452 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init()
453 ret = phy_init(bdc->phys[phy_num]); in bdc_phy_init()
456 ret = phy_power_on(bdc->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()
467 phy_power_off(bdc->phys[phy_num]); in bdc_phy_init()
468 phy_exit(bdc->phys[phy_num]); in bdc_phy_init()
476 int phy_num; bdc_phy_exit() local
491 int phy_num; bdc_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c449 int phy_num; in bdc_phy_init() local
452 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init()
453 ret = phy_init(bdc->phys[phy_num]); in bdc_phy_init()
456 ret = phy_power_on(bdc->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()
467 phy_power_off(bdc->phys[phy_num]); in bdc_phy_init()
468 phy_exit(bdc->phys[phy_num]); in bdc_phy_init()
476 int phy_num; bdc_phy_exit() local
491 int phy_num; bdc_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Df81534.c169 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()
932 "%s: phy_num: %d, tty_idx: %d\n", __func__, i, in f81534_calc_num_ports()
1049 dev_dbg(&port->dev, "%s: DCD Changed: phy_num: %d from %x to %x\n", in f81534_msr_changed()
1050 __func__, port_priv->phy_num, old_ms in f81534_msr_changed()
1166 int phy_num = data[0]; f81534_process_per_serial_block() local
[all...]
H A Dmos7840.c1596 u8 phy_num = mos7840_port->port_num; in mos7840_port_probe() local
1600 phy_num = 3; in mos7840_port_probe()
1602 mos7840_port->SpRegOffset = 0x8 + 2 * (phy_num - 2); in mos7840_port_probe()
1603 mos7840_port->ControlRegOffset = 0x9 + 2 * (phy_num - 2); in mos7840_port_probe()
1604 mos7840_port->DcrRegOffset = 0x16 + 3 * (phy_num - 2); in mos7840_port_probe()
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Df81534.c169 u8 phy_num; member
332 reg + port_priv->phy_num * F81534_UART_OFFSET, data); in f81534_set_port_register()
341 reg + port_priv->phy_num * F81534_UART_OFFSET, data); in f81534_get_port_register()
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()
932 "%s: phy_num: %d, tty_idx: %d\n", __func__, i, in f81534_calc_num_ports()
1035 dev_dbg(&port->dev, "%s: DCD Changed: phy_num: %d from %x to %x\n", in f81534_msr_changed()
1036 __func__, port_priv->phy_num, old_ms in f81534_msr_changed()
1147 int phy_num = data[0]; f81534_process_per_serial_block() local
[all...]
H A Dmos7840.c1571 u8 phy_num = mos7840_port->port_num; in mos7840_port_probe() local
1575 phy_num = 3; in mos7840_port_probe()
1577 mos7840_port->SpRegOffset = 0x8 + 2 * (phy_num - 2); in mos7840_port_probe()
1578 mos7840_port->ControlRegOffset = 0x9 + 2 * (phy_num - 2); in mos7840_port_probe()
1579 mos7840_port->DcrRegOffset = 0x16 + 3 * (phy_num - 2); in mos7840_port_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dmedia.c246 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dmedia.c246 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()
/kernel/linux/linux-5.10/drivers/phy/rockchip/
H A Dphy-rockchip-pcie.c370 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()
/kernel/linux/linux-6.6/drivers/phy/rockchip/
H A Dphy-rockchip-pcie.c355 u32 phy_num; in rockchip_pcie_phy_probe() local
391 if (of_property_read_u32(dev->of_node, "#phy-cells", &phy_num)) in rockchip_pcie_phy_probe()
394 phy_num = (phy_num == 0) ? 1 : PHY_MAX_LANE_NUM; in rockchip_pcie_phy_probe()
395 dev_dbg(dev, "phy number is %d\n", phy_num); in rockchip_pcie_phy_probe()
397 for (i = 0; i < phy_num; i++) { in rockchip_pcie_phy_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dtlan.c938 u32 phy = priv->phy[priv->phy_num]; in tlan_ioctl()
1696 phy = priv->phy[priv->phy_num]; in tlan_handle_status_check()
1704 if ((net_sts & TLAN_NET_STS_MIRQ) && (priv->phy_num == 0)) { in tlan_handle_status_check()
2211 if (priv->phy_num == 0 || in tlan_reset_adapter()
2240 phy = priv->phy[priv->phy_num]; in tlan_finish_reset()
2247 if (priv->phy_num == 0) in tlan_finish_reset()
2296 if (priv->phy_num == 0) { in tlan_finish_reset()
2398 phy = priv->phy[priv->phy_num]; in tlan_phy_print()
2448 priv->phy_num = 0xffff; in tlan_phy_detect()
2477 priv->phy_num in tlan_phy_detect()
[all...]
H A Dtlan.h205 u32 phy_num; member
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dtlan.c940 u32 phy = priv->phy[priv->phy_num]; in tlan_ioctl()
1698 phy = priv->phy[priv->phy_num]; in tlan_handle_status_check()
1706 if ((net_sts & TLAN_NET_STS_MIRQ) && (priv->phy_num == 0)) { in tlan_handle_status_check()
2213 if (priv->phy_num == 0 || in tlan_reset_adapter()
2242 phy = priv->phy[priv->phy_num]; in tlan_finish_reset()
2249 if (priv->phy_num == 0) in tlan_finish_reset()
2298 if (priv->phy_num == 0) { in tlan_finish_reset()
2402 phy = priv->phy[priv->phy_num]; in __tlan_phy_print()
2460 priv->phy_num = 0xffff; in tlan_phy_detect()
2489 priv->phy_num in tlan_phy_detect()
[all...]
H A Dtlan.h205 u32 phy_num; member
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h426 u8 phy_num; member
441 u8 phy_num; member
505 u8 phy_num; member
H A Dmpi30_transport.h234 u8 phy_num; member
H A Dmpi30_cnfg.h2253 u8 phy_num; member
/kernel/linux/linux-5.10/drivers/dma/
H A Dste_dma40.c1881 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; in d40_allocate_channel()
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dste_dma40.c1905 int phy_num = j + event_group * 2; in d40_allocate_channel() local
1906 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel()
1926 int phy_num = j + event_group * 2; in d40_allocate_channel() local
1931 if ((i != phy_num) && (i != phy_num + 1)) { in d40_allocate_channel()
1952 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel()
1959 for (i = phy_num + 1; i >= phy_num; in d40_allocate_channel()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
H A Dmv_sas.c1196 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()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c789 u8 phy_num = parent_dev->ex_dev.num_phys; in hisi_sas_dev_found() local
792 for (phy_no = 0; phy_no < phy_num; phy_no++) { in hisi_sas_dev_found()
799 if (phy_no == phy_num) { in hisi_sas_dev_found()
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c815 identify->phy_identifier = sasinf->phy_num; in mpi3mr_set_identify()
1732 h_port[port_idx].lowest_phy = sasinf->phy_num; in mpi3mr_refresh_sas_ports()
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptsas.c3684 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()
/kernel/linux/linux-6.6/drivers/message/fusion/
H A Dmptsas.c3712 u8 phy_num; in mptsas_send_link_status_event() local
3721 phy_num = link_data->PhyNum; in mptsas_send_link_status_event()
3725 phy_info = &port_info->phy_info[phy_num]; in mptsas_send_link_status_event()
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c6517 * @phy_num: HBA Phy number
6522 _scsih_alloc_vphy(struct MPT3SAS_ADAPTER *ioc, u8 port_id, u8 phy_num) in _scsih_alloc_vphy() argument
6531 vphy = mpt3sas_get_vphy_by_phy(ioc, port, phy_num); in _scsih_alloc_vphy()
6544 port->vphys_mask |= (1 << phy_num); in _scsih_alloc_vphy()
6545 vphy->phy_mask |= (1 << phy_num); in _scsih_alloc_vphy()
6551 vphy, port->port_id, phy_num); in _scsih_alloc_vphy()
7297 * @phy_num: phy number end device attached to
7305 _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phy_num, in _scsih_add_device() argument

Completed in 76 milliseconds

12