/linux-master/arch/powerpc/boot/ |
H A D | hack-coff.c | 31 int i, nsect; local 55 nsect = get_16be(fhdr.f_nscns); 56 for (i = 0; i < nsect; ++i) {
|
/linux-master/drivers/ata/ |
H A D | sata_promise.h | 98 buf[i++] = tf->nsect; 123 buf[i++] = tf->nsect;
|
H A D | libahci.c | 1341 tf.nsect = (tmp) & 0xff;
|
H A D | libata-acpi.c | 550 tf->nsect = gtf->tf[1]; /* 0x1f2 */ 597 tf->nsect == SATA_DIPM) 602 (tf->nsect == SATA_FPDMA_OFFSET || 603 tf->nsect == SATA_FPDMA_IN_ORDER)) 608 tf->nsect == SATA_FPDMA_AA) 622 * Writes the control, feature, nsect, lbal, lbam, and lbah registers. 671 tf.command, tf.feature, tf.nsect, tf.lbal, 680 tf.command, tf.feature, tf.nsect, tf.lbal, 690 tf.command, tf.feature, tf.nsect, tf.lbal, 700 tf.command, tf.feature, tf.nsect, t [all...] |
H A D | libata-core.c | 730 tf->nsect = qc->hw_tag << 3; 784 tf->nsect = n_block & 0xff; 815 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ 1945 tf->nsect = 1; 1981 ata_dev_dbg(dev, "Power mode: 0x%02x\n", tf.nsect); 1984 return tf.nsect == 0xff; 2118 tf.nsect = sectors; 4471 tf.nsect = dev->xfer_mode; 4474 tf.nsect = 0x01; 4512 tf.nsect [all...] |
H A D | libata-eh.c | 2484 cmd->command, cmd->feature, cmd->nsect, 2489 res->status, res->error, res->nsect,
|
H A D | libata-pmp.c | 57 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; 87 tf.nsect = val & 0xff;
|
H A D | libata-sata.c | 171 fis[12] = tf->nsect; 208 tf->nsect = fis[12]; 1422 tf->nsect = buf[12];
|
H A D | libata-scsi.c | 899 desc[5] = tf->nsect; 922 desc[3] = tf->nsect; 1434 tf->nsect = n_block & 0xff; 1462 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ 2911 tf->nsect = cdb[6]; 2925 tf->nsect = cdb[4]; 2949 tf->nsect = cdb[23]; 2961 tf->nsect = qc->hw_tag << 3; 2973 if (tf->protocol != ATA_PROT_PIO || tf->nsect != 1) { 3228 * For DATA SET MANAGEMENT TRIM in ACS-2 nsect (ak [all...] |
H A D | libata-sff.c | 366 iowrite8(tf->nsect, ioaddr->nsect_addr); 398 tf->nsect = ioread8(ioaddr->nsect_addr); 663 unsigned int nsect; local 667 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, 669 while (nsect--) 813 ireason = qc->result_tf.nsect; 1702 u8 nsect, lbal; local 1715 nsect = ioread8(ioaddr->nsect_addr); 1718 if ((nsect == 0x55) && (lbal == 0xaa)) 1843 * to set nsect/lba 1847 u8 nsect, lbal; local [all...] |
H A D | pata_ep93xx.c | 402 ep93xx_pata_write_reg(drv_data, tf->nsect, IDECTRL_ADDR_NSECT); 422 tf->nsect = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_NSECT); 525 u8 nsect, lbal; local 538 nsect = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_NSECT); 541 if ((nsect == 0x55) && (lbal == 0xaa)) 580 * to set nsect/lbal after reset, so don't waste too 584 u8 nsect, lbal; local 586 nsect = ep93xx_pata_read_reg(drv_data, 590 if (nsect == 1 && lbal == 1)
|
H A D | pata_ns87415.c | 269 tf->nsect = ioread8(ioaddr->nsect_addr);
|
H A D | pata_octeon_cf.c | 389 tf->nsect = blob & 0xff; 480 __raw_writew(tf->nsect | tf->lbal << 8, base + 2);
|
H A D | pata_via.c | 421 iowrite8(tf->nsect, ioaddr->nsect_addr);
|
H A D | pdc_adma.c | 333 buf[i++] = qc->tf.nsect;
|
H A D | sata_fsl.c | 797 tf.nsect = temp & 0xff;
|
H A D | sata_inic162x.c | 204 u8 nsect; /* ATA Sector Count */ member in struct:inic_cpb 506 cpb->nsect = qc->tf.nsect; 561 tf->nsect = readb(port_base + PORT_TF_NSECT);
|
H A D | sata_mv.c | 2046 * (nsect is used only for the tag; feat/hob_feat hold true nsect). 2071 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); 2149 (tf->nsect << 0) |
|
H A D | sata_nv.c | 793 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->nsect);
|
H A D | sata_promise.c | 522 buf[17] = qc->tf.nsect;
|
H A D | sata_rcar.c | 285 u8 nsect, lbal; local 298 nsect = ioread32(ioaddr->nsect_addr); 301 if (nsect == 0x55 && lbal == 0xaa) 381 iowrite32(tf->nsect, ioaddr->nsect_addr); 399 tf->nsect = ioread32(ioaddr->nsect_addr);
|
H A D | sata_svw.c | 172 writew(tf->nsect | (((u16)tf->hob_nsect) << 8), 182 writew(tf->nsect, ioaddr->nsect_addr); 198 u16 nsect, lbal, lbam, lbah, error; local 203 nsect = readw(ioaddr->nsect_addr); 209 tf->nsect = nsect; 216 tf->hob_nsect = nsect >> 8;
|
/linux-master/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 71 unsigned long nsect, char *buffer, int write) 74 unsigned long nbytes = nsect << SECTOR_SHIFT; 70 simdisk_transfer(struct simdisk *dev, unsigned long sector, unsigned long nsect, char *buffer, int write) argument
|
/linux-master/block/partitions/ |
H A D | sun.c | 56 __be16 nsect; /* Sectors per track */ member in struct:sun_disklabel 107 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect);
|
/linux-master/drivers/ata/pata_parport/ |
H A D | pata_parport.c | 64 u8 nsect, lbal; local 77 nsect = pi->proto->read_regr(pi, 0, ATA_REG_NSECT); 80 return (nsect == 0x55) && (lbal == 0xaa); 118 * to set nsect/lbal after reset, so don't waste too 122 u8 nsect, lbal; local 124 nsect = pi->proto->read_regr(pi, 0, ATA_REG_NSECT); 126 if (nsect == 1 && lbal == 1) 239 pi->proto->write_regr(pi, 0, ATA_REG_NSECT, tf->nsect); 257 tf->nsect = pi->proto->read_regr(pi, 0, ATA_REG_NSECT);
|