Home
last modified time | relevance | path

Searched refs:phy_num (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/usb/host/
Dohci-platform.c51 int clk, ret, phy_num; in ohci_platform_power_on() local
59 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ohci_platform_power_on()
60 ret = phy_init(priv->phys[phy_num]); in ohci_platform_power_on()
63 ret = phy_power_on(priv->phys[phy_num]); in ohci_platform_power_on()
65 phy_exit(priv->phys[phy_num]); in ohci_platform_power_on()
73 while (--phy_num >= 0) { in ohci_platform_power_on()
74 phy_power_off(priv->phys[phy_num]); in ohci_platform_power_on()
75 phy_exit(priv->phys[phy_num]); in ohci_platform_power_on()
88 int clk, phy_num; in ohci_platform_power_off() local
90 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ohci_platform_power_off()
[all …]
Dehci-platform.c83 int clk, ret, phy_num; in ehci_platform_power_on() local
91 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ehci_platform_power_on()
92 ret = phy_init(priv->phys[phy_num]); in ehci_platform_power_on()
95 ret = phy_power_on(priv->phys[phy_num]); in ehci_platform_power_on()
97 phy_exit(priv->phys[phy_num]); in ehci_platform_power_on()
105 while (--phy_num >= 0) { in ehci_platform_power_on()
106 phy_power_off(priv->phys[phy_num]); in ehci_platform_power_on()
107 phy_exit(priv->phys[phy_num]); in ehci_platform_power_on()
120 int clk, phy_num; in ehci_platform_power_off() local
122 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ehci_platform_power_off()
[all …]
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
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()
/linux-4.4.14/drivers/net/ethernet/ti/
Dtlan.c963 u32 phy = priv->phy[priv->phy_num]; in tlan_ioctl()
1723 phy = priv->phy[priv->phy_num]; in tlan_handle_status_check()
1731 if ((net_sts & TLAN_NET_STS_MIRQ) && (priv->phy_num == 0)) { in tlan_handle_status_check()
2242 if (priv->phy_num == 0 || in tlan_reset_adapter()
2271 phy = priv->phy[priv->phy_num]; in tlan_finish_reset()
2278 if (priv->phy_num == 0) in tlan_finish_reset()
2329 if (priv->phy_num == 0) { in tlan_finish_reset()
2431 phy = priv->phy[priv->phy_num]; in tlan_phy_print()
2481 priv->phy_num = 0xffff; in tlan_phy_detect()
2510 priv->phy_num = 1; in tlan_phy_detect()
[all …]
Dtlan.h205 u32 phy_num; member
/linux-4.4.14/drivers/dma/
Dste_dma40.c1906 int phy_num = j + event_group * 2; in d40_allocate_channel() local
1907 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel()
1927 int phy_num = j + event_group * 2; in d40_allocate_channel() local
1932 if ((i != phy_num) && (i != phy_num + 1)) { in d40_allocate_channel()
1953 for (i = phy_num; i < phy_num + 2; i++) { in d40_allocate_channel()
1960 for (i = phy_num + 1; i >= phy_num; i--) { in d40_allocate_channel()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_sas.c1210 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify() local
1212 for (phy_id = 0; phy_id < phy_num; phy_id++) { in mvs_dev_found_notify()
1221 if (phy_id == phy_num) { in mvs_dev_found_notify()
/linux-4.4.14/drivers/message/fusion/
Dmptsas.c3689 u8 phy_num; in mptsas_send_link_status_event() local
3698 phy_num = link_data->PhyNum; in mptsas_send_link_status_event()
3702 phy_info = &port_info->phy_info[phy_num]; in mptsas_send_link_status_event()
Dmptbase.c7578 u8 phy_num = (u8)(evData0); in mpt_display_event_info() local
7585 phy_num, port_num, port_width, primative); in mpt_display_event_info()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c5230 _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phy_num, in _scsih_add_device() argument