Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/include/
Dcgs_linux.h69 typedef int (*cgs_add_irq_source_t)(void *cgs_device, unsigned client_id,
87 typedef int (*cgs_irq_get_t)(void *cgs_device, unsigned client_id, unsigned src_id, unsigned type);
102 typedef int (*cgs_irq_put_t)(void *cgs_device, unsigned client_id, unsigned src_id, unsigned type);
111 #define cgs_add_irq_source(dev,client_id,src_id,num_types,set,handler,private_data) \ argument
112 CGS_OS_CALL(add_irq_source,dev,client_id,src_id,num_types,set,handler, \
114 #define cgs_irq_get(dev,client_id,src_id,type) \ argument
115 CGS_OS_CALL(irq_get,dev,client_id,src_id,type)
116 #define cgs_irq_put(dev,client_id,src_id,type) \ argument
117 CGS_OS_CALL(irq_put,dev,client_id,src_id,type)
Damd_acpi.h70 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c311 unsigned client_id, unsigned src_id, in amdgpu_irq_add_id() argument
314 if (client_id >= AMDGPU_IH_CLIENTID_MAX) in amdgpu_irq_add_id()
323 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_add_id()
324 adev->irq.client[client_id].sources = in amdgpu_irq_add_id()
328 if (!adev->irq.client[client_id].sources) in amdgpu_irq_add_id()
332 if (adev->irq.client[client_id].sources[src_id] != NULL) in amdgpu_irq_add_id()
346 adev->irq.client[client_id].sources[src_id] = source; in amdgpu_irq_add_id()
361 unsigned client_id = entry->client_id; in amdgpu_irq_dispatch() local
368 if (client_id >= AMDGPU_IH_CLIENTID_MAX) { in amdgpu_irq_dispatch()
369 DRM_DEBUG("Invalid client_id in IV: %d\n", client_id); in amdgpu_irq_dispatch()
[all …]
Damdgpu_cgs.c397 unsigned client_id, in amdgpu_cgs_add_irq_source() argument
424 ret = amdgpu_irq_add_id(adev, client_id, src_id, source); in amdgpu_cgs_add_irq_source()
433 static int amdgpu_cgs_irq_get(void *cgs_device, unsigned client_id, in amdgpu_cgs_irq_get() argument
438 if (!adev->irq.client[client_id].sources) in amdgpu_cgs_irq_get()
441 return amdgpu_irq_get(adev, adev->irq.client[client_id].sources[src_id], type); in amdgpu_cgs_irq_get()
444 static int amdgpu_cgs_irq_put(void *cgs_device, unsigned client_id, in amdgpu_cgs_irq_put() argument
449 if (!adev->irq.client[client_id].sources) in amdgpu_cgs_irq_put()
452 return amdgpu_irq_put(adev, adev->irq.client[client_id].sources[src_id], type); in amdgpu_cgs_irq_put()
Damdgpu_trace.h116 __field(unsigned, client_id)
127 __entry->client_id = iv->client_id;
141 __entry->client_id, __entry->src_id,
Damdgpu_ih.h95 unsigned client_id; member
Damdgpu_irq.h89 unsigned client_id, unsigned src_id,
Damdgpu_vm.h147 u64 client_id; member
Dsi_ih.c132 entry->client_id = AMDGPU_IH_CLIENTID_LEGACY; in si_ih_decode_iv()
/drivers/gpu/vga/
Dvga_switcheroo.c167 #define client_id(c) ((c)->id & ~ID_BIT_AUDIO) macro
361 enum vga_switcheroo_client_id client_id) in find_client_from_id() argument
366 if (client->id == client_id) in find_client_from_id()
596 client_id(client) == VGA_SWITCHEROO_DIS ? "DIS" : in vga_switcheroo_show()
728 enum vga_switcheroo_client_id client_id = VGA_SWITCHEROO_UNKNOWN_ID; in vga_switcheroo_debugfs_write() local
773 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
778 client_id = VGA_SWITCHEROO_DIS; in vga_switcheroo_debugfs_write()
783 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
786 client_id = VGA_SWITCHEROO_DIS; in vga_switcheroo_debugfs_write()
790 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
[all …]
/drivers/misc/mei/
Dclient.h38 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id);
40 const uuid_le *uuid, u8 client_id);
133 return cl->me_cl ? cl->me_cl->client_id : 0; in mei_cl_me_id()
Dclient.c192 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id) in mei_me_cl_by_id() argument
199 if (__me_cl->client_id == client_id) { in mei_me_cl_by_id()
222 const uuid_le *uuid, u8 client_id) in __mei_me_cl_by_uuid_id() argument
232 me_cl->client_id == client_id) in __mei_me_cl_by_uuid_id()
251 const uuid_le *uuid, u8 client_id) in mei_me_cl_by_uuid_id() argument
256 me_cl = __mei_me_cl_by_uuid_id(dev, uuid, client_id); in mei_me_cl_by_uuid_id()
/drivers/hid/intel-ish-hid/ishtp/
Dbus.c160 int ishtp_fw_cl_by_id(struct ishtp_device *dev, uint8_t client_id) in ishtp_fw_cl_by_id() argument
167 if (dev->fw_clients[i].client_id == client_id) { in ishtp_fw_cl_by_id()
627 cl_device->fw_client->client_id == cl->fw_client_id) { in ishtp_cl_device_bind()
Dishtp-dev.h79 uint8_t client_id; member
Dclient.h129 int ishtp_fw_cl_by_id(struct ishtp_device *dev, uint8_t client_id);
Dhbm.c238 dev->fw_clients[client_num].client_id = next_client_index; in ishtp_hbm_prop_req()
648 if (fw_client->client_id != props_res->address) { in ishtp_hbm_dispatch()
651 fw_client->client_id, props_res->address); in ishtp_hbm_dispatch()
/drivers/media/platform/sti/hva/
Dhva-hw.c464 u8 client_id = ctx->id; in hva_hw_execute_task() local
511 ctx->name, __func__, cmd + (client_id << 8), &task->paddr); in hva_hw_execute_task()
512 writel_relaxed(cmd + (client_id << 8), hva->regs + HVA_HIF_FIFO_CMD); in hva_hw_execute_task()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dpp_acpi.c78 atcs_input.client_id = (uint16_t)info.value; in acpi_pcie_perf_request()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c60 int client_id; member
336 id = service ? service->client_id : 0; in vchiq_get_client_id()
1648 service->client_id = ((int *)header->data)[1]; in parse_open()
2617 service->client_id = 0; in vchiq_add_service_internal()
2723 vchiq_open_service_internal(VCHIQ_SERVICE_T *service, int client_id) in vchiq_open_service_internal() argument
2727 client_id, in vchiq_open_service_internal()
2733 service->client_id = client_id; in vchiq_open_service_internal()
2858 service->client_id = 0; in close_service_complete()
2889 service->client_id = 0; in close_service_complete()
2932 service->client_id = 0; in vchiq_close_service_internal()
[all …]
Dvchiq_core.h294 int client_id; member
546 vchiq_open_service_internal(VCHIQ_SERVICE_T *service, int client_id);
Dvchiq_arm.c743 service->client_id); in vchiq_ioctl()
2684 service_ptr->client_id, in output_timeout_error()
2930 service->client_id); in vchiq_use_internal()
3060 service->client_id); in vchiq_release_internal()
3288 service_data[j].clientid = service_ptr->client_id; in vchiq_dump_service_use_state()
3346 service->client_id, service->service_use_count, in vchiq_check_service()
/drivers/gpu/drm/radeon/
Dradeon_acpi.c87 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ member
620 atcs_input.client_id = rdev->pdev->devfn | (rdev->pdev->bus->number << 8); in radeon_acpi_pcie_performance_request()
/drivers/regulator/
Dtps65132-regulator.c224 const struct i2c_device_id *client_id) in tps65132_probe() argument
/drivers/media/common/siano/
Dsmscoreapi.c1450 struct smscore_idlist_t *client_id; in smscore_find_client() local
1456 list_for_each_entry(client_id, firstid, entry) { in smscore_find_client()
1457 if ((client_id->id == id) && in smscore_find_client()
1458 (client_id->data_type == data_type || in smscore_find_client()
1459 (client_id->data_type == 0))) in smscore_find_client()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_hsi.h3610 u8 client_id; member
3742 u8 client_id; member
3819 u8 client_id; member
3912 __le32 client_id; member
4048 u8 client_id; member
4101 __le32 client_id; member
4674 __le16 client_id; member
4738 u8 client_id; member

12