Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/drivers/usb/misc/
Dusb251xb.c242 static int usb251x_check_gpio_chip(struct usb251xb *hub) in usb251x_check_gpio_chip() argument
244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip()
245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip()
248 if (!hub->gpio_reset) in usb251x_check_gpio_chip()
256 dev_err(hub->dev, "Reset GPIO chip is at the same i2c-bus\n"); in usb251x_check_gpio_chip()
263 static int usb251x_check_gpio_chip(struct usb251xb *hub) in usb251x_check_gpio_chip() argument
269 static void usb251xb_reset(struct usb251xb *hub) in usb251xb_reset() argument
271 if (!hub->gpio_reset) in usb251xb_reset()
274 i2c_lock_bus(hub->i2c->adapter, I2C_LOCK_SEGMENT); in usb251xb_reset()
276 gpiod_set_value_cansleep(hub->gpio_reset, 1); in usb251xb_reset()
[all …]
Dusb3503.c55 static int usb3503_reset(struct usb3503 *hub, int state) in usb3503_reset() argument
57 if (!state && hub->connect) in usb3503_reset()
58 gpiod_set_value_cansleep(hub->connect, 0); in usb3503_reset()
60 if (hub->reset) in usb3503_reset()
61 gpiod_set_value_cansleep(hub->reset, !state); in usb3503_reset()
70 static int usb3503_connect(struct usb3503 *hub) in usb3503_connect() argument
72 struct device *dev = hub->dev; in usb3503_connect()
75 usb3503_reset(hub, 1); in usb3503_connect()
77 if (hub->regmap) { in usb3503_connect()
79 err = regmap_write(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect()
[all …]
Donboard_usb_hub.c54 static int onboard_hub_power_on(struct onboard_hub *hub) in onboard_hub_power_on() argument
58 err = regulator_enable(hub->vdd); in onboard_hub_power_on()
60 dev_err(hub->dev, "failed to enable regulator: %d\n", err); in onboard_hub_power_on()
64 fsleep(hub->pdata->reset_us); in onboard_hub_power_on()
65 gpiod_set_value_cansleep(hub->reset_gpio, 0); in onboard_hub_power_on()
67 hub->is_powered_on = true; in onboard_hub_power_on()
72 static int onboard_hub_power_off(struct onboard_hub *hub) in onboard_hub_power_off() argument
76 gpiod_set_value_cansleep(hub->reset_gpio, 1); in onboard_hub_power_off()
78 err = regulator_disable(hub->vdd); in onboard_hub_power_off()
80 dev_err(hub->dev, "failed to disable regulator: %d\n", err); in onboard_hub_power_off()
[all …]
Dusb4604.c28 static void usb4604_reset(struct usb4604 *hub, int state) in usb4604_reset() argument
30 gpiod_set_value_cansleep(hub->gpio_reset, state); in usb4604_reset()
37 static int usb4604_connect(struct usb4604 *hub) in usb4604_connect() argument
39 struct device *dev = hub->dev; in usb4604_connect()
44 usb4604_reset(hub, 1); in usb4604_connect()
48 usb4604_reset(hub, 0); in usb4604_connect()
52 hub->mode = USB4604_MODE_HUB; in usb4604_connect()
58 static int usb4604_switch_mode(struct usb4604 *hub, enum usb4604_mode mode) in usb4604_switch_mode() argument
60 struct device *dev = hub->dev; in usb4604_switch_mode()
65 err = usb4604_connect(hub); in usb4604_switch_mode()
[all …]
/linux-6.1.9/drivers/platform/surface/
Dsurface_aggregator_hub.c36 int (*get_state)(struct ssam_hub *hub, enum ssam_hub_state *state);
61 int (*get_state)(struct ssam_hub *hub, enum ssam_hub_state *state);
69 struct ssam_hub *hub = container_of(work, struct ssam_hub, update_work.work); in ssam_hub_update_workfn() local
73 status = hub->ops.get_state(hub, &state); in ssam_hub_update_workfn()
97 if (test_and_clear_bit(SSAM_HUB_HOT_REMOVED, &hub->flags)) { 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()
109 status = ssam_device_register_clients(hub->sdev); in ssam_hub_update_workfn()
[all …]
/linux-6.1.9/drivers/usb/core/
Dhub.c122 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state);
123 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1,
126 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument
128 if (hub_is_superspeedplus(hub->hdev)) in portspeed()
130 if (hub_is_superspeed(hub->hdev)) in portspeed()
197 struct usb_hub *hub, in usb_set_lpm_mel() argument
212 hub->descriptor->u.ss.bHubHdrDecLat * 100; in usb_set_lpm_mel()
220 total_mel += (__le16_to_cpu(hub->descriptor->u.ss.wHubDelay) + in usb_set_lpm_mel()
231 if (!hub->hdev->parent) in usb_set_lpm_mel()
244 struct usb_hub *hub, in usb_set_lpm_pel() argument
[all …]
Dhub.h28 struct usb_hub_status hub; member
114 extern int usb_hub_create_port_device(struct usb_hub *hub,
116 extern void usb_hub_remove_port_device(struct usb_hub *hub,
118 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub,
121 extern int hub_port_debounce(struct usb_hub *hub, int port1,
125 extern int usb_hub_port_status(struct usb_hub *hub, int port1,
127 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus);
129 static inline bool hub_is_port_power_switchable(struct usb_hub *hub) in hub_is_port_power_switchable() argument
133 if (!hub) in hub_is_port_power_switchable()
135 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
[all …]
Dport.c25 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in disable_show() local
26 struct usb_interface *intf = to_usb_interface(hub->intfdev); in disable_show()
37 if (hub->disconnected) { in disable_show()
42 usb_hub_port_status(hub, port1, &portstatus, &unused); in disable_show()
43 disabled = !usb_port_is_power_on(hub, portstatus); in disable_show()
60 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in disable_store() local
61 struct usb_interface *intf = to_usb_interface(hub->intfdev); in disable_store()
75 if (hub->disconnected) { in disable_store()
83 rc = usb_hub_set_port_power(hdev, hub, port1, !disabled); in disable_store()
280 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_resume() local
[all …]
/linux-6.1.9/drivers/fsi/
Dfsi-master-hub.c48 struct fsi_master_hub *hub = to_fsi_master_hub(master); in hub_master_read() local
53 addr += hub->addr + (link * FSI_HUB_LINK_SIZE); in hub_master_read()
54 return fsi_slave_read(hub->upstream->slave, addr, val, size); in hub_master_read()
60 struct fsi_master_hub *hub = to_fsi_master_hub(master); in hub_master_write() local
65 addr += hub->addr + (link * FSI_HUB_LINK_SIZE); in hub_master_write()
66 return fsi_slave_write(hub->upstream->slave, addr, val, size); in hub_master_write()
83 struct fsi_master_hub *hub = to_fsi_master_hub(master); in hub_master_link_enable() local
94 return fsi_device_write(hub->upstream, FSI_MCENP0 + (4 * idx), in hub_master_link_enable()
97 rc = fsi_device_write(hub->upstream, FSI_MSENP0 + (4 * idx), &reg, 4); in hub_master_link_enable()
108 struct fsi_master_hub *hub = to_fsi_master_hub(dev_to_fsi_master(dev)); in hub_master_release() local
[all …]
/linux-6.1.9/drivers/gpu/drm/tegra/
Dhub.c156 int tegra_display_hub_prepare(struct tegra_display_hub *hub) in tegra_display_hub_prepare() argument
166 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_prepare()
167 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_prepare()
177 void tegra_display_hub_cleanup(struct tegra_display_hub *hub) in tegra_display_hub_cleanup() argument
185 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_cleanup()
186 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_cleanup()
763 struct tegra_display_hub *hub = tegra->hub; in tegra_shared_plane_create() local
779 plane->wgrp = &hub->wgrps[wgrp]; in tegra_shared_plane_create()
834 tegra_display_hub_get_state(struct tegra_display_hub *hub, in tegra_display_hub_get_state() argument
839 priv = drm_atomic_get_private_obj_state(state, &hub->base); in tegra_display_hub_get_state()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/usb/
Drealtek,rts5411.yaml7 title: Binding for the 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 …]
Dti,usb8041.yaml7 title: Binding for the 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 …]
Dusb251xb.txt14 - reset-gpios : Should specify the gpio for hub reset
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
39 - compound-device : indicate the hub is part of a compound device (boolean)
49 - sp-max-total-current-microamp: Specifies max current consumed by the hub
50 from VBUS when operating in self-powered hub. It includes the hub
53 - bp-max-total-current-microamp: Specifies max current consumed by the hub
54 from VBUS when operating in self-powered hub. It includes the hub
57 - sp-max-removable-current-microamp: Specifies max current consumed by the hub
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v2_0.c123 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_setup_vm_pt_regs() local
126 hub->ctx_addr_distance * vmid, in gfxhub_v2_0_setup_vm_pt_regs()
130 hub->ctx_addr_distance * vmid, in gfxhub_v2_0_setup_vm_pt_regs()
285 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_setup_vmid_config() local
316 i * hub->ctx_distance, tmp); in gfxhub_v2_0_setup_vmid_config()
318 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config()
320 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config()
322 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config()
325 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()
[all …]
Dgfxhub_v3_0_3.c125 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_3_setup_vm_pt_regs() local
128 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_3_setup_vm_pt_regs()
132 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_3_setup_vm_pt_regs()
295 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_3_setup_vmid_config() local
326 i * hub->ctx_distance, tmp); in gfxhub_v3_0_3_setup_vmid_config()
328 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config()
330 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config()
332 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config()
335 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config()
339 hub->vm_cntx_cntl = tmp; in gfxhub_v3_0_3_setup_vmid_config()
[all …]
Dmmhub_v3_0_2.c132 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_2_setup_vm_pt_regs() local
135 hub->ctx_addr_distance * vmid, in mmhub_v3_0_2_setup_vm_pt_regs()
139 hub->ctx_addr_distance * vmid, in mmhub_v3_0_2_setup_vm_pt_regs()
314 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_2_setup_vmid_config() local
346 i * hub->ctx_distance, tmp); in mmhub_v3_0_2_setup_vmid_config()
348 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config()
350 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config()
352 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config()
355 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()
[all …]
Dgfxhub_v1_0.c43 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vm_pt_regs() local
46 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()
250 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vmid_config() local
294 i * hub->ctx_distance, tmp); in gfxhub_v1_0_setup_vmid_config()
296 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config()
298 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config()
300 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config()
303 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config()
310 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_program_invalidation() local
[all …]
Dgfxhub_v3_0.c122 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_setup_vm_pt_regs() local
125 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_setup_vm_pt_regs()
129 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_setup_vm_pt_regs()
292 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_setup_vmid_config() local
323 i * hub->ctx_distance, tmp); in gfxhub_v3_0_setup_vmid_config()
325 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_setup_vmid_config()
327 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_setup_vmid_config()
329 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config()
332 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config()
336 hub->vm_cntx_cntl = tmp; in gfxhub_v3_0_setup_vmid_config()
[all …]
Dgmc_v11_0.c86 struct amdgpu_vmhub *hub = &adev->vmhub[entry->vmid_src]; in gmc_v11_0_process_interrupt() local
100 RREG32(hub->vm_l2_pro_fault_status); in gmc_v11_0_process_interrupt()
102 status = RREG32(hub->vm_l2_pro_fault_status); in gmc_v11_0_process_interrupt()
103 WREG32_P(hub->vm_l2_pro_fault_cntl, 1, ~1); in gmc_v11_0_process_interrupt()
122 hub->vmhub_funcs->print_l2_protection_fault_status(adev, status); in gmc_v11_0_process_interrupt()
183 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; in gmc_v11_0_flush_vm_hub() local
184 u32 inv_req = hub->vmhub_funcs->get_invalidate_req(vmid, flush_type); in gmc_v11_0_flush_vm_hub()
206 tmp = RREG32_RLC_NO_KIQ(hub->vm_inv_eng0_sem + in gmc_v11_0_flush_vm_hub()
207 hub->eng_distance * eng, hub_ip); in gmc_v11_0_flush_vm_hub()
217 WREG32_RLC_NO_KIQ(hub->vm_inv_eng0_req + hub->eng_distance * eng, inv_req, hub_ip); in gmc_v11_0_flush_vm_hub()
[all …]
Dmmhub_v3_0_1.c141 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_1_setup_vm_pt_regs() local
144 hub->ctx_addr_distance * vmid, in mmhub_v3_0_1_setup_vm_pt_regs()
148 hub->ctx_addr_distance * vmid, in mmhub_v3_0_1_setup_vm_pt_regs()
309 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_1_setup_vmid_config() local
341 i * hub->ctx_distance, tmp); in mmhub_v3_0_1_setup_vmid_config()
343 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config()
345 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config()
347 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config()
350 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()
[all …]
Dmmhub_v3_0.c139 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_setup_vm_pt_regs() local
142 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs()
146 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs()
321 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_setup_vmid_config() local
353 i * hub->ctx_distance, tmp); in mmhub_v3_0_setup_vmid_config()
355 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config()
357 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config()
359 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config()
362 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config()
366 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_setup_vmid_config()
[all …]
Dmmhub_v2_0.c190 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vm_pt_regs() local
193 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs()
197 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs()
365 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vmid_config() local
397 i * hub->ctx_distance, tmp); in mmhub_v2_0_setup_vmid_config()
399 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config()
401 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config()
403 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config()
406 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config()
410 hub->vm_cntx_cntl = tmp; in mmhub_v2_0_setup_vmid_config()
[all …]
Dmmhub_v2_3.c124 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_setup_vm_pt_regs() local
127 hub->ctx_addr_distance * vmid, lower_32_bits(page_table_base)); in mmhub_v2_3_setup_vm_pt_regs()
130 hub->ctx_addr_distance * vmid, upper_32_bits(page_table_base)); in mmhub_v2_3_setup_vm_pt_regs()
283 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_setup_vmid_config() local
315 i * hub->ctx_distance, tmp); in mmhub_v2_3_setup_vmid_config()
317 i * hub->ctx_addr_distance, 0); in mmhub_v2_3_setup_vmid_config()
319 i * hub->ctx_addr_distance, 0); in mmhub_v2_3_setup_vmid_config()
321 i * hub->ctx_addr_distance, in mmhub_v2_3_setup_vmid_config()
324 i * hub->ctx_addr_distance, in mmhub_v2_3_setup_vmid_config()
328 hub->vm_cntx_cntl = tmp; in mmhub_v2_3_setup_vmid_config()
[all …]
Dgfxhub_v2_1.c126 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_setup_vm_pt_regs() local
129 hub->ctx_addr_distance * vmid, in gfxhub_v2_1_setup_vm_pt_regs()
133 hub->ctx_addr_distance * vmid, in gfxhub_v2_1_setup_vm_pt_regs()
294 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_setup_vmid_config() local
325 i * hub->ctx_distance, tmp); in gfxhub_v2_1_setup_vmid_config()
327 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config()
329 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config()
331 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config()
334 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config()
338 hub->vm_cntx_cntl = tmp; in gfxhub_v2_1_setup_vmid_config()
[all …]
/linux-6.1.9/drivers/hwtracing/intel_th/
Dcore.c53 struct intel_th_device *hub = NULL; in intel_th_probe() local
57 hub = thdev; in intel_th_probe()
59 hub = to_intel_th_device(dev->parent); in intel_th_probe()
61 if (!hub || !hub->dev.driver) in intel_th_probe()
64 hubdrv = to_intel_th_driver(hub->dev.driver); in intel_th_probe()
83 ret = hubdrv->assign(hub, thdev); in intel_th_probe()
102 struct intel_th_device *hub = to_intel_th_hub(thdev); in intel_th_remove() local
105 struct intel_th *th = to_intel_th(hub); in intel_th_remove()
159 if (hub->dev.driver) in intel_th_remove()
161 hubdrv->unassign(hub, thdev); in intel_th_remove()
[all …]

1234567891011