Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/linux/drivers/usb/misc/
H A Dusb251xb.c248 if (!hub->gpio_reset) in usb251x_check_gpio_chip()
271 if (!hub->gpio_reset) in usb251xb_reset()
294 if (hub->skip_config) { in usb251xb_connect()
299 usb251xb_reset(hub); in usb251xb_connect()
349 usb251xb_reset(hub); in usb251xb_connect()
667 if (IS_ERR(hub->vdd)) in usb251xb_probe()
668 return PTR_ERR(hub->vdd); in usb251xb_probe()
692 struct usb251xb *hub; in usb251xb_i2c_probe() local
695 if (!hub) in usb251xb_i2c_probe()
699 hub->dev = &i2c->dev; in usb251xb_i2c_probe()
[all …]
H A Dusb3503.c61 if (hub->regmap) { in usb3503_connect()
101 if (hub->connect) in usb3503_connect()
140 if (hub->reset) in usb3503_switch_mode()
143 if (hub->bypass) in usb3503_switch_mode()
250 if (hub->intn) in usb3503_probe()
266 if (hub->bypass) in usb3503_probe()
280 if (hub->port_off_mask && !hub->regmap) in usb3503_probe()
283 usb3503_switch_mode(hub, hub->mode); in usb3503_probe()
302 if (!hub) in usb3503_i2c_probe()
330 if (!hub) in usb3503_platform_probe()
[all …]
H A Donboard_usb_hub.c69 err = regulator_bulk_enable(hub->pdata->num_supplies, hub->supplies); in onboard_hub_power_on()
89 err = regulator_bulk_disable(hub->pdata->num_supplies, hub->supplies); in onboard_hub_power_off()
109 mutex_lock(&hub->lock); in onboard_hub_suspend()
152 if (hub->going_away) { in onboard_hub_add_usbdev()
249 hub = devm_kzalloc(dev, sizeof(*hub), GFP_KERNEL); in onboard_hub_probe()
250 if (!hub) in onboard_hub_probe()
258 if (!hub->pdata) in onboard_hub_probe()
279 hub->dev = dev; in onboard_hub_probe()
395 if (!hub) in _find_onboard_hub()
398 return hub; in _find_onboard_hub()
[all …]
H A Dusb4604.c44 usb4604_reset(hub, 1); in usb4604_connect()
48 usb4604_reset(hub, 0); in usb4604_connect()
69 usb4604_reset(hub, 0); in usb4604_switch_mode()
92 hub->gpio_reset = gpio; in usb4604_probe()
95 hub->mode = mode; in usb4604_probe()
97 return usb4604_switch_mode(hub, hub->mode); in usb4604_probe()
102 struct usb4604 *hub; in usb4604_i2c_probe() local
104 hub = devm_kzalloc(&i2c->dev, sizeof(*hub), GFP_KERNEL); in usb4604_i2c_probe()
105 if (!hub) in usb4604_i2c_probe()
109 hub->dev = &i2c->dev; in usb4604_i2c_probe()
[all …]
/openbmc/linux/drivers/platform/surface/
H A Dsurface_aggregator_hub.c73 status = hub->ops.get_state(hub, &state); in ssam_hub_update_workfn()
99 schedule_delayed_work(&hub->update_work, hub->connect_delay); in ssam_hub_update_workfn()
104 if (hub->state == state) in ssam_hub_update_workfn()
106 hub->state = state; in ssam_hub_update_workfn()
108 if (hub->state == SSAM_HUB_CONNECTED) in ssam_hub_update_workfn()
158 struct ssam_hub *hub; in ssam_hub_probe() local
167 hub = devm_kzalloc(&sdev->dev, sizeof(*hub), GFP_KERNEL); in ssam_hub_probe()
168 if (!hub) in ssam_hub_probe()
171 hub->sdev = sdev; in ssam_hub_probe()
172 hub->state = SSAM_HUB_UNINITIALIZED; in ssam_hub_probe()
[all …]
/openbmc/linux/drivers/usb/core/
H A Dhub.c353 if (!hub) in usb_set_lpm_parameters()
707 if (hub) in usb_kick_hub_wq()
757 if ((++hub->nerrors < 10) || hub->error) in hub_irq()
961 ret = get_hub_status(hub->hdev, &hub->status->hub); in hub_hub_status()
1362 if (hub->tt.hub) in hub_quiesce()
1535 hub->tt.hub = hdev; in hub_configure()
1545 hub->tt.hub = hdev; in hub_configure()
1897 hub = kzalloc(sizeof(*hub), GFP_KERNEL); in hub_probe()
3371 (hub ? hub->wakeup_enabled_descendants : 0); in usb_wakeup_enabled_descendants()
4721 if (hub) in hub_set_initial_usb2_lpm_policy()
[all …]
H A Dhub.h28 struct usb_hub_status hub; member
122 extern int usb_hub_create_port_device(struct usb_hub *hub,
124 extern void usb_hub_remove_port_device(struct usb_hub *hub,
129 extern void hub_get(struct usb_hub *hub);
130 extern void hub_put(struct usb_hub *hub);
143 if (!hub) in hub_is_port_power_switchable()
145 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
163 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()
165 if (!hub->hdev->parent) /* root hub */ in hub_power_on_good_delay()
174 return hub_port_debounce(hub, port1, true); in hub_port_debounce_be_connected()
[all …]
H A Dport.c60 if (!hub) in disable_show()
62 hub_get(hub); in disable_show()
77 if (hub->disconnected) { in disable_show()
91 hub_put(hub); in disable_show()
111 if (!hub) in disable_store()
117 hub_get(hub); in disable_store()
157 hub_put(hub); in disable_store()
359 if (!hub) in usb_port_runtime_resume()
361 if (hub->in_reset) { in usb_port_runtime_resume()
417 if (!hub) in usb_port_runtime_suspend()
[all …]
/openbmc/qemu/net/
H A Dhub.c35 NetHub *hub; member
81 NetHub *hub; in net_hub_new() local
83 hub = g_malloc(sizeof(*hub)); in net_hub_new()
84 hub->id = id; in net_hub_new()
90 return hub; in net_hub_new()
97 NetHub *hub = src_port->hub; in net_hub_port_can_receive() local
161 port->hub = hub; in net_hub_port_new()
179 NetHub *hub; in net_hub_add_port() local
188 if (!hub) { in net_hub_add_port()
201 NetHub *hub; in net_hub_port_find() local
[all …]
/openbmc/linux/drivers/fsi/
H A Dfsi-master-hub.c110 kfree(hub); in hub_master_release()
198 struct fsi_master_hub *hub; in hub_master_probe() local
218 hub = kzalloc(sizeof(*hub), GFP_KERNEL); in hub_master_probe()
219 if (!hub) { in hub_master_probe()
226 hub->upstream = fsi_dev; in hub_master_probe()
228 hub->master.dev.parent = dev; in hub_master_probe()
232 hub->master.n_links = links; in hub_master_probe()
238 dev_set_drvdata(dev, hub); in hub_master_probe()
240 hub_master_init(hub); in hub_master_probe()
253 get_device(&hub->master.dev); in hub_master_probe()
[all …]
/openbmc/u-boot/common/
H A Dusb_hub.c166 dev = hub->pusb_dev; in usb_hub_power_on()
206 hub->connect_timeout = hub->query_delay + 1000; in usb_hub_power_on()
441 hub = usb_scan->hub; in usb_scan_port()
614 return hub; in usb_get_hub_device()
629 if (hub == NULL) in usb_hub_configure()
631 hub->pusb_dev = dev; in usb_hub_configure()
716 hub->tt.multi = true; in usb_hub_configure()
813 hub->hub_depth = -1; in usb_hub_configure()
824 hub->hub_depth = depth; in usb_hub_configure()
843 usb_hub_power_on(hub); in usb_hub_configure()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dhub.c763 struct tegra_display_hub *hub = tegra->hub; in tegra_shared_plane_create() local
855 if (!tegra->hub) in tegra_display_hub_atomic_check()
916 struct tegra_display_hub *hub = tegra->hub; in tegra_display_hub_atomic_commit() local
953 tegra->hub = hub; in tegra_display_hub_init()
964 tegra->hub = NULL; in tegra_display_hub_exit()
1065 hub = devm_kzalloc(&pdev->dev, sizeof(*hub), GFP_KERNEL); in tegra_display_hub_probe()
1066 if (!hub) in tegra_display_hub_probe()
1097 hub->wgrps = devm_kcalloc(&pdev->dev, hub->soc->num_wgrps, in tegra_display_hub_probe()
1099 if (!hub->wgrps) in tegra_display_hub_probe()
1122 hub->clk_heads = devm_kcalloc(&pdev->dev, hub->num_heads, sizeof(clk), in tegra_display_hub_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dmicrochip,usb5744.yaml39 3V3 power supply to the hub
45 peer-hub:
70 peer-hub: false
75 - peer-hub
85 hub: usb-hub@2d {
95 /* 2.0 hub on port 1 */
96 hub_2_0: hub@1 {
100 i2c-bus = <&hub>;
104 /* 3.0 hub on port 2 */
105 hub_3_0: hub@2 {
[all …]
H A Drealtek,rts5411.yaml7 title: Realtek RTS5411 USB 3.0 hub controller
26 phandle to the regulator that provides power to the hub.
28 peer-hub:
31 phandle to the peer hub on the controller.
34 - peer-hub
47 /* 2.0 hub on port 1 */
48 hub_2_0: hub@1 {
52 peer-hub = <&hub_3_0>;
55 /* 3.0 hub on port 2 */
56 hub_3_0: hub@2 {
[all …]
H A Dti,usb8041.yaml7 title: TI USB8041 USB 3.0 hub controller
29 VDD power supply to the hub
31 peer-hub:
34 phandle to the peer hub on the controller.
39 - peer-hub
52 /* 2.0 hub on port 1 */
53 hub_2_0: hub@1 {
56 peer-hub = <&hub_3_0>;
60 /* 3.0 hub on port 2 */
61 hub_3_0: hub@2 {
[all …]
H A Dvialab,vl817.yaml7 title: Via labs VL817 USB 3.1 hub controller
30 phandle to the regulator that provides power to the hub.
32 peer-hub:
35 phandle to the peer hub on the controller.
42 - peer-hub
54 /* 2.0 hub on port 1 */
55 hub_2_0: hub@1 {
59 peer-hub = <&hub_3_0>;
63 /* 3.1 hub on port 4 */
64 hub_3_0: hub@2 {
[all …]
H A Dcypress,hx3.yaml7 title: Cypress HX3 USB 3.0 hub controller family
35 peer-hub:
38 phandle to the peer hub on the controller.
43 - peer-hub
58 /* 2.0 hub on port 1 */
59 hub_2_0: hub@1 {
62 peer-hub = <&hub_3_0>;
68 /* 3.0 hub on port 2 */
69 hub_3_0: hub@2 {
72 peer-hub = <&hub_2_0>;
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-sm1-odroid-c4.dts30 /* USB hub supports both USB 2.0 and USB 3.0 root hub */
31 usb-hub {
36 /* 2.0 hub on port 1 */
37 hub_2_0: hub@1 {
40 peer-hub = <&hub_3_0>;
45 /* 3.1 hub on port 4 */
46 hub_3_0: hub@2 {
49 peer-hub = <&hub_2_0>;
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfxhub_v2_0.c322 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config()
329 hub->vm_cntx_cntl = tmp; in gfxhub_v2_0_setup_vmid_config()
370 i * hub->ctx_distance, 0); in gfxhub_v2_0_gart_disable()
439 hub->ctx0_ptb_addr_lo32 = in gfxhub_v2_0_init()
442 hub->ctx0_ptb_addr_hi32 = in gfxhub_v2_0_init()
445 hub->vm_inv_eng0_sem = in gfxhub_v2_0_init()
447 hub->vm_inv_eng0_req = in gfxhub_v2_0_init()
449 hub->vm_inv_eng0_ack = in gfxhub_v2_0_init()
451 hub->vm_context0_cntl = in gfxhub_v2_0_init()
453 hub->vm_l2_pro_fault_status = in gfxhub_v2_0_init()
[all …]
H A Dgfxhub_v3_0_3.c335 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config()
342 hub->vm_cntx_cntl = tmp; in gfxhub_v3_0_3_setup_vmid_config()
383 i * hub->ctx_distance, 0); in gfxhub_v3_0_3_gart_disable()
456 hub->ctx0_ptb_addr_lo32 = in gfxhub_v3_0_3_init()
459 hub->ctx0_ptb_addr_hi32 = in gfxhub_v3_0_3_init()
462 hub->vm_inv_eng0_sem = in gfxhub_v3_0_3_init()
464 hub->vm_inv_eng0_req = in gfxhub_v3_0_3_init()
466 hub->vm_inv_eng0_ack = in gfxhub_v3_0_3_init()
468 hub->vm_context0_cntl = in gfxhub_v3_0_3_init()
470 hub->vm_l2_pro_fault_status = in gfxhub_v3_0_3_init()
[all …]
H A Dmmhub_v3_0_2.c352 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config()
359 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_2_setup_vmid_config()
400 i * hub->ctx_distance, 0); in mmhub_v3_0_2_gart_disable()
474 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_2_init()
477 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_2_init()
480 hub->vm_inv_eng0_sem = in mmhub_v3_0_2_init()
482 hub->vm_inv_eng0_req = in mmhub_v3_0_2_init()
484 hub->vm_inv_eng0_ack = in mmhub_v3_0_2_init()
486 hub->vm_context0_cntl = in mmhub_v3_0_2_init()
488 hub->vm_l2_pro_fault_status = in mmhub_v3_0_2_init()
[all …]
H A Dgfxhub_v3_0.c330 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config()
337 hub->vm_cntx_cntl = tmp; in gfxhub_v3_0_setup_vmid_config()
390 i * hub->ctx_distance, 0); in gfxhub_v3_0_gart_disable()
468 hub->ctx0_ptb_addr_lo32 = in gfxhub_v3_0_init()
471 hub->ctx0_ptb_addr_hi32 = in gfxhub_v3_0_init()
474 hub->vm_inv_eng0_sem = in gfxhub_v3_0_init()
476 hub->vm_inv_eng0_req = in gfxhub_v3_0_init()
478 hub->vm_inv_eng0_ack = in gfxhub_v3_0_init()
480 hub->vm_context0_cntl = in gfxhub_v3_0_init()
482 hub->vm_l2_pro_fault_status = in gfxhub_v3_0_init()
[all …]
H A Dmmhub_v3_0.c367 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_setup_vmid_config()
408 i * hub->ctx_distance, 0); in mmhub_v3_0_gart_disable()
482 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_init()
485 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_init()
488 hub->vm_inv_eng0_sem = in mmhub_v3_0_init()
490 hub->vm_inv_eng0_req = in mmhub_v3_0_init()
492 hub->vm_inv_eng0_ack = in mmhub_v3_0_init()
494 hub->vm_context0_cntl = in mmhub_v3_0_init()
496 hub->vm_l2_pro_fault_status = in mmhub_v3_0_init()
498 hub->vm_l2_pro_fault_cntl = in mmhub_v3_0_init()
[all …]
H A Dgfxhub_v1_0.c46 hub->ctx_addr_distance * vmid, in gfxhub_v1_0_setup_vm_pt_regs()
50 hub->ctx_addr_distance * vmid, in gfxhub_v1_0_setup_vm_pt_regs()
350 i * hub->ctx_distance, 0); in gfxhub_v1_0_gart_disable()
419 hub->ctx0_ptb_addr_lo32 = in gfxhub_v1_0_init()
422 hub->ctx0_ptb_addr_hi32 = in gfxhub_v1_0_init()
425 hub->vm_inv_eng0_sem = in gfxhub_v1_0_init()
427 hub->vm_inv_eng0_req = in gfxhub_v1_0_init()
429 hub->vm_inv_eng0_ack = in gfxhub_v1_0_init()
431 hub->vm_context0_cntl = in gfxhub_v1_0_init()
433 hub->vm_l2_pro_fault_status = in gfxhub_v1_0_init()
[all …]
H A Dmmhub_v3_0_1.c347 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config()
354 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_1_setup_vmid_config()
395 i * hub->ctx_distance, 0); in mmhub_v3_0_1_gart_disable()
464 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_1_init()
467 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_1_init()
470 hub->vm_inv_eng0_sem = in mmhub_v3_0_1_init()
472 hub->vm_inv_eng0_req = in mmhub_v3_0_1_init()
474 hub->vm_inv_eng0_ack = in mmhub_v3_0_1_init()
476 hub->vm_context0_cntl = in mmhub_v3_0_1_init()
478 hub->vm_l2_pro_fault_status = in mmhub_v3_0_1_init()
[all …]

12345678910>>...15