/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_fourcc.c | 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 285 { .format = DRM_FORMAT_P210, .depth = 0, in __drm_format_info() 298 { .format = DRM_FORMAT_NV15, .depth = 0, in __drm_format_info() [all …]
|
/linux-6.3-rc2/lib/ |
A D | sbitmap.c | 14 unsigned depth = sb->depth; in init_alloc_hint() local 36 hint = depth ? get_random_u32_below(depth) : 0; in update_alloc_hint_before_get() 97 sb->depth = depth; in sbitmap_init_node() 101 if (depth == 0) { in sbitmap_init_node() 131 sb->depth = depth; in sbitmap_resize() 202 depth), in sbitmap_find_bit() 247 depth = READ_ONCE(sb->depth); in sbitmap_get() 276 depth = READ_ONCE(sb->depth); in sbitmap_get_shallow() 407 depth = ((depth >> sbq->sb.shift) * shallow_depth + in sbq_calc_wake_batch() 460 unsigned int depth = (sbq->sb.depth + users - 1) / users; in sbitmap_queue_recalculate_wake_batch() local [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A 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.3-rc2/fs/ext4/ |
A D | extents.c | 111 int depth, i; in ext4_ext_drop_refs() local 898 if (depth < 0 || depth > EXT4_MAX_EXTENT_DEPTH) { in ext4_find_extent() 923 i = depth; in ext4_find_extent() 1644 int depth; in ext4_ext_next_allocated_block() local 1664 depth--; in ext4_ext_next_allocated_block() 1676 int depth; in ext4_ext_next_leaf_block() local 1686 depth--; in ext4_ext_next_leaf_block() 1693 depth--; in ext4_ext_next_leaf_block() 2308 depth--; in ext4_ext_rm_idx() 5108 depth--; in ext4_ext_shift_path_extents() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/net/can/ |
A D | xilinx,can.yaml | 37 tx-fifo-depth: 41 rx-fifo-depth: 74 - tx-fifo-depth 75 - rx-fifo-depth 91 - tx-fifo-depth 92 - rx-fifo-depth 110 - rx-fifo-depth 123 tx-fifo-depth = <0x40>; 124 rx-fifo-depth = <0x40>; 135 tx-fifo-depth = <0x40>; [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | sbitmap.h | 51 unsigned int depth; member 172 return sb->depth - (index << sb->shift); in __map_depth() 255 if (start >= sb->depth) in __sbitmap_for_each_set() 260 while (scanned < sb->depth) { in __sbitmap_for_each_set() 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() 278 nr = find_next_bit(&word, depth, nr); in __sbitmap_for_each_set() 279 if (nr >= depth) in __sbitmap_for_each_set() 363 if (depth >= 4) { in sbitmap_calculate_shift() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | commonring.c | 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() 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() 201 commonring->w_ptr = commonring->depth - n_items; in brcmf_commonring_write_cancel() 215 (commonring->depth - commonring->r_ptr); in brcmf_commonring_get_read_ptr() [all …]
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | max1027.c | 107 .realbits = depth, \ 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), \ 138 MAX1027_V_CHAN(7, depth) 141 MAX1X27_CHANNELS(depth), \ 145 MAX1027_V_CHAN(11, depth) 148 MAX1X29_CHANNELS(depth), \ [all …]
|
/linux-6.3-rc2/drivers/media/platform/ti/vpe/ |
A 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, 827 int depth = fmt->depth; in vpdma_rawchan_add_out_dtd() local [all …]
|
/linux-6.3-rc2/arch/s390/kernel/ |
A 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.3-rc2/scripts/dtc/libfdt/ |
A D | fdt.c | 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() 308 if (offset < 0 || depth < 1) in fdt_next_subnode() [all …]
|
/linux-6.3-rc2/fs/reiserfs/ |
A 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()
|
A 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.3-rc2/kernel/trace/ |
A D | trace_functions_graph.c | 24 int depth; member 195 .depth = 0, in __trace_graph_function() 199 .depth = 0, in __trace_graph_function() 651 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf() 689 cpu_data->depth = call->depth; in print_graph_entry_nested() 925 cpu_data->depth = trace->depth - 1; in print_graph_return() 975 int depth = 0; in print_graph_comment() local 980 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment() 988 if (depth > 0) in print_graph_comment() 1220 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local [all …]
|
/linux-6.3-rc2/sound/isa/gus/ |
A 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.3-rc2/drivers/media/platform/mediatek/mdp3/ |
A D | mtk-mdp3-regs.c | 22 .depth = { 8 }, 29 .depth = { 16 }, 36 .depth = { 16 }, 43 .depth = { 24 }, 50 .depth = { 24 }, 57 .depth = { 32 }, 64 .depth = { 32 }, 71 .depth = { 16 }, 79 .depth = { 16 }, 87 .depth = { 16 }, [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A 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.3-rc2/kernel/locking/ |
A D | lockdep.c | 783 if (!depth) in lockdep_print_held_locks() 1546 depth++; in get_lock_depth() 2028 int depth; in print_circular_bug() local 2412 int depth; in print_shortest_lock_dependencies() local 2429 depth--; in print_shortest_lock_dependencies() 2484 depth--; in print_shortest_lock_dependencies_backwards() 3231 depth--; in check_prevs_add() 4025 depth--; in print_irq_inversion_bug() 4744 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context() 4749 depth++; in check_wait_context() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/erdma/ |
A D | erdma_cmdq.c | 97 buf_size = sq->depth << SQEBB_SHIFT; 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() 235 (cmdq->eq.depth << EQE_SHIFT) + in erdma_cmdq_init() 241 (cmdq->cq.depth << CQE_SHIFT) + in erdma_cmdq_init() 247 (cmdq->sq.depth << SQEBB_SHIFT) + in erdma_cmdq_init() 268 (cmdq->eq.depth << EQE_SHIFT) + in erdma_cmdq_destroy() 276 (cmdq->cq.depth << CQE_SHIFT) + in erdma_cmdq_destroy() [all …]
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | stacktrace.c | 26 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument 38 if (!depth--) in xtensa_backtrace_user() 69 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user() 90 if (!depth) in xtensa_backtrace_user() 95 while (a0 != 0 && depth--) { in xtensa_backtrace_user() 115 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument 135 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel() 149 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
|
/linux-6.3-rc2/fs/quota/ |
A D | quota_tree.c | 30 depth = info->dqi_qtree_depth - depth - 1; in __get_index() 31 while (depth--) in __get_index() 40 return __get_index(info, id, depth); in get_index() 330 uint *treeblk, int depth) in do_insert_tree() argument 362 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree() 368 dquot->dq_id, depth)])); in do_insert_tree() 514 uint *blk, int depth) in remove_tree() argument 535 if (depth == info->dqi_qtree_depth - 1) { in remove_tree() 639 if (depth < info->dqi_qtree_depth - 1) in find_tree_dqentry() 729 unsigned int blk, int depth) in find_next_id() argument [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A 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.3-rc2/drivers/infiniband/hw/efa/ |
A D | efa_com.c | 217 aenq->depth = EFA_ASYNC_QUEUE_DEPTH; in efa_com_admin_init_aenq() 312 queue_size_mask = aq->depth - 1; in __efa_com_submit_admin_cmd() 370 for (i = 0; i < aq->depth; i++) { in efa_com_init_comp_ctxt() 441 queue_size_mask = aq->depth - 1; in efa_com_handle_admin_completion() 460 if (ci == aq->depth) { in efa_com_handle_admin_completion() 865 if (ci == aenq->depth) { in efa_com_aenq_intr_handler() 1105 cmd.depth = params->depth; in efa_com_create_eq() 1168 ci = eeq->cc & (eeq->depth - 1); in efa_com_eq_comp_intr_handler() 1186 if (ci == eeq->depth) { in efa_com_eq_comp_intr_handler() 1217 params.depth = depth; in efa_com_eq_init() [all …]
|
/linux-6.3-rc2/arch/sh/kernel/ |
A 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.3-rc2/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_rcfw.h | 73 #define BNXT_QPLIB_CMDQE_BYTES(depth) ((depth) * BNXT_QPLIB_CMDQE_UNITS) argument 75 static inline u32 bnxt_qplib_cmdqe_npages(u32 depth) in bnxt_qplib_cmdqe_npages() argument 79 npages = BNXT_QPLIB_CMDQE_BYTES(depth) / PAGE_SIZE; in bnxt_qplib_cmdqe_npages() 80 if (BNXT_QPLIB_CMDQE_BYTES(depth) % PAGE_SIZE) in bnxt_qplib_cmdqe_npages() 85 static inline u32 bnxt_qplib_cmdqe_page_size(u32 depth) in bnxt_qplib_cmdqe_page_size() argument 87 return (bnxt_qplib_cmdqe_npages(depth) * PAGE_SIZE); in bnxt_qplib_cmdqe_page_size()
|