Home
last modified time | relevance | path

Searched refs:client_id (Results 1 – 25 of 56) sorted by relevance

123

/drivers/gpu/drm/amd/amdkfd/
Dkfd_int_process_v9.c33 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local
43 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9()
66 client_id, source_id, vmid, pasid); in event_interrupt_isr_v9()
82 client_id == SOC15_IH_CLIENTID_VMC || in event_interrupt_isr_v9()
83 client_id == SOC15_IH_CLIENTID_VMC1 || in event_interrupt_isr_v9()
84 client_id == SOC15_IH_CLIENTID_UTCL2; in event_interrupt_isr_v9()
90 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
94 client_id = SOC15_CLIENT_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_wq_v9()
107 else if (client_id == SOC15_IH_CLIENTID_VMC || in event_interrupt_wq_v9()
108 client_id == SOC15_IH_CLIENTID_VMC1 || in event_interrupt_wq_v9()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c329 unsigned client_id, unsigned src_id, in amdgpu_irq_add_id() argument
332 if (client_id >= AMDGPU_IRQ_CLIENTID_MAX) in amdgpu_irq_add_id()
341 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_add_id()
342 adev->irq.client[client_id].sources = in amdgpu_irq_add_id()
346 if (!adev->irq.client[client_id].sources) in amdgpu_irq_add_id()
350 if (adev->irq.client[client_id].sources[src_id] != NULL) in amdgpu_irq_add_id()
364 adev->irq.client[client_id].sources[src_id] = source; in amdgpu_irq_add_id()
381 unsigned client_id, src_id; in amdgpu_irq_dispatch() local
391 client_id = entry.client_id; in amdgpu_irq_dispatch()
394 if (client_id >= AMDGPU_IRQ_CLIENTID_MAX) { in amdgpu_irq_dispatch()
[all …]
Damdgpu_irq.h47 unsigned client_id; member
108 unsigned client_id, unsigned src_id,
Damdgpu_trace.h81 __field(unsigned, client_id)
93 __entry->client_id = iv->client_id;
108 __entry->ih, __entry->client_id, __entry->src_id,
/drivers/gpu/vga/
Dvga_switcheroo.c168 #define client_id(c) ((c)->id & ~ID_BIT_AUDIO) macro
197 client_id(client) != VGA_SWITCHEROO_UNKNOWN_ID) in vga_switcheroo_enable()
209 client_id(client) != VGA_SWITCHEROO_UNKNOWN_ID) in vga_switcheroo_enable()
406 enum vga_switcheroo_client_id client_id) in find_client_from_id() argument
411 if (client->id == client_id) in find_client_from_id()
654 client_id(client) == VGA_SWITCHEROO_DIS ? "DIS" : in vga_switcheroo_show()
782 enum vga_switcheroo_client_id client_id = VGA_SWITCHEROO_UNKNOWN_ID; in vga_switcheroo_debugfs_write() local
827 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
832 client_id = VGA_SWITCHEROO_DIS; in vga_switcheroo_debugfs_write()
837 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
[all …]
/drivers/soc/qcom/
Drmtfs_mem.c31 unsigned int client_id; member
42 static DEVICE_ATTR(client_id, 0444, qcom_rmtfs_mem_show, NULL);
57 return sprintf(buf, "%d\n", rmtfs_mem->client_id); in qcom_rmtfs_mem_show()
177 u32 client_id; in qcom_rmtfs_mem_probe() local
187 ret = of_property_read_u32(node, "qcom,client-id", &client_id); in qcom_rmtfs_mem_probe()
199 rmtfs_mem->client_id = client_id; in qcom_rmtfs_mem_probe()
218 dev_set_name(&rmtfs_mem->dev, "qcom_rmtfs_mem%d", client_id); in qcom_rmtfs_mem_probe()
219 rmtfs_mem->dev.id = client_id; in qcom_rmtfs_mem_probe()
221 rmtfs_mem->dev.devt = MKDEV(MAJOR(qcom_rmtfs_mem_major), client_id); in qcom_rmtfs_mem_probe()
/drivers/virt/vboxguest/
Dvboxguest_utils.c125 u32 *client_id, int *vbox_status) in vbg_hgcm_connect() argument
137 hgcm_connect->client_id = 0; in vbg_hgcm_connect()
146 *client_id = hgcm_connect->client_id; in vbg_hgcm_connect()
158 u32 client_id, int *vbox_status) in vbg_hgcm_disconnect() argument
170 hgcm_disconnect->client_id = client_id; in vbg_hgcm_disconnect()
379 struct vmmdev_hgcm_call *call, u32 client_id, u32 function, in hgcm_call_init_call() argument
390 call->client_id = client_id; in hgcm_call_init_call()
600 int vbg_hgcm_call(struct vbg_dev *gdev, u32 requestor, u32 client_id, in vbg_hgcm_call() argument
629 hgcm_call_init_call(call, client_id, function, parms, parm_count, in vbg_hgcm_call()
655 struct vbg_dev *gdev, u32 requestor, u32 client_id, u32 function, in vbg_hgcm_call32() argument
[all …]
Dvboxguest_core.c1227 u32 client_id; in vbg_ioctl_hgcm_connect() local
1247 &client_id, &conn->hdr.rc); in vbg_ioctl_hgcm_connect()
1251 conn->u.out.client_id = client_id; in vbg_ioctl_hgcm_connect()
1252 session->hgcm_client_ids[i] = client_id; in vbg_ioctl_hgcm_connect()
1254 conn->u.out.client_id = 0; in vbg_ioctl_hgcm_connect()
1266 u32 client_id; in vbg_ioctl_hgcm_disconnect() local
1272 client_id = disconn->u.in.client_id; in vbg_ioctl_hgcm_disconnect()
1273 if (client_id == 0 || client_id == U32_MAX) in vbg_ioctl_hgcm_disconnect()
1278 if (session->hgcm_client_ids[i] == client_id) { in vbg_ioctl_hgcm_disconnect()
1288 ret = vbg_hgcm_disconnect(gdev, session->requestor, client_id, in vbg_ioctl_hgcm_disconnect()
[all …]
Dvmmdev.h403 u32 client_id; member
413 u32 client_id; member
425 u32 client_id; member
Dvboxguest_core.h180 struct vbg_dev *gdev, u32 requestor, u32 client_id, u32 function,
/drivers/misc/mei/
Dclient.h28 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id);
30 const uuid_le *uuid, u8 client_id);
123 return cl->me_cl ? cl->me_cl->client_id : 0; in mei_cl_me_id()
Dclient.c182 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id) in mei_me_cl_by_id() argument
189 if (__me_cl->client_id == client_id) { in mei_me_cl_by_id()
212 const uuid_le *uuid, u8 client_id) in __mei_me_cl_by_uuid_id() argument
222 me_cl->client_id == client_id) in __mei_me_cl_by_uuid_id()
241 const uuid_le *uuid, u8 client_id) in mei_me_cl_by_uuid_id() argument
246 me_cl = __mei_me_cl_by_uuid_id(dev, uuid, client_id); in mei_me_cl_by_uuid_id()
Ddebugfs.c41 i++, me_cl->client_id, in mei_dbgfs_meclients_show()
/drivers/hid/intel-ish-hid/ishtp/
Dbus.c174 return fw_client->client_id; in ishtp_get_fw_client_id()
187 int ishtp_fw_cl_by_id(struct ishtp_device *dev, uint8_t client_id) in ishtp_fw_cl_by_id() argument
194 if (dev->fw_clients[i].client_id == client_id) { in ishtp_fw_cl_by_id()
716 cl_device->fw_client->client_id == cl->fw_client_id) { in ishtp_cl_device_bind()
Dclient.h113 int ishtp_fw_cl_by_id(struct ishtp_device *dev, uint8_t client_id);
Dishtp-dev.h71 uint8_t client_id; member
Dhbm.c214 dev->fw_clients[client_num].client_id = next_client_index; in ishtp_hbm_prop_req()
612 if (fw_client->client_id != props_res->address) { in ishtp_hbm_dispatch()
615 fw_client->client_id, props_res->address); in ishtp_hbm_dispatch()
/drivers/infiniband/core/
Ddevice.c673 if (xa_get_mark(&device->client_data, client->client_id, in add_client_context()
677 ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, in add_client_context()
686 xa_set_mark(&device->client_data, client->client_id, in add_client_context()
700 unsigned int client_id) in remove_client_context() argument
706 if (!xa_get_mark(&device->client_data, client_id, in remove_client_context()
711 client_data = xa_load(&device->client_data, client_id); in remove_client_context()
712 xa_clear_mark(&device->client_data, client_id, CLIENT_DATA_REGISTERED); in remove_client_context()
713 client = xa_load(&clients, client_id); in remove_client_context()
728 xa_erase(&device->client_data, client_id); in remove_client_context()
1700 client->client_id = highest_client_id; in assign_client_id()
[all …]
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu_helper.c592 uint32_t client_id = entry->client_id; in phm_irq_process() local
595 if (client_id == AMDGPU_IRQ_CLIENTID_LEGACY) { in phm_irq_process()
611 } else if (client_id == SOC15_IH_CLIENTID_THM) { in phm_irq_process()
622 } else if (client_id == SOC15_IH_CLIENTID_ROM_SMUIO) in phm_irq_process()
/drivers/media/platform/sti/hva/
Dhva-hw.c460 u8 client_id = ctx->id; in hva_hw_execute_task() local
507 ctx->name, __func__, cmd + (client_id << 8), &task->paddr); in hva_hw_execute_task()
508 writel_relaxed(cmd + (client_id << 8), hva->regs + HVA_HIF_FIFO_CMD); in hva_hw_execute_task()
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_top.h26 u32 client_id; member
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c29 int client_id; member
303 id = service ? service->client_id : 0; in vchiq_get_client_id()
1474 service->client_id = ((int *)header->data)[1]; in parse_open()
2310 service->client_id = 0; in vchiq_add_service_internal()
2416 vchiq_open_service_internal(struct vchiq_service *service, int client_id) in vchiq_open_service_internal() argument
2420 client_id, in vchiq_open_service_internal()
2426 service->client_id = client_id; in vchiq_open_service_internal()
2551 service->client_id = 0; in close_service_complete()
2582 service->client_id = 0; in close_service_complete()
2625 service->client_id = 0; in vchiq_close_service_internal()
[all …]
Dvchiq_core.h260 int client_id; member
507 vchiq_open_service_internal(struct vchiq_service *service, int client_id);
/drivers/gpu/drm/amd/include/
Damd_acpi.h94 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ member
/drivers/gpu/drm/radeon/
Dradeon_acpi.c91 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ member
624 atcs_input.client_id = rdev->pdev->devfn | (rdev->pdev->bus->number << 8); in radeon_acpi_pcie_performance_request()

123