Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/thermal/
A Dimx_sc_thermal.c24 u32 resource_id; member
28 u16 resource_id; member
52 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp()
63 sensor->resource_id, ret); in imx_sc_thermal_get_temp()
79 const int *resource_id; in imx_sc_thermal_probe() local
86 resource_id = of_device_get_match_data(&pdev->dev); in imx_sc_thermal_probe()
87 if (!resource_id) in imx_sc_thermal_probe()
90 for (i = 0; resource_id[i] >= 0; i++) { in imx_sc_thermal_probe()
96 sensor->resource_id = resource_id[i]; in imx_sc_thermal_probe()
98 sensor->tzd = devm_thermal_of_zone_register(&pdev->dev, sensor->resource_id, in imx_sc_thermal_probe()
/linux-6.3-rc2/include/uapi/linux/
A Dvirtio_gpu.h177 __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
299 __le32 resource_id; member
[all …]
/linux-6.3-rc2/include/soc/qcom/
A 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.3-rc2/drivers/misc/vmw_vmci/
A 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()
A 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.3-rc2/tools/testing/selftests/resctrl/
A Dresctrl_val.c394 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()
542 int resource_id; in initialize_llc_occu_resctrl() local
[all …]
A Dresctrlfs.c104 int get_resource_id(int cpu_no, int *resource_id) in get_resource_id() argument
122 if (fscanf(fp, "%d", resource_id) <= 0) { in get_resource_id()
497 int resource_id, ret = 0; in write_schemata() local
511 if (get_resource_id(cpu_no, &resource_id) < 0) { in write_schemata()
525 sprintf(schema, "%s%d%c%s", "L3:", resource_id, '=', schemata); in write_schemata()
527 sprintf(schema, "%s%d%c%s", "MB:", resource_id, '=', schemata); in write_schemata()
A Dresctrl.h86 int get_resource_id(int cpu_no, int *resource_id);
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A 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()
A 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.3-rc2/drivers/gpu/drm/virtio/
A 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()
959 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_context_attach_resource()
[all …]
A Dvirtgpu_drv.h334 uint32_t resource_id,
340 uint32_t scanout_id, uint32_t resource_id,
/linux-6.3-rc2/net/dsa/
A 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.3-rc2/arch/powerpc/platforms/ps3/
A 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()
A Dplatform.h246 enum ps3_spu_resource_type* resource_type, unsigned int *resource_id);
/linux-6.3-rc2/include/linux/
A 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.3-rc2/include/net/
A Ddevlink.h349 u64 resource_id; member
1741 u64 resource_id,
1747 u64 resource_id,
1753 u64 resource_id,
1756 const char *table_name, u64 resource_id,
1759 const char *table_name, u64 resource_id,
1762 u64 resource_id,
1766 u64 resource_id,
1770 u64 resource_id);
1773 u64 resource_id);
A Ddsa.h1245 u64 resource_id,
1252 u64 resource_id,
1256 u64 resource_id);
/linux-6.3-rc2/include/linux/soc/qcom/
A Dsmd-rpm.h49 u32 resource_type, u32 resource_id,
/linux-6.3-rc2/fs/cifs/
A Dfscache.c20 cd->resource_id = cpu_to_le64(tcon->resource_id); in cifs_fscache_fill_volume_coherency()
A Dfscache.h21 __le64 resource_id; /* unique server resource id */ member
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dvio.h100 uint32_t resource_id; member
/linux-6.3-rc2/net/devlink/
A Dleftover.c3574 resource_id); in devlink_resource_find()
3631 u64 resource_id; in devlink_nl_cmd_resource_set() local
7890 u64 resource_id, in devl_resource_register() argument
7929 resource->id = resource_id; in devl_resource_register()
7959 u64 resource_id, in devlink_resource_register() argument
8029 u64 resource_id, in devl_resource_size_get() argument
8064 table->resource_id = resource_id; in devl_dpipe_table_resource_set()
8080 u64 resource_id, in devl_resource_occ_get_register() argument
8109 u64 resource_id, in devlink_resource_occ_get_register() argument
8127 u64 resource_id) in devl_resource_occ_get_unregister() argument
[all …]
/linux-6.3-rc2/include/sound/sof/ipc4/
A Dheader.h472 uint32_t resource_id; member
/linux-6.3-rc2/net/vmw_vsock/
A Dvmci_transport.c581 vmci_transport_datagram_create_hnd(u32 resource_id, in vmci_transport_datagram_create_hnd() argument
593 err = vmci_datagram_create_handle_priv(resource_id, flags, in vmci_transport_datagram_create_hnd()
599 err = vmci_datagram_create_handle(resource_id, flags, in vmci_transport_datagram_create_hnd()

Completed in 77 milliseconds

12