/linux-6.8/drivers/usb/misc/ |
D | usb251xb.c | 3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller 110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller" 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() [all …]
|
D | usb3503.c | 3 * Driver for SMSC USB3503 USB 2.0 hub controller driver 56 static int usb3503_connect(struct usb3503 *hub) in usb3503_connect() argument 58 struct device *dev = hub->dev; in usb3503_connect() 61 if (hub->regmap) { in usb3503_connect() 63 err = regmap_write(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect() 72 if (hub->port_off_mask) { in usb3503_connect() 73 err = regmap_update_bits(hub->regmap, USB3503_PDS, in usb3503_connect() 74 hub->port_off_mask, in usb3503_connect() 75 hub->port_off_mask); in usb3503_connect() 83 err = regmap_update_bits(hub->regmap, USB3503_CFG1, in usb3503_connect() [all …]
|
D | onboard_usb_hub.c | 34 * hub requires more than the currently supported supplies, add a new one here. 68 static int onboard_hub_power_on(struct onboard_hub *hub) in onboard_hub_power_on() argument 72 err = clk_prepare_enable(hub->clk); in onboard_hub_power_on() 74 dev_err(hub->dev, "failed to enable clock: %pe\n", ERR_PTR(err)); in onboard_hub_power_on() 78 err = regulator_bulk_enable(hub->pdata->num_supplies, hub->supplies); in onboard_hub_power_on() 80 dev_err(hub->dev, "failed to enable supplies: %pe\n", ERR_PTR(err)); in onboard_hub_power_on() 84 fsleep(hub->pdata->reset_us); in onboard_hub_power_on() 85 gpiod_set_value_cansleep(hub->reset_gpio, 0); in onboard_hub_power_on() 87 hub->is_powered_on = true; in onboard_hub_power_on() 92 static int onboard_hub_power_off(struct onboard_hub *hub) in onboard_hub_power_off() argument [all …]
|
D | usb4604.c | 3 * Driver for SMSC USB4604 USB HSIC 4-port 2.0 hub controller driver 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() 53 dev_dbg(dev, "switched to HUB mode\n"); in usb4604_connect() 58 static int usb4604_switch_mode(struct usb4604 *hub, enum usb4604_mode mode) in usb4604_switch_mode() argument [all …]
|
D | onboard_usb_hub_pdevs.c | 3 * API for creating and destroying USB onboard hub platform devices 34 * @parent_hub : parent hub to scan for connected onboard hubs 35 * @pdev_list : list of onboard hub platform devices owned by the parent hub 37 * Creates a platform device for each supported onboard hub that is connected to 38 * the given parent hub. The platform device is in charge of initializing the 39 * hub (enable regulators, take the hub out of reset, ...) and can optionally 40 * control whether the hub remains powered during system suspend or not. 43 * by the parent hub. 53 * platform device for each physical onboard hub, hence for root hubs the loop 54 * is only executed for the root hub of the primary HCD. Since the function [all …]
|
/linux-6.8/drivers/platform/surface/ |
D | surface_aggregator_hub.c | 21 /* -- SSAM generic subsystem hub driver framework. -------------------------- */ 36 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() 78 * There is a small possibility that hub devices were hot-removed and in ssam_hub_update_workfn() 80 * the state returned by get_state() and the state of the hub will in ssam_hub_update_workfn() 86 * additional flag on the hub and, in this case, override the returned in ssam_hub_update_workfn() 87 * hub state. In case of a missed disconnect (i.e. get_state returned in ssam_hub_update_workfn() 97 if (test_and_clear_bit(SSAM_HUB_HOT_REMOVED, &hub->flags)) { in ssam_hub_update_workfn() [all …]
|
/linux-6.8/drivers/fsi/ |
D | fsi-master-hub.c | 3 * FSI hub master driver 21 * FSI hub master support 23 * A hub master increases the number of potential target devices that the 25 * each of those links can in turn be chained to a hub master with multiple 28 * The hub is controlled by a set of control registers exposed as a regular fsi 29 * device (the hub->upstream device), and provides access to the downstream FSI 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 [all …]
|
/linux-6.8/drivers/usb/core/ |
D | hub.c | 3 * USB hub driver. 39 #include "hub.h" 74 /* workqueue to process hub events */ 78 /* synchronize hub-port add/remove and peering operations */ 106 * hub driver's behavior. On the first initialization attempt, if the 134 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 135 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 138 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 140 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 142 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
D | hub.h | 3 * usb hub driver head file 29 struct usb_hub_status hub; member 125 extern int usb_hub_create_port_device(struct usb_hub *hub, 127 extern void usb_hub_remove_port_device(struct usb_hub *hub, 129 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, 132 extern int hub_port_debounce(struct usb_hub *hub, int port1, 136 extern int usb_hub_port_status(struct usb_hub *hub, int port1, 138 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus); 140 static inline bool hub_is_port_power_switchable(struct usb_hub *hub) in hub_is_port_power_switchable() argument 144 if (!hub) in hub_is_port_power_switchable() [all …]
|
/linux-6.8/drivers/hwtracing/intel_th/ |
D | Kconfig | 3 tristate "Intel(R) Trace Hub controller" 6 Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that 16 Say Y here to enable Intel(R) Trace Hub controller support. 21 tristate "Intel(R) Trace Hub PCI controller" 24 Intel(R) Trace Hub may exist as a PCI device. This option enables 30 tristate "Intel(R) Trace Hub ACPI controller" 33 Intel(R) Trace Hub may exist as an ACPI device. This option enables 42 tristate "Intel(R) Trace Hub Global Trace Hub" 44 Global Trace Hub (GTH) is the central component of the 49 Say Y here to enable GTH subdevice of Intel(R) Trace Hub. [all …]
|
/linux-6.8/Documentation/devicetree/bindings/usb/ |
D | microchip,usb5744.yaml | 7 title: Microchip USB5744 4-port Hub Controller 40 3V3 power supply to the hub 44 1V2 power supply to the hub 46 peer-hub: 49 phandle to the peer hub on the controller. 54 phandle of an usb hub connected via i2c bus. 71 peer-hub: false 76 - peer-hub 86 hub: usb-hub@2d { 96 /* 2.0 hub on port 1 */ [all …]
|
D | realtek,rts5411.yaml | 7 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 …]
|
D | ti,usb8041.yaml | 7 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 …]
|
D | vialab,vl817.yaml | 7 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. 41 - peer-hub 53 /* 2.0 hub on port 1 */ 54 hub_2_0: hub@1 { 58 peer-hub = <&hub_3_0>; 62 /* 3.1 hub on port 4 */ 63 hub_3_0: hub@2 { [all …]
|
D | usb251xb.yaml | 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 31 Should specify the gpio for hub reset 40 Skip Hub configuration, but only send the USB-Attach command 46 Set USB Vendor ID of the hub 51 Set USB Product ID of the hub 57 Set USB Device ID of the hub 152 indicate the hub is part of a compound device (boolean) 194 Specifies max current consumed by the hub from VBUS when 195 operating in self-powered hub. It includes the hub silicon 203 Specifies max current consumed by the hub from VBUS when [all …]
|
D | cypress,hx3.yaml | 7 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>;
|
/linux-6.8/drivers/gpu/drm/tegra/ |
D | hub.c | 156 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.8/Documentation/ABI/testing/ |
D | sysfs-firmware-sgi_uv | 22 The hub_type entry is used to select the type of hub which is 27 is no hub. In this case the hub_type entry is not present. 40 The uv_type entry contains the hub revision number. 55 The hubs directory contains a number of hub objects, each representing 56 a UV Hub visible to the BIOS. Each hub object's name is appended by a 59 Each hub object directory contains a number of read-only attributes:: 68 The cnode entry contains the cnode number of the corresponding hub. 71 The location entry contains the location string of the corresponding hub. 72 This value is used to physically identify a hub within a system. 74 The name entry contains the name of the corresponding hub. This name can [all …]
|
/linux-6.8/include/uapi/linux/usb/ |
D | ch11.h | 3 * This file holds Hub protocol constants and data structures that are 4 * defined in chapter 11 (Hub Specification) of the USB 2.0 specification. 16 * From USB 2.0 spec Table 11-13, offset 7, a hub can 19 * Because the arrays need to add a bit for hub status data, we 28 * Hub request types 43 * Hub class requests 52 * Hub class additional requests defined by USB 3.0 spec 59 * Hub Class feature numbers 102 /* USB 3.0 hub remote wake mask bits, see table 10-14 */ 108 * Hub Status and Hub Change results [all …]
|
/linux-6.8/drivers/gpu/drm/amd/amdgpu/ |
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() 285 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_setup_vmid_config() local 290 tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v2_0_setup_vmid_config() 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() [all …]
|
D | gfxhub_v3_0_3.c | 125 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() 297 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vmid_config() local 302 tmp = RREG32_SOC15_OFFSET(GC, 0, regGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v3_0_3_setup_vmid_config() 328 i * hub->ctx_distance, tmp); 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, 0); in gfxhub_v3_0_3_setup_vmid_config() 334 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config() 337 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config() [all …]
|
D | gfxhub_v11_5_0.c | 127 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_setup_vm_pt_regs() local 130 hub->ctx_addr_distance * vmid, in gfxhub_v11_5_0_setup_vm_pt_regs() 134 hub->ctx_addr_distance * vmid, in gfxhub_v11_5_0_setup_vm_pt_regs() 295 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_setup_vmid_config() local 300 tmp = RREG32_SOC15_OFFSET(GC, 0, regGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v11_5_0_setup_vmid_config() 326 i * hub->ctx_distance, tmp); in gfxhub_v11_5_0_setup_vmid_config() 328 i * hub->ctx_addr_distance, 0); in gfxhub_v11_5_0_setup_vmid_config() 330 i * hub->ctx_addr_distance, 0); in gfxhub_v11_5_0_setup_vmid_config() 332 i * hub->ctx_addr_distance, in gfxhub_v11_5_0_setup_vmid_config() 335 i * hub->ctx_addr_distance, in gfxhub_v11_5_0_setup_vmid_config() [all …]
|
D | gfxhub_v3_0.c | 122 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 297 tmp = RREG32_SOC15_OFFSET(GC, 0, regGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v3_0_setup_vmid_config() 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() [all …]
|
D | gfxhub_v1_0.c | 43 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() 252 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_setup_vmid_config() local 265 tmp = RREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v1_0_setup_vmid_config() 296 i * hub->ctx_distance, tmp); 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, 0); in gfxhub_v1_0_setup_vmid_config() 302 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() 305 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config() [all …]
|
/linux-6.8/drivers/misc/mei/ |
D | hw-me.h | 85 * @MEI_ME_ICH_CFG: I/O Controller Hub legacy devices. 86 * @MEI_ME_ICH10_CFG: I/O Controller Hub platforms Gen10 87 * @MEI_ME_PCH6_CFG: Platform Controller Hub platforms (Gen6). 88 * @MEI_ME_PCH7_CFG: Platform Controller Hub platforms (Gen7). 89 * @MEI_ME_PCH_CPT_PBG_CFG:Platform Controller Hub workstations 91 * @MEI_ME_PCH8_CFG: Platform Controller Hub Gen8 and newer 93 * @MEI_ME_PCH8_ITOUCH_CFG:Platform Controller Hub Gen8 and newer 95 * @MEI_ME_PCH8_SPS_4_CFG: Platform Controller Hub Gen8 and newer 98 * @MEI_ME_PCH12_CFG: Platform Controller Hub Gen12 and newer 99 * @MEI_ME_PCH12_SPS_4_CFG:Platform Controller Hub Gen12 up to 4.0 [all …]
|