| /linux/drivers/gpu/drm/ | 
| H A D | drm_fourcc.c | 36  * @depth: bit depth per pixel38  * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
 40 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth)  in drm_mode_legacy_fb_format()  argument
 46 		if (depth == 1)  in drm_mode_legacy_fb_format()
 51 		if (depth == 2)  in drm_mode_legacy_fb_format()
 56 		if (depth == 4)  in drm_mode_legacy_fb_format()
 61 		if (depth == 8)  in drm_mode_legacy_fb_format()
 66 		switch (depth) {  in drm_mode_legacy_fb_format()
 79 		if (depth == 24)  in drm_mode_legacy_fb_format()
 84 		switch (depth) {  in drm_mode_legacy_fb_format()
 [all …]
 
 | 
| /linux/lib/ | 
| H A D | sbitmap.c | 14 	unsigned depth = sb->depth;  in init_alloc_hint()  local20 	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()
 64 		unsigned int depth, unsigned int alloc_hint, bool wrap)  in sbitmap_deferred_clear()  argument
 71 		if (depth == 0)  in sbitmap_deferred_clear()
 [all …]
 
 | 
| /linux/fs/quota/ | 
| H A D | quota_tree.c | 25  * Maximum quota tree depth we support. Only to limit recursion when working32 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth)  in __get_index()  argument
 36 	depth = info->dqi_qtree_depth - depth - 1;  in __get_index()
 37 	while (depth--)  in __get_index()
 42 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth)  in get_index()  argument
 46 	return __get_index(info, id, depth);  in get_index()
 336 			  uint *blks, int depth)  in do_insert_tree()  argument
 346 	if (!blks[depth]) {  in do_insert_tree()
 350 		for (i = 0; i < depth; i++)  in do_insert_tree()
 358 		blks[depth] = ret;  in do_insert_tree()
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/net/can/ | 
| H A 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)
 81         - tx-fifo-depth
 82         - rx-fifo-depth
 98         - tx-fifo-depth
 99         - rx-fifo-depth
 117         - rx-fifo-depth
 130         tx-fifo-depth = <0x40>;
 [all …]
 
 | 
| /linux/Documentation/userspace-api/media/v4l/ | 
| H A D | pixfmt-inzi.rst | 9 Infrared 10-bit linked with Depth 16-bit images15 Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of
 16 Infrared image followed by Depth data. The pixel definition is 32-bpp,
 17 with the Depth and Infrared Data split into separate continuous planes of
 29 The second plane provides 16-bit per-pixel Depth data arranged in
 64     * - Depth\ :sub:`0,0`
 65       - Depth\ :sub:`0,1`
 66       - Depth\ :sub:`0,2`
 71     * - :cspan:`5` Depth Data
 76       - Depth\ :sub:`n-1,n-3`
 [all …]
 
 | 
| /linux/arch/powerpc/platforms/powernv/ | 
| H A D | opal-tracepoints.c | 50 	unsigned int *depth;  in __trace_opal_entry()  local54 	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/fs/minix/ | 
| H A D | itree_common.c | 31 					int depth,  in get_branch()  argument33 					Indirect chain[DEPTH],  in get_branch()  argument
 45 	while (--depth) {  in get_branch()
 116 				     Indirect chain[DEPTH],  in splice_branch()  argument
 156 	int offsets[DEPTH];  in get_block()
 157 	Indirect chain[DEPTH];  in get_block()
 160 	int depth = block_to_path(inode, block, offsets);  in get_block()  local
 162 	if (depth == 0)  in get_block()
 166 	partial = get_branch(inode, depth, offsets, chain, &err);  in get_block()
 171 		map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key));  in get_block()
 [all …]
 
 | 
| /linux/include/linux/ | 
| H A D | sbitmap.h | 54 	 * @depth: Number of bits used in the whole bitmap.56 	unsigned int depth;  member
 137 	 * @min_shallow_depth: The minimum shallow depth which may be passed to
 157  * @depth: Number of bits to allocate.
 170 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
 177 		return sb->depth - (index << sb->shift);  in __map_depth()
 195  * @depth: New number of bits to resize to.
 198  * depth doesn't exceed the depth that the sb was initialized with.
 200 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
 243 	if (start >= sb->depth)  in __sbitmap_for_each_set()
 [all …]
 
 | 
