Home
last modified time | relevance | path

Searched refs:port_dev (Results 1 – 11 of 11) sorted by relevance

/drivers/usb/core/
Dport.c29 struct usb_port *port_dev = to_usb_port(dev); in show_port_connect_type() local
32 switch (port_dev->connect_type) { in show_port_connect_type()
68 struct usb_port *port_dev = to_usb_port(dev); in usb_port_device_release() local
70 kfree(port_dev); in usb_port_device_release()
76 struct usb_port *port_dev = to_usb_port(dev); in usb_port_runtime_resume() local
80 int port1 = port_dev->portnum; in usb_port_runtime_resume()
90 if (port_dev->child && !retval) { in usb_port_runtime_resume()
97 dev_dbg(&port_dev->dev, "can't get reconnection after setting port power on, status %d\n", in usb_port_runtime_resume()
115 struct usb_port *port_dev = to_usb_port(dev); in usb_port_runtime_suspend() local
119 int port1 = port_dev->portnum; in usb_port_runtime_suspend()
[all …]
Dhub.c734 struct usb_port *port_dev = hub->ports[port1 - 1]; in usb_hub_set_port_power() local
742 port_dev->power_is_on = set; in usb_hub_set_port_power()
1166 struct usb_port *port_dev = hub->ports[port1 - 1]; in hub_activate() local
1174 if (port_dev->power_is_on) in hub_activate()
2055 struct usb_port *port_dev = hub->ports[udev->portnum - 1]; in usb_disconnect() local
2058 sysfs_remove_link(&port_dev->dev.kobj, "device"); in usb_disconnect()
2060 if (!port_dev->did_runtime_put) in usb_disconnect()
2061 pm_runtime_put(&port_dev->dev); in usb_disconnect()
2063 port_dev->did_runtime_put = false; in usb_disconnect()
2362 struct usb_port *port_dev = hub->ports[udev->portnum - 1]; in usb_new_device() local
[all …]
/drivers/net/team/
Dteam.c61 static int __set_port_dev_addr(struct net_device *port_dev, in __set_port_dev_addr() argument
66 memcpy(addr.sa_data, dev_addr, port_dev->addr_len); in __set_port_dev_addr()
67 addr.sa_family = port_dev->type; in __set_port_dev_addr()
68 return dev_set_mac_address(port_dev, &addr); in __set_port_dev_addr()
986 struct net_device *port_dev);
988 static int team_port_add(struct team *team, struct net_device *port_dev) in team_port_add() argument
992 char *portname = port_dev->name; in team_port_add()
995 if (port_dev->flags & IFF_LOOPBACK) { in team_port_add()
1001 if (team_port_exists(port_dev)) { in team_port_add()
1007 if (port_dev->features & NETIF_F_VLAN_CHALLENGED && in team_port_add()
[all …]
/drivers/scsi/libsas/
Dsas_host_smp.c46 !sas_ha->sas_phy[phy_id]->port->port_dev) in sas_host_smp_discover()
49 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_host_smp_discover()
157 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_report_phy_sata()
159 sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd; in sas_report_phy_sata()
175 &sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd[i]; in sas_report_phy_sata()
Dsas_discover.c145 port->port_dev = dev; in sas_get_port_device()
335 dev->port->port_dev = NULL; in sas_unregister_common_dev()
448 if (port->port_dev) in sas_discover_domain()
454 dev = port->port_dev; in sas_discover_domain()
490 port->port_dev = NULL; in sas_discover_domain()
517 if (port->port_dev) in sas_revalidate_domain()
518 res = sas_ex_revalidate_domain(port->port_dev); in sas_revalidate_domain()
Dsas_port.c157 sas_phy_set_target(phy, port->port_dev); in sas_form_port()
187 if (port->port_dev) in sas_form_port()
188 port->port_dev->pathways = port->num_phys; in sas_form_port()
216 dev = port->port_dev; in sas_deform_port()
Dsas_expander.c1630 res = sas_ex_discover_devices(port->port_dev, -1); in sas_ex_level_discovery()
2108 int sas_ex_revalidate_domain(struct domain_device *port_dev) in sas_ex_revalidate_domain() argument
2113 res = sas_find_bcast_dev(port_dev, &dev); in sas_ex_revalidate_domain()
2128 res = sas_find_bcast_dev(port_dev, &dev); in sas_ex_revalidate_domain()
Dsas_init.c233 dev = asd_phy->port->port_dev; in sas_try_ata_reset()
/drivers/net/usb/
Dhso.c2059 char port_dev[20]; in hso_log_port() local
2097 sprintf(port_dev, "%s", dev2net(hso_dev)->net->name); in hso_log_port()
2099 sprintf(port_dev, "/dev/%s%d", tty_filename, in hso_log_port()
2103 port_type, port_dev); in hso_log_port()
/drivers/net/ethernet/ibm/ehea/
Dehea_main.c2974 struct device *port_dev; in ehea_setup_single_port() local
3012 port_dev = ehea_register_port(port, dn); in ehea_setup_single_port()
3013 if (!port_dev) in ehea_setup_single_port()
3016 SET_NETDEV_DEV(dev, port_dev); in ehea_setup_single_port()
/drivers/net/ethernet/micrel/
Dksz884x.c4961 struct net_device *port_dev; in netdev_tx_timeout() local
4966 port_dev = hw->port_info[port].pdev; in netdev_tx_timeout()
4967 if (netif_running(port_dev)) in netdev_tx_timeout()