| /linux/drivers/platform/surface/ |
| H A 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/drivers/fsi/ |
| H A 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/drivers/usb/core/ |
| H A D | hub.c | 3 * USB hub driver. 41 #include "hub.h" 75 * assuming no port activity and allowing hub to runtime suspend back. 84 /* workqueue to process hub events */ 88 /* synchronize hub-port add/remove and peering operations */ 116 * hub driver's behavior. On the first initialization attempt, if the 143 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 144 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 147 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 149 if (hub_is_superspeedplus(hub->hdev)) in portspeed() [all …]
|
| H A D | hub.h | 3 * usb hub driver head file 29 struct usb_hub_status hub; member 126 extern int usb_hub_create_port_device(struct usb_hub *hub, 128 extern void usb_hub_remove_port_device(struct usb_hub *hub, 130 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, 133 extern void hub_get(struct usb_hub *hub); 134 extern void hub_put(struct usb_hub *hub); 135 extern int hub_port_debounce(struct usb_hub *hub, int port1, 139 extern int usb_hub_port_status(struct usb_hub *hub, int port1, 141 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus); [all …]
|
| H A D | usb-acpi.c | 16 #include "hub.h" 21 * @hdev: USB device belonging to the usb hub 45 * @hdev: USB device belonging to the usb hub 104 * @hdev: USB device belonging to the usb hub 115 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_acpi_set_power_state() local 122 if (!hub) in usb_acpi_set_power_state() 124 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state() 162 struct usb_hub *hub; in usb_acpi_add_usb4_devlink() local 167 hub = usb_hub_to_struct_hub(udev->parent); in usb_acpi_add_usb4_devlink() 168 if (!hub) in usb_acpi_add_usb4_devlink() [all …]
|
| /linux/drivers/hwtracing/intel_th/ |
| H A 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 …]
|
| H A D | core.c | 3 * Intel(R) Trace Hub driver core 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 105 struct intel_th *th = to_intel_th(hub); in intel_th_remove() 117 * Remove outputs, that is, hub's children: they are created in intel_th_remove() [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | microchip,usb5744.yaml | 7 title: Microchip USB5744 4-port Hub Controller 39 3V3 power supply to the hub 43 1V2 power supply to the hub 45 peer-hub: 48 phandle to the peer hub on the controller. 53 phandle of an usb hub connected via i2c bus. 70 peer-hub: false 83 hub: usb-hub@2d { 93 /* 2.0 hub on port 1 */ 94 hub_2_0: hub@1 { [all …]
|
| H A 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 …]
|
| H A D | parade,ps5511.yaml | 7 title: Parade PS5511 4+1 Port USB 3.2 Gen 1 Hub Controller 24 1V1 power supply to the hub 28 3V3 power supply to the hub 30 peer-hub: true 51 - peer-hub 54 - $ref: usb-hub.yaml# 76 /* 2.0 hub on port 1 */ 77 hub_2_0: hub@1 { 80 peer-hub = <&hub_3_0>; 90 /* 3.0 hub on port 2 */ [all …]
|
| H A D | realtek,rts5411.yaml | 7 title: Realtek RTS5411 USB 3.0 hub controller 13 - $ref: usb-hub.yaml# 24 phandle to the regulator that provides power to the hub. 26 peer-hub: true 47 - peer-hub 58 /* 2.0 hub on port 1 */ 59 hub_2_0: hub@1 { 63 peer-hub = <&hub_3_0>; 73 /* 3.0 hub on port 2 */ 74 hub_3_0: hub@2 { [all …]
|
| H A D | cypress,hx3.yaml | 7 title: Cypress HX3 USB 3.0 hub controller family 48 peer-hub: 51 phandle to the peer hub on the controller. 56 - peer-hub 70 /* 2.0 hub on port 1 */ 71 hub_2_0: hub@1 { 74 peer-hub = <&hub_3_0>; 80 /* 3.0 hub on port 2 */ 81 hub_3_0: hub@2 { 84 peer-hub = <&hub_2_0>;
|
| H A D | usb-hub.yaml | 4 $id: http://devicetree.org/schemas/usb/usb-hub.yaml# 7 title: Generic USB Hub 19 peer-hub: 22 phandle to the peer hub on the controller. 52 /* 2.0 hub on port 1 */ 53 hub_2_0: hub@1 { 56 peer-hub = <&hub_3_0>; 66 /* 3.0 hub on port 2 */ 67 hub_3_0: hub@2 { 70 peer-hub = <&hub_2_0>;
|
| /linux/Documentation/ABI/testing/ |
| H A 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/include/uapi/linux/usb/ |
| H A 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/drivers/gpu/drm/amd/amdgpu/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | mmhub_v2_3.c | 115 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v2_3_setup_vm_pt_regs() local 118 hub->ctx_addr_distance * vmid, lower_32_bits(page_table_base)); in mmhub_v2_3_setup_vm_pt_regs() 121 hub->ctx_addr_distance * vmid, upper_32_bits(page_table_base)); in mmhub_v2_3_setup_vm_pt_regs() 274 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v2_3_setup_vmid_config() local 279 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v2_3_setup_vmid_config() 306 i * hub->ctx_distance, tmp); in mmhub_v2_3_setup_vmid_config() 308 i * hub->ctx_addr_distance, 0); in mmhub_v2_3_setup_vmid_config() 310 i * hub->ctx_addr_distance, 0); in mmhub_v2_3_setup_vmid_config() 312 i * hub->ctx_addr_distance, in mmhub_v2_3_setup_vmid_config() 315 i * hub->ctx_addr_distance, in mmhub_v2_3_setup_vmid_config() [all …]
|
| H A D | gfxhub_v1_2.c | 47 struct amdgpu_vmhub *hub; in gfxhub_v1_2_xcc_setup_vm_pt_regs() local 51 hub = &adev->vmhub[AMDGPU_GFXHUB(i)]; in gfxhub_v1_2_xcc_setup_vm_pt_regs() 54 hub->ctx_addr_distance * vmid, in gfxhub_v1_2_xcc_setup_vm_pt_regs() 59 hub->ctx_addr_distance * vmid, in gfxhub_v1_2_xcc_setup_vm_pt_regs() 331 struct amdgpu_vmhub *hub; in gfxhub_v1_2_xcc_setup_vmid_config() local 344 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_setup_vmid_config() 347 i * hub->ctx_distance); in gfxhub_v1_2_xcc_setup_vmid_config() 381 i * hub->ctx_distance, tmp); in gfxhub_v1_2_xcc_setup_vmid_config() 384 i * hub->ctx_addr_distance, 0); in gfxhub_v1_2_xcc_setup_vmid_config() 387 i * hub->ctx_addr_distance, 0); in gfxhub_v1_2_xcc_setup_vmid_config() [all …]
|
| H A D | gfxhub_v2_1.c | 126 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() 297 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_setup_vmid_config() local 302 tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v2_1_setup_vmid_config() 328 i * hub->ctx_distance, tmp); in gfxhub_v2_1_setup_vmid_config() 330 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 332 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config() 334 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() 337 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config() [all …]
|
| H A D | gfxhub_v12_1.c | 65 struct amdgpu_vmhub *hub; in gfxhub_v12_1_xcc_setup_vm_pt_regs() local 69 hub = &adev->vmhub[AMDGPU_GFXHUB(i)]; in gfxhub_v12_1_xcc_setup_vm_pt_regs() 72 hub->ctx_addr_distance * vmid, in gfxhub_v12_1_xcc_setup_vm_pt_regs() 77 hub->ctx_addr_distance * vmid, in gfxhub_v12_1_xcc_setup_vm_pt_regs() 412 struct amdgpu_vmhub *hub; in gfxhub_v12_1_xcc_setup_vmid_config() local 422 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v12_1_xcc_setup_vmid_config() 426 i * hub->ctx_distance); in gfxhub_v12_1_xcc_setup_vmid_config() 452 i * hub->ctx_distance, tmp); in gfxhub_v12_1_xcc_setup_vmid_config() 455 i * hub->ctx_addr_distance, 0); in gfxhub_v12_1_xcc_setup_vmid_config() 458 i * hub->ctx_addr_distance, 0); in gfxhub_v12_1_xcc_setup_vmid_config() [all …]
|
| H A D | mmhub_v2_0.c | 175 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v2_0_setup_vm_pt_regs() local 178 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs() 182 hub->ctx_addr_distance * vmid, in mmhub_v2_0_setup_vm_pt_regs() 350 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v2_0_setup_vmid_config() local 355 tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i * hub->ctx_distance); in mmhub_v2_0_setup_vmid_config() 382 i * hub->ctx_distance, tmp); in mmhub_v2_0_setup_vmid_config() 384 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config() 386 i * hub->ctx_addr_distance, 0); in mmhub_v2_0_setup_vmid_config() 388 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config() 391 i * hub->ctx_addr_distance, in mmhub_v2_0_setup_vmid_config() [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-sm1-odroid-c4.dts | 30 /* 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>;
|
| /linux/include/linux/ |
| H A D | hid-sensor-hub.h | 57 * struct hid_sensor_hub_device - Stores the hub instance data 59 * @vendor_id: Vendor id of hub device. 60 * @product_id: Product id of hub device. 61 * @usage: Usage id for this hub device instance. 99 * sensor_hub_device_open() - Open hub device 100 * @hsdev: Hub device instance. 102 * Used to open hid device for sensor hub. 107 * sensor_hub_device_close() - Close hub device 108 * @hsdev: Hub device instance. 110 * Used to close hid device for sensor hub. [all …]
|
| /linux/drivers/usb/misc/ |
| H A D | onboard_usb_dev_pdevs.c | 34 * @parent_hub : parent hub to scan for connected onboard devices 35 * @pdev_list : list of onboard platform devices owned by the parent hub 38 * to the given parent hub. The platform device is in charge of initializing the 44 * by the parent hub. 55 * loop is only executed for the root hub of the primary HCD. Since the function 57 * connected to the root hub of the secondary HCD if needed. 60 * hub (the hub is a single physical device). To achieve this two measures are 62 * is called on behalf of the parent hub that is connected to the primary HCD 65 * created if the peer hub doesn't have one already. 89 npc = of_parse_phandle(np, "peer-hub", 0); in onboard_dev_create_pdevs()
|