Searched defs:hub (Results 1 - 11 of 11) sorted by path

/drivers/gpu/drm/nouveau/core/engine/fifo/
H A Dnvc0.c614 u32 hub = (stat & 0x00000040); local
650 if (hub) {
663 eu ? eu->name : euunk, hub ? "" : "GPC", gpcid, hub ? "" : "/",
H A Dnve0.c729 u32 hub = (stat & 0x00000040); local
765 if (hub) {
778 eu ? eu->name : euunk, hub ? "" : "GPC", gpcid, hub ? "" : "/",
/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dctxnvc0.h30 const struct nvc0_graph_pack *hub; member in struct:nvc0_grctx_oclass
/drivers/hid/
H A Dhid-elo.c184 struct usb_device *hub = dev->parent; local
196 usb_hub_for_each_child(hub, i, child) {
/drivers/usb/core/
H A Dhub.c2 * USB hub driver.
33 #include "hub.h"
44 /* workqueue to process hub events */
48 /* synchronize hub-port add/remove and peering operations */
76 * hub driver's behavior. On the first initialization attempt, if the
105 static inline char *portspeed(struct usb_hub *hub, int portstatus) argument
107 if (hub_is_superspeed(hub->hdev))
169 struct usb_hub *hub,
179 * to the parent hub into U0. The parent hub mus
166 usb_set_lpm_mel(struct usb_device *udev, struct usb3_lpm_parameters *udev_lpm_params, unsigned int udev_exit_latency, struct usb_hub *hub, struct usb3_lpm_parameters *hub_lpm_params, unsigned int hub_exit_latency) argument
211 usb_set_lpm_pel(struct usb_device *udev, struct usb3_lpm_parameters *udev_lpm_params, unsigned int udev_exit_latency, struct usb_hub *hub, struct usb3_lpm_parameters *hub_lpm_params, unsigned int hub_exit_latency, unsigned int port_to_port_exit_latency) argument
290 struct usb_hub *hub; local
429 set_port_led(struct usb_hub *hub, int port1, int selector) argument
444 struct usb_hub *hub = local
551 hub_port_status(struct usb_hub *hub, int port1, u16 *status, u16 *change) argument
574 kick_hub_wq(struct usb_hub *hub) argument
603 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
620 struct usb_hub *hub; local
636 struct usb_hub *hub = urb->context; local
705 struct usb_hub *hub = local
752 usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, int port1, bool set) argument
827 hub_power_on(struct usb_hub *hub, bool do_delay) argument
852 hub_hub_status(struct usb_hub *hub, u16 *status, u16 *change) argument
872 hub_set_port_link_state(struct usb_hub *hub, int port1, unsigned int link_status) argument
890 hub_usb3_port_disable(struct usb_hub *hub, int port1) argument
942 hub_port_disable(struct usb_hub *hub, int port1, int set_state) argument
967 hub_port_logical_disconnect(struct usb_hub *hub, int port1) argument
999 struct usb_hub *hub; local
1022 hub_activate(struct usb_hub *hub, enum hub_activation_type type) argument
1260 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); local
1267 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); local
1276 hub_quiesce(struct usb_hub *hub, enum hub_quiescing_type type) argument
1302 hub_pm_barrier_for_all_ports(struct usb_hub *hub) argument
1313 struct usb_hub *hub = usb_get_intfdata(intf); local
1324 struct usb_hub *hub = usb_get_intfdata(intf); local
1332 hub_configure(struct usb_hub *hub, struct usb_endpoint_descriptor *endpoint) argument
1642 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); local
1653 struct usb_hub *hub = usb_get_intfdata(intf); local
1699 struct usb_hub *hub; local
1830 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
1868 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
1917 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
1930 struct usb_hub *hub; local
1940 struct usb_hub *hub = usb_hub_to_struct_hub(udev); local
2096 struct usb_hub *hub = usb_hub_to_struct_hub(udev); local
2126 struct usb_hub *hub = NULL; local
2343 struct usb_hub *hub; local
2472 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); local
2579 hub_is_wusb(struct usb_hub *hub) argument
2622 hub_port_warm_reset_required(struct usb_hub *hub, int port1, u16 portstatus) argument
2638 hub_port_wait_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument
2706 hub_port_finish_reset(struct usb_hub *hub, int port1, struct usb_device *udev, int *status) argument
2745 hub_port_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument
2843 port_is_power_on(struct usb_hub *hub, unsigned portstatus) argument
2875 port_is_suspended(struct usb_hub *hub, unsigned portstatus) argument
2894 check_port_resume_type(struct usb_device *udev, struct usb_hub *hub, int port1, int status, unsigned portchange, unsigned portstatus) argument
3037 struct usb_hub *hub = usb_hub_to_struct_hub(udev); local
3093 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); local
3314 wait_for_ss_port_enable(struct usb_device *udev, struct usb_hub *hub, int *port1, u16 *portchange, u16 *portstatus) argument
3366 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); local
3514 hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, u16 portstatus, u16 portchange) argument
3522 check_ports_changed(struct usb_hub *hub) argument
3539 struct usb_hub *hub = usb_get_intfdata (intf); local
3594 struct usb_hub *hub = usb_get_intfdata(intf); local
3603 struct usb_hub *hub = usb_get_intfdata(intf); local
4076 hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, u16 portstatus, u16 portchange) argument
4100 hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) argument
4195 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); local
4236 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, int retry_counter) argument
4540 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) argument
4568 hub_power_remaining(struct usb_hub *hub) argument
4614 hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, u16 portchange) argument
5009 struct usb_hub *hub; local
5494 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); local
5633 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
5644 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
5698 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
[all...]
H A Dhub.h2 * usb hub driver head file
36 struct usb_hub_status hub; member in union:usb_hub::__anon6979
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) argument
128 if (!hub)
130 hcs = hub->descriptor->wHubCharacteristics;
139 static inline unsigned hub_power_on_good_delay(struct usb_hub *hub) argument
147 hub_port_debounce_be_connected(struct usb_hub *hub, int port1) argument
153 hub_port_debounce_be_stable(struct usb_hub *hub, int port1) argument
[all...]
H A Dport.c22 #include "hub.h"
81 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
87 if (!hub)
89 if (hub->in_reset) {
90 set_bit(port1, hub->power_bits);
102 retval = usb_hub_set_port_power(hdev, hub, port1, true);
103 msleep(hub_power_on_good_delay(hub));
114 if (hub_port_debounce_be_connected(hub, port1) < 0) {
117 set_bit(port1, hub->warm_reset_bits);
121 if (!test_and_set_bit(port1, hub
137 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
348 find_and_link_peer(struct usb_hub *hub, int port1) argument
401 usb_hub_create_port_device(struct usb_hub *hub, int port1) argument
478 usb_hub_remove_port_device(struct usb_hub *hub, int port1) argument
[all...]
H A Dusb-acpi.c20 #include "hub.h"
25 * @hdev: USB device belonging to the usb hub
47 * @hdev: USB device belonging to the usb hub
58 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); local
65 if (!hub)
67 port_dev = hub->ports[port1 - 1];
137 * In the ACPI DSDT table, only usb root hub and usb ports are
147 * root hub and usb ports.
154 /* root hub is only child (_ADR=0) under its parent, the HC */
164 /* Get the struct usb_device point of port's hub */
[all...]
/drivers/usb/host/
H A Dfhci.h220 int dev_num; /* USB address of the root hub */
222 struct usb_hub_status hub; member in struct:virtual_root_hub
258 struct virtual_root_hub *vroot_hub; /* the virtual root hub */
529 /* fhci-hub.c */
H A Dohci-da8xx.c75 static void ohci_da8xx_ocic_handler(struct da8xx_ohci_root_hub *hub, argument
81 if (hub->get_oci(port) > 0)
82 hub->set_power(port, 0);
88 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); local
98 * DA8xx only have 1 port connected to the pins but the HC root hub
108 * Since we're providing a board-specific root hub port power control
109 * and over-current reporting, we have to override the HC root hub A
111 * the correct hub descriptor...
114 if (hub->set_power) {
118 if (hub
174 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); local
295 struct da8xx_ohci_root_hub *hub = dev_get_platdata(&pdev->dev); local
364 struct da8xx_ohci_root_hub *hub = dev_get_platdata(&pdev->dev); local
[all...]
/drivers/usb/misc/
H A Dusb3503.c2 * Driver for SMSC USB3503 USB 2.0 hub controller driver
69 static int usb3503_reset(struct usb3503 *hub, int state) argument
71 if (!state && gpio_is_valid(hub->gpio_connect))
72 gpio_set_value_cansleep(hub->gpio_connect, 0);
74 if (gpio_is_valid(hub->gpio_reset))
75 gpio_set_value_cansleep(hub->gpio_reset, state);
77 /* Wait T_HUBINIT == 4ms for hub logic to stabilize */
84 static int usb3503_connect(struct usb3503 *hub) argument
86 struct device *dev = hub->dev;
89 usb3503_reset(hub,
140 usb3503_switch_mode(struct usb3503 *hub, enum usb3503_mode mode) argument
171 usb3503_probe(struct usb3503 *hub) argument
313 struct usb3503 *hub; local
336 struct usb3503 *hub; local
352 struct usb3503 *hub = i2c_get_clientdata(client); local
365 struct usb3503 *hub = i2c_get_clientdata(client); local
[all...]

Completed in 251 milliseconds