/linux-master/arch/powerpc/kernel/ |
H A D | btext.c | 107 void __init btext_setup_display(int width, int height, int depth, int pitch, argument 117 dispDeviceDepth = depth == 15 ? 16 : depth; 162 unsigned int width, height, depth, pitch; local 178 prop = of_get_property(np, "linux,bootx-depth", NULL); 180 prop = of_get_property(np, "depth", NULL); 183 depth = *prop; 184 pitch = width * ((depth + 7) / 8); 210 dispDeviceDepth = depth == 15 ? 16 : depth; 262 btext_update_display(unsigned long phys, int width, int height, int depth, int pitch) argument [all...] |
/linux-master/drivers/media/test-drivers/ |
H A D | vim2m.c | 86 int depth; member in struct:vim2m_fmt 94 .depth = 16, 98 .depth = 16, 102 .depth = 24, 106 .depth = 24, 110 .depth = 16, 114 .depth = 8, 118 .depth = 8, 122 .depth = 8, 126 .depth 266 int x, depth = q_data_out->fmt->depth >> 3; local [all...] |
/linux-master/mm/ |
H A D | pagewalk.c | 12 static int real_depth(int depth) argument 14 if (depth == 3 && PTRS_PER_PMD == 1) 15 depth = 2; 16 if (depth == 2 && PTRS_PER_PUD == 1) 17 depth = 1; 18 if (depth == 1 && PTRS_PER_P4D == 1) 19 depth = 0; 20 return depth; 122 int depth = real_depth(3); local 130 err = ops->pte_hole(addr, next, depth, wal 184 int depth = real_depth(2); local 236 int depth = real_depth(1); local [all...] |
/linux-master/block/ |
H A D | blk-mq.h | 62 unsigned int hctx_idx, unsigned int depth); 177 struct blk_mq_tags **tags, unsigned int depth, bool can_grow); 412 * and attempt to provide a fair share of the tag depth for each of them. 417 unsigned int depth, users; local 425 if (bt->sb.depth == 1) 445 depth = max((bt->sb.depth + users - 1) / users, 4U); 446 return __blk_mq_active_requests(hctx) < depth;
|
/linux-master/drivers/thunderbolt/ |
H A D | icm.c | 108 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route); 188 static inline u8 phy_port_from_route(u64 route, u8 depth) argument 192 link = depth ? route >> ((depth - 1) * 8) : route; 208 int depth = tb_route_length(route); local 209 return depth ? route & ~(0xffULL << (depth - 1) * TB_ROUTE_SHIFT) : 0; 398 static int icm_fr_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) argument 425 for (i = 1; i < depth; i++) { 570 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIF 647 update_switch(struct tb_switch *sw, u64 route, u8 connection_id, u8 connection_key, u8 link, u8 depth, bool boot) argument 679 add_xdomain(struct tb_switch *sw, u64 route, const uuid_t *local_uuid, const uuid_t *remote_uuid, u8 link, u8 depth) argument 730 u8 link, depth; local 873 u8 link, depth; local 908 u8 link, depth; local 1514 icm_ar_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) argument [all...] |
/linux-master/tools/perf/ui/stdio/ |
H A D | hist.c | 33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, argument 39 for (i = 0; i < depth; i++) 52 int depth, int depth_mask, int period, 62 for (i = 0; i < depth; i++) { 67 if (!period && i == depth - 1) { 110 u64 total_samples, int depth, 136 * The depth mask manages the output of pipes that show 137 * the depth. We don't want to keep the pipes of the current 138 * level for the last child of this depth. 144 new_depth_mask &= ~(1 << (depth 50 ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, struct callchain_list *chain, int depth, int depth_mask, int period, u64 total_samples, int left_margin) argument 109 __callchain__fprintf_graph(FILE *fp, struct rb_root *root, u64 total_samples, int depth, int depth_mask, int left_margin) argument 637 int depth; local 878 int depth = hists->nr_hpp_node + h->depth + 1; local [all...] |
/linux-master/fs/ext4/ |
H A D | indirect.c | 117 * @depth: depth of the chain (1 - direct pointer, etc.) 138 * or when it reads all @depth-1 indirect blocks successfully and finds 144 static Indirect *ext4_get_branch(struct inode *inode, int depth, argument 159 while (--depth) { 541 int depth; local 548 depth = ext4_block_to_path(inode, map->m_lblk, offsets, 551 if (depth == 0) 554 partial = ext4_get_branch(inode, depth, offsets, chain, &err); 558 first_block = le32_to_cpu(chain[depth 804 ext4_find_shared(struct inode *inode, int depth, ext4_lblk_t offsets[4], Indirect chain[4], __le32 *top) argument 1007 ext4_free_branches(handle_t *handle, struct inode *inode, struct buffer_head *parent_bh, __le32 *first, __le32 *last, int depth) argument 1395 int depth = (chain+n-1) - partial; local [all...] |
/linux-master/fs/sysv/ |
H A D | itree.c | 87 int depth, 100 while (--depth) { 216 int depth = block_to_path(inode, iblock, offsets); local 218 if (depth == 0) 222 partial = get_branch(inode, depth, offsets, chain, &err); 228 chain[depth-1].key)); 230 partial = chain+depth-1; /* the whole chain */ 253 left = (chain + depth) - partial; 281 int depth, 290 for (k = depth; 86 get_branch(struct inode *inode, int depth, int offsets[], Indirect chain[], int *err) argument 280 find_shared(struct inode *inode, int depth, int offsets[], Indirect chain[], sysv_zone_t *top) argument 341 free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) argument 358 block_end(bh), depth); local [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | headc37d.c | 35 u8 depth; local 38 /*XXX: This is a dirty hack until OR depth handling is 41 switch (asyh->or.depth) { 42 case 6: depth = 5; break; 43 case 5: depth = 4; break; 44 case 2: depth = 1; break; 45 case 0: depth = 4; break; 47 depth = asyh->or.depth; 59 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, depth) | [all...] |
/linux-master/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-regs.c | 166 u32 i, depth = 0; local 180 depth += frame->fmt->depth[i]; 195 if (depth == 12) 205 if (depth == 12) 286 u32 i, depth = 0; local 306 depth += frame->fmt->depth[i]; 321 if (depth == 12)
|
H A D | gsc-core.c | 30 .depth = { 16 }, 36 .depth = { 32 }, 42 .depth = { 16 }, 51 .depth = { 16 }, 60 .depth = { 16 }, 69 .depth = { 16 }, 78 .depth = { 32 }, 86 .depth = { 16 }, 94 .depth = { 16 }, 102 .depth [all...] |
/linux-master/scripts/gdb/linux/ |
H A D | proc.py | 57 def get_resources(resource, depth): 59 yield resource, depth 63 for res, deep in get_resources(child, depth + 1): 73 for res, depth in get_resources(resource['child'], 0): 76 gdb.write(" " * depth * 2 +
|
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma.h | 27 u32 depth; member in struct:erdma_eq 45 u32 depth; member in struct:erdma_cmdq_sq 60 u32 depth; member in struct:erdma_cmdq_cq 219 static inline void *get_queue_entry(void *qbuf, u32 idx, u32 depth, u32 shift) argument 221 idx &= (depth - 1);
|
/linux-master/arch/sparc/kernel/ |
H A D | btext.c | 42 unsigned int width, height, depth, pitch; local 50 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0) 52 pitch = width * ((depth + 7) / 8); 76 dispDeviceDepth = depth == 15 ? 16 : depth;
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-core.c | 39 .depth = { 16 }, 46 .depth = { 32 }, 53 .depth = { 32 }, 60 .depth = { 16 }, 67 .depth = { 16 }, 77 .depth = { 16 }, 85 .depth = { 16 }, 93 .depth = { 16 }, 101 .depth = { 16 }, 109 .depth 426 u32 i, depth = 0; local [all...] |
/linux-master/mm/kmsan/ |
H A D | report.c | 92 unsigned int depth; local 99 depth = kmsan_depth_from_eb(stack_depot_get_extra_bits(origin)); 118 if (depth == KMSAN_MAX_ORIGIN_DEPTH)
|
H A D | kmsan.h | 152 * Pack and unpack the origin chain depth and UAF flag to/from the extra bits 154 * The UAF flag is stored in the lowest bit, followed by the depth in the upper 158 static __always_inline unsigned int kmsan_extra_bits(unsigned int depth, argument 161 return (depth << 1) | uaf;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | base.c | 51 nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) argument 53 ltc->zbc_depth[index] = depth; 54 ltc->func->zbc_clear_depth(ltc, index, depth);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dpp_dscl.c | 89 static int dpp1_dscl_get_pixel_depth_val(enum lb_pixel_depth depth) argument 91 if (depth == LB_PIXEL_DEPTH_30BPP) 93 else if (depth == LB_PIXEL_DEPTH_24BPP) 95 else if (depth == LB_PIXEL_DEPTH_18BPP) 97 else if (depth == LB_PIXEL_DEPTH_36BPP) 189 uint32_t pixel_depth = dpp1_dscl_get_pixel_depth_val(lb_params->depth); 193 PIXEL_DEPTH, pixel_depth, /* Pixel depth stored in LB */ 196 DYNAMIC_PIXEL_DEPTH, dyn_pix_depth, /* Dynamic expansion pixel depth */ 375 static int dpp1_dscl_get_lb_depth_bpc(enum lb_pixel_depth depth) argument 377 if (depth [all...] |
/linux-master/lib/ |
H A D | bootconfig.c | 289 * or returns -ERANGE if the key depth is deeper than max depth. 298 int depth = 0, ret = 0, total = 0; local 307 keys[depth++] = xbc_node_index(node); 308 if (depth == XBC_DEPTH_MAX) 315 while (--depth >= 0) { 316 node = xbc_nodes + keys[depth]; 318 depth ? "." : ""); 539 return xbc_parse_error("Exceed max depth of braces", p); 791 int i, depth, le local [all...] |
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 39 atomic_set(&q->depth, 0); 57 atomic_read(&q->depth) >= CX18_MAX_FW_MDLS_PER_STREAM) 67 atomic_inc(&q->depth); 83 atomic_dec(&q->depth); 151 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { 158 atomic_dec(&s->q_busy.depth); 167 atomic_dec(&s->q_busy.depth); 214 atomic_inc(&q_dst->depth);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | firmware.c | 155 depth, void *data) 162 if (depth != 1) 154 probe_fw_features(unsigned long node, const char *uname, int depth, void *data) argument
|
/linux-master/tools/perf/util/ |
H A D | data-convert-json.c | 73 static void output_json_delimiters(FILE *out, bool comma, int depth) argument 80 for (i = 0; i < depth; ++i) 86 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) argument 90 output_json_delimiters(out, comma, depth); 97 static void output_json_key_string(FILE *out, bool comma, int depth, argument 100 output_json_delimiters(out, comma, depth); 108 static void output_json_key_format(FILE *out, bool comma, int depth, argument 113 output_json_delimiters(out, comma, depth);
|
/linux-master/fs/ufs/ |
H A D | inode.c | 125 static u64 ufs_frag_map(struct inode *inode, unsigned offsets[4], int depth) argument 141 if (depth == 0) 154 while (--depth) { 178 while (--depth) { 403 int depth = ufs_block_to_path(inode, fragment >> uspi->s_fpbshift, offsets); local 407 phys64 = ufs_frag_map(inode, offsets, depth); 426 if (unlikely(!depth)) { 442 if (depth == 1) { 449 for (i = 1; i < depth - 1; i++) 452 phys64 = ufs_inode_getblock(inode, phys64, offsets[depth 989 free_full_branch(struct inode *inode, u64 ind_block, int depth) argument 1022 free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth) argument 1135 int depth; local [all...] |
/linux-master/scripts/ |
H A D | unifdef.c | 174 static bool symdepth; /* -S: output symbol depth */ 202 static int depth; /* current #if nesting */ variable 300 case 'S': /* list symbols with their nesting depth */ 391 * functions increase or decrease the depth. They also maintain the 510 if (depth == 0) 512 ignoring[depth] = ignoring[depth-1]; 517 ignoring[depth] = true; 529 if (depth > MAXDEPTH-1) 531 if (depth [all...] |