/linux-6.6.21/drivers/gpu/drm/ |
D | drm_fourcc.c | 41 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 47 if (depth == 1) in drm_mode_legacy_fb_format() 52 if (depth == 2) in drm_mode_legacy_fb_format() 57 if (depth == 4) in drm_mode_legacy_fb_format() 62 if (depth == 8) in drm_mode_legacy_fb_format() 67 switch (depth) { in drm_mode_legacy_fb_format() 80 if (depth == 24) in drm_mode_legacy_fb_format() 85 switch (depth) { in drm_mode_legacy_fb_format() 120 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument 122 uint32_t fmt = drm_mode_legacy_fb_format(bpp, depth); in drm_driver_legacy_fb_format() [all …]
|
/linux-6.6.21/lib/ |
D | sbitmap.c | 14 unsigned depth = sb->depth; in init_alloc_hint() local 20 if (depth && !sb->round_robin) { in init_alloc_hint() 24 *per_cpu_ptr(sb->alloc_hint, i) = get_random_u32_below(depth); in init_alloc_hint() 30 unsigned int depth) in update_alloc_hint_before_get() argument 35 if (unlikely(hint >= depth)) { in update_alloc_hint_before_get() 36 hint = depth ? get_random_u32_below(depth) : 0; in update_alloc_hint_before_get() 44 unsigned int depth, in update_alloc_hint_after_get() argument 54 if (hint >= depth - 1) in update_alloc_hint_after_get() 83 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument 90 shift = sbitmap_calculate_shift(depth); in sbitmap_init_node() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp3/ |
D | mdp_cfg_data.c | 168 .depth = { 8 }, 175 .depth = { 16 }, 182 .depth = { 16 }, 189 .depth = { 24 }, 196 .depth = { 24 }, 203 .depth = { 32 }, 210 .depth = { 32 }, 217 .depth = { 16 }, 225 .depth = { 16 }, 233 .depth = { 16 }, [all …]
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-tracepoints.c | 50 unsigned int *depth; in __trace_opal_entry() local 54 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry() 56 if (*depth) in __trace_opal_entry() 59 (*depth)++; in __trace_opal_entry() 62 (*depth)--; in __trace_opal_entry() 71 unsigned int *depth; in __trace_opal_exit() local 75 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit() 77 if (*depth) in __trace_opal_exit() 80 (*depth)++; in __trace_opal_exit() 83 (*depth)--; in __trace_opal_exit()
|
/linux-6.6.21/fs/ext4/ |
D | extents.c | 111 int depth, i; in ext4_ext_drop_refs() local 115 depth = path->p_depth; in ext4_ext_drop_refs() 116 for (i = 0; i <= depth; i++, path++) { in ext4_ext_drop_refs() 215 int depth = path->p_depth; in ext4_ext_find_goal() local 235 ex = path[depth].p_ext; in ext4_ext_find_goal() 248 if (path[depth].p_bh) in ext4_ext_find_goal() 249 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal() 344 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument 348 if (depth == ext_depth(inode)) { in ext4_ext_max_entries() 349 if (depth == 0) in ext4_ext_max_entries() [all …]
|
/linux-6.6.21/include/linux/ |
D | sbitmap.h | 51 unsigned int depth; member 165 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 172 return sb->depth - (index << sb->shift); in __map_depth() 195 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 255 if (start >= sb->depth) in __sbitmap_for_each_set() 260 while (scanned < sb->depth) { in __sbitmap_for_each_set() 262 unsigned int depth = min_t(unsigned int, in __sbitmap_for_each_set() local 264 sb->depth - scanned); in __sbitmap_for_each_set() 266 scanned += depth; in __sbitmap_for_each_set() 276 depth += nr; in __sbitmap_for_each_set() [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/net/can/ |
D | xilinx,can.yaml | 37 tx-fifo-depth: 39 description: CAN Tx fifo depth (Zynq, Axi CAN). 41 rx-fifo-depth: 43 description: CAN Rx fifo depth (Zynq, Axi CAN, CAN FD in sequential Rx mode) 77 - tx-fifo-depth 78 - rx-fifo-depth 94 - tx-fifo-depth 95 - rx-fifo-depth 113 - rx-fifo-depth 126 tx-fifo-depth = <0x40>; [all …]
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | commonring.c | 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 34 commonring->depth = depth; in brcmf_commonring_config() 75 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available() 83 if (available > commonring->depth / 8) { in brcmf_commonring_write_available() 116 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write() 125 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write() 152 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple() 161 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple() 162 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple() 164 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple() [all …]
|
/linux-6.6.21/drivers/iio/adc/ |
D | max1027.c | 97 #define MAX1027_V_CHAN(index, depth) \ argument 107 .realbits = depth, \ 109 .shift = (depth == 10) ? 2 : 0, \ 129 #define MAX1X27_CHANNELS(depth) \ argument 131 MAX1027_V_CHAN(0, depth), \ 132 MAX1027_V_CHAN(1, depth), \ 133 MAX1027_V_CHAN(2, depth), \ 134 MAX1027_V_CHAN(3, depth), \ 135 MAX1027_V_CHAN(4, depth), \ 136 MAX1027_V_CHAN(5, depth), \ [all …]
|
/linux-6.6.21/drivers/media/platform/ti/vpe/ |
D | vpdma.c | 32 .depth = 8, 37 .depth = 8, 42 .depth = 8, 47 .depth = 8, 52 .depth = 8, 57 .depth = 4, 62 .depth = 4, 67 .depth = 16, 72 .depth = 24, 77 .depth = 16, [all …]
|
/linux-6.6.21/arch/s390/kernel/ |
D | trace.c | 20 unsigned int *depth; in trace_s390_diagnose_norecursion() local 26 depth = this_cpu_ptr(&diagnose_trace_depth); in trace_s390_diagnose_norecursion() 27 if (*depth == 0) { in trace_s390_diagnose_norecursion() 28 (*depth)++; in trace_s390_diagnose_norecursion() 30 (*depth)--; in trace_s390_diagnose_norecursion()
|
/linux-6.6.21/scripts/dtc/libfdt/ |
D | fdt.c | 247 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 266 if (depth) in fdt_next_node() 267 (*depth)++; in fdt_next_node() 271 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 277 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 289 int depth = 0; in fdt_first_subnode() local 291 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 292 if (offset < 0 || depth != 1) in fdt_first_subnode() 300 int depth = 1; in fdt_next_subnode() local 307 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() [all …]
|
/linux-6.6.21/fs/reiserfs/ |
D | lock.c | 55 int depth; in reiserfs_write_unlock_nested() local 61 depth = sb_i->lock_depth; in reiserfs_write_unlock_nested() 67 return depth; in reiserfs_write_unlock_nested() 70 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested() argument 75 if (depth == -1) in reiserfs_write_lock_nested() 80 sb_i->lock_depth = depth; in reiserfs_write_lock_nested()
|
D | resize.c | 37 int depth; in reiserfs_resize() local 47 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize() 49 reiserfs_write_lock_nested(s, depth); in reiserfs_resize() 143 int depth; in reiserfs_resize() local 148 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize() 150 reiserfs_write_lock_nested(s, depth); in reiserfs_resize() 161 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize() 163 reiserfs_write_lock_nested(s, depth); in reiserfs_resize()
|
/linux-6.6.21/sound/isa/gus/ |
D | gus_volume.c | 123 long depth; 139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14; 140 if (depth) 141 depth++; 142 if (depth > 255) 143 depth = 255; 144 return cents < 0 ? -(short) depth : (short) depth;
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_cmdq.c | 95 sq->depth = cmdq->max_outstandings * sq->wqebb_cnt; in erdma_cmdq_sq_init() 97 buf_size = sq->depth << SQEBB_SHIFT; in erdma_cmdq_sq_init() 113 erdma_reg_write32(dev, ERDMA_REGS_CMDQ_DEPTH_REG, sq->depth); in erdma_cmdq_sq_init() 126 cq->depth = cmdq->sq.depth; in erdma_cmdq_cq_init() 127 buf_size = cq->depth << CQE_SHIFT; in erdma_cmdq_cq_init() 157 eq->depth = cmdq->max_outstandings; in erdma_cmdq_eq_init() 158 buf_size = eq->depth << EQE_SHIFT; in erdma_cmdq_eq_init() 176 erdma_reg_write32(dev, ERDMA_REGS_CMDQ_EQ_DEPTH_REG, eq->depth); in erdma_cmdq_eq_init() 215 (cmdq->cq.depth << CQE_SHIFT) + in erdma_cmdq_init() 221 (cmdq->sq.depth << SQEBB_SHIFT) + in erdma_cmdq_init() [all …]
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_mutex.c | 17 u16 depth; member 151 mutex->depth = 0; in nfp_cpp_mutex_alloc() 199 mutex->depth, in nfp_cpp_mutex_lock() 228 if (mutex->depth > 1) { in nfp_cpp_mutex_unlock() 229 mutex->depth--; in nfp_cpp_mutex_unlock() 252 mutex->depth = 0; in nfp_cpp_mutex_unlock() 271 if (mutex->depth > 0) { in nfp_cpp_mutex_trylock() 272 if (mutex->depth == NFP_MUTEX_DEPTH_MAX) in nfp_cpp_mutex_trylock() 274 mutex->depth++; in nfp_cpp_mutex_trylock() 323 mutex->depth = 1; in nfp_cpp_mutex_trylock()
|
/linux-6.6.21/kernel/trace/ |
D | trace_functions_graph.c | 24 int depth; member 201 .depth = 0, in __trace_graph_function() 205 .depth = 0, in __trace_graph_function() 707 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf() 710 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf() 711 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_leaf() 712 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf() 719 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_leaf() 753 cpu_data->depth = call->depth; in print_graph_entry_nested() 756 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_nested() [all …]
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | stacktrace.c | 27 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument 39 if (!depth--) in xtensa_backtrace_user() 70 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user() 91 if (!depth) in xtensa_backtrace_user() 96 while (a0 != 0 && depth--) { in xtensa_backtrace_user() 116 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument 136 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel() 150 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
|
/linux-6.6.21/fs/quota/ |
D | quota_tree.c | 26 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument 30 depth = info->dqi_qtree_depth - depth - 1; in __get_index() 31 while (depth--) in __get_index() 36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument 40 return __get_index(info, id, depth); in get_index() 330 uint *treeblk, int depth) in do_insert_tree() argument 355 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree() 362 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree() 368 dquot->dq_id, depth)])); in do_insert_tree() 375 ret = do_insert_tree(info, dquot, &newblk, depth+1); in do_insert_tree() [all …]
|
/linux-6.6.21/kernel/locking/ |
D | lockdep.c | 783 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks() local 785 if (!depth) in lockdep_print_held_locks() 788 printk("%d lock%s held by %s/%d:\n", depth, in lockdep_print_held_locks() 789 depth > 1 ? "s" : "", p->comm, task_pid_nr(p)); in lockdep_print_held_locks() 796 for (i = 0; i < depth; i++) { in lockdep_print_held_locks() 1045 for (i = chain->base; i < chain->base + chain->depth; i++) in check_lock_chain_key() 1535 int depth = 0; in get_lock_depth() local 1540 depth++; in get_lock_depth() 1542 return depth; in get_lock_depth() 1860 print_circular_bug_entry(struct lock_list *target, int depth) in print_circular_bug_entry() argument [all …]
|
/linux-6.6.21/include/trace/events/ |
D | kyber.h | 50 TP_PROTO(dev_t dev, const char *domain, unsigned int depth), 52 TP_ARGS(dev, domain, depth), 57 __field( unsigned int, depth ) 63 __entry->depth = depth; 68 __entry->depth)
|
/linux-6.6.21/drivers/infiniband/hw/efa/ |
D | efa_com.c | 128 u16 size = aq->depth * sizeof(*sq->entries); in efa_com_admin_init_sq() 152 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth); in efa_com_admin_init_sq() 165 u16 size = aq->depth * sizeof(*cq->entries); in efa_com_admin_init_cq() 186 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_DEPTH, aq->depth); in efa_com_admin_init_cq() 217 aenq->depth = EFA_ASYNC_QUEUE_DEPTH; in efa_com_admin_init_aenq() 227 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_DEPTH, aenq->depth); in efa_com_admin_init_aenq() 270 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_put_comp_ctx() 280 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_get_comp_ctx() 312 queue_size_mask = aq->depth - 1; in __efa_com_submit_admin_cmd() 357 size_t pool_size = aq->depth * sizeof(*aq->comp_ctx_pool); in efa_com_init_comp_ctxt() [all …]
|
/linux-6.6.21/arch/sh/kernel/ |
D | return_address.c | 14 void *return_address(unsigned int depth) in return_address() argument 20 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address() 39 WARN_ON(i != depth + 1); in return_address() 49 void *return_address(unsigned int depth) in return_address() argument
|
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-video.c | 48 .depth = { 16 }, 57 .depth = { 32 }, 66 .depth = { 8, 16 }, 77 .depth = { 8, 16 }, 88 .depth = { 8, 16 }, 99 .depth = { 8, 16 }, 110 .depth = { 8, 8, 8 }, 125 .depth = { 16 }, 136 .depth = { 24 }, 147 .depth = { 24 }, [all …]
|