/linux-2.4.37.9/arch/ppc/kernel/ |
D | btext.c | 66 btext_init(boot_infos_t *bi) in btext_init() argument 70 g_max_loc_X = (bi->dispDeviceRect[2] - bi->dispDeviceRect[0]) / 8; in btext_init() 71 g_max_loc_Y = (bi->dispDeviceRect[3] - bi->dispDeviceRect[1]) / 16; in btext_init() 72 disp_bi = *bi; in btext_init() 81 boot_infos_t* bi = &disp_bi; in btext_welcome() local 87 btext_drawhex((unsigned long)bi->dispDeviceBase); in btext_welcome() 89 btext_drawhex((unsigned long)bi->logicalDisplayBase); in btext_welcome() 129 boot_infos_t* bi = &disp_bi; in btext_prepare_BAT() local 134 addr = (unsigned long)bi->dispDeviceBase; in btext_prepare_BAT() 152 bi->logicalDisplayBase = (void *) (vaddr + lowbits); in btext_prepare_BAT() [all …]
|
D | prom_init.c | 883 #define BOOT_INFO_IS_COMPATIBLE(bi) ((bi)->compatible_version <= BOOT_INFO_VERSION) argument 884 #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) argument 885 #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) argument 890 boot_infos_t *bi = (boot_infos_t *) r4; in bootx_init() local 895 boot_infos = PTRUNRELOC(bi); in bootx_init() 896 if (!BOOT_INFO_IS_V2_COMPATIBLE(bi)) in bootx_init() 897 bi->logicalDisplayBase = 0; in bootx_init() 900 btext_init(bi); in bootx_init() 911 if (!BOOT_INFO_IS_COMPATIBLE(bi)) { in bootx_init() 920 if (bi->version < 4) { in bootx_init() [all …]
|
D | m8260_setup.c | 115 extern void m8260_gorom(bd_t *bi, uint addr); in m8260_restart()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | do_balan.c | 89 struct buffer_info bi; in balance_leaf_when_delete() local 111 bi.tb = tb; in balance_leaf_when_delete() 112 bi.bi_bh = tbS0; in balance_leaf_when_delete() 113 bi.bi_parent = PATH_H_PPARENT (tb->tb_path, 0); in balance_leaf_when_delete() 114 bi.bi_position = PATH_H_POSITION (tb->tb_path, 1); in balance_leaf_when_delete() 115 leaf_delete_items (&bi, 0, item_pos, 1, -1); in balance_leaf_when_delete() 133 bi.tb = tb; in balance_leaf_when_delete() 134 bi.bi_bh = tbS0; in balance_leaf_when_delete() 135 bi.bi_parent = PATH_H_PPARENT (tb->tb_path, 0); in balance_leaf_when_delete() 136 bi.bi_position = PATH_H_POSITION (tb->tb_path, 1); in balance_leaf_when_delete() [all …]
|
D | ibalance.c | 593 struct buffer_info bi; in balance_internal_when_delete() local 598 bi.tb = tb; in balance_internal_when_delete() 599 bi.bi_bh = tbSh; in balance_internal_when_delete() 600 bi.bi_parent = PATH_H_PPARENT (tb->tb_path, h); in balance_internal_when_delete() 601 bi.bi_position = PATH_H_POSITION (tb->tb_path, h + 1); in balance_internal_when_delete() 603 internal_delete_childs (&bi, child_pos, -insert_num); in balance_internal_when_delete() 617 RFALSE( bi.bi_parent, "root has parent (%p)", bi.bi_parent); in balance_internal_when_delete() 762 struct buffer_info bi; in balance_internal() local 812 bi.tb = tb; in balance_internal() 813 bi.bi_bh = tb->L[h]; in balance_internal() [all …]
|
D | lbalance.c | 663 static void leaf_delete_items_entirely (struct buffer_info * bi, 730 void leaf_insert_into_buf (struct buffer_info * bi, int before, in leaf_insert_into_buf() argument 735 struct buffer_head * bh = bi->bi_bh; in leaf_insert_into_buf() 793 do_balance_mark_leaf_dirty (bi->tb, bh, 1); in leaf_insert_into_buf() 795 if (bi->bi_parent) { in leaf_insert_into_buf() 797 t_dc = B_N_CHILD (bi->bi_parent, bi->bi_position); in leaf_insert_into_buf() 799 do_balance_mark_internal_dirty (bi->tb, bi->bi_parent, 0); in leaf_insert_into_buf() 806 void leaf_paste_in_buffer (struct buffer_info * bi, int affected_item_num, in leaf_paste_in_buffer() argument 811 struct buffer_head * bh = bi->bi_bh; in leaf_paste_in_buffer() 876 do_balance_mark_leaf_dirty (bi->tb, bh, 0); in leaf_paste_in_buffer() [all …]
|
D | bitmap.c | 138 struct reiserfs_bitmap_info *bi=&SB_AP_BITMAP(s)[bmap_n]; in scan_bitmap_block() local 149 if ( !bi ) { in scan_bitmap_block() 153 if (buffer_locked (bi->bh)) { in scan_bitmap_block() 155 __wait_on_buffer (bi->bh); in scan_bitmap_block() 160 if (bi->first_zero_hint > *beg || bi->free_count == 1) in scan_bitmap_block() 161 *beg = bi->first_zero_hint; in scan_bitmap_block() 165 if (bi->free_count < min) in scan_bitmap_block() 170 ((unsigned long*)(bi->bh->b_data), boundary, *beg); in scan_bitmap_block() 181 if (end >= *beg + max || end >= boundary || reiserfs_test_le_bit (end, bi->bh->b_data)) { in scan_bitmap_block() 195 reiserfs_prepare_for_journal (s, bi->bh, 1); in scan_bitmap_block() [all …]
|
D | super.c | 768 struct reiserfs_bitmap_info *bi) in load_bitmap_info_data() argument 770 unsigned long *cur = (unsigned long *)bi->bh->b_data; in load_bitmap_info_data() 772 while ((char *)cur < (bi->bh->b_data + sb->s_blocksize)) { in load_bitmap_info_data() 777 if (bi->first_zero_hint == 0) { in load_bitmap_info_data() 778 bi->first_zero_hint = ((char *)cur - bi->bh->b_data) << 3; in load_bitmap_info_data() 780 bi->free_count += sizeof ( unsigned long ) * 8; in load_bitmap_info_data() 785 bi->free_count ++; in load_bitmap_info_data() 786 if (bi->first_zero_hint == 0) in load_bitmap_info_data() 787 bi->first_zero_hint = in load_bitmap_info_data() 788 (((char *)cur - bi->bh->b_data) << 3) + b; in load_bitmap_info_data()
|
/linux-2.4.37.9/drivers/isdn/sc/ |
D | ioctl.c | 287 boardInfo bi; in sc_ioctl() local 291 GetStatus(card, &bi); in sc_ioctl() 293 if ((err = copy_to_user((boardInfo *) data->dataptr, &bi, sizeof(boardInfo)))) in sc_ioctl() 348 int GetStatus(int card, boardInfo *bi) in GetStatus() argument 356 bi->modelid = adapter[card]->model; in GetStatus() 357 strcpy(bi->serial_no, adapter[card]->hwconfig.serial_no); in GetStatus() 358 strcpy(bi->part_no, adapter[card]->hwconfig.part_no); in GetStatus() 359 bi->iobase = adapter[card]->iobase; in GetStatus() 360 bi->rambase = adapter[card]->rambase; in GetStatus() 361 bi->irq = adapter[card]->interrupt; in GetStatus() [all …]
|
/linux-2.4.37.9/crypto/ |
D | aes.c | 126 #define f_rn(bo, bi, n, k) \ argument 127 bo[n] = ft_tab[0][byte(bi[n],0)] ^ \ 128 ft_tab[1][byte(bi[(n + 1) & 3],1)] ^ \ 129 ft_tab[2][byte(bi[(n + 2) & 3],2)] ^ \ 130 ft_tab[3][byte(bi[(n + 3) & 3],3)] ^ *(k + n) 132 #define i_rn(bo, bi, n, k) \ argument 133 bo[n] = it_tab[0][byte(bi[n],0)] ^ \ 134 it_tab[1][byte(bi[(n + 3) & 3],1)] ^ \ 135 it_tab[2][byte(bi[(n + 2) & 3],2)] ^ \ 136 it_tab[3][byte(bi[(n + 1) & 3],3)] ^ *(k + n) [all …]
|
/linux-2.4.37.9/drivers/net/hamradio/ |
D | hdlcdrv.c | 603 struct hdlcdrv_ioctl bi; in hdlcdrv_ioctl() local 611 return s->ops->ioctl(dev, ifr, &bi, cmd); in hdlcdrv_ioctl() 614 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in hdlcdrv_ioctl() 617 switch (bi.cmd) { in hdlcdrv_ioctl() 620 return s->ops->ioctl(dev, ifr, &bi, cmd); in hdlcdrv_ioctl() 624 bi.data.cp.tx_delay = s->ch_params.tx_delay; in hdlcdrv_ioctl() 625 bi.data.cp.tx_tail = s->ch_params.tx_tail; in hdlcdrv_ioctl() 626 bi.data.cp.slottime = s->ch_params.slottime; in hdlcdrv_ioctl() 627 bi.data.cp.ppersist = s->ch_params.ppersist; in hdlcdrv_ioctl() 628 bi.data.cp.fulldup = s->ch_params.fulldup; in hdlcdrv_ioctl() [all …]
|
D | baycom_par.c | 419 struct baycom_ioctl bi; in baycom_ioctl() local 460 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 462 switch (bi.cmd) { in baycom_ioctl() 468 bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; in baycom_ioctl() 469 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 470 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 475 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_fdx.c | 533 struct baycom_ioctl bi; in baycom_ioctl() local 576 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 578 switch (bi.cmd) { in baycom_ioctl() 584 bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; in baycom_ioctl() 585 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 586 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 591 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_hdx.c | 570 struct baycom_ioctl bi; in baycom_ioctl() local 613 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 615 switch (bi.cmd) { in baycom_ioctl() 621 bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; in baycom_ioctl() 622 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 623 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 628 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_epp.c | 1203 struct baycom_ioctl bi; in baycom_ioctl() local 1215 bi.data.dbg.debug1 = bc->ptt_keyed; in baycom_ioctl() 1216 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 1217 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 1219 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/ |
D | sm.c | 464 struct sm_ioctl bi; in sm_ioctl() local 542 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sm_ioctl() 544 bi.data.dbg.int_rate = sm->debug_vals.last_intcnt; in sm_ioctl() 545 bi.data.dbg.mod_cycles = sm->debug_vals.mod_cyc; in sm_ioctl() 546 bi.data.dbg.demod_cycles = sm->debug_vals.demod_cyc; in sm_ioctl() 547 bi.data.dbg.dma_residue = sm->debug_vals.dma_residue; in sm_ioctl() 550 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl() 556 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sm_ioctl() 558 newdiagmode = bi.data.diag.mode; in sm_ioctl() 559 newdiagflags = bi.data.diag.flags; in sm_ioctl() [all …]
|
D | sm_sbc.c | 501 struct sm_ioctl bi; in sbc_ioctl() local 513 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sbc_ioctl() 516 switch (bi.cmd) { in sbc_ioctl() 522 bi.data.mix.sample_rate = sm->mode_rx->srate; in sbc_ioctl() 523 bi.data.mix.bit_rate = sm->hdrv.par.bitrate; in sbc_ioctl() 524 bi.data.mix.mixer_type = SM_MIXER_INVALID; in sbc_ioctl() 527 bi.data.mix.mixer_type = SM_MIXER_CT1335; in sbc_ioctl() 530 bi.data.mix.mixer_type = SM_MIXER_CT1345; in sbc_ioctl() 533 bi.data.mix.mixer_type = SM_MIXER_CT1745; in sbc_ioctl() 536 if (bi.data.mix.mixer_type != SM_MIXER_INVALID && in sbc_ioctl() [all …]
|
D | sm_wss.c | 578 struct sm_ioctl bi; in wss_ioctl() local 589 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in wss_ioctl() 592 switch (bi.cmd) { in wss_ioctl() 598 bi.data.mix.sample_rate = sm->mode_rx->srate; in wss_ioctl() 599 bi.data.mix.bit_rate = sm->hdrv.par.bitrate; in wss_ioctl() 600 bi.data.mix.mixer_type = SCSTATE->crystal ? in wss_ioctl() 603 >> bi.data.mix.reg) & 1) { in wss_ioctl() 604 bi.data.mix.data = read_codec(dev, bi.data.mix.reg); in wss_ioctl() 607 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in wss_ioctl() 614 if ((bi.data.mix.mixer_type != SM_MIXER_CRYSTAL || in wss_ioctl() [all …]
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_rtalloc.h | 69 #define XFS_BITTOBLOCK(mp,bi) ((bi) >> (mp)->m_blkbit_log) argument 71 #define XFS_BITTOWORD(mp,bi) \ argument 72 ((int)(((bi) >> XFS_NBWORDLOG) & XFS_BLOCKWMASK(mp)))
|
/linux-2.4.37.9/drivers/acorn/char/ |
D | keyb_ps2.c | 275 static unsigned char bi; variable 292 bi = 0; in handle_rawcode() 297 bi = 0; in handle_rawcode() 318 buffer[bi++] = keyval; in handle_rawcode() 355 bi = 0; in handle_rawcode()
|
/linux-2.4.37.9/arch/m68k/mvme147/ |
D | config.c | 66 int mvme147_parse_bootinfo(const struct bi_record *bi) in mvme147_parse_bootinfo() argument 68 if (bi->tag == BI_VME_TYPE || bi->tag == BI_VME_BRDINFO) in mvme147_parse_bootinfo()
|
/linux-2.4.37.9/arch/m68k/mvme16x/ |
D | config.c | 73 int mvme16x_parse_bootinfo(const struct bi_record *bi) in mvme16x_parse_bootinfo() argument 75 if (bi->tag == BI_VME_TYPE || bi->tag == BI_VME_BRDINFO) in mvme16x_parse_bootinfo()
|
/linux-2.4.37.9/include/asm-ppc/ |
D | btext.h | 20 void btext_init(boot_infos_t *bi);
|
/linux-2.4.37.9/arch/m68k/bvme6000/ |
D | config.c | 69 int bvme6000_parse_bootinfo(const struct bi_record *bi) in bvme6000_parse_bootinfo() argument 71 if (bi->tag == BI_VME_TYPE) in bvme6000_parse_bootinfo()
|
/linux-2.4.37.9/drivers/video/ |
D | clgenfb.c | 1129 const struct clgen_board_info_rec *bi; in clgen_set_par() local 1136 bi = &clgen_board_info[fb_info->btype]; in clgen_set_par() 1298 bi->sr07_1bpp_mux : bi->sr07_1bpp); in clgen_set_par() 1382 bi->sr07_8bpp_mux : bi->sr07_8bpp); in clgen_set_par() 1922 const struct clgen_board_info_rec *bi; in init_vgachip() local 1928 bi = &clgen_board_info[fb_info->btype]; in init_vgachip() 2017 if (bi->init_sr07) in init_vgachip() 2018 vga_wseq (fb_info->regs, CL_SEQR7, bi->sr07); in init_vgachip() 2034 if (bi->init_sr1f) in init_vgachip() 2035 vga_wseq (fb_info->regs, CL_SEQR1F, bi->sr1f); in init_vgachip()
|