Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/cell/spufs/
A Dgang.c17 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 Dsched.c262 gang->aff_flags |= AFF_MERGED; in aff_merge_remaining_ctxs()
360 gang->aff_ref_spu = aff_ref_location(gang->aff_ref_ctx, mem_aff, gs, in aff_set_ref_point_location()
396 struct spu_gang *gang = ctx->gang; in has_affinity() local
402 ctx->gang->aff_ref_spu = NULL; in has_affinity()
404 if (!gang->aff_ref_spu) { in has_affinity()
406 aff_merge_remaining_ctxs(gang); in has_affinity()
408 aff_set_offsets(gang); in has_affinity()
409 aff_set_ref_point_location(gang); in has_affinity()
412 return gang->aff_ref_spu != NULL; in has_affinity()
431 if (ctx->gang) in spu_unbind_context()
[all …]
A Dinode.c316 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 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()
A Dspufs.h100 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 DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux/drivers/perf/
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/fs/btrfs/
A Ddisk-io.c2213 btrfs_put_root(gang[0]); in btrfs_free_fs_roots()
2218 (void **)gang, 0, in btrfs_free_fs_roots()
4288 gang[i] = NULL; in btrfs_cleanup_fs_roots()
4292 gang[i] = btrfs_grab_root(gang[i]); in btrfs_cleanup_fs_roots()
4297 if (!gang[i]) in btrfs_cleanup_fs_roots()
4303 btrfs_put_root(gang[i]); in btrfs_cleanup_fs_roots()
4310 if (gang[i]) in btrfs_cleanup_fs_roots()
4311 btrfs_put_root(gang[i]); in btrfs_cleanup_fs_roots()
4591 gang[i] = btrfs_grab_root(gang[i]); in btrfs_drop_all_logs()
4595 if (!gang[i]) in btrfs_drop_all_logs()
[all …]
A Dtransaction.c1335 struct btrfs_root *gang[8]; in commit_fs_roots() local
1342 (void **)gang, 0, in commit_fs_roots()
1343 ARRAY_SIZE(gang), in commit_fs_roots()
1348 struct btrfs_root *root = gang[i]; in commit_fs_roots()
A Dextent_io.c7263 struct extent_buffer *gang[GANG_LOOKUP_SIZE]; in get_next_extent_buffer() local
7276 (void **)gang, cur >> fs_info->sectorsize_bits, in get_next_extent_buffer()
7283 if (gang[i]->start >= page_start + PAGE_SIZE) in get_next_extent_buffer()
7286 if (gang[i]->start >= bytenr) { in get_next_extent_buffer()
7287 found = gang[i]; in get_next_extent_buffer()
7291 cur = gang[ret - 1]->start + gang[ret - 1]->len; in get_next_extent_buffer()
/linux/Documentation/devicetree/bindings/regulator/
A Dqcom,spmi-regulator.txt290 Description: SAW controlled gang slave. Will not be configured.
295 Description: SAW controlled gang leader. Will be configured as
/linux/Documentation/devicetree/bindings/display/tegra/
A Dnvidia,tegra20-host1x.txt306 - nvidia,ganged-mode: contains a phandle to a second DSI controller to gang
/linux/Documentation/driver-api/usb/
A Dpower-management.rst577 a shared power well causing power to remain until all ports in the gang

Completed in 66 milliseconds