/kernel/linux/linux-5.10/drivers/usb/misc/ |
D | usb251xb.c | 242 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 …]
|
D | usb3503.c | 55 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 …]
|
D | usb4604.c | 28 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 …]
|
/kernel/linux/linux-4.19/drivers/usb/misc/ |
D | usb3503.c | 56 static int usb3503_reset(struct usb3503 *hub, int state) in usb3503_reset() argument 58 if (!state && gpio_is_valid(hub->gpio_connect)) in usb3503_reset() 59 gpio_set_value_cansleep(hub->gpio_connect, 0); in usb3503_reset() 61 if (gpio_is_valid(hub->gpio_reset)) in usb3503_reset() 62 gpio_set_value_cansleep(hub->gpio_reset, state); in usb3503_reset() 71 static int usb3503_connect(struct usb3503 *hub) in usb3503_connect() argument 73 struct device *dev = hub->dev; in usb3503_connect() 76 usb3503_reset(hub, 1); in usb3503_connect() 78 if (hub->regmap) { in usb3503_connect() 80 err = regmap_write(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect() [all …]
|
D | usb251xb.c | 225 static void usb251xb_reset(struct usb251xb *hub, int state) in usb251xb_reset() argument 227 if (!hub->gpio_reset) in usb251xb_reset() 230 gpiod_set_value_cansleep(hub->gpio_reset, state); in usb251xb_reset() 239 static int usb251xb_connect(struct usb251xb *hub) in usb251xb_connect() argument 241 struct device *dev = hub->dev; in usb251xb_connect() 247 if (hub->skip_config) { in usb251xb_connect() 252 usb251xb_reset(hub, 0); in usb251xb_connect() 254 err = i2c_smbus_write_i2c_block_data(hub->i2c, in usb251xb_connect() 263 i2c_wb[USB251XB_ADDR_VENDOR_ID_MSB] = (hub->vendor_id >> 8) & 0xFF; in usb251xb_connect() 264 i2c_wb[USB251XB_ADDR_VENDOR_ID_LSB] = hub->vendor_id & 0xFF; in usb251xb_connect() [all …]
|
D | usb4604.c | 28 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 …]
|
/kernel/linux/linux-4.19/drivers/usb/core/ |
D | hub.c | 112 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 113 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 116 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 118 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 120 if (hub_is_superspeed(hub->hdev)) in portspeed() 186 struct usb_hub *hub, in usb_set_lpm_mel() argument 204 (hub->descriptor->u.ss.bHubHdrDecLat * 100); in usb_set_lpm_mel() 231 struct usb_hub *hub, in usb_set_lpm_pel() argument 307 struct usb_hub *hub; in usb_set_lpm_parameters() local 317 hub = usb_hub_to_struct_hub(udev->parent); in usb_set_lpm_parameters() [all …]
|
D | hub.h | 28 struct usb_hub_status hub; member 111 extern int usb_hub_create_port_device(struct usb_hub *hub, 113 extern void usb_hub_remove_port_device(struct usb_hub *hub, 115 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, 118 extern int hub_port_debounce(struct usb_hub *hub, int port1, 123 static inline bool hub_is_port_power_switchable(struct usb_hub *hub) in hub_is_port_power_switchable() argument 127 if (!hub) in hub_is_port_power_switchable() 129 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable() 145 static inline unsigned hub_power_on_good_delay(struct usb_hub *hub) in hub_power_on_good_delay() argument 147 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay() [all …]
|
D | port.c | 186 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_resume() local 192 if (!hub) in usb_port_runtime_resume() 194 if (hub->in_reset) { in usb_port_runtime_resume() 195 set_bit(port1, hub->power_bits); in usb_port_runtime_resume() 210 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume() 211 msleep(hub_power_on_good_delay(hub)); in usb_port_runtime_resume() 222 if (hub_port_debounce_be_connected(hub, port1) < 0) { in usb_port_runtime_resume() 225 set_bit(port1, hub->warm_reset_bits); in usb_port_runtime_resume() 229 if (!test_and_set_bit(port1, hub->child_usage_bits)) { in usb_port_runtime_resume() 245 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_suspend() local [all …]
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | hub.c | 117 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 118 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 121 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 123 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 125 if (hub_is_superspeed(hub->hdev)) in portspeed() 192 struct usb_hub *hub, in usb_set_lpm_mel() argument 207 hub->descriptor->u.ss.bHubHdrDecLat * 100; in usb_set_lpm_mel() 215 total_mel += (__le16_to_cpu(hub->descriptor->u.ss.wHubDelay) + in usb_set_lpm_mel() 226 if (!hub->hdev->parent) in usb_set_lpm_mel() 239 struct usb_hub *hub, in usb_set_lpm_pel() argument [all …]
|
D | hub.h | 28 struct usb_hub_status hub; member 113 extern int usb_hub_create_port_device(struct usb_hub *hub, 115 extern void usb_hub_remove_port_device(struct usb_hub *hub, 117 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, 120 extern int hub_port_debounce(struct usb_hub *hub, int port1, 125 static inline bool hub_is_port_power_switchable(struct usb_hub *hub) in hub_is_port_power_switchable() argument 129 if (!hub) in hub_is_port_power_switchable() 131 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable() 147 static inline unsigned hub_power_on_good_delay(struct usb_hub *hub) in hub_power_on_good_delay() argument 149 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay() [all …]
|
D | port.c | 196 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_resume() local 202 if (!hub) in usb_port_runtime_resume() 204 if (hub->in_reset) { in usb_port_runtime_resume() 205 set_bit(port1, hub->power_bits); in usb_port_runtime_resume() 220 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume() 221 msleep(hub_power_on_good_delay(hub)); in usb_port_runtime_resume() 232 if (hub_port_debounce_be_connected(hub, port1) < 0) { in usb_port_runtime_resume() 235 set_bit(port1, hub->warm_reset_bits); in usb_port_runtime_resume() 239 if (!test_and_set_bit(port1, hub->child_usage_bits)) { in usb_port_runtime_resume() 255 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_port_runtime_suspend() local [all …]
|
/kernel/linux/linux-5.10/drivers/fsi/ |
D | fsi-master-hub.c | 48 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), ®, 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 …]
|
/kernel/linux/linux-4.19/drivers/fsi/ |
D | fsi-master-hub.c | 102 struct fsi_master_hub *hub = to_fsi_master_hub(master); in hub_master_read() local 107 addr += hub->addr + (link * FSI_HUB_LINK_SIZE); in hub_master_read() 108 return fsi_slave_read(hub->upstream->slave, addr, val, size); in hub_master_read() 114 struct fsi_master_hub *hub = to_fsi_master_hub(master); in hub_master_write() local 119 addr += hub->addr + (link * FSI_HUB_LINK_SIZE); in hub_master_write() 120 return fsi_slave_write(hub->upstream->slave, addr, val, size); in hub_master_write() 136 struct fsi_master_hub *hub = to_fsi_master_hub(master); in hub_master_link_enable() local 146 rc = fsi_device_write(hub->upstream, FSI_MSENP0 + (4 * idx), ®, 4); in hub_master_link_enable() 150 fsi_device_read(hub->upstream, FSI_MENP0 + (4 * idx), ®, 4); in hub_master_link_enable() 157 struct fsi_master_hub *hub = to_fsi_master_hub(dev_to_fsi_master(dev)); in hub_master_release() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | hub.c | 139 int tegra_display_hub_prepare(struct tegra_display_hub *hub) in tegra_display_hub_prepare() argument 149 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_prepare() 150 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_prepare() 160 void tegra_display_hub_cleanup(struct tegra_display_hub *hub) in tegra_display_hub_cleanup() argument 168 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_cleanup() 169 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_cleanup() 558 struct tegra_display_hub *hub = tegra->hub; in tegra_shared_plane_create() local 575 plane->wgrp = &hub->wgrps[wgrp]; in tegra_shared_plane_create() 627 tegra_display_hub_get_state(struct tegra_display_hub *hub, in tegra_display_hub_get_state() argument 632 priv = drm_atomic_get_private_obj_state(state, &hub->base); in tegra_display_hub_get_state() [all …]
|
/kernel/linux/linux-4.19/drivers/gpu/drm/tegra/ |
D | hub.c | 133 int tegra_display_hub_prepare(struct tegra_display_hub *hub) in tegra_display_hub_prepare() argument 143 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_prepare() 144 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_prepare() 154 void tegra_display_hub_cleanup(struct tegra_display_hub *hub) in tegra_display_hub_cleanup() argument 162 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_cleanup() 163 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_cleanup() 542 struct tegra_display_hub *hub = tegra->hub; in tegra_shared_plane_create() local 559 plane->wgrp = &hub->wgrps[wgrp]; in tegra_shared_plane_create() 611 tegra_display_hub_get_state(struct tegra_display_hub *hub, in tegra_display_hub_get_state() argument 614 struct drm_device *drm = dev_get_drvdata(hub->client.parent); in tegra_display_hub_get_state() [all …]
|
/kernel/linux/linux-4.19/drivers/usb/host/ |
D | ohci-da8xx.c | 90 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_set_power() local 93 if (hub && hub->set_power) in ohci_da8xx_set_power() 94 return hub->set_power(1, on); in ohci_da8xx_set_power() 123 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_get_power() local 125 if (hub && hub->get_power) in ohci_da8xx_get_power() 126 return hub->get_power(1); in ohci_da8xx_get_power() 138 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_get_oci() local 142 if (hub && hub->get_oci) in ohci_da8xx_get_oci() 143 return hub->get_oci(1); in ohci_da8xx_get_oci() 162 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_has_set_power() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | gfxhub_v1_0.c | 41 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vm_pt_regs() local 44 hub->ctx_addr_distance * vmid, in gfxhub_v1_0_setup_vm_pt_regs() 48 hub->ctx_addr_distance * vmid, in gfxhub_v1_0_setup_vm_pt_regs() 210 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vmid_config() local 250 i * hub->ctx_distance, tmp); in gfxhub_v1_0_setup_vmid_config() 252 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config() 254 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config() 256 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 259 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 266 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_program_invalidation() local [all …]
|
D | gfxhub_v2_0.c | 123 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() 287 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_setup_vmid_config() local 318 i * hub->ctx_distance, tmp); 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, 0); in gfxhub_v2_0_setup_vmid_config() 324 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config() 327 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config() 334 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_program_invalidation() local [all …]
|
D | gfxhub_v2_1.c | 123 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_setup_vm_pt_regs() local 126 hub->ctx_addr_distance * vmid, in gfxhub_v2_1_setup_vm_pt_regs() 130 hub->ctx_addr_distance * vmid, in gfxhub_v2_1_setup_vm_pt_regs() 293 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_setup_vmid_config() local 324 i * hub->ctx_distance, tmp); in gfxhub_v2_1_setup_vmid_config() 326 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 328 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 330 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 333 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 340 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_program_invalidation() local [all …]
|
D | mmhub_v2_0.c | 165 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vm_pt_regs() local 168 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs() 172 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs() 342 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vmid_config() local 374 i * hub->ctx_distance, tmp); in mmhub_v2_0_setup_vmid_config() 376 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config() 378 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config() 380 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config() 383 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config() 390 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_program_invalidation() local [all …]
|
D | gmc_v10_0.c | 96 struct amdgpu_vmhub *hub = &adev->vmhub[entry->vmid_src]; in gmc_v10_0_process_interrupt() local 110 RREG32(hub->vm_l2_pro_fault_status); in gmc_v10_0_process_interrupt() 112 status = RREG32(hub->vm_l2_pro_fault_status); in gmc_v10_0_process_interrupt() 113 WREG32_P(hub->vm_l2_pro_fault_cntl, 1, ~1); in gmc_v10_0_process_interrupt() 132 hub->vmhub_funcs->print_l2_protection_fault_status(adev, status); in gmc_v10_0_process_interrupt() 198 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; in gmc_v10_0_flush_vm_hub() local 199 u32 inv_req = hub->vmhub_funcs->get_invalidate_req(vmid, flush_type); in gmc_v10_0_flush_vm_hub() 217 tmp = RREG32_NO_KIQ(hub->vm_inv_eng0_sem + in gmc_v10_0_flush_vm_hub() 218 hub->eng_distance * eng); in gmc_v10_0_flush_vm_hub() 228 WREG32_NO_KIQ(hub->vm_inv_eng0_req + hub->eng_distance * eng, inv_req); in gmc_v10_0_flush_vm_hub() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
D | usb251xb.txt | 14 - 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 …]
|
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/ |
D | usb251xb.txt | 14 - reset-gpios : Should specify the gpio for hub reset 16 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 17 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 18 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) 38 - compound-device : indicate the hub is part of a compound device (boolean) 48 - sp-max-total-current-microamp: Specifies max current consumed by the hub 49 from VBUS when operating in self-powered hub. It includes the hub 52 - bp-max-total-current-microamp: Specifies max current consumed by the hub 53 from VBUS when operating in self-powered hub. It includes the hub 56 - sp-max-removable-current-microamp: Specifies max current consumed by the hub [all …]
|
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/ |
D | core.c | 53 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 106 struct intel_th *th = to_intel_th(hub); in intel_th_remove() 157 if (hub->dev.driver) in intel_th_remove() 159 hubdrv->unassign(hub, thdev); in intel_th_remove() [all …]
|