Searched refs:nsect (Results 1 - 25 of 44) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dhack-coff.c35 int i, nsect; local
59 nsect = get_16be(fhdr.f_nscns);
60 for (i = 0; i < nsect; ++i) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dplain_io.c187 dev->sectors = WORD(nsect);
320 unsigned int firstblock, nsect; local
331 nsect=(offset+len+This->scsi_sector_size-1)/ This->scsi_sector_size;
340 while (nsect*This->scsi_sector_size>len)
341 --nsect;
342 if(!nsect) {
361 if (nsect > max)
362 nsect=max;
378 if (firstblock > 0x1fffff || nsect > 0xff) {
396 cdb[7] = (unsigned char) (nsect >>
[all...]
H A Dminfo.c143 printf("sectors per track: %d\n", WORD(nsect));
H A Dxdf_io.c552 sect = WORD(nsect);
568 dev->sectors = WORD(nsect);
669 This->track_size = WORD(nsect);
H A Dmsdos.h173 unsigned char nsect[2]; /* 24 Sectors/track */ member in struct:bootsector
H A Ddevices.c877 SET_INT(gdbuf.params.psectrk,dev->nsect);
880 dev->nsect = gdbuf.params.psectrk;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dsun.c38 __be16 nsect; /* Sectors per track */ member in struct:sun_disklabel
74 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dsata_promise.h114 buf[i++] = tf->nsect;
139 buf[i++] = tf->nsect;
H A Dsata_svw.c136 writew(tf->nsect | (((u16)tf->hob_nsect) << 8),
146 writew(tf->nsect, ioaddr->nsect_addr);
162 u16 nsect, lbal, lbam, lbah, feature; local
167 nsect = readw(ioaddr->nsect_addr);
173 tf->nsect = nsect;
180 tf->hob_nsect = nsect >> 8;
H A Dsata_vsc.c173 writew(tf->nsect | (((u16)tf->hob_nsect) << 8),
183 writew(tf->nsect, ioaddr->nsect_addr);
199 u16 nsect, lbal, lbam, lbah, feature; local
204 nsect = readw(ioaddr->nsect_addr);
210 tf->nsect = nsect;
217 tf->hob_nsect = nsect >> 8;
H A Dpata_scc.c286 VPRINTK("hob: feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n",
296 out_be32(ioaddr->nsect_addr, tf->nsect);
300 VPRINTK("feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n",
302 tf->nsect,
342 tf->nsect = in_be32(ioaddr->nsect_addr);
464 u8 nsect, lbal; local
477 nsect = in_be32(ioaddr->nsect_addr);
480 if ((nsect == 0x55) && (lbal == 0xaa))
513 u8 nsect, lbal; local
516 nsect
[all...]
H A Dlibata-core.c141 fis[12] = tf->nsect;
177 tf->nsect = fis[12];
335 tf->nsect = tag << 3;
374 tf->nsect = n_block & 0xff;
408 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */
633 u8 nsect, lbal; local
646 nsect = ioread8(ioaddr->nsect_addr);
649 if ((nsect == 0x55) && (lbal == 0xaa))
3038 * to set nsect/lbal after reset, so don't waste too
3042 u8 nsect, lba local
4485 unsigned int nsect; local
[all...]
H A Dlibata-sff.c135 VPRINTK("hob: feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n",
145 iowrite8(tf->nsect, ioaddr->nsect_addr);
149 VPRINTK("feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n",
151 tf->nsect,
201 tf->nsect = ioread8(ioaddr->nsect_addr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acorn/block/
H A Dmfmhd.c207 static void issue_request(unsigned int block, unsigned int nsect,
773 static void issue_request(unsigned int block, unsigned int nsect, argument
811 if (nsect <= sectors_to_next_cyl) {
812 raw_cmd.cmddata[6] = nsect >> 8;
813 raw_cmd.cmddata[7] = nsect;
821 PartFragRead_SectorsLeft = nsect - sectors_to_next_cyl;
827 hdc63463_dataleft = nsect * 256; /* Better way? */
833 raw_cmd.sector, nsect, (unsigned long) Copy_buffer, CURRENT);
869 unsigned int block, nsect; local
888 nsect
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/
H A Dhd.c296 unsigned int nsect,
319 outb_p(nsect,++port);
583 unsigned int block, nsect, sec, track, head, cyl; local
606 nsect = req->nr_sectors;
608 ((block+nsect) > get_capacity(req->rq_disk))) {
610 req->rq_disk->disk_name, block, nsect);
627 cyl, head, sec, nsect, req->buffer);
632 hd_out(disk,nsect,sec,head,cyl,WIN_READ,&read_intr);
637 hd_out(disk,nsect,sec,head,cyl,WIN_WRITE,&write_intr);
295 hd_out(struct hd_i_struct *disk, unsigned int nsect, unsigned int sect, unsigned int head, unsigned int cyl, unsigned int cmd, void (*intr_addr)(void)) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtd_blkdevs.c41 unsigned long block, nsect; local
45 nsect = req->current_nr_sectors << 9 >> tr->blkshift;
57 for (; nsect > 0; nsect--, block++, buf += tr->blksize)
66 for (; nsect > 0; nsect--, block++, buf += tr->blksize)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dfdisk_sgi.c34 unsigned short nsect; /* sectors/tracks in cyl 0 or vol 0 */ member in struct:device_parameter
202 return SGI_SSWAP16(sgilabel->devparam.nsect);
771 unsigned int nsect; member in struct:__anon11437
806 old[i].nsect = get_nr_sects(get_part_table(i));
810 old[i].sysid, old[i].start, old[i].nsect);
837 sgilabel->devparam.nsect = SGI_SSWAP16(geometry.sectors);
860 sgi_set_partition(i, old[i].start, old[i].nsect, old[i].sysid);
H A Dfdisk_sun.c116 sectors = SUN_SSWAP16(sunlabel->nsect);
132 unsigned short nsect; member in struct:sun_predefined_drives
309 sunlabel->nsect = SUN_SSWAP16(p->nsect);
314 sectors = p->nsect;
325 sunlabel->nsect = SUN_SSWAP16(sectors);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dacsi.c947 unsigned block, target, lun, nsect;
1000 nsect = CURRENT->current_nr_sectors;
1009 if (nsect + (bh->b_size>>9) > ACSI_BUFFER_SECTORS) break;
1010 nsect += bh->b_size >> 9;
1019 pendadr = pbuffer + nsect*512;
1023 nsect += bh->b_size >> 9;
1034 if (nsect > ACSI_BUFFER_SECTORS)
1035 nsect = ACSI_BUFFER_SECTORS;
1039 CurrentNSect = nsect;
1044 CMDSET_LEN( write_cmd, nsect );
944 unsigned block, target, lun, nsect; local
[all...]
H A Dataflop.c641 int sect, nsect; local
669 nsect = UDT->spt;
677 FILL( 60 * (nsect / 9), 0x4e );
678 for( sect = 0; sect < nsect; ++sect ) {
684 *p++ = (nsect + sect - desc->sect_offset) % nsect + 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-taskfile.c307 unsigned int nsect; local
309 nsect = min_t(unsigned int, drive->hwif->nleft, drive->mult_count);
310 while (nsect--)
338 int sectors = hwif->nsect - hwif->nleft;
671 int ide_wait_cmd (ide_drive_t *drive, u8 cmd, u8 nsect, u8 feature, u8 sectors, u8 *buf) argument
682 *buf++ = nsect;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cdrom/
H A Dsonycd535.c801 int nsect; local
814 nsect = req->nr_sectors;
831 if (sony_toc->lead_out_start_lba <= ((block + nsect) / 4)) {
835 while (0 < nsect) {
921 nsect -= 1;
H A Dgscd.c254 unsigned int nsect; local
262 nsect = req->nr_sectors;
282 printk("GSCD: block %d, nsect %d\n", block, nsect);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/
H A Dmke2fs.c543 static void zap_sector(ext2_filsys fs, int sect, int nsect) argument
550 buf = xmalloc(512*nsect);
565 memset(buf, 0, 512*nsect);
567 retval = io_channel_write_blk(fs->io, sect, -512*nsect, buf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Data.h241 ATA_TFLAG_ISADDR = (1 << 1), /* enable r/w to nsect/lba regs */
286 u8 nsect; member in struct:ata_taskfile

Completed in 210 milliseconds

12