/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/ |
A D | gang.c | 17 struct spu_gang *gang; in alloc_spu_gang() local 19 gang = kzalloc(sizeof *gang, GFP_KERNEL); in alloc_spu_gang() 20 if (!gang) in alloc_spu_gang() 30 return gang; in alloc_spu_gang() 37 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang() 38 kfree(gang); in destroy_spu_gang() 44 return gang; in get_spu_gang() 55 ctx->gang = get_spu_gang(gang); in spu_gang_add_ctx() 57 gang->contexts++; in spu_gang_add_ctx() 64 WARN_ON(ctx->gang != gang); in spu_gang_remove_ctx() [all …]
|
A D | sched.c | 262 gang->aff_flags |= AFF_MERGED; in aff_merge_remaining_ctxs() 359 gang->aff_ref_spu = aff_ref_location(gang->aff_ref_ctx, mem_aff, gs, in aff_set_ref_point_location() 395 struct spu_gang *gang = ctx->gang; in has_affinity() local 401 ctx->gang->aff_ref_spu = NULL; in has_affinity() 403 if (!gang->aff_ref_spu) { in has_affinity() 405 aff_merge_remaining_ctxs(gang); in has_affinity() 407 aff_set_offsets(gang); in has_affinity() 408 aff_set_ref_point_location(gang); in has_affinity() 411 return gang->aff_ref_spu != NULL; in has_affinity() 430 if (ctx->gang) in spu_unbind_context() [all …]
|
A D | inode.c | 316 gang->aff_ref_ctx && in spufs_assert_affinity() 339 if (gang != neighbor->gang) { in spufs_assert_affinity() 374 ctx->gang->aff_ref_ctx = ctx; in spufs_set_affinity() 379 &ctx->gang->aff_list_head); in spufs_set_affinity() 395 if (!ctx->gang->aff_ref_ctx) in spufs_set_affinity() 407 struct spu_gang *gang; in spufs_create_context() local 422 gang = NULL; in spufs_create_context() 427 if (!gang) in spufs_create_context() 463 struct spu_gang *gang; in spufs_mkgang() local 472 gang = alloc_spu_gang(); in spufs_mkgang() [all …]
|
A D | context.c | 25 struct spu_context *alloc_spu_context(struct spu_gang *gang) in alloc_spu_context() argument 52 if (gang) in alloc_spu_context() 53 spu_gang_add_ctx(gang, ctx); in alloc_spu_context() 78 if (ctx->gang) in destroy_spu_context() 79 spu_gang_remove_ctx(ctx->gang, ctx); in destroy_spu_context()
|
A D | spufs.h | 100 struct spu_gang *gang; member 245 struct spu_gang *get_spu_gang(struct spu_gang *gang); 246 int put_spu_gang(struct spu_gang *gang); 247 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx); 248 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx); 269 struct spu_context * alloc_spu_context(struct spu_gang *gang);
|
A D | Makefile | 5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_mes.c | 404 kfree(gang); in amdgpu_mes_destroy_process() 424 if (!gang) { in amdgpu_mes_add_gang() 461 gang->gang_id = r; in amdgpu_mes_add_gang() 482 kfree(gang); in amdgpu_mes_add_gang() 497 if (!gang) { in amdgpu_mes_remove_gang() 510 list_del(&gang->list); in amdgpu_mes_remove_gang() 517 kfree(gang); in amdgpu_mes_remove_gang() 664 if (!gang) { in amdgpu_mes_add_hw_queue() 732 queue->gang = gang; in amdgpu_mes_add_hw_queue() 785 gang = queue->gang; in amdgpu_mes_remove_hw_queue() [all …]
|
A D | amdgpu_mes.h | 165 struct amdgpu_mes_gang *gang; member
|
A D | amdgpu.h | 1305 struct dma_fence *gang);
|
A D | amdgpu_device.c | 5961 struct dma_fence *gang) in amdgpu_device_switch_gang() argument 5971 if (old == gang) in amdgpu_device_switch_gang() 5978 old, gang) != old); in amdgpu_device_switch_gang()
|
/linux-6.3-rc2/drivers/perf/ |
A D | qcom_l3_pmu.c | 198 u32 gang; in qcom_l3_cache__64bit_counter_start() local 201 gang = readl_relaxed(l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_start() 202 gang |= GANG_EN(idx + 1); in qcom_l3_cache__64bit_counter_start() 203 writel_relaxed(gang, l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_start() 229 u32 gang = readl_relaxed(l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_stop() local 236 writel_relaxed(gang & ~GANG_EN(idx + 1), l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_stop()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | disk-io.c | 2092 btrfs_put_root(gang[0]); in btrfs_free_fs_roots() 2097 (void **)gang, 0, in btrfs_free_fs_roots() 4379 gang[i] = NULL; in btrfs_cleanup_fs_roots() 4383 gang[i] = btrfs_grab_root(gang[i]); in btrfs_cleanup_fs_roots() 4388 if (!gang[i]) in btrfs_cleanup_fs_roots() 4394 btrfs_put_root(gang[i]); in btrfs_cleanup_fs_roots() 4401 if (gang[i]) in btrfs_cleanup_fs_roots() 4402 btrfs_put_root(gang[i]); in btrfs_cleanup_fs_roots() 4762 gang[i] = btrfs_grab_root(gang[i]); in btrfs_drop_all_logs() 4766 if (!gang[i]) in btrfs_drop_all_logs() [all …]
|
A D | transaction.c | 1403 struct btrfs_root *gang[8]; in commit_fs_roots() local 1416 (void **)gang, 0, in commit_fs_roots() 1417 ARRAY_SIZE(gang), in commit_fs_roots() 1422 struct btrfs_root *root = gang[i]; in commit_fs_roots()
|
A D | extent_io.c | 5150 struct extent_buffer *gang[GANG_LOOKUP_SIZE]; in get_next_extent_buffer() local 5163 (void **)gang, cur >> fs_info->sectorsize_bits, in get_next_extent_buffer() 5170 if (gang[i]->start >= page_start + PAGE_SIZE) in get_next_extent_buffer() 5173 if (gang[i]->start >= bytenr) { in get_next_extent_buffer() 5174 found = gang[i]; in get_next_extent_buffer() 5178 cur = gang[ret - 1]->start + gang[ret - 1]->len; in get_next_extent_buffer()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/ |
A D | qcom,spmi-regulator.yaml | 97 description: SAW controlled gang slave. Will not be configured. 102 SAW controlled gang leader. Will be configured as SAW regulator.
|
/linux-6.3-rc2/Documentation/devicetree/bindings/display/tegra/ |
A D | nvidia,tegra20-dsi.yaml | 83 gang up with in order to support up to 8 data lanes
|
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/ |
A D | msm8992-xiaomi-libra.dts | 189 /* APC1 is 3-phase, but quoting downstream, s11 is "the gang leader" */
|
/linux-6.3-rc2/Documentation/driver-api/usb/ |
A D | power-management.rst | 577 a shared power well causing power to remain until all ports in the gang
|