tag | line | file | source code |
bios_info | 87 | drivers/block/hd.c | struct hd_i_struct bios_info[] = { HD_TYPE }; |
bios_info | 91 | drivers/block/hd.c | struct hd_i_struct bios_info[] = { {0,0,0,0,0,0},{0,0,0,0,0,0} }; |
bios_info | 124 | drivers/block/hd.c | if (bios_info[0].head != 0) |
bios_info | 126 | drivers/block/hd.c | bios_info[hdind].head = hd_info[hdind].head = ints[2]; |
bios_info | 127 | drivers/block/hd.c | bios_info[hdind].sect = hd_info[hdind].sect = ints[3]; |
bios_info | 128 | drivers/block/hd.c | bios_info[hdind].cyl = hd_info[hdind].cyl = ints[1]; |
bios_info | 129 | drivers/block/hd.c | bios_info[hdind].wpcom = hd_info[hdind].wpcom = 0; |
bios_info | 130 | drivers/block/hd.c | bios_info[hdind].lzone = hd_info[hdind].lzone = ints[1]; |
bios_info | 131 | drivers/block/hd.c | bios_info[hdind].ctl = hd_info[hdind].ctl = (ints[2] > 8 ? 8 : 0); |
bios_info | 323 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
bios_info | 324 | drivers/block/hd.c | bios_info[dev].sect, id->max_multsect); |
bios_info | 801 | drivers/block/hd.c | put_fs_byte(bios_info[dev].head, |
bios_info | 803 | drivers/block/hd.c | put_fs_byte(bios_info[dev].sect, |
bios_info | 805 | drivers/block/hd.c | put_fs_word(bios_info[dev].cyl, |
bios_info | 932 | drivers/block/hd.c | (void *) bios_info, /* internal */ |
bios_info | 966 | drivers/block/hd.c | bios_info[drive].cyl = hd_info[drive].cyl = *(unsigned short *) BIOS; |
bios_info | 967 | drivers/block/hd.c | bios_info[drive].head = hd_info[drive].head = *(2+BIOS); |
bios_info | 968 | drivers/block/hd.c | bios_info[drive].wpcom = hd_info[drive].wpcom = *(unsigned short *) (5+BIOS); |
bios_info | 969 | drivers/block/hd.c | bios_info[drive].ctl = hd_info[drive].ctl = *(8+BIOS); |
bios_info | 970 | drivers/block/hd.c | bios_info[drive].lzone = hd_info[drive].lzone = *(unsigned short *) (12+BIOS); |
bios_info | 971 | drivers/block/hd.c | bios_info[drive].sect = hd_info[drive].sect = *(14+BIOS); |
bios_info | 1017 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
bios_info | 1018 | drivers/block/hd.c | bios_info[i].sect * bios_info[i].cyl; |
bios_info | 1063 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |