/openbmc/linux/drivers/gpu/drm/ |
H A 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 …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 146.out | 5 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 9 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 13 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 17 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 21 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 25 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 29 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… 30 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 31 { "start": 4194304, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 32 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… [all …]
|
H A D | 179.out | 16 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 17 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 18 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 19 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 20 { "start": 8388608, "length": 58720256, "depth": 0, "present": false, "zero": true, "data": false, … 34 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 35 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 36 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 37 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 38 { "start": 8388608, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… [all …]
|
H A D | 253.out | 6 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 7 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 8 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 9 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 12 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 13 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 14 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp… 15 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 16 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 17 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp…
|
H A D | 154.out | 14 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compresse… 15 { "start": 4096, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compre… 16 { "start": 8192, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compres… 17 { "start": 12288, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 18 { "start": 16384, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compre… 19 { "start": 20480, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 20 { "start": 24576, "length": 8192, "depth": 0, "present": true, "zero": true, "data": false, "compre… 21 { "start": 32768, "length": 134184960, "depth": 1, "present": false, "zero": true, "data": false, "… 44 [{ "start": 0, "length": 32768, "depth": 1, "present": false, "zero": true, "data": false, "compres… 45 { "start": 32768, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compre… [all …]
|
H A D | 221.out | 8 [{ "start": 0, "length": 66048, "depth": 0, "present": true, "zero": true, "data": false, "compress… 9 [{ "start": 0, "length": 66048, "depth": 0, "present": true, "zero": true, "data": false, "compress… 12 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compress… 13 { "start": 65536, "length": 1, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 14 { "start": 65537, "length": 511, "depth": 0, "present": true, "zero": true, "data": false, "compres… 15 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compress… 16 { "start": 65536, "length": 1, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 17 { "start": 65537, "length": 511, "depth": 0, "present": true, "zero": true, "data": false, "compres…
|
H A D | 122.out | 70 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 71 { "start": 65536, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "co… 72 { "start": 4194304, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 73 { "start": 4259840, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 74 { "start": 8388608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 75 { "start": 8454144, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 97 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 98 { "start": 65536, "length": 65536, "depth": 0, "present": false, "zero": true, "data": false, "comp… 99 { "start": 131072, "length": 196608, "depth": 0, "present": true, "zero": false, "data": true, "com… 100 { "start": 327680, "length": 655360, "depth": 0, "present": false, "zero": true, "data": false, "co… [all …]
|
/openbmc/linux/lib/ |
H A 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() 64 unsigned int depth, unsigned int alloc_hint, bool wrap) in sbitmap_deferred_clear() argument 71 if (depth == 0) in sbitmap_deferred_clear() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A 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 …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H 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()
|
/openbmc/linux/fs/quota/ |
H A D | quota_tree.c | 32 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() 362 ret = read_blk(info, blks[depth], buf); in do_insert_tree() [all …]
|
/openbmc/linux/fs/ext4/ |
H A 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 …]
|
/openbmc/pyphosphor/obmc/utils/ |
H A D | pathtree.py | 19 def __init__(self, path_tree, subtree, depth): argument 24 self.depth = depth 56 if self.depth: 57 if len(self.path) + 1 > self.depth: 80 def __init__(self, path_tree, subtree, depth): argument 81 super(PathTreeKeyIterator, self).__init__(path_tree, subtree, depth) 187 def keys(self, subtree='/', depth=None): argument 188 return [x for x in self.iterkeys(subtree, depth)] 190 def values(self, subtree='/', depth=None): argument 191 return [x[1] for x in self.iteritems(subtree, depth)] [all …]
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | fdt.c | 165 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 184 if (depth) in fdt_next_node() 185 (*depth)++; in fdt_next_node() 189 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 195 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 207 int depth = 0; in fdt_first_subnode() local 209 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 210 if (offset < 0 || depth != 1) in fdt_first_subnode() 218 int depth = 1; in fdt_next_subnode() local 225 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() [all …]
|
/openbmc/linux/include/linux/ |
H A D | sbitmap.h | 56 unsigned int depth; member 170 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 177 return sb->depth - (index << sb->shift); in __map_depth() 200 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 260 if (start >= sb->depth) in __sbitmap_for_each_set() 265 while (scanned < sb->depth) { in __sbitmap_for_each_set() 267 unsigned int depth = min_t(unsigned int, in __sbitmap_for_each_set() local 269 sb->depth - scanned); in __sbitmap_for_each_set() 271 scanned += depth; in __sbitmap_for_each_set() 281 depth += nr; in __sbitmap_for_each_set() [all …]
|
/openbmc/qemu/qapi/ |
H A D | qapi-clone-visitor.c | 19 size_t depth; member 33 assert(qcv->depth); in qapi_clone_start_struct() 41 qcv->depth++; in qapi_clone_start_struct() 49 assert(qcv->depth); in qapi_clone_end() 51 qcv->depth--; in qapi_clone_end() 67 assert(qcv->depth); in qapi_clone_next_list() 85 assert(qcv->depth); in qapi_clone_type_int64() 95 assert(qcv->depth); in qapi_clone_type_uint64() 105 assert(qcv->depth); in qapi_clone_type_bool() 115 assert(qcv->depth); in qapi_clone_type_str() [all …]
|
/openbmc/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() 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 …]
|
/openbmc/linux/drivers/iio/adc/ |
H A 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 …]
|
/openbmc/linux/drivers/media/platform/ti/vpe/ |
H 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, 77 .depth = 16, [all …]
|
/openbmc/qemu/hw/core/ |
H A D | vm-change-state-handler.c | 24 int depth; in qdev_get_dev_tree_depth() local 26 for (depth = 0; dev; depth++) { in qdev_get_dev_tree_depth() 36 return depth; in qdev_get_dev_tree_depth() 70 int depth = qdev_get_dev_tree_depth(dev); in qdev_add_vm_change_state_handler_full() local 73 depth); in qdev_add_vm_change_state_handler_full()
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | nbd-qemu-allocation.out | 14 [{ "start": 0, "length": 1048576, "depth": 1, "present": true, "zero": false, "data": true, "compre… 15 { "start": 1048576, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 16 { "start": 3145728, "length": 1048576, "depth": 1, "present": false, "zero": true, "data": false, "… 27 qemu:allocation-depth 28 [{ "start": 0, "length": 3145728, "depth": 0, "present": true, "zero": false, "data": true, "compre… 29 { "start": 3145728, "length": 1048576, "depth": 0, "present": true, "zero": true, "data": false, "c… 30 [{ "start": 0, "length": 1048576, "depth": 0, "present": true, "zero": true, "data": true, "compres… 31 { "start": 1048576, "length": 2097152, "depth": 0, "present": false, "zero": false, "data": false, … 32 { "start": 3145728, "length": 1048576, "depth": 0, "present": true, "zero": false, "data": true, "c…
|
/openbmc/u-boot/fs/reiserfs/ |
H A D | reiserfs.c | 392 read_tree_node (unsigned int blockNr, int depth) in read_tree_node() argument 394 char* cache = CACHE(depth); in read_tree_node() 396 if (depth < num_cached) in read_tree_node() 401 if (blockNr == INFO->blocks[depth]) in read_tree_node() 409 blockNr, depth); in read_tree_node() 414 if (__le16_to_cpu(BLOCKHEAD (cache)->blk_level) != depth) in read_tree_node() 420 INFO->blocks[depth] = blockNr; in read_tree_node() 430 int depth; in next_key() local 445 depth = DISK_LEAF_NODE_LEVEL; in next_key() 451 if (depth == INFO->tree_depth) in next_key() [all …]
|
/openbmc/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 = 1; in fdt_next_subnode() local 307 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H 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()
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/ |
H A D | emc.c | 120 int depth; in find_emc_tables() local 133 depth = 0; in find_emc_tables() 139 offset = fdt_next_node(blob, offset, &depth); in find_emc_tables() 140 if (depth <= 0) in find_emc_tables() 144 if (depth != 1) in find_emc_tables() 178 int depth; in decode_emc() local 205 depth = 0; in decode_emc() 210 COMPAT_NVIDIA_TEGRA20_EMC_TABLE, &depth); in decode_emc()
|