Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 186) sorted by relevance

12345678

/linux-2.4.37.9/fs/minix/
Ditree_common.c28 int depth, in get_branch() argument
42 while (--depth) { in get_branch()
151 int depth = block_to_path(inode, block, offsets); in get_block() local
153 if (depth == 0) in get_block()
158 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
164 bh_result->b_blocknr = block_to_cpu(chain[depth-1].key); in get_block()
167 partial = chain+depth-1; /* the whole chain */ in get_block()
191 left = (chain + depth) - partial; in get_block()
219 int depth, in find_shared() argument
228 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
[all …]
/linux-2.4.37.9/drivers/char/drm/
Dr128_state.c905 drm_r128_depth_t *depth ) in r128_cce_dispatch_write_span() argument
915 count = depth->n; in r128_cce_dispatch_write_span()
919 if ( copy_from_user( &x, depth->x, sizeof(x) ) ) { in r128_cce_dispatch_write_span()
922 if ( copy_from_user( &y, depth->y, sizeof(y) ) ) { in r128_cce_dispatch_write_span()
926 buffer = kmalloc( depth->n * sizeof(u32), GFP_KERNEL ); in r128_cce_dispatch_write_span()
929 if ( copy_from_user( buffer, depth->buffer, in r128_cce_dispatch_write_span()
930 depth->n * sizeof(u32) ) ) { in r128_cce_dispatch_write_span()
935 if ( depth->mask ) { in r128_cce_dispatch_write_span()
936 mask = kmalloc( depth->n * sizeof(u8), GFP_KERNEL ); in r128_cce_dispatch_write_span()
941 if ( copy_from_user( mask, depth->mask, in r128_cce_dispatch_write_span()
[all …]
/linux-2.4.37.9/drivers/char/drm-4.0/
Dr128_state.c915 drm_r128_depth_t *depth ) in r128_cce_dispatch_write_span() argument
940 count = depth->n; in r128_cce_dispatch_write_span()
944 if ( copy_from_user( &x, depth->x, sizeof(x) ) ) { in r128_cce_dispatch_write_span()
947 if ( copy_from_user( &y, depth->y, sizeof(y) ) ) { in r128_cce_dispatch_write_span()
951 buffer = kmalloc( depth->n * sizeof(u32), 0 ); in r128_cce_dispatch_write_span()
954 if ( copy_from_user( buffer, depth->buffer, in r128_cce_dispatch_write_span()
955 depth->n * sizeof(u32) ) ) { in r128_cce_dispatch_write_span()
960 if ( depth->mask ) { in r128_cce_dispatch_write_span()
961 mask = kmalloc( depth->n * sizeof(u8), 0 ); in r128_cce_dispatch_write_span()
966 if ( copy_from_user( mask, depth->mask, in r128_cce_dispatch_write_span()
[all …]
/linux-2.4.37.9/arch/sparc/lib/
Dudiv.S165 ! depth 1, accumulated bits 0
170 ! depth 2, accumulated bits 1
175 ! depth 3, accumulated bits 3
180 ! depth 4, accumulated bits 7
197 ! depth 4, accumulated bits 5
214 ! depth 3, accumulated bits 1
219 ! depth 4, accumulated bits 3
236 ! depth 4, accumulated bits 1
253 ! depth 2, accumulated bits -1
258 ! depth 3, accumulated bits -1
[all …]
Durem.S163 ! depth 1, accumulated bits 0
168 ! depth 2, accumulated bits 1
173 ! depth 3, accumulated bits 3
178 ! depth 4, accumulated bits 7
195 ! depth 4, accumulated bits 5
212 ! depth 3, accumulated bits 1
217 ! depth 4, accumulated bits 3
234 ! depth 4, accumulated bits 1
251 ! depth 2, accumulated bits -1
256 ! depth 3, accumulated bits -1
[all …]
Drem.S180 ! depth 1, accumulated bits 0
185 ! depth 2, accumulated bits 1
190 ! depth 3, accumulated bits 3
195 ! depth 4, accumulated bits 7
213 ! depth 4, accumulated bits 5
230 ! depth 3, accumulated bits 1
235 ! depth 4, accumulated bits 3
252 ! depth 4, accumulated bits 1
269 ! depth 2, accumulated bits -1
274 ! depth 3, accumulated bits -1
[all …]
Dsdiv.S180 ! depth 1, accumulated bits 0
185 ! depth 2, accumulated bits 1
190 ! depth 3, accumulated bits 3
195 ! depth 4, accumulated bits 7
212 ! depth 4, accumulated bits 5
229 ! depth 3, accumulated bits 1
234 ! depth 4, accumulated bits 3
252 ! depth 4, accumulated bits 1
269 ! depth 2, accumulated bits -1
274 ! depth 3, accumulated bits -1
[all …]
/linux-2.4.37.9/drivers/video/
Dpm3fb.c119 u32 depth; /* screen depth (8, 12, 15, 16 or 32) */ member
557 short depth[PM3_MAX_BOARD]; variable
585 unsigned long depth, int v);
587 unsigned long depth, int v);
927 unsigned long depth, int v) in pm3fb_Shiftbpp() argument
931 switch (depth) { in pm3fb_Shiftbpp()
941 DPRINTK(1, "Unsupported depth %ld\n", depth); in pm3fb_Shiftbpp()
946 unsigned long depth, int v) in pm3fb_Unshiftbpp() argument
950 switch (depth) { in pm3fb_Unshiftbpp()
960 DPRINTK(1, "Unsupported depth %ld\n", depth); in pm3fb_Unshiftbpp()
[all …]
Doffb.c108 int height, int depth, int pitch, unsigned long address,
340 int width = 640, height = 480, depth = 8, pitch; in offb_init_nodriver() local
345 depth = *pp; in offb_init_nodriver()
364 if (dp->addrs[i].size >= pitch*height*depth/8) in offb_init_nodriver()
377 offb_init_fb(dp->name, dp->full_name, width, height, depth, in offb_init_nodriver()
383 int width, int height, int depth, in offb_init_fb() argument
393 unsigned long res_size = pitch*height*depth/8; in offb_init_fb()
399 width, height, name, address, depth, pitch); in offb_init_fb()
400 if (depth != 8 && depth != 16 && depth != 32) { in offb_init_fb()
401 printk(KERN_ERR "%s: can't use depth = %d\n", full_name, depth); in offb_init_fb()
[all …]
Dpm2fb.c110 u32 depth; /* screen depth (8, 16, 24 or 32) */ member
671 switch (p->depth) { in set_aperture()
705 pm2_RDAC_WR(i, PM2I_RD_COLOR_KEY_CONTROL, p->depth==8?0: in set_screen()
707 switch (p->depth) { in set_screen()
787 s32 scale=i->current_par.depth==8?2:1; in pm2fb_pp_copy()
1203 var->xoffset, i->current_par.depth, 1); in pm2fb_pan_display()
1476 fix->visual=p->depth==8?FB_VISUAL_PSEUDOCOLOR:FB_VISUAL_TRUECOLOR; in pm2fb_encode_fix()
1478 fix->line_length=i->current_par.width*(i->current_par.depth/8); in pm2fb_encode_fix()
1481 fix->xpanstep=p->depth==24?8:64/p->depth; in pm2fb_encode_fix()
1531 p.depth=(var->bits_per_pixel+7)&~7; in pm2fb_decode_var()
[all …]
Dsbusfb.c64 int depth; member
875 int depth = p->var.bits_per_pixel; in sbusfb_set_font() local
879 if (depth > 8) depth = 8; in sbusfb_set_font()
883 for (margin = 0; def_margins[margin].depth; margin++) in sbusfb_set_font()
886 depth == def_margins[margin].depth) { in sbusfb_set_font()
949 int linebytes, w, h, depth; in sbusfb_init_fb() local
986 type->fb_depth = depth = (fbtype == FBTYPE_SUN2BW) ? 1 : 8; in sbusfb_init_fb()
987 linebytes = prom_getintdefault(node, "linebytes", w * depth / 8); in sbusfb_init_fb()
991 for (margin = 0; def_margins[margin].depth; margin++) in sbusfb_init_fb()
994 depth == def_margins[margin].depth) { in sbusfb_init_fb()
[all …]
Dsun3fb.c476 int depth = p->var.bits_per_pixel; in sun3fb_set_font() local
480 if (depth > 8) depth = 8; in sun3fb_set_font()
532 int linebytes, w, h, depth; in sun3fb_init_fb() local
553 type->fb_depth = depth = (fbtype == FBTYPE_SUN2BW) ? 1 : 8; in sun3fb_init_fb()
554 linebytes = w * depth / 8; in sun3fb_init_fb()
565 var->bits_per_pixel = depth; in sun3fb_init_fb()
589 if (depth > 1 && !fb->color_map) { in sun3fb_init_fb()
/linux-2.4.37.9/fs/sysv/
Ditree.c84 int depth, in get_branch() argument
97 while (--depth) { in get_branch()
202 int depth = block_to_path(inode, iblock, offsets); in get_block() local
204 if (depth == 0) in get_block()
209 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
215 bh_result->b_blocknr = block_to_cpu(sb, chain[depth-1].key); in get_block()
218 partial = chain+depth-1; /* the whole chain */ in get_block()
242 left = (chain + depth) - partial; in get_block()
270 int depth, in find_shared() argument
279 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
[all …]
/linux-2.4.37.9/include/asm-cris/
Dsmplock.h16 #define release_kernel_lock(task, cpu, depth) ((depth) = 1) argument
17 #define reacquire_kernel_lock(task, cpu, depth) do { } while(0) argument
/linux-2.4.37.9/include/asm-sh/
Dsmplock.h16 #define release_kernel_lock(task, cpu, depth) ((depth) = 1) argument
17 #define reacquire_kernel_lock(task, cpu, depth) do { } while(0) argument
/linux-2.4.37.9/include/asm-sh64/
Dsmplock.h21 #define release_kernel_lock(task, cpu, depth) ((depth) = 1) argument
22 #define reacquire_kernel_lock(task, cpu, depth) do { } while(0) argument
/linux-2.4.37.9/fs/
Dquota_v2.c25 #define GETIDINDEX(id, depth) (((id) >> ((V2_DQTREEDEPTH-(depth)-1)*8)) & 0xff) argument
347 static int do_insert_tree(struct dquot *dquot, uint *treeblk, int depth) in do_insert_tree() argument
373 newblk = le32_to_cpu(ref[GETIDINDEX(dquot->dq_id, depth)]); in do_insert_tree()
376 if (depth == V2_DQTREEDEPTH-1) { in do_insert_tree()
379 … "VFS: Inserting already present quota entry (block %u).\n", ref[GETIDINDEX(dquot->dq_id, depth)]); in do_insert_tree()
387 ret = do_insert_tree(dquot, &newblk, depth+1); in do_insert_tree()
389 ref[GETIDINDEX(dquot->dq_id, depth)] = cpu_to_le32(newblk); in do_insert_tree()
491 static int remove_tree(struct dquot *dquot, uint *blk, int depth) in remove_tree() argument
506 newblk = le32_to_cpu(ref[GETIDINDEX(dquot->dq_id, depth)]); in remove_tree()
507 if (depth == V2_DQTREEDEPTH-1) { in remove_tree()
[all …]
/linux-2.4.37.9/scripts/
Dtkcond.c129 int depth ) in join_condition_stack() argument
137 for ( i = 0; i < depth; i++ ) in join_condition_stack()
151 for ( i = 0; i < depth; i++ ) in join_condition_stack()
443 int depth = 0; in fix_conditionals() local
455 cond_stack [depth++] = in fix_conditionals()
471 for ( cond = cond_stack [depth-1]; in fix_conditionals()
490 --depth; in fix_conditionals()
509 cfg->cond = join_condition_stack( cond_stack, depth ); in fix_conditionals()
529 cond_stack [depth] = eliminate_other_arch( cfg->cond ); in fix_conditionals()
530 cfg->cond = join_condition_stack( cond_stack, depth+1 ); in fix_conditionals()
[all …]
/linux-2.4.37.9/include/asm-ppc/
Dbtext.h23 void btext_setup_display(int width, int height, int depth, int pitch,
27 int depth, int pitch);
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_base.c1051 display_info.depth = var->bits_per_pixel; in matroxfb_set_var()
1640 static int depth = -1; /* "matrox:depth:xxxxx" */ variable
2090 if ((depth == RSText8) && (!*ACCESS_FBINFO(fbcon.fontname))) { in initMatrox2()
2093 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
2094 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
2095 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
2096 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2655 if (depth == -1) in matroxfb_init_params()
2656 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2695 case 0: depth = RSText; break; in matroxfb_setup()
[all …]
/linux-2.4.37.9/kernel/
Dresource.c57 int depth; in r_show() local
59 for (depth = 0, p = r; depth < MAX_IORES_LEVEL; depth++, p = p->parent) in r_show()
63 depth * 2, "", in r_show()
/linux-2.4.37.9/fs/ext2/
Dinode.c248 int depth, in ext2_get_branch() argument
262 while (--depth) { in ext2_get_branch()
527 int depth = ext2_block_to_path(inode, iblock, offsets); in ext2_get_block() local
529 if (depth == 0) in ext2_get_block()
534 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_block()
540 bh_result->b_blocknr = le32_to_cpu(chain[depth-1].key); in ext2_get_block()
543 partial = chain+depth-1; /* the whole chain */ in ext2_get_block()
571 left = (chain + depth) - partial; in ext2_get_block()
669 int depth, in ext2_find_shared() argument
678 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext2_find_shared()
[all …]
/linux-2.4.37.9/fs/hfsplus/
Dbtree.c58 tree->depth = be16_to_cpu(hdr->depth); in hfsplus_read_treeinfo()
79 hdr->depth = cpu_to_be16(tree->depth); in hfsplus_write_treeinfo()
267 tree->depth = 0; in hfsplus_btree_remove_node()
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/
Duart-irq.c141 irq_desc[80].depth = 2; in uart_irq_init()
146 irq_desc[81].depth = 2; in uart_irq_init()
/linux-2.4.37.9/drivers/scsi/aic7xxx/
DREADME.aic7xxx253 Definition: Global tag depth for all targets on all busses.
254 This option sets the default tag depth which
261 Definition: Set the per-target tagged queue depth on a
264 the default tag depth.
267 specifies a tag depth of 16 for target 0
268 specifies a tag depth of 64 for target 3
269 specifies a tag depth of 8 for targets 4 and 5
271 specifies a tag depth of 32 for targets 1,2,7-15
272 All other targets retain the default depth.
276 specifies a tag depth of 32 for targets 0 and 2
[all …]

12345678