Home
last modified time | relevance | path

Searched +full:config +full:- +full:cond (Results 1 – 25 of 50) sorted by relevance

12

/linux/sound/soc/intel/catpt/
H A Dregisters.h1 /* SPDX-License-Identifier: GPL-2.0-only */
133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask))
134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
141 ((cdev)->lpe_ba + (cdev)->spec->host_shim_offset)
143 ((cdev)->lpe_ba + (cdev)->spec->host_dma_offset[dma])
145 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp])
147 ((cdev)->lpe_ba + (cdev)->ipc.config.inbox_offset)
149 ((cdev)->lpe_ba + (cdev)->ipc.config.outbox_offset)
162 #define catpt_readl_poll_shim(cdev, reg, val, cond, delay_us, timeout_us) \ argument
164 val, cond, delay_us, timeout_us)
[all …]
/linux/include/linux/power/
H A Dsmartreflex.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 #include <linux/platform_data/voltage-omap.h>
177 * test_cond_timeout - busy-loop, testing a condition
178 * @cond: condition to test until it evaluates to true
182 * Loop waiting for @cond to become true or until at least @timeout
188 #define sr_test_cond_timeout(cond, timeout, index) \ argument
191 if (cond) \
198 * struct omap_sr_pmic_data - Strucutre to be populated by pmic code to pass
208 * struct omap_smartreflex_dev_attr - Smartreflex Device attribute.
227 * struct omap_sr_class_data - Smartreflex class driver info
[all …]
/linux/security/tomoyo/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
25 /* CONFIG::file group */
49 /* CONFIG::network group */
65 /* CONFIG::misc group */
67 /* CONFIG group */
173 /* Permit policy management by non-root user? */
179 * tomoyo_addprintf - strncat()-like-snprintf().
181 * @buffer: Buffer to write to. Must be '\0'-terminated.
194 vsnprintf(buffer + pos, len - pos - 1, fmt, args); in tomoyo_addprintf()
[all …]
H A Daudit.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
12 * tomoyo_print_bprm - Print "struct linux_binprm" for auditing.
30 unsigned long pos = bprm->p; in tomoyo_print_bprm()
32 int argv_count = bprm->argc; in tomoyo_print_bprm()
33 int envp_count = bprm->envc; in tomoyo_print_bprm()
38 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); in tomoyo_print_bprm()
48 pos += PAGE_SIZE - offset; in tomoyo_print_bprm()
51 const char *kaddr = dump->data; in tomoyo_print_bprm()
56 if (cp >= buffer + tomoyo_buffer_len - 32) { in tomoyo_print_bprm()
[all …]
H A Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Copyright (C) 2005-2011 NTT DATA CORPORATION
60 #define TOMOYO_GC_IN_PROGRESS -1
80 TOMOYO_EXEC_ARGC, /* "struct linux_binprm *"->argc */
81 TOMOYO_EXEC_ENVC, /* "struct linux_binprm *"->envc */
315 TOMOYO_MOUNT_BIND, /* mount --bind /source /dest */
316 TOMOYO_MOUNT_MOVE, /* mount --move /old /new */
317 TOMOYO_MOUNT_REMOUNT, /* mount -o remount /dir */
318 TOMOYO_MOUNT_MAKE_UNBINDABLE, /* mount --make-unbindable /dir */
319 TOMOYO_MOUNT_MAKE_PRIVATE, /* mount --make-private /dir */
[all …]
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2015 The Linux Foundation. All rights reserved.
29 struct msm_drm_private *priv = plane->dev->dev_private; in get_kms()
30 return to_mdp5_kms(to_mdp_kms(priv->kms)); in get_kms()
35 return state->visible; in plane_enabled()
56 if (plane->type == DRM_PLANE_TYPE_PRIMARY) in mdp5_plane_install_properties()
68 struct mdp5_kms *mdp5_kms = get_kms(state->plane); in mdp5_plane_atomic_print_state()
70 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
71 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state()
72 if (mdp5_kms->caps & MDP_CAP_SRC_SPLIT) in mdp5_plane_atomic_print_state()
[all …]
/linux/drivers/block/
H A Dvirtio_blk.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/blk-mq.h>
58 * virtblk_remove() sets vblk->vdev to NULL.
60 * blk-mq, virtqueue processing, and sysfs attribute code paths are
61 * shut down before vblk->vdev is set to NULL and therefore do not need
73 /* Process context for config space updates */
76 /* Ida index - used to track minor number allocations. */
133 struct virtio_blk *vblk = hctx->queue->queuedata; in get_virtio_blk_vq()
134 struct virtio_blk_vq *vq = &vblk->vqs[hctx->queue_num]; in get_virtio_blk_vq()
144 sg_init_one(&out_hdr, &vbr->out_hdr, sizeof(vbr->out_hdr)); in virtblk_add_req()
[all …]
/linux/scripts/
H A DKbuild.include1 # SPDX-License-Identifier: GPL-2.0
11 space_escape := _-_SPACE_-_
20 # Usage: $(call test-lt, $(CONFIG_LLD_VERSION), 150000)
25 test-ge = $(intcmp $(strip $1)0, $(strip $2)0,,y,y)
26 test-gt = $(intcmp $(strip $1)0, $(strip $2)0,,,y)
28 test-ge = $(shell test $(strip $1)0 -ge $(strip $2)0 && echo y)
29 test-gt = $(shell test $(strip $1)0 -gt $(strip $2)0 && echo y)
31 test-le = $(call test-ge, $2, $1)
32 test-lt = $(call test-gt, $2, $1)
36 dot-target = $(dir $@).$(notdir $@)
[all …]
/linux/drivers/md/dm-vdo/indexer/
H A Dindex-session.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #include "thread-utils.h"
14 #include "config.h"
20 * functions in the top-level UDS API.
69 struct cond_var cond; member
/linux/drivers/dma/
H A Dpl330.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <linux/dma-mapping.h>
46 CCTRL6, /* Cacheable write-through, allocate on writes only */
47 CCTRL7, /* Cacheable write-back, allocate on writes only */
245 * at 1byte/burst for P<->M and M<->M respectively.
247 * should be enough for P<->M and M<->M respectively.
382 /* Index of the last submitted request or -1 if the DMA is stopped */
423 /* DMA-Engine Channel */
449 /* For D-to-M and M-to-D channels */
453 /* DMA-mapped view of the FIFO; may differ if an IOMMU is present */
[all …]
/linux/sound/core/
H A Dpcm_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Abramo Bagnara <abramo@alsa-project.org>
43 delta = new_ptr - ptr; in update_silence_vars()
47 delta += runtime->boundary; in update_silence_vars()
48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled) in update_silence_vars()
49 runtime->silence_fille in update_silence_vars()
1165 snd_pcm_hw_rule_add(struct snd_pcm_runtime * runtime,unsigned int cond,int var,snd_pcm_hw_rule_func_t func,void * private,int dep,...) snd_pcm_hw_rule_add() argument
1317 snd_pcm_hw_constraint_list(struct snd_pcm_runtime * runtime,unsigned int cond,snd_pcm_hw_param_t var,const struct snd_pcm_hw_constraint_list * l) snd_pcm_hw_constraint_list() argument
1348 snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime * runtime,unsigned int cond,snd_pcm_hw_param_t var,const struct snd_pcm_hw_constraint_ranges * r) snd_pcm_hw_constraint_ranges() argument
1383 snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime * runtime,unsigned int cond,snd_pcm_hw_param_t var,const struct snd_pcm_hw_constraint_ratnums * r) snd_pcm_hw_constraint_ratnums() argument
1417 snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime * runtime,unsigned int cond,snd_pcm_hw_param_t var,const struct snd_pcm_hw_constraint_ratdens * r) snd_pcm_hw_constraint_ratdens() argument
1461 snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime * runtime,unsigned int cond,unsigned int width,unsigned int msbits) snd_pcm_hw_constraint_msbits() argument
1490 snd_pcm_hw_constraint_step(struct snd_pcm_runtime * runtime,unsigned int cond,snd_pcm_hw_param_t var,unsigned long step) snd_pcm_hw_constraint_step() argument
1521 snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime * runtime,unsigned int cond,snd_pcm_hw_param_t var) snd_pcm_hw_constraint_pow2() argument
[all...]
/linux/tools/tracing/latency/
H A Dlatency-collector.c1 // SPDX-License-Identifier: GPL-2.0
44 C(FUNC_TR, "function-trace"), \
45 C(DISP_GR, "display-graph"), \
193 pthread_cond_t cond; member
226 pthread_cond_t cond; member
271 count -= r; in write_or_die()
339 static __always_inline void cond_signal(pthread_cond_t *cond) in cond_signal() argument
341 errno = pthread_cond_signal(cond); in cond_signal()
346 static __always_inline void cond_wait(pthread_cond_t *restrict cond, in cond_wait() argument
349 errno = pthread_cond_wait(cond, mutex); in cond_wait()
[all …]
/linux/tools/perf/tests/
H A Dparse-events.c1 // SPDX-License-Identifier: GPL-2.0
2 #include "parse-events.h"
25 static bool check_evlist(const char *test, int line, bool cond, struct evlist *evlist) in check_evlist() argument
29 if (cond) in check_evlist()
37 #define TEST_ASSERT_EVLIST(test, cond, evlist) \ argument
38 if (!check_evlist(test, __LINE__, cond, evlist)) \
41 static bool check_evsel(const char *test, int line, bool cond, struct evsel *evsel) in check_evsel() argument
45 if (cond) in check_evsel()
52 TEST_ASSERT_EVSEL(test,cond,evsel) global() argument
[all...]
/linux/tools/perf/util/
H A Dperf_event_attr_fprintf.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "trace-event.h"
57 bit_name(COND), bit_name(CALL_STACK), bit_name(IND_JUMP), in __p_branch_sample_type()
89 return pmu ? pmu->name : "PERF_TYPE_RAW"; in stringify_perf_type_id()
91 return pmu ? pmu->name : NULL; in stringify_perf_type_id()
191 static void __p_config_hw_id(char *buf, size_t size, struct perf_pmu *pmu, u64 config) in __p_config_hw_id() argument
193 const char *name = stringify_perf_hw_id(config); in __p_config_hw_id()
197 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_id()
199 snprintf(buf, size, "%#"PRIx64" (%s/config=%#"PRIx64"/)", config, pmu->name, in __p_config_hw_id()
200 config); in __p_config_hw_id()
[all …]
/linux/drivers/net/fddi/skfp/
H A Dsmt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 #define m_fc(mb) ((mb)->sm_data[0])
111 return(*(short *)(&addr->a[0]) == in is_my_addr()
112 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[0]) in is_my_addr()
113 && *(short *)(&addr->a[2]) == in is_my_addr()
114 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[2]) in is_my_addr()
115 && *(short *)(&addr->a[4]) == in is_my_addr()
116 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[4])) ; in is_my_addr()
121 return *(u_short *)(&addr->a[0]) == 0xffff && in is_broadcast()
122 *(u_short *)(&addr->a[2]) == 0xffff && in is_broadcast()
[all …]
/linux/scripts/kconfig/
H A Dmenu.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
22 * menu_next - return the next menu entry with depth-first traversal
24 * @root: root of the sub-tree to traverse. If NULL is given, the traveral
30 if (menu->list) in menu_next()
31 return menu->list; in menu_next()
33 while (menu != root && !menu->next) in menu_next()
34 menu = menu->parent; in menu_next()
39 return menu->next; in menu_next()
46 fprintf(stderr, "%s:%d:warning: ", menu->filename, menu->lineno); in menu_warn()
[all …]
/linux/Documentation/netlink/
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
/linux/arch/arm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
2 config ARM
49 # https://github.com/llvm/llvm-project/commit/d130f402642fba3d065aacb506cb061c899558de
166 The ARM series is a line of low-power-consumption RISC chip designs
168 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
169 manufactured, but legacy ARM-based PC hardware remains popular in
173 config ARM_HAS_GROUP_RELOCS
177 relocations. The combined range is -/+ 256 MiB, which is usually
181 config ARM_DMA_USE_IOMMU
187 config ARM_DMA_IOMMU_ALIGNMENT
[all …]
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
60 /* Attempt to de-conflict with the selftests tree. */
337 return -1;
411 EXPECT_EQ(-1, ret); in TEST()
439 EXPECT_EQ(-1, ret);
478 prog.len -= 1;
520 TH_LOG("Allowed %d %d-ins in TEST()
2531 pthread_cond_t *cond; global() member
2560 pthread_cond_t cond; FIXTURE() local
[all...]
/linux/tools/perf/Documentation/
H A Dperf-record.txt1 perf-record(1)
5 ----
6 perf-record - Run a command and record its profile into perf.data
9 --------
11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf record' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>]
15 -----------
17 from it, into perf.data - without displaying anything.
23 -------
27 -e::
[all …]
/linux/drivers/scsi/
H A Dzorro_esp.c1 // SPDX-License-Identifier: GPL-2.0
3 * ESP front-end for Amiga ZORRO SCSI systems.
24 * Rewritten to use 53c700.c by Kars de Jong <jongk@linux-m68k.org>
32 #include <linux/dma-mapping.h>
55 /* per-board register layout definitions */
101 unsigned char cond_reg; /* DMA cond (ro) [0x402] */
114 unsigned char cond_reg; /* DMA cond (ro) [0x000] */
136 * The controller registers can be found in the Z2 config area at these
158 struct esp *esp; /* our ESP instance - for Scsi_host* */
167 * On Oktagon, it is one byte - use a different accessor there.
[all …]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_dpmaif.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2021-2022, Intel Corporation.
31 #define ioread32_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
32 readx_poll_timeout_atomic(ioread32, addr, val, cond, delay_us, timeout_us)
36 struct dpmaif_isr_en_mask *isr_en_msk = &hw_info->isr_en_mask; in t7xx_dpmaif_init_intr()
41 isr_en_msk->ap_ul_l2intr_en_msk = ul_intr_enable; in t7xx_dpmaif_init_intr()
42 iowrite32(DPMAIF_AP_ALL_L2TISAR0_MASK, hw_info->pcie_base + DPMAIF_AP_L2TISAR0); in t7xx_dpmaif_init_intr()
45 iowrite32(ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMCR0); in t7xx_dpmaif_init_intr()
46 iowrite32(~ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMSR0); in t7xx_dpmaif_init_intr()
49 ret = ioread32_poll_timeout_atomic(hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMR0, in t7xx_dpmaif_init_intr()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2014, 2025 Intel Corporation. All rights reserved.
9 #include "iwl-trans.h"
10 #include "iwl-modparams.h"
21 memset(&ctx->staging, 0, sizeof(ctx->staging)); in iwl_connection_init_rx_config()
23 if (!ctx->vif) { in iwl_connection_init_rx_config()
24 ctx->staging.dev_type = ctx->unused_devtype; in iwl_connection_init_rx_config()
26 switch (ctx->vif->type) { in iwl_connection_init_rx_config()
28 ctx->staging.dev_type = ctx->ap_devtype; in iwl_connection_init_rx_config()
32 ctx->staging.dev_type = ctx->station_devtype; in iwl_connection_init_rx_config()
[all …]

12