/drivers/usb/misc/ |
D | usb3503.c | 69 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/ |
D | hub.c | 104 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 …]
|
D | hub.h | 36 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 …]
|
D | port.c | 81 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 …]
|
D | usb-acpi.c | 58 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()
|
D | Makefile | 5 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
|
/drivers/usb/host/ |
D | ohci-da8xx.c | 75 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 …]
|
D | Makefile | 10 fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o 16 xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
|
D | fhci-hub.c | 281 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/ |
D | hubnve0.fuc | 31 #include "hub.fuc" 38 #include "hub.fuc"
|
D | hubnvc0.fuc | 31 #include "hub.fuc" 38 #include "hub.fuc"
|
D | hubnv108.fuc5 | 31 #include "hub.fuc" 38 #include "hub.fuc"
|
D | hubnvd7.fuc | 31 #include "hub.fuc" 38 #include "hub.fuc"
|
D | hubgm107.fuc5 | 31 #include "hub.fuc" 38 #include "hub.fuc"
|
D | hubnvf0.fuc | 31 #include "hub.fuc" 38 #include "hub.fuc"
|
/drivers/gpu/drm/nouveau/core/engine/graph/ |
D | ctxnvd7.c | 225 nvc0_graph_mmio(priv, oclass->hub); in nvd7_grctx_generate_main() 266 .hub = nvd7_grctx_pack_hub,
|
D | ctxgk20a.c | 45 .hub = nve4_grctx_pack_hub,
|
D | ctxgk110b.c | 86 .hub = nvf0_grctx_pack_hub,
|
D | ctxnvc4.c | 96 .hub = nvc0_grctx_pack_hub,
|
D | ctxnve4.c | 949 nvc0_graph_mmio(priv, oclass->hub); in nve4_grctx_generate_main() 1002 .hub = nve4_grctx_pack_hub,
|
D | ctxnvc8.c | 347 .hub = nvc0_grctx_pack_hub,
|
D | ctxgm107.c | 958 nvc0_graph_mmio(priv, oclass->hub); in gm107_grctx_generate_main() 1014 .hub = gm107_grctx_pack_hub,
|
D | ctxnvd9.c | 515 .hub = nvd9_grctx_pack_hub,
|
/drivers/hid/ |
D | hid-elo.c | 186 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/ |
D | clk-bcm281xx.c | 92 BCM281XX_CCU_COMMON(hub, HUB), 95 KONA_CLK(hub, tmon_1m, peri),
|