Home
last modified time | relevance | path

Searched refs:mem_id (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.6.21/drivers/net/ipa/
Dipa_mem.c29 const struct ipa_mem *ipa_mem_find(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_find() argument
36 if (mem->id == mem_id) in ipa_mem_find()
45 ipa_mem_zero_region_add(struct gsi_trans *trans, enum ipa_mem_id mem_id) in ipa_mem_zero_region_add() argument
48 const struct ipa_mem *mem = ipa_mem_find(ipa, mem_id); in ipa_mem_zero_region_add()
125 static bool ipa_mem_id_valid(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_id_valid() argument
129 switch (mem_id) { in ipa_mem_id_valid()
186 static bool ipa_mem_id_required(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_id_required() argument
188 switch (mem_id) { in ipa_mem_id_required()
221 enum ipa_mem_id mem_id = mem->id; in ipa_mem_valid_one() local
225 if (!ipa_mem_id_valid(ipa, mem_id)) { in ipa_mem_valid_one()
[all …]
Dipa_mem.h94 const struct ipa_mem *ipa_mem_find(struct ipa *ipa, enum ipa_mem_id mem_id);
Dipa_table.c150 enum ipa_mem_id mem_id; in ipa_table_mem() local
152 mem_id = filter ? hashed ? ipv6 ? IPA_MEM_V6_FILTER_HASHED in ipa_table_mem()
161 return ipa_mem_find(ipa, mem_id); in ipa_table_mem()
/linux-6.6.21/include/trace/events/
Dxdp.h329 __field(u32, mem_id)
336 __entry->mem_id = xa->mem.id;
342 __entry->mem_id,
357 __field(u32, mem_id)
366 __entry->mem_id = xa->mem.id;
375 __entry->mem_id,
391 __field(u32, mem_id)
397 __entry->mem_id = mem->id;
402 __entry->mem_id,
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xcp.c124 uint8_t mem_id; in amdgpu_xcp_init() local
152 xcp_mgr, &xcp_mgr->xcp[i], &mem_id); in amdgpu_xcp_init()
156 xcp_mgr->xcp[i].mem_id = mem_id; in amdgpu_xcp_init()
395 fpriv->vm.mem_id = fpriv->xcp_id == AMDGPU_XCP_NO_PARTITION ? -1 : in amdgpu_xcp_open_device()
396 adev->xcp_mgr->xcp[fpriv->xcp_id].mem_id; in amdgpu_xcp_open_device()
Daqua_vanjaram.c534 int xcc_id, uint8_t *mem_id) in __aqua_vanjaram_get_xcp_mem_id() argument
537 *mem_id = xcc_id / adev->gfx.num_xcc_per_xcp; in __aqua_vanjaram_get_xcp_mem_id()
538 *mem_id /= adev->xcp_mgr->num_xcp_per_mem_partition; in __aqua_vanjaram_get_xcp_mem_id()
544 struct amdgpu_xcp *xcp, uint8_t *mem_id) in aqua_vanjaram_get_xcp_mem_id() argument
561 *mem_id = 0; in aqua_vanjaram_get_xcp_mem_id()
571 return __aqua_vanjaram_get_xcp_mem_id(adev, xcc_id, mem_id); in aqua_vanjaram_get_xcp_mem_id()
581 *mem_id = i; in aqua_vanjaram_get_xcp_mem_id()
Damdgpu_xcp.h78 uint8_t mem_id; member
110 struct amdgpu_xcp *xcp, uint8_t *mem_id);
Damdgpu_amdkfd.c809 s8 mem_id = KFD_XCP_MEM_ID(adev, xcp_id); in amdgpu_amdkfd_xcp_memory_size() local
811 if (adev->gmc.num_mem_partitions && xcp_id >= 0 && mem_id >= 0) { in amdgpu_amdkfd_xcp_memory_size()
812 tmp = adev->gmc.mem_partitions[mem_id].size; in amdgpu_amdkfd_xcp_memory_size()
Damdgpu_object.c135 int8_t mem_id = KFD_XCP_MEM_ID(adev, abo->xcp_id); in amdgpu_bo_placement_from_domain() local
137 if (adev->gmc.mem_partitions && mem_id >= 0) { in amdgpu_bo_placement_from_domain()
138 places[c].fpfn = adev->gmc.mem_partitions[mem_id].range.fpfn; in amdgpu_bo_placement_from_domain()
143 places[c].lpfn = adev->gmc.mem_partitions[mem_id].range.lpfn + 1; in amdgpu_bo_placement_from_domain()
Damdgpu_vm.h345 int8_t mem_id; member
Damdgpu_amdkfd.h343 (adev)->xcp_mgr->xcp[(xcp_id)].mem_id : -1)
Dgmc_v9_0.c1250 KFD_XCP_MEM_ID(adev, bo->xcp_id) == vm->mem_id); in gmc_v9_0_get_coherence_flags()
1341 if (adev->gmc.is_app_apu && vm->mem_id >= 0) { in gmc_v9_0_override_vm_pte_flags()
1342 local_node = adev->gmc.mem_partitions[vm->mem_id].numa.node; in gmc_v9_0_override_vm_pte_flags()
1357 vm->mem_id, local_node, nid); in gmc_v9_0_override_vm_pte_flags()
/linux-6.6.21/include/linux/
Dpruss_driver.h110 int pruss_request_mem_region(struct pruss *pruss, enum pruss_mem mem_id,
132 enum pruss_mem mem_id, in pruss_request_mem_region() argument
/linux-6.6.21/drivers/soc/ti/
Dpruss.c112 int pruss_request_mem_region(struct pruss *pruss, enum pruss_mem mem_id, in pruss_request_mem_region() argument
115 if (!pruss || !region || mem_id >= PRUSS_MEM_MAX) in pruss_request_mem_region()
120 if (pruss->mem_in_use[mem_id]) { in pruss_request_mem_region()
125 *region = pruss->mem_regions[mem_id]; in pruss_request_mem_region()
126 pruss->mem_in_use[mem_id] = region; in pruss_request_mem_region()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h78 uint32_t mem_id; member
Dcxgb3_offload.c315 if (t->mem_id == MEM_CM) in cxgb_rdma_ctl()
317 else if (t->mem_id == MEM_PMRX) in cxgb_rdma_ctl()
319 else if (t->mem_id == MEM_PMTX) in cxgb_rdma_ctl()
Dcxgb3_main.c2461 if (t.mem_id == MEM_CM) in cxgb_siocdevprivate()
2463 else if (t.mem_id == MEM_PMRX) in cxgb_siocdevprivate()
2465 else if (t.mem_id == MEM_PMTX) in cxgb_siocdevprivate()
/linux-6.6.21/drivers/infiniband/ulp/rtrs/
Drtrs-clt.h87 unsigned int mem_id; member
Drtrs-clt.c89 WARN_ON(permit->mem_id != bit); in __rtrs_get_permit()
99 clear_bit_unlock(permit->mem_id, clt->permits_map); in __rtrs_put_permit()
154 if (WARN_ON(!test_bit(permit->mem_id, clt->permits_map))) in rtrs_clt_put_permit()
988 req = &clt_path->reqs[permit->mem_id]; in rtrs_clt_get_req()
1004 req = &alive_path->reqs[fail_req->permit->mem_id]; in rtrs_clt_get_copy_req()
1114 buf_id = req->permit->mem_id; in rtrs_clt_write_req()
1247 buf_id = req->permit->mem_id; in rtrs_clt_read_req()
1426 permit->mem_id = i; in alloc_permits()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory_mgr.c171 buf->handle = (((u64)rc | buf->behavior->mem_id) << PAGE_SHIFT); in hl_mmap_mem_buf_alloc()
Dcommand_buffer.c260 .mem_id = HL_MMAP_TYPE_CB,
/linux-6.6.21/net/core/
Dxdp.c54 u32 mem_id = *(u32 *)arg->key; in xdp_mem_id_cmp() local
56 return xa->mem.id != mem_id; in xdp_mem_id_cmp()
/linux-6.6.21/arch/um/drivers/
Dmconsole_kern.c394 static int mem_id(char **str, int *start_out, int *end_out) in mem_id() function
413 .id = mem_id,
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c785 node->node_id, node->xcp->mem_id, in kgd2kfd_device_init()
Dkfd_svm.c1245 (!bo_node->xcp || !node->xcp || bo_node->xcp->mem_id == node->xcp->mem_id)) in svm_range_get_pte_flags()

12