| /linux-6.15/arch/powerpc/platforms/cell/spufs/ |
| H A D | gang.c | 19 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 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 …]
|
| H A D | inode.c | 209 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 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()
|
| H A D | spufs.h | 100 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 D | Makefile | 5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_mes.c | 364 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 D | amdgpu_mes.h | 181 struct amdgpu_mes_gang *gang; member
|
| H A D | amdgpu_device.c | 6930 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 D | amdgpu.h | 1490 struct dma_fence *gang);
|
| /linux-6.15/drivers/perf/ |
| H 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.15/fs/btrfs/ |
| H A D | disk-io.c | 1862 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 D | transaction.c | 1464 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 D | extent_io.c | 4280 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 D | qcom,rpm-master-stats.yaml | 14 of "RPM Masters". They can be thought of as "the local gang leaders", usually
|
| /linux-6.15/Documentation/devicetree/bindings/display/tegra/ |
| H A D | nvidia,tegra20-dsi.yaml | 83 gang up with in order to support up to 8 data lanes
|
| /linux-6.15/Documentation/devicetree/bindings/regulator/ |
| H A D | qcom,spmi-regulator.yaml | 101 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 D | msm8992-xiaomi-libra.dts | 185 /* APC1 is 3-phase, but quoting downstream, s11 is "the gang leader" */
|
| /linux-6.15/Documentation/driver-api/usb/ |
| H A D | power-management.rst | 577 a shared power well causing power to remain until all ports in the gang
|