Home
last modified time | relevance | path

Searched refs:gang (Results 1 – 19 of 19) sorted by relevance

/linux-6.15/arch/powerpc/platforms/cell/spufs/
H A Dgang.c19 gang = kzalloc(sizeof *gang, GFP_KERNEL); in alloc_spu_gang()
20 if (!gang) in alloc_spu_gang()
28 gang->alive = 1; in alloc_spu_gang()
31 return gang; in alloc_spu_gang()
38 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang()
39 kfree(gang); in destroy_spu_gang()
45 return gang; in get_spu_gang()
56 ctx->gang = get_spu_gang(gang); in spu_gang_add_ctx()
58 gang->contexts++; in spu_gang_add_ctx()
65 WARN_ON(ctx->gang != gang); in spu_gang_remove_ctx()
[all …]
H A Dsched.c262 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 …]
H A Dinode.c209 if (gang) { in unuse_gang()
213 dead = !--gang->alive; in unuse_gang()
337 gang->aff_ref_ctx && in spufs_assert_affinity()
360 if (gang != neighbor->gang) { in spufs_assert_affinity()
443 if (gang) { in spufs_create_context()
444 if (!gang->alive) in spufs_create_context()
446 gang->alive++; in spufs_create_context()
452 if (!gang) in spufs_create_context()
483 if (ret && gang) in spufs_create_context()
493 struct spu_gang *gang; in spufs_mkgang() local
[all …]
H A Dcontext.c25 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()
H A Dspufs.h100 struct spu_gang *gang; member
247 struct spu_gang *get_spu_gang(struct spu_gang *gang);
248 int put_spu_gang(struct spu_gang *gang);
249 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx);
250 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx);
271 struct spu_context * alloc_spu_context(struct spu_gang *gang);
H A DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mes.c364 kfree(gang); in amdgpu_mes_destroy_process()
383 if (!gang) { in amdgpu_mes_add_gang()
420 gang->gang_id = r; in amdgpu_mes_add_gang()
441 kfree(gang); in amdgpu_mes_add_gang()
456 if (!gang) { in amdgpu_mes_remove_gang()
476 kfree(gang); in amdgpu_mes_remove_gang()
627 if (!gang) { in amdgpu_mes_add_hw_queue()
695 queue->gang = gang; in amdgpu_mes_add_hw_queue()
747 gang = queue->gang; in amdgpu_mes_remove_hw_queue()
794 gang = queue->gang; in amdgpu_mes_reset_hw_queue()
[all …]
H A Damdgpu_mes.h181 struct amdgpu_mes_gang *gang; member
H A Damdgpu_device.c6930 struct dma_fence *gang) in amdgpu_device_switch_gang() argument
6934 dma_fence_get(gang); in amdgpu_device_switch_gang()
6938 if (old == gang) in amdgpu_device_switch_gang()
6942 dma_fence_put(gang); in amdgpu_device_switch_gang()
6947 old, gang) != old); in amdgpu_device_switch_gang()
H A Damdgpu.h1490 struct dma_fence *gang);
/linux-6.15/drivers/perf/
H A Dqcom_l3_pmu.c198 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.15/fs/btrfs/
H A Ddisk-io.c1862 struct btrfs_root *gang[8]; in btrfs_free_fs_roots() local
1872 btrfs_put_root(gang[0]); in btrfs_free_fs_roots()
1877 (void **)gang, 0, in btrfs_free_fs_roots()
3020 gang[i] = NULL; in btrfs_cleanup_fs_roots()
3024 gang[i] = btrfs_grab_root(gang[i]); in btrfs_cleanup_fs_roots()
3029 if (!gang[i]) in btrfs_cleanup_fs_roots()
3039 btrfs_put_root(gang[i]); in btrfs_cleanup_fs_roots()
4576 gang[i] = btrfs_grab_root(gang[i]); in btrfs_drop_all_logs()
4580 if (!gang[i]) in btrfs_drop_all_logs()
4826 (void **)gang, 0, in btrfs_free_all_qgroup_pertrans()
[all …]
H A Dtransaction.c1464 struct btrfs_root *gang[8]; in commit_fs_roots() local
1477 (void **)gang, 0, in commit_fs_roots()
1478 ARRAY_SIZE(gang), in commit_fs_roots()
1483 struct btrfs_root *root = gang[i]; in commit_fs_roots()
H A Dextent_io.c4280 struct extent_buffer *gang[GANG_LOOKUP_SIZE]; in get_next_extent_buffer() local
4293 (void **)gang, cur >> fs_info->sectorsize_bits, in get_next_extent_buffer()
4300 if (gang[i]->start >= folio_start + PAGE_SIZE) in get_next_extent_buffer()
4303 if (gang[i]->start >= bytenr) { in get_next_extent_buffer()
4304 found = gang[i]; in get_next_extent_buffer()
4308 cur = gang[ret - 1]->start + gang[ret - 1]->len; in get_next_extent_buffer()
/linux-6.15/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,rpm-master-stats.yaml14 of "RPM Masters". They can be thought of as "the local gang leaders", usually
/linux-6.15/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra20-dsi.yaml83 gang up with in order to support up to 8 data lanes
/linux-6.15/Documentation/devicetree/bindings/regulator/
H A Dqcom,spmi-regulator.yaml101 description: SAW controlled gang slave. Will not be configured.
106 SAW controlled gang leader. Will be configured as SAW regulator.
/linux-6.15/arch/arm64/boot/dts/qcom/
H A Dmsm8992-xiaomi-libra.dts185 /* APC1 is 3-phase, but quoting downstream, s11 is "the gang leader" */
/linux-6.15/Documentation/driver-api/usb/
H A Dpower-management.rst577 a shared power well causing power to remain until all ports in the gang