Home
last modified time | relevance | path

Searched refs:hub (Results 1 – 25 of 56) sorted by relevance

123

/drivers/usb/misc/
Dusb3503.c69 static int usb3503_reset(struct usb3503 *hub, int state) in usb3503_reset() argument
71 if (!state && gpio_is_valid(hub->gpio_connect)) in usb3503_reset()
72 gpio_set_value_cansleep(hub->gpio_connect, 0); in usb3503_reset()
74 if (gpio_is_valid(hub->gpio_reset)) in usb3503_reset()
75 gpio_set_value_cansleep(hub->gpio_reset, state); in usb3503_reset()
84 static int usb3503_connect(struct usb3503 *hub) in usb3503_connect() argument
86 struct device *dev = hub->dev; in usb3503_connect()
89 usb3503_reset(hub, 1); in usb3503_connect()
91 if (hub->regmap) { in usb3503_connect()
93 err = regmap_write(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect()
[all …]
/drivers/usb/core/
Dhub.c104 static void hub_usb3_port_prepare_disable(struct usb_hub *hub,
107 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument
109 if (hub_is_superspeed(hub->hdev)) in portspeed()
175 struct usb_hub *hub, in usb_set_lpm_mel() argument
193 (hub->descriptor->u.ss.bHubHdrDecLat * 100); in usb_set_lpm_mel()
220 struct usb_hub *hub, in usb_set_lpm_pel() argument
296 struct usb_hub *hub; in usb_set_lpm_parameters() local
306 hub = usb_hub_to_struct_hub(udev->parent); in usb_set_lpm_parameters()
310 if (!hub) in usb_set_lpm_parameters()
319 hub, &udev->parent->u1_params, hub_u1_del); in usb_set_lpm_parameters()
[all …]
Dhub.h36 struct usb_hub_status hub; member
112 extern int usb_hub_create_port_device(struct usb_hub *hub,
114 extern void usb_hub_remove_port_device(struct usb_hub *hub,
116 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub,
119 extern int hub_port_debounce(struct usb_hub *hub, int port1,
124 static inline bool hub_is_port_power_switchable(struct usb_hub *hub) in hub_is_port_power_switchable() argument
128 if (!hub) in hub_is_port_power_switchable()
130 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
139 static inline unsigned hub_power_on_good_delay(struct usb_hub *hub) in hub_power_on_good_delay() argument
141 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()
[all …]
Dport.c81 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_resume() local
87 if (!hub) in usb_port_runtime_resume()
89 if (hub->in_reset) { in usb_port_runtime_resume()
90 set_bit(port1, hub->power_bits); in usb_port_runtime_resume()
102 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume()
103 msleep(hub_power_on_good_delay(hub)); in usb_port_runtime_resume()
114 if (hub_port_debounce_be_connected(hub, port1) < 0) { in usb_port_runtime_resume()
117 set_bit(port1, hub->warm_reset_bits); in usb_port_runtime_resume()
121 if (!test_and_set_bit(port1, hub->child_usage_bits)) { in usb_port_runtime_resume()
137 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_suspend() local
[all …]
Dusb-acpi.c58 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_acpi_set_power_state() local
65 if (!hub) in usb_acpi_set_power_state()
67 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state()
DMakefile5 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
/drivers/usb/host/
Dohci-da8xx.c75 static void ohci_da8xx_ocic_handler(struct da8xx_ohci_root_hub *hub, in ohci_da8xx_ocic_handler() argument
81 if (hub->get_oci(port) > 0) in ohci_da8xx_ocic_handler()
82 hub->set_power(port, 0); in ohci_da8xx_ocic_handler()
88 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_init() local
114 if (hub->set_power) { in ohci_da8xx_init()
118 if (hub->get_oci) { in ohci_da8xx_init()
123 rh_a |= hub->potpgt << 24; in ohci_da8xx_init()
174 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_hub_control() local
188 if (hub->get_power && hub->get_power(wIndex) == 0) in ohci_da8xx_hub_control()
192 if (hub->get_oci && hub->get_oci(wIndex) > 0) in ohci_da8xx_hub_control()
[all …]
DMakefile10 fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
16 xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
Dfhci-hub.c281 cpu_to_le16(fhci->vroot_hub->hub.wHubStatus); in fhci_hub_control()
283 cpu_to_le16(fhci->vroot_hub->hub.wHubChange); in fhci_hub_control()
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/
Dhubnve0.fuc31 #include "hub.fuc"
38 #include "hub.fuc"
Dhubnvc0.fuc31 #include "hub.fuc"
38 #include "hub.fuc"
Dhubnv108.fuc531 #include "hub.fuc"
38 #include "hub.fuc"
Dhubnvd7.fuc31 #include "hub.fuc"
38 #include "hub.fuc"
Dhubgm107.fuc531 #include "hub.fuc"
38 #include "hub.fuc"
Dhubnvf0.fuc31 #include "hub.fuc"
38 #include "hub.fuc"
/drivers/gpu/drm/nouveau/core/engine/graph/
Dctxnvd7.c225 nvc0_graph_mmio(priv, oclass->hub); in nvd7_grctx_generate_main()
266 .hub = nvd7_grctx_pack_hub,
Dctxgk20a.c45 .hub = nve4_grctx_pack_hub,
Dctxgk110b.c86 .hub = nvf0_grctx_pack_hub,
Dctxnvc4.c96 .hub = nvc0_grctx_pack_hub,
Dctxnve4.c949 nvc0_graph_mmio(priv, oclass->hub); in nve4_grctx_generate_main()
1002 .hub = nve4_grctx_pack_hub,
Dctxnvc8.c347 .hub = nvc0_grctx_pack_hub,
Dctxgm107.c958 nvc0_graph_mmio(priv, oclass->hub); in gm107_grctx_generate_main()
1014 .hub = gm107_grctx_pack_hub,
Dctxnvd9.c515 .hub = nvd9_grctx_pack_hub,
/drivers/hid/
Dhid-elo.c186 struct usb_device *hub = dev->parent; in elo_broken_firmware() local
198 usb_hub_for_each_child(hub, i, child) { in elo_broken_firmware()
/drivers/clk/bcm/
Dclk-bcm281xx.c92 BCM281XX_CCU_COMMON(hub, HUB),
95 KONA_CLK(hub, tmon_1m, peri),

123