| /linux/kernel/irq/ | 
| H A D | irq_test.c | 76 	KUNIT_EXPECT_EQ(test, desc->depth, 0);  in irq_disable_depth_test()79 	KUNIT_EXPECT_EQ(test, desc->depth, 1);  in irq_disable_depth_test()
 82 	KUNIT_EXPECT_EQ(test, desc->depth, 0);  in irq_disable_depth_test()
 100 	KUNIT_EXPECT_EQ(test, desc->depth, 0);  in irq_free_disabled_test()
 103 	KUNIT_EXPECT_EQ(test, desc->depth, 1);  in irq_free_disabled_test()
 106 	KUNIT_EXPECT_GE(test, desc->depth, 1);  in irq_free_disabled_test()
 110 	KUNIT_EXPECT_EQ(test, desc->depth, 0);  in irq_free_disabled_test()
 143 	KUNIT_EXPECT_EQ(test, desc->depth, 0);  in irq_shutdown_depth_test()
 146 	KUNIT_EXPECT_EQ(test, desc->depth, 1);  in irq_shutdown_depth_test()
 159 	KUNIT_EXPECT_EQ(test, desc->depth, 1);  in irq_shutdown_depth_test()
 [all …]
 
 | 
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ | 
| H A D | commonring.c | 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth,  in brcmf_commonring_config()  argument34 	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/drivers/media/platform/mediatek/mdp3/ | 
| H A D | mdp_cfg_data.c | 824 		.depth		= { 8 },831 		.depth		= { 16 },
 838 		.depth		= { 16 },
 845 		.depth		= { 24 },
 852 		.depth		= { 24 },
 859 		.depth		= { 32 },
 866 		.depth		= { 32 },
 873 		.depth		= { 16 },
 881 		.depth		= { 16 },
 889 		.depth		= { 16 },
 [all …]
 
 | 
