nsect 31 arch/powerpc/boot/hack-coff.c int i, nsect; nsect 55 arch/powerpc/boot/hack-coff.c nsect = get_16be(fhdr.f_nscns); nsect 56 arch/powerpc/boot/hack-coff.c for (i = 0; i < nsect; ++i) { nsect 72 arch/xtensa/platforms/iss/simdisk.c unsigned long nsect, char *buffer, int write) nsect 75 arch/xtensa/platforms/iss/simdisk.c unsigned long nbytes = nsect << SECTOR_SHIFT; nsect 49 block/partitions/sun.c __be16 nsect; /* Sectors per track */ nsect 101 block/partitions/sun.c spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); nsect 1277 drivers/ata/libahci.c tf.nsect = (tmp) & 0xff; nsect 558 drivers/ata/libata-acpi.c tf->nsect = gtf->tf[1]; /* 0x1f2 */ nsect 605 drivers/ata/libata-acpi.c tf->nsect == SATA_DIPM) nsect 610 drivers/ata/libata-acpi.c (tf->nsect == SATA_FPDMA_OFFSET || nsect 611 drivers/ata/libata-acpi.c tf->nsect == SATA_FPDMA_IN_ORDER)) nsect 616 drivers/ata/libata-acpi.c tf->nsect == SATA_FPDMA_AA) nsect 705 drivers/ata/libata-acpi.c tf.command, tf.feature, tf.nsect, tf.lbal, nsect 558 drivers/ata/libata-core.c fis[12] = tf->nsect; nsect 594 drivers/ata/libata-core.c tf->nsect = fis[12]; nsect 759 drivers/ata/libata-core.c tf->nsect = tag << 3; nsect 804 drivers/ata/libata-core.c tf->nsect = n_block & 0xff; nsect 838 drivers/ata/libata-core.c tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ nsect 2073 drivers/ata/libata-core.c tf.nsect = sectors; nsect 4824 drivers/ata/libata-core.c tf.nsect = dev->xfer_mode; nsect 4827 drivers/ata/libata-core.c tf.nsect = 0x01; nsect 4867 drivers/ata/libata-core.c tf.nsect = feature; nsect 4908 drivers/ata/libata-core.c tf.nsect = sectors; nsect 1470 drivers/ata/libata-eh.c tf->nsect = buf[12]; nsect 2560 drivers/ata/libata-eh.c cmd->command, cmd->feature, cmd->nsect, nsect 2565 drivers/ata/libata-eh.c res->command, res->feature, res->nsect, nsect 57 drivers/ata/libata-pmp.c *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; nsect 87 drivers/ata/libata-pmp.c tf.nsect = val & 0xff; nsect 1118 drivers/ata/libata-scsi.c desc[5] = tf->nsect; nsect 1141 drivers/ata/libata-scsi.c desc[3] = tf->nsect; nsect 1488 drivers/ata/libata-scsi.c tf->nsect = 1; /* 1 sector, lba=0 */ nsect 1735 drivers/ata/libata-scsi.c tf->nsect = n_block & 0xff; nsect 1766 drivers/ata/libata-scsi.c tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ nsect 2364 drivers/ata/libata-scsi.c tf.nsect = 0x1; nsect 3191 drivers/ata/libata-scsi.c tf->nsect = cdb[6]; nsect 3204 drivers/ata/libata-scsi.c tf->nsect = cdb[4]; nsect 3227 drivers/ata/libata-scsi.c tf->nsect = cdb[23]; nsect 3238 drivers/ata/libata-scsi.c tf->nsect = qc->hw_tag << 3; nsect 3250 drivers/ata/libata-scsi.c if (tf->protocol != ATA_PROT_PIO || tf->nsect != 1) { nsect 3518 drivers/ata/libata-scsi.c tf->nsect = qc->hw_tag << 3; nsect 3528 drivers/ata/libata-scsi.c tf->nsect = size / 512; nsect 3738 drivers/ata/libata-scsi.c tf->nsect = qc->hw_tag << 3; nsect 3748 drivers/ata/libata-scsi.c tf->nsect = sect & 0xff; nsect 3827 drivers/ata/libata-scsi.c tf->nsect = qc->hw_tag << 3; nsect 3906 drivers/ata/libata-scsi.c tf->nsect = 0; nsect 4179 drivers/ata/libata-scsi.c tf->nsect = len & 0xff; nsect 426 drivers/ata/libata-sff.c iowrite8(tf->nsect, ioaddr->nsect_addr); nsect 432 drivers/ata/libata-sff.c tf->nsect, nsect 466 drivers/ata/libata-sff.c tf->nsect = ioread8(ioaddr->nsect_addr); nsect 710 drivers/ata/libata-sff.c unsigned int nsect; nsect 714 drivers/ata/libata-sff.c nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, nsect 716 drivers/ata/libata-sff.c while (nsect--) nsect 859 drivers/ata/libata-sff.c ireason = qc->result_tf.nsect; nsect 1769 drivers/ata/libata-sff.c u8 nsect, lbal; nsect 1782 drivers/ata/libata-sff.c nsect = ioread8(ioaddr->nsect_addr); nsect 1785 drivers/ata/libata-sff.c if ((nsect == 0x55) && (lbal == 0xaa)) nsect 1911 drivers/ata/libata-sff.c u8 nsect, lbal; nsect 1913 drivers/ata/libata-sff.c nsect = ioread8(ioaddr->nsect_addr); nsect 1915 drivers/ata/libata-sff.c if ((nsect == 1) && (lbal == 1)) nsect 401 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, tf->nsect, IDECTRL_ADDR_NSECT); nsect 421 drivers/ata/pata_ep93xx.c tf->nsect = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_NSECT); nsect 524 drivers/ata/pata_ep93xx.c u8 nsect, lbal; nsect 537 drivers/ata/pata_ep93xx.c nsect = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_NSECT); nsect 540 drivers/ata/pata_ep93xx.c if ((nsect == 0x55) && (lbal == 0xaa)) nsect 583 drivers/ata/pata_ep93xx.c u8 nsect, lbal; nsect 585 drivers/ata/pata_ep93xx.c nsect = ep93xx_pata_read_reg(drv_data, nsect 589 drivers/ata/pata_ep93xx.c if (nsect == 1 && lbal == 1) nsect 270 drivers/ata/pata_ns87415.c tf->nsect = ioread8(ioaddr->nsect_addr); nsect 392 drivers/ata/pata_octeon_cf.c tf->nsect = blob & 0xff; nsect 491 drivers/ata/pata_octeon_cf.c __raw_writew(tf->nsect | tf->lbal << 8, base + 2); nsect 495 drivers/ata/pata_octeon_cf.c tf->nsect, nsect 197 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->nsect, ioaddr->nsect_addr); nsect 217 drivers/ata/pata_samsung_cf.c tf->nsect = ata_inb(ap->host, ioaddr->nsect_addr); nsect 315 drivers/ata/pata_samsung_cf.c u8 nsect, lbal; nsect 328 drivers/ata/pata_samsung_cf.c nsect = ata_inb(ap->host, ioaddr->nsect_addr); nsect 331 drivers/ata/pata_samsung_cf.c if ((nsect == 0x55) && (lbal == 0xaa)) nsect 427 drivers/ata/pata_via.c iowrite8(tf->nsect, ioaddr->nsect_addr); nsect 433 drivers/ata/pata_via.c tf->nsect, nsect 338 drivers/ata/pdc_adma.c buf[i++] = qc->tf.nsect; nsect 322 drivers/ata/sata_dwc_460ex.c tf->feature, tf->nsect, tf->lbal, tf->lbam, tf->lbah); nsect 811 drivers/ata/sata_fsl.c tf.nsect = temp & 0xff; nsect 204 drivers/ata/sata_inic162x.c u8 nsect; /* ATA Sector Count */ nsect 508 drivers/ata/sata_inic162x.c cpb->nsect = qc->tf.nsect; nsect 561 drivers/ata/sata_inic162x.c tf->nsect = readb(port_base + PORT_TF_NSECT); nsect 2108 drivers/ata/sata_mv.c mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); nsect 2184 drivers/ata/sata_mv.c (tf->nsect << 0) | nsect 783 drivers/ata/sata_nv.c cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->nsect); nsect 528 drivers/ata/sata_promise.c buf[17] = qc->tf.nsect; nsect 98 drivers/ata/sata_promise.h buf[i++] = tf->nsect; nsect 123 drivers/ata/sata_promise.h buf[i++] = tf->nsect; nsect 290 drivers/ata/sata_rcar.c u8 nsect, lbal; nsect 303 drivers/ata/sata_rcar.c nsect = ioread32(ioaddr->nsect_addr); nsect 306 drivers/ata/sata_rcar.c if (nsect == 0x55 && lbal == 0xaa) nsect 396 drivers/ata/sata_rcar.c iowrite32(tf->nsect, ioaddr->nsect_addr); nsect 402 drivers/ata/sata_rcar.c tf->nsect, nsect 422 drivers/ata/sata_rcar.c tf->nsect = ioread32(ioaddr->nsect_addr); nsect 171 drivers/ata/sata_svw.c writew(tf->nsect | (((u16)tf->hob_nsect) << 8), nsect 181 drivers/ata/sata_svw.c writew(tf->nsect, ioaddr->nsect_addr); nsect 197 drivers/ata/sata_svw.c u16 nsect, lbal, lbam, lbah, feature; nsect 202 drivers/ata/sata_svw.c nsect = readw(ioaddr->nsect_addr); nsect 208 drivers/ata/sata_svw.c tf->nsect = nsect; nsect 215 drivers/ata/sata_svw.c tf->hob_nsect = nsect >> 8; nsect 160 drivers/ata/sata_vsc.c writew(tf->nsect | (((u16)tf->hob_nsect) << 8), nsect 170 drivers/ata/sata_vsc.c writew(tf->nsect, ioaddr->nsect_addr); nsect 186 drivers/ata/sata_vsc.c u16 nsect, lbal, lbam, lbah, feature; nsect 191 drivers/ata/sata_vsc.c nsect = readw(ioaddr->nsect_addr); nsect 197 drivers/ata/sata_vsc.c tf->nsect = nsect; nsect 204 drivers/ata/sata_vsc.c tf->hob_nsect = nsect >> 8; nsect 728 drivers/block/ataflop.c int sect, nsect; nsect 755 drivers/block/ataflop.c nsect = UDT->spt; nsect 763 drivers/block/ataflop.c FILL( 60 * (nsect / 9), 0x4e ); nsect 764 drivers/block/ataflop.c for( sect = 0; sect < nsect; ++sect ) { nsect 770 drivers/block/ataflop.c *p++ = (nsect + sect - desc->sect_offset) % nsect + 1; nsect 1718 drivers/block/mtip32xx/mtip32xx.c u8 nsect = 0; nsect 1765 drivers/block/mtip32xx/mtip32xx.c nsect = taskout / ATA_SECT_SIZE; nsect 1810 drivers/block/mtip32xx/mtip32xx.c if (nsect) nsect 1811 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = nsect; nsect 2066 drivers/block/mtip32xx/mtip32xx.c unsigned int nsect = blk_rq_sectors(rq); nsect 2098 drivers/block/mtip32xx/mtip32xx.c fis->features = nsect & 0xFF; nsect 2099 drivers/block/mtip32xx/mtip32xx.c fis->features_ex = (nsect >> 8) & 0xFF; nsect 126 drivers/block/sunvdc.c sector_t nsect = get_capacity(disk); nsect 127 drivers/block/sunvdc.c sector_t cylinders = nsect; nsect 133 drivers/block/sunvdc.c if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect) nsect 76 drivers/block/swim3.c REG(nsect); /* # sectors to read or write */ nsect 442 drivers/block/swim3.c out_8(&sw->nsect, n); nsect 480 drivers/block/xen-blkfront.c sector_t nsect = get_capacity(bd->bd_disk); nsect 481 drivers/block/xen-blkfront.c sector_t cylinders = nsect; nsect 487 drivers/block/xen-blkfront.c if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) nsect 358 drivers/ide/ide-atapi.c *ireason = tf.nsect & 3; nsect 576 drivers/ide/ide-atapi.c return tf.nsect & 3; nsect 109 drivers/ide/ide-disk.c tf->nsect = nsectors & 0xff; nsect 116 drivers/ide/ide-disk.c tf->nsect = (nsectors >> 8) & 0xff; nsect 127 drivers/ide/ide-disk.c tf->nsect = nsectors & 0xff; nsect 143 drivers/ide/ide-disk.c tf->nsect = nsectors & 0xff; nsect 508 drivers/ide/ide-disk.c static int ide_do_setfeature(ide_drive_t *drive, u8 feature, u8 nsect) nsect 514 drivers/ide/ide-disk.c cmd.tf.nsect = nsect; nsect 33 drivers/ide/ide-disk_proc.c tf->nsect = 0x01; nsect 38 drivers/ide/ide-eh.c int nsect = drive->mult_count ? drive->mult_count : 1; nsect 40 drivers/ide/ide-eh.c ide_pad_transfer(drive, READ, nsect * SECTOR_SIZE); nsect 105 drivers/ide/ide-io-std.c tf_outb(tf->nsect, io_ports->nsect_addr); nsect 132 drivers/ide/ide-io-std.c tf->nsect = tf_inb(io_ports->nsect_addr); nsect 167 drivers/ide/ide-io.c tf->nsect = drive->sect; nsect 177 drivers/ide/ide-io.c tf->nsect = drive->sect; nsect 183 drivers/ide/ide-io.c tf->nsect = drive->mult_req; nsect 144 drivers/ide/ide-ioctls.c tf->nsect = args[3]; nsect 151 drivers/ide/ide-ioctls.c tf->nsect = args[1]; nsect 168 drivers/ide/ide-ioctls.c tf->nsect >= XFER_SW_DMA_0) { nsect 169 drivers/ide/ide-ioctls.c xfer_rate = ide_find_dma_mode(drive, tf->nsect); nsect 170 drivers/ide/ide-ioctls.c if (xfer_rate != tf->nsect) { nsect 182 drivers/ide/ide-ioctls.c args[2] = tf->nsect; nsect 381 drivers/ide/ide-iops.c tf.nsect = speed; nsect 198 drivers/ide/ide-proc.c cmd.tf.nsect = (u8)arg; nsect 51 drivers/ide/ide-taskfile.c s, cmd->tf.feature, cmd->tf.nsect, nsect 55 drivers/ide/ide-taskfile.c s, cmd->hob.nsect, cmd->hob.lbal, cmd->hob.lbam, cmd->hob.lbah); nsect 64 drivers/ide/ide-taskfile.c cmd.tf.nsect = 0x01; nsect 321 drivers/ide/ide-taskfile.c u8 err = ide_read_error(drive), nsect = cmd->tf.nsect; nsect 328 drivers/ide/ide-taskfile.c ide_set_xfer_rate(drive, nsect); nsect 421 drivers/ide/ide-taskfile.c u16 nsect) nsect 437 drivers/ide/ide-taskfile.c if (nsect) { nsect 439 drivers/ide/ide-taskfile.c nsect * SECTOR_SIZE, GFP_NOIO); nsect 475 drivers/ide/ide-taskfile.c u16 nsect = 0; nsect 590 drivers/ide/ide-taskfile.c nsect = taskout / SECTOR_SIZE; nsect 608 drivers/ide/ide-taskfile.c nsect = taskin / SECTOR_SIZE; nsect 620 drivers/ide/ide-taskfile.c nsect = 0; nsect 621 drivers/ide/ide-taskfile.c else if (!nsect) { nsect 622 drivers/ide/ide-taskfile.c nsect = (cmd.hob.nsect << 8) | cmd.tf.nsect; nsect 624 drivers/ide/ide-taskfile.c if (!nsect) { nsect 632 drivers/ide/ide-taskfile.c err = ide_raw_taskfile(drive, &cmd, data_buf, nsect); nsect 73 drivers/ide/ns87415.c tf->nsect = inb(io_ports->nsect_addr); nsect 69 drivers/mtd/mtd_blkdevs.c unsigned long block, nsect; nsect 73 drivers/mtd/mtd_blkdevs.c nsect = blk_rq_cur_bytes(req) >> tr->blkshift; nsect 87 drivers/mtd/mtd_blkdevs.c if (tr->discard(dev, block, nsect)) nsect 92 drivers/mtd/mtd_blkdevs.c for (; nsect > 0; nsect--, block++, buf += tr->blksize) { nsect 107 drivers/mtd/mtd_blkdevs.c for (; nsect > 0; nsect--, block++, buf += tr->blksize) { nsect 6839 drivers/scsi/ipr.c regs->nsect = tf->nsect; nsect 7134 drivers/scsi/ipr.c tf->nsect = g->nsect; nsect 557 drivers/scsi/ipr.h u8 nsect; nsect 669 drivers/scsi/ipr.h u8 nsect; /* Interrupt reason */ nsect 194 drivers/scsi/libsas/sas_ata.c qc->tf.nsect = 0; nsect 1451 drivers/scsi/storvsc_drv.c sector_t nsect = capacity; nsect 1452 drivers/scsi/storvsc_drv.c sector_t cylinders = nsect; nsect 1461 drivers/scsi/storvsc_drv.c if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) nsect 318 include/linux/ide.h u8 nsect; /* 2: number of sectors */ nsect 559 include/linux/libata.h u8 nsect; nsect 166 include/trace/events/libata.h __field( unsigned char, nsect ) nsect 193 include/trace/events/libata.h __entry->nsect = qc->tf.nsect; nsect 203 include/trace/events/libata.h __entry->cmd, __entry->feature, __entry->nsect, nsect 225 include/trace/events/libata.h __field( unsigned char, nsect ) nsect 250 include/trace/events/libata.h __entry->nsect = qc->result_tf.nsect; nsect 259 include/trace/events/libata.h __entry->status, __entry->error, __entry->nsect,