/linux-6.8/Documentation/netlink/specs/ |
D | netdev.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 9 - 11 name: xdp-act 12 render-max: true 14 - 19 - 23 - 24 name: ndo-xmit 27 - 28 name: xsk-zerocopy [all …]
|
/linux-6.8/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_kms.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 47 msm_writel(data, mdp4_kms->mmio + reg); in mdp4_write() 52 return msm_readl(mdp4_kms->mmio + reg); in mdp4_read() 103 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE0_MIXER1); in mixercfg() 109 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE1_MIXER1); in mixercfg() 115 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE2_MIXER1); in mixercfg() 121 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE3_MIXER1); in mixercfg() 127 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE4_MIXER1); in mixercfg() 133 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE5_MIXER1); in mixercfg() 139 COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE6_MIXER1); in mixercfg() [all …]
|
/linux-6.8/sound/soc/intel/catpt/ |
D | registers.h | 1 /* 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-6.8/include/linux/power/ |
D | smartreflex.h | 1 /* 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-6.8/include/linux/ |
D | regmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 54 #define REGMAP_UPSHIFT(s) (-(s)) 66 * struct reg_default - Default value for a register. 80 * struct reg_sequence - An individual write from a sequence of writes. 103 * regmap_read_poll_timeout - Poll until a condition is met or a timeout occurs 108 * @cond: Break condition (usually involving @val) 110 * tight-loops). Should be less than ~20ms since usleep_range 111 * is used (see Documentation/timers/timers-howto.rst). 114 * Returns 0 on success and -ETIMEDOUT upon a timeout or the regmap_read 121 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument [all …]
|
/linux-6.8/security/tomoyo/ |
D | common.c | 1 // 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 …]
|
D | audit.c | 1 // 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 …]
|
D | common.h | 1 /* 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-6.8/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2015 The Linux Foundation. All rights reserved. 32 struct msm_drm_private *priv = plane->dev->dev_private; in get_kms() 33 return to_mdp5_kms(to_mdp_kms(priv->kms)); in get_kms() 38 return state->visible; in plane_enabled() 68 if (plane->type == DRM_PLANE_TYPE_PRIMARY) in mdp5_plane_install_properties() 80 struct mdp5_kms *mdp5_kms = get_kms(state->plane); in mdp5_plane_atomic_print_state() 82 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state() 83 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state() 84 if (mdp5_kms->caps & MDP_CAP_SRC_SPLIT) in mdp5_plane_atomic_print_state() [all …]
|
/linux-6.8/drivers/block/ |
D | virtio_blk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/blk-mq.h> 16 #include <linux/blk-mq-virtio.h> 59 * virtblk_remove() sets vblk->vdev to NULL. 61 * blk-mq, virtqueue processing, and sysfs attribute code paths are 62 * shut down before vblk->vdev is set to NULL and therefore do not need 74 /* Process context for config space updates */ 77 /* Ida index - used to track minor number allocations. */ 134 struct virtio_blk *vblk = hctx->queue->queuedata; in get_virtio_blk_vq() 135 struct virtio_blk_vq *vq = &vblk->vqs[hctx->queue_num]; in get_virtio_blk_vq() [all …]
|
/linux-6.8/scripts/ |
D | Kbuild.include | 1 # 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-6.8/drivers/gpu/drm/vc4/ |
D | vc4_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 #include <kunit/test-bug.h> 95 /* The kernel-space BO cache. Tracks buffers that have been 254 * vc4_exec_info->unref_list or vc4_dev->bo_cache.time_list 258 /* Time in jiffies when the BO was put in vc4->bo_cache. */ 261 /* List entry for the BO's position in vc4_dev->bo_cache.size_list */ 270 * for user-allocated labels. 337 * config.txt file to be able to do so and thus won't always be 424 /* Set when the plane has per-pixel alpha content or does not cover 486 if (vc4_encoder->type == type) in vc4_find_encoder_by_type() [all …]
|
/linux-6.8/include/soc/tegra/ |
D | bpmp-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. 66 * A well-defined subset of the MRQ messages that the CPU sends to the 130 * -BPMP_EBADMSG and ignore the request. 144 …* | -------------------- | ------------------------------------ | --------------------------------… 223 * calculated by BPMP, -BPMP_EBADMSG will be returned and the request will 345 /** @cond DEPRECATED */ 402 * @defgroup CC3 Auto-CC3 457 * mrq_ping_request challenge left shifted by 1 with the carry-bit 548 * The BPMP firmware implements a pseudo-filesystem called [all …]
|
/linux-6.8/include/sound/ |
D | pcm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Abramo Bagnara <abramo@alsa-project.org> 21 #define snd_pcm_substream_chip(substream) ((substream)->private_data) 22 #define snd_pcm_chip(pcm) ((pcm)->private_data) 86 #define SNDRV_PCM_DEVICES (SNDRV_OS_MINORS-2) 105 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1) 125 #define SNDRV_PCM_RATE_KNOT (1U<<31) /* supports more non-continuos rates */ 150 // available bit count in most significant bit. It's for the case of so-called 'left-justified' or 151 // `right-padding` sample which has less width than 32 bit. 238 unsigned int cond; member [all …]
|
/linux-6.8/drivers/dma/ |
D | pl330.c | 1 // 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-6.8/sound/core/ |
D | pcm_lib.c | 1 // 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_filled -= delta; in update_silence_vars() 51 runtime->silence_filled = 0; in update_silence_vars() 52 runtime->silence_start = new_ptr; in update_silence_vars() 57 * runtime->silence_start: starting pointer to silence area 58 * runtime->silence_filled: size filled with silence [all …]
|
/linux-6.8/tools/tracing/latency/ |
D | latency-collector.c | 1 // 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-6.8/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
D | pipe_binarydesc.c | 1 // SPDX-License-Identifier: GPL-2.0 51 descr->mode = mode; in pipe_binarydesc_get_offline() 52 descr->online = false; in pipe_binarydesc_get_offline() 53 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline() 54 descr->striped = false; in pipe_binarydesc_get_offline() 55 descr->two_ppc = false; in pipe_binarydesc_get_offline() 56 descr->enable_yuv_ds = false; in pipe_binarydesc_get_offline() 57 descr->enable_high_speed = false; in pipe_binarydesc_get_offline() 58 descr->enable_dvs_6axis = false; in pipe_binarydesc_get_offline() 59 descr->enable_reduced_pipe = false; in pipe_binarydesc_get_offline() [all …]
|
/linux-6.8/drivers/net/fddi/skfp/ |
D | smt.c | 1 // 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-6.8/drivers/net/wireless/realtek/rtw89/ |
D | fw.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 33 struct rtw89_wait_info *wait, unsigned int cond); 40 u32 h2c_desc_size = rtwdev->chip->h2c_desc_size; in rtw89_fw_h2c_alloc_skb() 49 memset(skb->data, 0, len); in rtw89_fw_h2c_alloc_skb() 66 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_fw_check_rdy() 70 ret = read_poll_timeout_atomic(mac->fwdl_get_status, val, in rtw89_fw_check_rdy() 77 return -EINVAL; in rtw89_fw_check_rdy() 81 return -EINVAL; in rtw89_fw_check_rdy() 85 return -EINVAL; in rtw89_fw_check_rdy() [all …]
|
D | chan.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2020-2022 Realtek Corporation 78 offset = (primary_freq - center_freq - 10) / 20; in rtw89_get_primary_chan_idx() 81 offset = (center_freq - primary_freq - 10) / 20; in rtw89_get_primary_chan_idx() 100 return (prisb_cal_ofst[bw] + pri_ch - central_ch) / 4; in rtw89_get_primary_sb_idx() 110 chan->channel = center_chan; in rtw89_chan_create() 111 chan->primary_channel = primary_chan; in rtw89_chan_create() 112 chan->band_type = band; in rtw89_chan_create() 113 chan->band_width = bandwidth; in rtw89_chan_create() 118 chan->freq = center_freq; in rtw89_chan_create() [all …]
|
/linux-6.8/Documentation/netlink/ |
D | genetlink.yaml | 1 # 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 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. 19 pattern: ^[su](8|16|32|64)-(min|max)$ 26 required: [ name, doc, attribute-sets, operations ] [all …]
|
D | genetlink-c.yaml | 1 # 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 or limit based on fixed-width type e.g. u8-min, u16-max, etc. 19 pattern: ^[su](8|16|32|64)-(min|max)$ 26 required: [ name, doc, attribute-sets, operations ] [all …]
|
/linux-6.8/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "trace-event.h" 55 bit_name(COND), bit_name(CALL_STACK), bit_name(IND_JUMP), in __p_branch_sample_type() 250 #define p_config_id(val) __p_config_id(buf, BUF_SIZE, attr->type, val) 254 if (_a || attr->_f) { \ 255 _p(attr->_f); \ 270 PRINT_ATTRn("config", config, p_config_id, true); in perf_event_attr__fprintf()
|
/linux-6.8/arch/arm/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 2 config ARM 152 The ARM series is a line of low-power-consumption RISC chip designs 154 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer 155 manufactured, but legacy ARM-based PC hardware remains popular in 159 config ARM_HAS_GROUP_RELOCS 166 supported in LLD until version 14. The combined range is -/+ 256 MiB, 170 config ARM_DMA_USE_IOMMU 176 config ARM_DMA_IOMMU_ALIGNMENT 195 config SYS_SUPPORTS_APM_EMULATION [all …]
|