Home
last modified time | relevance | path

Searched full:hub (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/linux/drivers/platform/surface/
H A Dsurface_aggregator_hub.c21 /* -- 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 Dfsi-master-hub.c3 * 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 Dhub.c3 * USB hub driver.
41 #include "hub.h"
75 * assuming no port activity and allowing hub to runtime suspend back.
76 * Root hubs have no upstream hub whose wake propagation needs to be
87 /* workqueue to process hub events */
91 /* synchronize hub-port add/remove and peering operations */
119 * hub driver's behavior. On the first initialization attempt, if the
146 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state);
147 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1,
150 static inline char *portspeed(struct usb_hub *hub, in argument
225 usb_set_lpm_mel(struct usb_device * udev,struct usb3_lpm_parameters * udev_lpm_params,unsigned int udev_exit_latency,struct usb_hub * hub,struct usb3_lpm_parameters * hub_lpm_params,unsigned int hub_exit_latency) usb_set_lpm_mel() argument
272 usb_set_lpm_pel(struct usb_device * udev,struct usb3_lpm_parameters * udev_lpm_params,unsigned int udev_exit_latency,struct usb_hub * hub,struct usb3_lpm_parameters * hub_lpm_params,unsigned int hub_exit_latency,unsigned int port_to_port_exit_latency) usb_set_lpm_pel() argument
342 struct usb_hub *hub; usb_set_lpm_parameters() local
494 set_port_led(struct usb_hub * hub,int port1,int selector) set_port_led() argument
509 struct usb_hub *hub = led_work() local
617 hub_ext_port_status(struct usb_hub * hub,int port1,int type,u16 * status,u16 * change,u32 * ext_status) hub_ext_port_status() argument
674 usb_hub_port_status(struct usb_hub * hub,int port1,u16 * status,u16 * change) usb_hub_port_status() argument
681 hub_resubmit_irq_urb(struct usb_hub * hub) hub_resubmit_irq_urb() argument
705 struct usb_hub *hub = timer_container_of(hub, t, irq_urb_retry); hub_retry_irq_urb() local
711 kick_hub_wq(struct usb_hub * hub) kick_hub_wq() argument
740 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_kick_hub_wq() local
757 struct usb_hub *hub; usb_wakeup_notification() local
781 struct usb_hub *hub = urb->context; hub_irq() local
845 struct usb_hub *hub = hub_tt_work() local
892 usb_hub_set_port_power(struct usb_device * hdev,struct usb_hub * hub,int port1,bool set) usb_hub_set_port_power() argument
968 hub_power_on(struct usb_hub * hub,bool do_delay) hub_power_on() argument
993 hub_hub_status(struct usb_hub * hub,u16 * status,u16 * change) hub_hub_status() argument
1015 hub_set_port_link_state(struct usb_hub * hub,int port1,unsigned int link_status) hub_set_port_link_state() argument
1028 hub_port_logical_disconnect(struct usb_hub * hub,int port1) hub_port_logical_disconnect() argument
1060 struct usb_hub *hub; usb_remove_device() local
1087 hub_activate(struct usb_hub * hub,enum hub_activation_type type) hub_activate() argument
1376 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); hub_init_func2() local
1383 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); hub_init_func3() local
1390 struct usb_hub *hub = container_of(ws, struct usb_hub, post_resume_work.work); hub_post_resume() local
1400 hub_quiesce(struct usb_hub * hub,enum hub_quiescing_type type) hub_quiesce() argument
1429 hub_pm_barrier_for_all_ports(struct usb_hub * hub) hub_pm_barrier_for_all_ports() argument
1440 struct usb_hub *hub = usb_get_intfdata(intf); hub_pre_reset() local
1451 struct usb_hub *hub = usb_get_intfdata(intf); hub_post_reset() local
1459 hub_configure(struct usb_hub * hub,struct usb_endpoint_descriptor * endpoint) hub_configure() argument
1788 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); hub_release() local
1795 hub_get(struct usb_hub * hub) hub_get() argument
1800 hub_put(struct usb_hub * hub) hub_put() argument
1809 struct usb_hub *hub = usb_get_intfdata(intf); hub_disconnect() local
1879 struct usb_hub *hub; hub_probe() local
2025 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); hub_ioctl() local
2063 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); find_port_owner() local
2112 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_release_all_ports() local
2125 struct usb_hub *hub; usb_device_is_owned() local
2135 struct usb_hub *hub; update_port_device_state() local
2173 struct usb_hub *hub = usb_hub_to_struct_hub(udev); recursively_mark_NOTATTACHED() local
2298 struct usb_hub *hub = usb_hub_to_struct_hub(udev); hub_disconnect_children() local
2329 struct usb_hub *hub = NULL; usb_disconnect() local
2583 struct usb_hub *hub; set_usb_port_removable() local
2721 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_new_device() local
2955 hub_port_warm_reset_required(struct usb_hub * hub,int port1,u16 portstatus) hub_port_warm_reset_required() argument
2971 hub_port_wait_reset(struct usb_hub * hub,int port1,struct usb_device * udev,unsigned int delay,bool warm) hub_port_wait_reset() argument
3068 hub_port_reset(struct usb_hub * hub,int port1,struct usb_device * udev,unsigned int delay,bool warm) hub_port_reset() argument
3227 hub_port_stop_enumerate(struct usb_hub * hub,int port1,int retries) hub_port_stop_enumerate() argument
3252 usb_port_is_power_on(struct usb_hub * hub,unsigned int portstatus) usb_port_is_power_on() argument
3284 port_is_suspended(struct usb_hub * hub,unsigned portstatus) port_is_suspended() argument
3304 check_port_resume_type(struct usb_device * udev,struct usb_hub * hub,int port1,int status,u16 portchange,u16 portstatus) check_port_resume_type() argument
3464 struct usb_hub *hub = usb_hub_to_struct_hub(udev); usb_wakeup_enabled_descendants() local
3521 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_suspend() local
3757 wait_for_connected(struct usb_device * udev,struct usb_hub * hub,int port1,u16 * portchange,u16 * portstatus) wait_for_connected() argument
3813 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_resume() local
3918 hub_handle_remote_wakeup(struct usb_hub * hub,unsigned int port,u16 portstatus,u16 portchange) hub_handle_remote_wakeup() argument
3961 check_ports_changed(struct usb_hub * hub) check_ports_changed() argument
3978 struct usb_hub *hub = usb_get_intfdata(intf); hub_suspend() local
4031 report_wakeup_requests(struct usb_hub * hub) report_wakeup_requests() argument
4066 struct usb_hub *hub = usb_get_intfdata(intf); hub_resume() local
4083 struct usb_hub *hub = usb_get_intfdata(intf); hub_reset_resume() local
4524 struct usb_hub *hub; usb_enable_lpm() local
4588 hub_usb3_port_prepare_disable(struct usb_hub * hub,struct usb_port * port_dev) hub_usb3_port_prepare_disable() argument
4614 hub_usb3_port_prepare_disable(struct usb_hub * hub,struct usb_port * port_dev) hub_usb3_port_prepare_disable() argument
4644 hub_handle_remote_wakeup(struct usb_hub * hub,unsigned int port,u16 portstatus,u16 portchange) hub_handle_remote_wakeup() argument
4662 hub_port_disable(struct usb_hub * hub,int port1,int set_state) hub_port_disable() argument
4694 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_disable() local
4714 hub_port_debounce(struct usb_hub * hub,int port1,bool must_be_connected) hub_port_debounce() argument
4770 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); hub_set_address() local
4811 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); hub_set_initial_usb2_lpm_policy() local
4920 hub_port_init(struct usb_hub * hub,struct usb_device * udev,int port1,int retry_counter,struct usb_device_descriptor * dev_descr) hub_port_init() argument
5249 check_highspeed(struct usb_hub * hub,struct usb_device * udev,int port1) check_highspeed() argument
5277 hub_power_remaining(struct usb_hub * hub) hub_power_remaining() argument
5408 hub_port_connect(struct usb_hub * hub,int port1,u16 portstatus,u16 portchange) hub_port_connect() argument
5655 hub_port_connect_change(struct usb_hub * hub,int port1,u16 portstatus,u16 portchange) hub_port_connect_change() argument
5764 port_event(struct usb_hub * hub,int port1) port_event() argument
5896 struct usb_hub *hub; hub_event() local
6141 struct usb_hub *hub = usb_hub_to_struct_hub(udev); hub_hc_release_resources() local
6374 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_reset_device() local
6513 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_find_child() local
6524 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_adjust_deviceremovable() local
6578 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_get_hub_port_acpi_handle() local
[all...]
H A Dhub.h3 * 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 Dport.c18 #include "hub.h"
25 struct usb_hub *hub, in usb_port_allow_power_off() argument
28 if (hub_is_port_power_switchable(hub)) in usb_port_allow_power_off()
69 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in disable_show() local
77 if (!hub) in disable_show()
79 hub_get(hub); in disable_show()
94 if (hub->disconnected) { in disable_show()
99 usb_hub_port_status(hub, port1, &portstatus, &unused); in disable_show()
100 disabled = !usb_port_is_power_on(hub, portstatus); in disable_show()
108 hub_put(hub); in disable_show()
[all …]
H A Dusb-acpi.c16 #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 DKconfig3 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 Dcore.c3 * 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 Dmicrochip,usb5744.yaml7 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 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.
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 Dparade,ps5511.yaml7 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 Drealtek,rts5411.yaml7 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 Dcypress,hx3.yaml7 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 Dusb-hub.yaml4 $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/drivers/gpu/drm/tegra/
H A Dhub.c157 int tegra_display_hub_prepare(struct tegra_display_hub *hub) in tegra_display_hub_prepare() argument
167 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_prepare()
168 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_prepare()
178 void tegra_display_hub_cleanup(struct tegra_display_hub *hub) in tegra_display_hub_cleanup() argument
186 for (i = 0; i < hub->soc->num_wgrps; i++) { in tegra_display_hub_cleanup()
187 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; in tegra_display_hub_cleanup()
764 struct tegra_display_hub *hub = tegra->hub; in tegra_shared_plane_create() local
780 plane->wgrp = &hub->wgrps[wgrp]; in tegra_shared_plane_create()
851 tegra_display_hub_get_state(struct tegra_display_hub *hub, in tegra_display_hub_get_state() argument
856 priv = drm_atomic_get_private_obj_state(state, &hub->base); in tegra_display_hub_get_state()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v12_1.c41 struct amdgpu_vmhub *hub; in gmc_v12_1_vm_fault_interrupt_state()
47 hub = &adev->vmhub[j]; in gmc_v12_1_vm_fault_interrupt_state()
49 reg = hub->vm_context0_cntl + i; in gmc_v12_1_vm_fault_interrupt_state()
64 tmp &= ~hub->vm_cntx_cntl_vm_fault; in gmc_v12_1_vm_fault_interrupt_state()
75 hub = &adev->vmhub[j]; in gmc_v12_1_vm_fault_interrupt_state()
77 reg = hub->vm_context0_cntl + i; in gmc_v12_1_vm_fault_interrupt_state()
92 tmp |= hub->vm_cntx_cntl_vm_fault; in gmc_v12_1_vm_fault_interrupt_state()
132 struct amdgpu_vmhub *hub; in gmc_v12_1_process_interrupt()
165 hub = &adev->vmhub[vmhub]; in gmc_v12_1_process_interrupt()
217 RREG32(hub in gmc_v12_1_process_interrupt()
36 struct amdgpu_vmhub *hub; gmc_v12_1_vm_fault_interrupt_state() local
110 struct amdgpu_vmhub *hub; gmc_v12_1_process_interrupt() local
288 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; gmc_v12_1_flush_vm_hub() local
381 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; gmc_v12_1_flush_gpu_tlb() local
466 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->vm_hub]; gmc_v12_1_emit_flush_gpu_tlb() local
[all...]
H A 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()
290 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_setup_vmid_config()
295 tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v2_0_setup_vmid_config()
321 i * hub->ctx_distance, tmp); in gfxhub_v2_0_setup_vmid_config()
323 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config()
325 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config()
327 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config()
330 i * hub in gfxhub_v2_0_setup_vmid_config()
285 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_0_setup_vmid_config() local
334 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_0_program_invalidation() local
363 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_0_gart_disable() local
435 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_0_init() local
[all...]
H A 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()
257 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_setup_vmid_config()
270 tmp = RREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v1_0_setup_vmid_config()
301 i * hub->ctx_distance, tmp); in gfxhub_v1_0_setup_vmid_config()
303 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config()
305 i * hub->ctx_addr_distance, 0); in gfxhub_v1_0_setup_vmid_config()
307 i * hub->ctx_addr_distance, in gfxhub_v1_0_setup_vmid_config()
310 i * hub
252 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v1_0_setup_vmid_config() local
312 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v1_0_program_invalidation() local
343 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v1_0_gart_disable() local
415 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v1_0_init() local
[all...]
H A Dmmhub_v2_3.c115 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 Dgfxhub_v1_2.c48 struct amdgpu_vmhub *hub; in gfxhub_v1_2_xcc_setup_vm_pt_regs()
52 hub = &adev->vmhub[AMDGPU_GFXHUB(i)]; in gfxhub_v1_2_xcc_setup_vm_pt_regs()
55 hub->ctx_addr_distance * vmid, in gfxhub_v1_2_xcc_setup_vm_pt_regs()
60 hub->ctx_addr_distance * vmid, in gfxhub_v1_2_xcc_setup_vm_pt_regs()
334 struct amdgpu_vmhub *hub; in gfxhub_v1_2_xcc_setup_vmid_config()
347 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_setup_vmid_config()
350 i * hub->ctx_distance); in gfxhub_v1_2_xcc_setup_vmid_config()
384 i * hub->ctx_distance, tmp); in gfxhub_v1_2_xcc_setup_vmid_config()
387 i * hub->ctx_addr_distance, 0); in gfxhub_v1_2_xcc_setup_vmid_config()
390 i * hub in gfxhub_v1_2_xcc_setup_vmid_config()
47 struct amdgpu_vmhub *hub; gfxhub_v1_2_xcc_setup_vm_pt_regs() local
331 struct amdgpu_vmhub *hub; gfxhub_v1_2_xcc_setup_vmid_config() local
403 struct amdgpu_vmhub *hub; gfxhub_v1_2_xcc_program_invalidation() local
448 struct amdgpu_vmhub *hub; gfxhub_v1_2_xcc_gart_disable() local
544 struct amdgpu_vmhub *hub; gfxhub_v1_2_xcc_init() local
[all...]
H A 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()
302 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_setup_vmid_config()
307 tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i * hub->ctx_distance); in gfxhub_v2_1_setup_vmid_config()
333 i * hub->ctx_distance, tmp); in gfxhub_v2_1_setup_vmid_config()
335 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config()
337 i * hub->ctx_addr_distance, 0); in gfxhub_v2_1_setup_vmid_config()
339 i * hub->ctx_addr_distance, in gfxhub_v2_1_setup_vmid_config()
342 i * hub in gfxhub_v2_1_setup_vmid_config()
297 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_1_setup_vmid_config() local
346 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_1_program_invalidation() local
387 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_1_gart_disable() local
466 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_1_init() local
621 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; gfxhub_v2_1_halt() local
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-sgi_uv22 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 Dch11.h3 * 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/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>;
/linux/include/linux/
H A Dhid-sensor-hub.h61 * struct hid_sensor_hub_device - Stores the hub instance data
63 * @vendor_id: Vendor id of hub device.
64 * @product_id: Product id of hub device.
65 * @usage: Usage id for this hub device instance.
103 * sensor_hub_device_open() - Open hub device
104 * @hsdev: Hub device instance.
106 * Used to open hid device for sensor hub.
111 * sensor_hub_device_close() - Close hub device
112 * @hsdev: Hub device instance.
114 * Used to close hid device for sensor hub.
[all …]

12345678910>>...19