| /linux/drivers/video/fbdev/core/ | 
| H A D | fb_logo.c | 99 			       int depth)  in fb_set_logo()  argument122 	switch (depth) {  in fb_set_logo()
 151  * the visual format and color depth of the framebuffer, the DAC, the
 167  * nibbles into separate bytes. The "depth" flag will be set to 4.
 171  * We isolate each bit and expand each into a byte. The "depth" flag will
 175 	int depth;  member
 291 	image.depth = 8;  in fb_show_logo_line()
 312 	if (fb_logo.depth <= 4) {  in fb_show_logo_line()
 322 		fb_set_logo(info, logo, logo_new, fb_logo.depth);  in fb_show_logo_line()
 420 	int depth = fb_get_color_depth(&info->var, &info->fix);  in fb_prepare_logo()  local
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/net/ | 
| H A D | altr,tse.yaml | 28   rx-fifo-depth:31       Depth in bytes of the RX FIFO
 33   tx-fifo-depth:
 36       Depth in bytes of the TX FIFO
 65   - rx-fifo-depth
 66   - tx-fifo-depth
 127         rx-fifo-depth = <2048>;
 128         tx-fifo-depth = <2048>;
 150         rx-fifo-depth = <2048>;
 151         tx-fifo-depth = <2048>;
 
 | 
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ | 
| H A D | sfq.json | 17 …      "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024",59         "matchPattern": "depth 127 divisor 1024 perturb 10sec",
 80 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024",
 101 …  "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512",
 130         "name": "Create SFQ with depth setting",
 140         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq depth 64",
 143 …  "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 64 divisor 1024",
 164 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis…
 185 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis…
 234         "name": "Check that a derived limit of 1 is rejected (limit 2 depth 1 flows 1)",
 [all …]
 
 | 
| /linux/scripts/dtc/libfdt/ | 
| H A 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  in fdt_next_subnode()   local
 [all...]
 | 
| /linux/Documentation/devicetree/bindings/sound/ | 
| H A D | cs35l35.txt | 87   - cirrus,classh-mem-depth108   for adjusting the Depth, Location and Frame of the Monitoring Signals
 115   for depth, location, and frame.
 119   Sections 7.44 - 7.53 lists values for the depth, location, and frame
 122   - cirrus,imon : 4 8 bit values to set the depth, location, frame and ADC
 125   - cirrus,vmon : 3 8 bit values to set the depth, location, and frame
 128   - cirrus,vpmon : 3 8 bit values to set the depth, location, and frame
 131   - cirrus,vbstmon : 3 8 bit values to set the depth, location, and frame
 134   - cirrus,vpbrstat : 3 8 bit values to set the depth, location, and frame
 137   - cirrus,zerofill : 3 8 bit values to set the depth, location, and frame\
 [all …]
 
 | 
| /linux/kernel/trace/ | 
| H A D | trace_functions_graph.c | 24 	int		depth;  member177 	entry->graph_ent.depth = trace->depth;  in __trace_graph_retaddr_entry()
 297 		.depth = 0,  in __trace_graph_function()
 301 		.depth    = 0,  in __trace_graph_function()
 935 		 * Comments display at + 1 to depth. Since  in print_graph_entry_leaf()
 937 		 * equal to this depth.  in print_graph_entry_leaf()
 939 		cpu_data->depth = call->depth - 1;  in print_graph_entry_leaf()
 941 		/* No need to keep this function around for this depth */  in print_graph_entry_leaf()
 942 		if (call->depth < FTRACE_RETFUNC_DEPTH &&  in print_graph_entry_leaf()
 943 		    !WARN_ON_ONCE(call->depth < 0))  in print_graph_entry_leaf()
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/display/ | 
| H A D | xylon,logicvc-display.yaml | 91   xylon,display-depth:93     description: Display output depth (C_PIXEL_DATA_WIDTH).
 133           xylon,layer-depth:
 135             description: Layer depth (C_LAYER_X_DATA_WIDTH).
 175           - xylon,layer-depth
 205   - xylon,display-depth
 235         xylon,display-depth = <16>;
 246             xylon,layer-depth = <16>;
 256             xylon,layer-depth = <16>;
 265             xylon,layer-depth = <16>;
 [all …]
 
 | 
| /linux/drivers/gpu/drm/amd/display/dc/dce/ | 
| H A D | dce_transform.c | 580  * @param depth : bit depth to set the clamp to (should match denorm)583  *     Programs clamp according to panel bit depth.
 588 	enum dc_color_depth depth)  in set_clamp()  argument
 597 	switch (depth) {  in set_clamp()
 616 		BREAK_TO_DEBUGGER(); /* Invalid clamp bit depth */  in set_clamp()
 638  * @param [in] depth :bit depth to round/truncate to
 666 	enum dcp_out_trunc_round_depth depth)  in set_round()  argument
 671 	/*  set up bit depth */  in set_round()
 672 	switch (depth) {  in set_round()
 724  * @param [in] dither_depth          : bit depth to dither to
 [all …]
 
 | 
| /linux/tools/perf/ui/stdio/ | 
| H A D | hist.c | 37 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask,  in ipchain__fprintf_graph_line()  argument43 	for (i = 0; i < depth; i++)  in ipchain__fprintf_graph_line()
 56 				     int depth, int depth_mask, int period,  in ipchain__fprintf_graph()  argument
 66 	for (i = 0; i < depth; i++) {  in ipchain__fprintf_graph()
 71 		if (!period && i == depth - 1) {  in ipchain__fprintf_graph()
 114 					 u64 total_samples, int depth,  in __callchain__fprintf_graph()  argument
 140 		 * The depth mask manages the output of pipes that show  in __callchain__fprintf_graph()
 141 		 * the depth. We don't want to keep the pipes of the current  in __callchain__fprintf_graph()
 142 		 * level for the last child of this depth.  in __callchain__fprintf_graph()
 148 			new_depth_mask &= ~(1 << (depth - 1));  in __callchain__fprintf_graph()
 [all …]
 
 | 
| /linux/sound/isa/gus/ | 
| H A D | gus_volume.c | 124 	long depth;138 	/* value to produce the appropriate depth for the hardware. The depth      */
 140 	depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
 141 	if (depth)
 142 		depth++;
 143 	if (depth > 255)
 144 		depth = 255;
 145 	return cents < 0 ? -(short) depth : (short) depth;
 
 | 
| /linux/arch/s390/kernel/ | 
| H A D | trace.c | 20 	unsigned int *depth;  in trace_s390_diagnose_norecursion()  local26 	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/tools/testing/selftests/net/forwarding/ | 
| H A D | tc_flower.sh | 556 		flower $tcflags mpls lse depth 1 label 0 action continue558 		flower $tcflags mpls lse depth 1 tc 0 action continue
 560 		flower $tcflags mpls lse depth 1 bos 0 action continue
 562 		flower $tcflags mpls lse depth 1 ttl 0 action continue
 566 		flower $tcflags mpls lse depth 2 label 1048575 action continue
 568 		flower $tcflags mpls lse depth 2 tc 7 action continue
 570 		flower $tcflags mpls lse depth 2 bos 1 action continue
 572 		flower $tcflags mpls lse depth 2 ttl 255 action continue
 574 	# Match on LSE depth
 576 		flower $tcflags mpls lse depth 1 action continue
 [all …]
 
 | 
| /linux/arch/sh/kernel/ | 
| H A D | return_address.c | 16 void *return_address(unsigned int depth)  in return_address()  argument22 	for (i = 0, frame = NULL, ra = 0; i <= depth; i++) {  in return_address()
 40 	/* Failed to unwind the stack to the specified depth. */  in return_address()
 41 	WARN_ON(i != depth + 1);  in return_address()
 51 void *return_address(unsigned int depth)  in return_address()  argument
 
 | 
| /linux/drivers/video/fbdev/sis/ | 
| H A D | init.c | 342 		int Depth, bool FSTN, int LCDwidth, int LCDheight)  in SiS_GetModeID()  argument349 		if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];  in SiS_GetModeID()
 352 				ModeIndex = ModeIndex_320x240_FSTN[Depth];  in SiS_GetModeID()
 354 				ModeIndex = ModeIndex_320x240[Depth];  in SiS_GetModeID()
 359 			if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];  in SiS_GetModeID()
 364 			if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];  in SiS_GetModeID()
 368 		if(VDisplay == 480)      ModeIndex = ModeIndex_640x480[Depth];  in SiS_GetModeID()
 369 		else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];  in SiS_GetModeID()
 372 		if(VDisplay == 480)      ModeIndex = ModeIndex_720x480[Depth];  in SiS_GetModeID()
 373 		else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth];  in SiS_GetModeID()
 [all …]
 
 |