/Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | gang.c | 30 struct spu_gang *gang; in alloc_spu_gang() local 32 gang = kzalloc(sizeof *gang, GFP_KERNEL); in alloc_spu_gang() 33 if (!gang) in alloc_spu_gang() 36 kref_init(&gang->kref); in alloc_spu_gang() 37 mutex_init(&gang->mutex); in alloc_spu_gang() 38 mutex_init(&gang->aff_mutex); in alloc_spu_gang() 39 INIT_LIST_HEAD(&gang->list); in alloc_spu_gang() 40 INIT_LIST_HEAD(&gang->aff_list_head); in alloc_spu_gang() 43 return gang; in alloc_spu_gang() 48 struct spu_gang *gang; in destroy_spu_gang() local [all …]
|
D | sched.c | 271 static void aff_merge_remaining_ctxs(struct spu_gang *gang) in aff_merge_remaining_ctxs() argument 275 list_for_each_entry(ctx, &gang->aff_list_head, aff_list) { in aff_merge_remaining_ctxs() 277 list_add(&ctx->aff_list, &gang->aff_list_head); in aff_merge_remaining_ctxs() 279 gang->aff_flags |= AFF_MERGED; in aff_merge_remaining_ctxs() 282 static void aff_set_offsets(struct spu_gang *gang) in aff_set_offsets() argument 288 list_for_each_entry_reverse(ctx, &gang->aff_ref_ctx->aff_list, in aff_set_offsets() 290 if (&ctx->aff_list == &gang->aff_list_head) in aff_set_offsets() 296 list_for_each_entry(ctx, gang->aff_ref_ctx->aff_list.prev, aff_list) { in aff_set_offsets() 297 if (&ctx->aff_list == &gang->aff_list_head) in aff_set_offsets() 302 gang->aff_flags |= AFF_OFFSETS_SET; in aff_set_offsets() [all …]
|
D | inode.c | 320 spufs_assert_affinity(unsigned int flags, struct spu_gang *gang, in spufs_assert_affinity() argument 337 gang->aff_ref_ctx && in spufs_assert_affinity() 338 gang->aff_ref_ctx->flags & SPU_CREATE_AFFINITY_MEM) in spufs_assert_affinity() 341 if (gang->aff_flags & AFF_MERGED) in spufs_assert_affinity() 353 !list_is_last(&neighbor->aff_list, &gang->aff_list_head) && in spufs_assert_affinity() 360 if (gang != neighbor->gang) { in spufs_assert_affinity() 366 list_for_each_entry(tmp, &gang->aff_list_head, aff_list) in spufs_assert_affinity() 395 ctx->gang->aff_ref_ctx = ctx; in spufs_set_affinity() 400 &ctx->gang->aff_list_head); in spufs_set_affinity() 404 if (list_is_last(&neighbor->aff_list, &ctx->gang->aff_list_head) in spufs_set_affinity() [all …]
|
D | context.c | 38 struct spu_context *alloc_spu_context(struct spu_gang *gang) in alloc_spu_context() argument 65 if (gang) in alloc_spu_context() 66 spu_gang_add_ctx(gang, ctx); in alloc_spu_context() 91 if (ctx->gang) in destroy_spu_context() 92 spu_gang_remove_ctx(ctx->gang, ctx); in destroy_spu_context()
|
D | spufs.h | 113 struct spu_gang *gang; member 258 struct spu_gang *get_spu_gang(struct spu_gang *gang); 259 int put_spu_gang(struct spu_gang *gang); 260 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx); 261 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx); 282 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-v4.19/drivers/perf/ |
D | qcom_l3_pmu.c | 206 u32 gang; in qcom_l3_cache__64bit_counter_start() local 209 gang = readl_relaxed(l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_start() 210 gang |= GANG_EN(idx + 1); in qcom_l3_cache__64bit_counter_start() 211 writel_relaxed(gang, l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_start() 237 u32 gang = readl_relaxed(l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_stop() local 244 writel_relaxed(gang & ~GANG_EN(idx + 1), l3pmu->regs + L3_M_BC_GANG); in qcom_l3_cache__64bit_counter_stop()
|
/Linux-v4.19/fs/btrfs/ |
D | disk-io.c | 2074 struct btrfs_root *gang[8]; in btrfs_free_fs_roots() local 2078 gang[0] = list_entry(fs_info->dead_roots.next, in btrfs_free_fs_roots() 2080 list_del(&gang[0]->root_list); in btrfs_free_fs_roots() 2082 if (test_bit(BTRFS_ROOT_IN_RADIX, &gang[0]->state)) { in btrfs_free_fs_roots() 2083 btrfs_drop_and_free_fs_root(fs_info, gang[0]); in btrfs_free_fs_roots() 2085 free_extent_buffer(gang[0]->node); in btrfs_free_fs_roots() 2086 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots() 2087 btrfs_put_fs_root(gang[0]); in btrfs_free_fs_roots() 2093 (void **)gang, 0, in btrfs_free_fs_roots() 2094 ARRAY_SIZE(gang)); in btrfs_free_fs_roots() [all …]
|
D | transaction.c | 1226 struct btrfs_root *gang[8]; in commit_fs_roots() local 1234 (void **)gang, 0, in commit_fs_roots() 1235 ARRAY_SIZE(gang), in commit_fs_roots() 1240 struct btrfs_root *root = gang[i]; in commit_fs_roots()
|
/Linux-v4.19/Documentation/devicetree/bindings/regulator/ |
D | qcom,spmi-regulator.txt | 212 Description: SAW controlled gang slave. Will not be configured. 217 Description: SAW controlled gang leader. Will be configured as
|
/Linux-v4.19/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra20-host1x.txt | 198 - nvidia,ganged-mode: contains a phandle to a second DSI controller to gang
|
/Linux-v4.19/Documentation/driver-api/usb/ |
D | power-management.rst | 573 a shared power well causing power to remain until all ports in the gang
|