Home
last modified time | relevance | path

Searched refs:resource_id (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/drivers/thermal/
Dimx_sc_thermal.c23 u32 resource_id; member
27 u16 resource_id; member
51 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp()
75 const int *resource_id; in imx_sc_thermal_probe() local
82 resource_id = of_device_get_match_data(&pdev->dev); in imx_sc_thermal_probe()
83 if (!resource_id) in imx_sc_thermal_probe()
86 for (i = 0; resource_id[i] >= 0; i++) { in imx_sc_thermal_probe()
92 sensor->resource_id = resource_id[i]; in imx_sc_thermal_probe()
94 sensor->tzd = devm_thermal_of_zone_register(&pdev->dev, sensor->resource_id, in imx_sc_thermal_probe()
/linux-6.6.21/include/uapi/linux/
Dvirtio_gpu.h159 __le32 resource_id; /* update only */ member
177 __le32 resource_id; member
184 __le32 resource_id; member
195 __le32 resource_id; member
202 __le32 resource_id; member
211 __le32 resource_id; member
224 __le32 resource_id; member
231 __le32 resource_id; member
258 __le32 resource_id; member
268 __le32 resource_id; member
[all …]
/linux-6.6.21/include/soc/qcom/
Dcmd-db.h20 u32 cmd_db_read_addr(const char *resource_id);
22 const void *cmd_db_read_aux_data(const char *resource_id, size_t *len);
24 enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id);
28 static inline u32 cmd_db_read_addr(const char *resource_id) in cmd_db_read_addr() argument
31 static inline const void *cmd_db_read_aux_data(const char *resource_id, size_t *len) in cmd_db_read_aux_data() argument
34 static inline enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id) in cmd_db_read_slave_id() argument
/linux-6.6.21/net/devlink/
Dresource.c40 struct devlink_resource *resource, u64 resource_id) in devlink_resource_find() argument
52 if (resource->id == resource_id) in devlink_resource_find()
56 resource_id); in devlink_resource_find()
112 u64 resource_id; in devlink_nl_cmd_resource_set() local
119 resource_id = nla_get_u64(info->attrs[DEVLINK_ATTR_RESOURCE_ID]); in devlink_nl_cmd_resource_set()
121 resource = devlink_resource_find(devlink, NULL, resource_id); in devlink_nl_cmd_resource_set()
337 u64 resource_id, in devl_resource_register() argument
349 resource = devlink_resource_find(devlink, NULL, resource_id); in devl_resource_register()
376 resource->id = resource_id; in devl_resource_register()
406 u64 resource_id, in devlink_resource_register() argument
[all …]
Ddpipe.c177 table->resource_id, DEVLINK_ATTR_PAD) || in devlink_dpipe_table_put()
902 const char *table_name, u64 resource_id, in devl_dpipe_table_resource_set() argument
912 table->resource_id = resource_id; in devl_dpipe_table_resource_set()
/linux-6.6.21/drivers/misc/vmw_vmci/
Dvmci_resource.c72 static u32 resource_id = VMCI_RESERVED_RESOURCE_ID_MAX + 1; in vmci_resource_find_id() local
73 u32 old_rid = resource_id; in vmci_resource_find_id()
83 current_rid = resource_id; in vmci_resource_find_id()
84 resource_id++; in vmci_resource_find_id()
85 if (unlikely(resource_id == VMCI_INVALID_ID)) { in vmci_resource_find_id()
87 resource_id = VMCI_RESERVED_RESOURCE_ID_MAX + 1; in vmci_resource_find_id()
93 } while (resource_id != old_rid); in vmci_resource_find_id()
Dvmci_datagram.c50 static int dg_create_handle(u32 resource_id, in dg_create_handle() argument
72 handle = vmci_make_handle(context_id, resource_id); in dg_create_handle()
403 int vmci_datagram_create_handle_priv(u32 resource_id, in vmci_datagram_create_handle_priv() argument
421 return dg_create_handle(resource_id, flags, priv_flags, recv_cb, in vmci_datagram_create_handle_priv()
438 int vmci_datagram_create_handle(u32 resource_id, in vmci_datagram_create_handle() argument
445 resource_id, flags, in vmci_datagram_create_handle()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c15 u64 resource_id; /* devlink resource id */ member
34 .resource_id = MLXSW_SP_RESOURCE_COUNTERS_FLOW,
40 .resource_id = MLXSW_SP_RESOURCE_COUNTERS_RIF,
71 sub_pool->resource_id, in mlxsw_sp_counter_sub_pools_init()
77 sub_pool->resource_id, in mlxsw_sp_counter_sub_pools_init()
92 sub_pool->resource_id); in mlxsw_sp_counter_sub_pools_init()
109 sub_pool->resource_id); in mlxsw_sp_counter_sub_pools_fini()
293 sub_pool->resource_id, in mlxsw_sp_counter_resources_register()
Dspectrum1_kvdl.c36 enum mlxsw_sp_resource_id resource_id; member
50 .resource_id = MLXSW_SP_RESOURCE_KVD_LINEAR_##id, \
219 err = devl_resource_size_get(devlink, info->resource_id, in mlxsw_sp1_kvdl_part_init()
/linux-6.6.21/tools/testing/selftests/resctrl/
Dresctrl_val.c390 void set_mbm_path(const char *ctrlgrp, const char *mongrp, int resource_id) in set_mbm_path() argument
394 RESCTRL_PATH, ctrlgrp, mongrp, resource_id); in set_mbm_path()
397 mongrp, resource_id); in set_mbm_path()
400 ctrlgrp, resource_id); in set_mbm_path()
403 resource_id); in set_mbm_path()
416 int resource_id; in initialize_mem_bw_resctrl() local
418 if (get_resource_id(cpu_no, &resource_id) < 0) { in initialize_mem_bw_resctrl()
424 set_mbm_path(ctrlgrp, mongrp, resource_id); in initialize_mem_bw_resctrl()
429 RESCTRL_PATH, ctrlgrp, resource_id); in initialize_mem_bw_resctrl()
432 RESCTRL_PATH, resource_id); in initialize_mem_bw_resctrl()
[all …]
Dresctrlfs.c103 int get_resource_id(int cpu_no, int *resource_id) in get_resource_id() argument
121 if (fscanf(fp, "%d", resource_id) <= 0) { in get_resource_id()
494 int resource_id, ret = 0; in write_schemata() local
509 if (get_resource_id(cpu_no, &resource_id) < 0) { in write_schemata()
523 sprintf(schema, "%s%d%c%s", "L3:", resource_id, '=', schemata); in write_schemata()
526 sprintf(schema, "%s%d%c%s", "MB:", resource_id, '=', schemata); in write_schemata()
Dresctrl.h82 int get_resource_id(int cpu_no, int *resource_id);
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c508 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_create_resource()
540 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_unref_resource()
549 uint32_t scanout_id, uint32_t resource_id, in virtio_gpu_cmd_set_scanout() argument
560 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_set_scanout()
571 uint32_t resource_id, in virtio_gpu_cmd_resource_flush() argument
585 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_resource_flush()
615 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_transfer_to_host_2d()
627 uint32_t resource_id, in virtio_gpu_cmd_resource_attach_backing() argument
639 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_resource_attach_backing()
958 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_context_attach_resource()
[all …]
Dvirtgpu_drv.h334 uint32_t resource_id,
340 uint32_t scanout_id, uint32_t resource_id,
/linux-6.6.21/net/dsa/
Ddevlink.c227 u64 resource_id, in dsa_devlink_resource_register() argument
232 resource_size, resource_id, in dsa_devlink_resource_register()
245 u64 resource_id, in dsa_devlink_resource_occ_get_register() argument
249 return devlink_resource_occ_get_register(ds->devlink, resource_id, in dsa_devlink_resource_occ_get_register()
255 u64 resource_id) in dsa_devlink_resource_occ_get_unregister() argument
257 devlink_resource_occ_get_unregister(ds->devlink, resource_id); in dsa_devlink_resource_occ_get_unregister()
/linux-6.6.21/arch/powerpc/platforms/ps3/
Dspu.c109 u64 resource_id; member
279 spu_pdata(spu)->resource_id); in enable_spu()
347 spu_pdata(spu)->resource_id = (unsigned long)data; in ps3_create_spu()
399 unsigned int resource_id; in ps3_enumerate_spus() local
402 &resource_type, &resource_id); in ps3_enumerate_spus()
408 result = fn((void*)(unsigned long)resource_id); in ps3_enumerate_spus()
Dplatform.h246 enum ps3_spu_resource_type* resource_type, unsigned int *resource_id);
/linux-6.6.21/include/linux/
Dvmw_vmci_api.h24 int vmci_datagram_create_handle(u32 resource_id, u32 flags,
28 int vmci_datagram_create_handle_priv(u32 resource_id, u32 flags, u32 priv_flags,
/linux-6.6.21/include/net/
Ddevlink.h352 u64 resource_id; member
1759 u64 resource_id,
1765 u64 resource_id,
1771 u64 resource_id,
1774 const char *table_name, u64 resource_id,
1777 u64 resource_id,
1781 u64 resource_id,
1785 u64 resource_id);
1788 u64 resource_id);
Ddsa.h1249 u64 resource_id,
1256 u64 resource_id,
1260 u64 resource_id);
/linux-6.6.21/include/linux/soc/qcom/
Dsmd-rpm.h65 u32 resource_type, u32 resource_id,
/linux-6.6.21/fs/smb/client/
Dfscache.c20 cd->resource_id = cpu_to_le64(tcon->resource_id); in cifs_fscache_fill_volume_coherency()
Dfscache.h21 __le64 resource_id; /* unique server resource id */ member
/linux-6.6.21/arch/powerpc/include/asm/
Dvio.h100 uint32_t resource_id; member
/linux-6.6.21/include/sound/sof/ipc4/
Dheader.h505 uint32_t resource_id; member

12