/linux-6.12.1/arch/powerpc/platforms/cell/spufs/ |
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() 23 kref_init(&gang->kref); in alloc_spu_gang() 24 mutex_init(&gang->mutex); in alloc_spu_gang() 25 mutex_init(&gang->aff_mutex); in alloc_spu_gang() 26 INIT_LIST_HEAD(&gang->list); in alloc_spu_gang() 27 INIT_LIST_HEAD(&gang->aff_list_head); in alloc_spu_gang() 30 return gang; in alloc_spu_gang() 35 struct spu_gang *gang; in destroy_spu_gang() local [all …]
|
D | sched.c | 254 static void aff_merge_remaining_ctxs(struct spu_gang *gang) in aff_merge_remaining_ctxs() argument 258 list_for_each_entry(ctx, &gang->aff_list_head, aff_list) { in aff_merge_remaining_ctxs() 260 list_add(&ctx->aff_list, &gang->aff_list_head); in aff_merge_remaining_ctxs() 262 gang->aff_flags |= AFF_MERGED; in aff_merge_remaining_ctxs() 265 static void aff_set_offsets(struct spu_gang *gang) in aff_set_offsets() argument 271 list_for_each_entry_reverse(ctx, &gang->aff_ref_ctx->aff_list, in aff_set_offsets() 273 if (&ctx->aff_list == &gang->aff_list_head) in aff_set_offsets() 279 list_for_each_entry(ctx, gang->aff_ref_ctx->aff_list.prev, aff_list) { in aff_set_offsets() 280 if (&ctx->aff_list == &gang->aff_list_head) in aff_set_offsets() 285 gang->aff_flags |= AFF_OFFSETS_SET; in aff_set_offsets() [all …]
|
D | inode.c | 242 ctx = alloc_spu_context(SPUFS_I(dir)->i_gang); /* XXX gang */ in spufs_mkdir() 300 spufs_assert_affinity(unsigned int flags, struct spu_gang *gang, in spufs_assert_affinity() argument 317 gang->aff_ref_ctx && in spufs_assert_affinity() 318 gang->aff_ref_ctx->flags & SPU_CREATE_AFFINITY_MEM) in spufs_assert_affinity() 321 if (gang->aff_flags & AFF_MERGED) in spufs_assert_affinity() 333 !list_is_last(&neighbor->aff_list, &gang->aff_list_head) && in spufs_assert_affinity() 340 if (gang != neighbor->gang) { in spufs_assert_affinity() 346 list_for_each_entry(tmp, &gang->aff_list_head, aff_list) in spufs_assert_affinity() 375 ctx->gang->aff_ref_ctx = ctx; in spufs_set_affinity() 380 &ctx->gang->aff_list_head); in spufs_set_affinity() [all …]
|
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()
|
D | spufs.h | 100 struct spu_gang *gang; member 243 /* gang management */ 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);
|
D | Makefile | 5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mes.c | 332 struct amdgpu_mes_gang *gang, *tmp1; in amdgpu_mes_destroy_process() local 352 list_for_each_entry_safe(gang, tmp1, &process->gang_list, list) { in amdgpu_mes_destroy_process() 353 list_for_each_entry_safe(queue, tmp2, &gang->queue_list, list) { in amdgpu_mes_destroy_process() 359 queue_input.gang_context_addr = gang->gang_ctx_gpu_addr; in amdgpu_mes_destroy_process() 367 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_destroy_process() 374 list_for_each_entry_safe(gang, tmp1, &process->gang_list, list) { in amdgpu_mes_destroy_process() 375 /* free all queues in the gang */ in amdgpu_mes_destroy_process() 376 list_for_each_entry_safe(queue, tmp2, &gang->queue_list, list) { in amdgpu_mes_destroy_process() 381 amdgpu_bo_free_kernel(&gang->gang_ctx_bo, in amdgpu_mes_destroy_process() 382 &gang->gang_ctx_gpu_addr, in amdgpu_mes_destroy_process() [all …]
|
D | amdgpu_ids.c | 293 /* Wait for the gang to be assembled before using a in amdgpu_vmid_grab_reserved() 294 * reserved VMID or otherwise the gang could deadlock. in amdgpu_vmid_grab_reserved() 304 /* Make sure the id is owned by the gang before proceeding */ in amdgpu_vmid_grab_reserved()
|
D | amdgpu_cs.c | 98 /* If not increase the gang size if possible */ in amdgpu_cs_job_idx() 1105 * We can't use gang submit on with reserved VMIDs when the VM changes in amdgpu_cs_vm_handling() 1337 /* Everybody except for the gang leader uses READ */ in amdgpu_cs_submit() 1347 /* The gang leader as remembered as writer */ in amdgpu_cs_submit()
|
/linux-6.12.1/arch/powerpc/sysdev/ |
D | fsl_rio.h | 17 * Liu Gang <Gang.Liu@freescale.com>
|
/linux-6.12.1/fs/btrfs/ |
D | disk-io.c | 1866 struct btrfs_root *gang[8]; in btrfs_free_fs_roots() local 1870 gang[0] = list_entry(fs_info->dead_roots.next, in btrfs_free_fs_roots() 1872 list_del(&gang[0]->root_list); in btrfs_free_fs_roots() 1874 if (test_bit(BTRFS_ROOT_IN_RADIX, &gang[0]->state)) in btrfs_free_fs_roots() 1875 btrfs_drop_and_free_fs_root(fs_info, gang[0]); in btrfs_free_fs_roots() 1876 btrfs_put_root(gang[0]); in btrfs_free_fs_roots() 1881 (void **)gang, 0, in btrfs_free_fs_roots() 1882 ARRAY_SIZE(gang)); in btrfs_free_fs_roots() 1886 btrfs_drop_and_free_fs_root(fs_info, gang[i]); in btrfs_free_fs_roots() 2927 struct btrfs_root *gang[8]; in btrfs_cleanup_fs_roots() local [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/include/ |
D | mes_v12_api_def.h | 55 MES_SCH_API_SET_GANG_PRIORITY_LEVEL = 5, /* For windows GANG = Context */ 440 /* false - suspend all gangs; true - specific gang */ 471 /* false - resume all gangs; true - specified gang */ 493 /* Only reset the queue given by doorbell_offset (not entire gang) */
|
D | mes_v11_api_def.h | 405 /* false - suspend all gangs; true - specific gang */ 425 /* false - resume all gangs; true - specified gang */ 444 /* Only reset the queue given by doorbell_offset (not entire gang) */
|
/linux-6.12.1/drivers/perf/ |
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.12.1/sound/pci/au88x0/ |
D | au88x0_eq.h | 35 s32 this28; /* flag related to EQ enabled or not. Gang flag ? */
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,rpm-master-stats.yaml | 14 of "RPM Masters". They can be thought of as "the local gang leaders", usually
|
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
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.12.1/include/uapi/linux/hdlc/ |
D | ioctl.h | 36 #define LMI_CISCO 4 /* The "original" LMI, aka Gang of Four */
|
/linux-6.12.1/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra20-dsi.yaml | 83 gang up with in order to support up to 8 data lanes
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_tuning.c | 115 { XE_RTP_NAME("Tuning: TDS gang timer"),
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | smp.c | 233 * gang scheduled on the same physical core, so doorbells are always in pSeries_smp_probe()
|
/linux-6.12.1/fs/ramfs/ |
D | file-nommu.c | 223 /* gang-find the pages */ in ramfs_nommu_get_unmapped_area()
|
/linux-6.12.1/drivers/staging/media/tegra-video/ |
D | vi.h | 168 * @numgangports: number of ports combined together as a gang for capture
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8992-xiaomi-libra.dts | 185 /* APC1 is 3-phase, but quoting downstream, s11 is "the gang leader" */
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs42l56.c | 407 SOC_SINGLE("Gang Playback Switch", CS42L56_PLAYBACK_CTL, 4, 1, 1), 408 SOC_SINGLE("Gang ADC Switch", CS42L56_MISC_ADC_CTL, 7, 1, 1), 409 SOC_SINGLE("Gang PGA Switch", CS42L56_MISC_ADC_CTL, 6, 1, 1),
|