/drivers/ide/ |
H A D | ide-taskfile.c | 47 printk("%s: tf: feat 0x%02x nsect 0x%02x lbal 0x%02x " 49 s, cmd->tf.feature, cmd->tf.nsect, 52 printk("%s: hob: nsect 0x%02x lbal 0x%02x lbam 0x%02x lbah 0x%02x\n", 53 s, cmd->hob.nsect, cmd->hob.lbal, cmd->hob.lbam, cmd->hob.lbah); 62 cmd.tf.nsect = 0x01; 328 u8 err = ide_read_error(drive), nsect = cmd->tf.nsect; local 335 ide_set_xfer_rate(drive, nsect); 428 u16 nsect) 443 if (nsect) { 427 ide_raw_taskfile(ide_drive_t *drive, struct ide_cmd *cmd, u8 *buf, u16 nsect) argument 481 u16 nsect = 0; local [all...] |
H A D | ide-ioctls.c | 142 tf->nsect = args[3]; 149 tf->nsect = args[1]; 166 tf->nsect >= XFER_SW_DMA_0) { 167 xfer_rate = ide_find_dma_mode(drive, tf->nsect); 168 if (xfer_rate != tf->nsect) { 180 args[2] = tf->nsect;
|
H A D | ide-io-std.c | 104 tf_outb(tf->nsect, io_ports->nsect_addr); 131 tf->nsect = tf_inb(io_ports->nsect_addr);
|
H A D | ide-disk.c | 108 tf->nsect = nsectors & 0xff; 115 tf->nsect = (nsectors >> 8) & 0xff; 126 tf->nsect = nsectors & 0xff; 142 tf->nsect = nsectors & 0xff; 509 static int ide_do_setfeature(ide_drive_t *drive, u8 feature, u8 nsect) argument 515 cmd.tf.nsect = nsect;
|
H A D | ide-io.c | 157 tf->nsect = drive->sect; 167 tf->nsect = drive->sect; 173 tf->nsect = drive->mult_req;
|
H A D | ide-eh.c | 37 int nsect = drive->mult_count ? drive->mult_count : 1; local 39 ide_pad_transfer(drive, READ, nsect * SECTOR_SIZE);
|
H A D | ide-disk_proc.c | 32 tf->nsect = 0x01;
|
H A D | ide-atapi.c | 331 *ireason = tf.nsect & 3; 548 return tf.nsect & 3;
|
H A D | ns87415.c | 72 tf->nsect = inb(io_ports->nsect_addr);
|
/drivers/ata/ |
H A D | sata_promise.h | 114 buf[i++] = tf->nsect; 139 buf[i++] = tf->nsect;
|
H A D | sata_svw.c | 159 writew(tf->nsect | (((u16)tf->hob_nsect) << 8), 169 writew(tf->nsect, ioaddr->nsect_addr); 185 u16 nsect, lbal, lbam, lbah, feature; local 190 nsect = readw(ioaddr->nsect_addr); 196 tf->nsect = nsect; 203 tf->hob_nsect = nsect >> 8;
|
H A D | sata_vsc.c | 177 writew(tf->nsect | (((u16)tf->hob_nsect) << 8), 187 writew(tf->nsect, ioaddr->nsect_addr); 203 u16 nsect, lbal, lbam, lbah, feature; local 208 nsect = readw(ioaddr->nsect_addr); 214 tf->nsect = nsect; 221 tf->hob_nsect = nsect >> 8;
|
H A D | libata-acpi.c | 585 tf->nsect = gtf->tf[1]; /* 0x1f2 */ 632 tf->nsect == SATA_DIPM) 637 (tf->nsect == SATA_FPDMA_OFFSET || 638 tf->nsect == SATA_FPDMA_IN_ORDER)) 643 tf->nsect == SATA_FPDMA_AA) 656 * Writes the control, feature, nsect, lbal, lbam, and lbah registers. 732 tf.command, tf.feature, tf.nsect, tf.lbal,
|
H A D | pata_scc.c | 295 VPRINTK("hob: feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n", 305 out_be32(ioaddr->nsect_addr, tf->nsect); 309 VPRINTK("feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n", 311 tf->nsect, 351 tf->nsect = in_be32(ioaddr->nsect_addr); 486 u8 nsect, lbal; local 499 nsect = in_be32(ioaddr->nsect_addr); 502 if ((nsect == 0x55) && (lbal == 0xaa)) 552 * to set nsect/lbal after reset, so don't waste too 556 u8 nsect, lba local [all...] |
H A D | pata_samsung_cf.c | 177 ata_outb(ap->host, tf->nsect, ioaddr->nsect_addr); 197 tf->nsect = ata_inb(ap->host, ioaddr->nsect_addr); 295 u8 nsect, lbal; local 308 nsect = ata_inb(ap->host, ioaddr->nsect_addr); 311 if ((nsect == 0x55) && (lbal == 0xaa))
|
H A D | pata_bf54x.c | 689 dev_dbg(ap->dev, "hob: feat 0x%X nsect 0x%X, lba 0x%X " 699 write_atapi_register(base, ATA_REG_NSECT, tf->nsect); 703 dev_dbg(ap->dev, "feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n", 705 tf->nsect, 746 tf->nsect = read_atapi_register(base, ATA_REG_NSECT); 969 u8 nsect, lbal; local 982 nsect = read_atapi_register(base, ATA_REG_NSECT); 985 if ((nsect == 0x55) && (lbal == 0xaa)) 1015 u8 nsect, lbal; local 1018 nsect [all...] |
H A D | libata-sff.c | 432 VPRINTK("hob: feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n", 442 iowrite8(tf->nsect, ioaddr->nsect_addr); 446 VPRINTK("feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n", 448 tf->nsect, 482 tf->nsect = ioread8(ioaddr->nsect_addr); 763 unsigned int nsect; local 767 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, 769 while (nsect--) 926 ireason = qc->result_tf.nsect; 1834 u8 nsect, lba local 1976 u8 nsect, lbal; local [all...] |
H A D | pata_ns87415.c | 270 tf->nsect = ioread8(ioaddr->nsect_addr);
|
H A D | sata_inic162x.c | 193 u8 nsect; /* ATA Sector Count */ member in struct:inic_cpb 492 cpb->nsect = qc->tf.nsect; 545 tf->nsect = readb(port_base + PORT_TF_NSECT);
|
H A D | libata-scsi.c | 978 desc[5] = tf->nsect; 1325 tf->nsect = 1; /* 1 sector, lba=0 */ 1566 tf->nsect = n_block & 0xff; 1597 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ 2121 tf.nsect = 0x1; 2880 tf->nsect = cdb[6]; 2893 tf->nsect = cdb[4]; 2911 if (tf->protocol != ATA_PROT_PIO || tf->nsect != 1) 3067 tf->nsect = size / 512;
|
H A D | pata_via.c | 417 VPRINTK("hob: feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n", 427 iowrite8(tf->nsect, ioaddr->nsect_addr); 431 VPRINTK("feat 0x%X nsect 0x%X lba 0x%X 0x%X 0x%X\n", 433 tf->nsect,
|
H A D | pata_octeon_cf.c | 348 tf->nsect = blob & 0xff; 438 VPRINTK("hob: feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n", 447 __raw_writew(tf->nsect | tf->lbal << 8, base + 2); 449 VPRINTK("feat 0x%X nsect 0x%X, lba 0x%X 0x%X 0x%X\n", 451 tf->nsect,
|
/drivers/block/ |
H A D | hd.c | 305 unsigned int nsect, 328 outb_p(nsect, ++port); 581 unsigned int block, nsect, sec, track, head, cyl; local 605 nsect = blk_rq_sectors(req); 607 ((block+nsect) > get_capacity(req->rq_disk))) { 609 req->rq_disk->disk_name, block, nsect); 627 cyl, head, sec, nsect, req->buffer); 632 hd_out(disk, nsect, sec, head, cyl, ATA_CMD_PIO_READ, 638 hd_out(disk, nsect, sec, head, cyl, ATA_CMD_PIO_WRITE, 304 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
|
H A D | ataflop.c | 647 int sect, nsect; local 675 nsect = UDT->spt; 683 FILL( 60 * (nsect / 9), 0x4e ); 684 for( sect = 0; sect < nsect; ++sect ) { 690 *p++ = (nsect + sect - desc->sect_offset) % nsect + 1;
|
/drivers/mtd/ |
H A D | mtd_blkdevs.c | 82 unsigned long block, nsect; local 86 nsect = blk_rq_cur_bytes(req) >> tr->blkshift; 98 return tr->discard(dev, block, nsect); 102 for (; nsect > 0; nsect--, block++, buf += tr->blksize) 112 for (; nsect > 0; nsect--, block++, buf += tr->blksize)
|