Home
last modified time | relevance | path

Searched refs:nsect (Results 1 – 21 of 21) sorted by relevance

/linux/include/trace/events/
H A Dlibata.h197 __field( unsigned char, nsect )
224 __entry->nsect = qc->tf.nsect;
234 __entry->cmd, __entry->feature, __entry->nsect,
264 __field( unsigned char, nsect )
289 __entry->nsect = qc->result_tf.nsect;
299 __entry->status, __entry->error, __entry->nsect,
331 __field( unsigned char, nsect )
354 __entry->nsect = tf->nsect;
364 __entry->cmd, __entry->feature, __entry->nsect,
/linux/drivers/mtd/
H A Dmtd_blkdevs.c51 unsigned long block, nsect; in do_blktrans_request() local
55 nsect = blk_rq_cur_bytes(req) >> tr->blkshift; in do_blktrans_request()
63 if (tr->discard(dev, block, nsect)) in do_blktrans_request()
68 for (; nsect > 0; nsect--, block++, buf += tr->blksize) { in do_blktrans_request()
87 for (; nsect > 0; nsect--, block++, buf += tr->blksize) { in do_blktrans_request()
/linux/drivers/ata/
H A Dlibata-acpi.c625 tf->nsect = gtf->tf[1]; /* 0x1f2 */ in ata_acpi_gtf_to_tf()
672 tf->nsect == SATA_DIPM) in ata_acpi_filter_tf()
677 (tf->nsect == SATA_FPDMA_OFFSET || in ata_acpi_filter_tf()
678 tf->nsect == SATA_FPDMA_IN_ORDER)) in ata_acpi_filter_tf()
683 tf->nsect == SATA_FPDMA_AA) in ata_acpi_filter_tf()
746 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
755 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
765 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
775 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
H A Dsata_promise.h98 buf[i++] = tf->nsect; in pdc_prep_lba28()
123 buf[i++] = tf->nsect; in pdc_prep_lba48()
H A Dpata_ep93xx.c404 ep93xx_pata_write_reg(drv_data, tf->nsect, IDECTRL_ADDR_NSECT); in ep93xx_pata_tf_load()
424 tf->nsect = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_NSECT); in ep93xx_pata_tf_read()
527 u8 nsect, lbal; in ep93xx_pata_device_is_present() local
540 nsect = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_NSECT); in ep93xx_pata_device_is_present()
543 if ((nsect == 0x55) && (lbal == 0xaa)) in ep93xx_pata_device_is_present()
586 u8 nsect, lbal; in ep93xx_pata_wait_after_reset() local
588 nsect = ep93xx_pata_read_reg(drv_data, in ep93xx_pata_wait_after_reset()
592 if (nsect == 1 && lbal == 1) in ep93xx_pata_wait_after_reset()
H A Dlibata-scsi.c278 desc[5] = tf->nsect; in ata_scsi_set_passthru_sense_fields()
302 sb[6] = tf->nsect; in ata_scsi_set_passthru_sense_fields()
1462 tf->nsect = n_block & 0xff; in ata_scsi_verify_xlat()
1490 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ in ata_scsi_verify_xlat()
3362 tf->nsect = cdb[6]; in ata_scsi_pass_thru()
3376 tf->nsect = cdb[4]; in ata_scsi_pass_thru()
3400 tf->nsect = cdb[23]; in ata_scsi_pass_thru()
3412 tf->nsect = qc->hw_tag << 3; in ata_scsi_pass_thru()
3424 if (tf->protocol != ATA_PROT_PIO || tf->nsect != 1) { in ata_scsi_pass_thru()
3704 tf->nsect = qc->hw_tag << 3; in ata_scsi_write_same_xlat()
[all …]
H A Dsata_rcar.c285 u8 nsect, lbal; in sata_rcar_ata_devchk() local
298 nsect = ioread32(ioaddr->nsect_addr); in sata_rcar_ata_devchk()
301 if (nsect == 0x55 && lbal == 0xaa) in sata_rcar_ata_devchk()
381 iowrite32(tf->nsect, ioaddr->nsect_addr); in sata_rcar_tf_load()
399 tf->nsect = ioread32(ioaddr->nsect_addr); in sata_rcar_tf_read()
H A Dlibata-sata.c171 fis[12] = tf->nsect; in ata_tf_to_fis()
208 tf->nsect = fis[12]; in ata_tf_from_fis()
1514 tf->nsect = buf[12]; in ata_eh_read_log_10h()
1596 qc->result_tf.nsect = sense[6]; in ata_eh_get_ncq_success_sense()
H A Dpata_ns87415.c269 tf->nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read()
H A Dlibata-core.c762 tf->nsect = qc->hw_tag << 3; in ata_build_rw_tf()
816 tf->nsect = n_block & 0xff; in ata_build_rw_tf()
847 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ in ata_build_rw_tf()
1992 tf->nsect = 1; in ata_dev_power_init_tf()
2028 ata_dev_dbg(dev, "Power mode: 0x%02x\n", tf.nsect); in ata_dev_power_is_active()
2031 return tf.nsect == 0xff; in ata_dev_power_is_active()
2165 tf.nsect = sectors; in ata_read_log_page()
4765 tf.nsect = dev->xfer_mode; in ata_dev_set_xfermode()
4768 tf.nsect = 0x01; in ata_dev_set_xfermode()
4806 tf.nsect = action; in ata_dev_set_feature()
[all …]
H A Dpata_octeon_cf.c389 tf->nsect = blob & 0xff; in octeon_cf_tf_read16()
480 __raw_writew(tf->nsect | tf->lbal << 8, base + 2); in octeon_cf_tf_load16()
H A Dlibata-eh.c2749 cmd->command, cmd->feature, cmd->nsect, in ata_eh_link_report()
2754 res->status, res->error, res->nsect, in ata_eh_link_report()
H A Dsata_mv.c2071 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2149 (tf->nsect << 0) | in mv_qc_prep_iie()
/linux/drivers/ata/pata_parport/
H A Dpata_parport.c64 u8 nsect, lbal; in pata_parport_devchk() local
77 nsect = pi->proto->read_regr(pi, 0, ATA_REG_NSECT); in pata_parport_devchk()
80 return (nsect == 0x55) && (lbal == 0xaa); in pata_parport_devchk()
122 u8 nsect, lbal; in pata_parport_wait_after_reset() local
124 nsect = pi->proto->read_regr(pi, 0, ATA_REG_NSECT); in pata_parport_wait_after_reset()
126 if (nsect == 1 && lbal == 1) in pata_parport_wait_after_reset()
239 pi->proto->write_regr(pi, 0, ATA_REG_NSECT, tf->nsect); in pata_parport_tf_load()
257 tf->nsect = pi->proto->read_regr(pi, 0, ATA_REG_NSECT); in pata_parport_tf_read()
/linux/drivers/block/
H A Dataflop.c747 int sect, nsect; in do_format() local
781 nsect = UDT->spt; in do_format()
789 FILL( 60 * (nsect / 9), 0x4e ); in do_format()
790 for( sect = 0; sect < nsect; ++sect ) { in do_format()
796 *p++ = (nsect + sect - desc->sect_offset) % nsect + 1; in do_format()
H A Dsunvdc.c124 sector_t nsect = get_capacity(disk); in vdc_getgeo() local
125 sector_t cylinders = nsect; in vdc_getgeo()
131 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect) in vdc_getgeo()
H A Dswim3.c77 REG(nsect); /* # sectors to read or write */
457 out_8(&sw->nsect, n); in setup_transfer()
H A Dxen-blkfront.c500 sector_t nsect = get_capacity(disk); in blkif_getgeo() local
501 sector_t cylinders = nsect; in blkif_getgeo()
507 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) in blkif_getgeo()
/linux/drivers/block/mtip32xx/
H A Dmtip32xx.c1707 u8 nsect = 0; in exec_drive_taskfile() local
1754 nsect = taskout / ATA_SECT_SIZE; in exec_drive_taskfile()
1799 if (nsect) in exec_drive_taskfile()
1800 fis.sect_count = nsect; in exec_drive_taskfile()
2056 unsigned int nsect = blk_rq_sectors(rq); in mtip_hw_submit_io() local
2090 fis->features = nsect & 0xFF; in mtip_hw_submit_io()
2091 fis->features_ex = (nsect >> 8) & 0xFF; in mtip_hw_submit_io()
/linux/drivers/scsi/libsas/
H A Dsas_ata.c184 qc->tf.nsect = 0; in sas_ata_qc_issue()
/linux/include/linux/
H A Dlibata.h590 u8 nsect; member