Home
last modified time | relevance | path

Searched refs:ATA_SECT_SIZE (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/drivers/ata/
H A Dsata_sil.c20 #define ATA_SECTOR_WORDS (ATA_SECT_SIZE/2)
296 pcmd->sge.cnt = cpu_to_le32(blkcnt * ATA_SECT_SIZE); in sil_sata_rw_cmd()
344 pcmd->sge.cnt = cpu_to_le32(blkcnt * ATA_SECT_SIZE); in sil_sata_rw_cmd_ext()
375 addr += ATA_SECT_SIZE * max_blks; in sil_sata_rw_lba28()
380 addr += ATA_SECT_SIZE * blks; in sil_sata_rw_lba28()
404 addr += ATA_SECT_SIZE * max_blks; in sil_sata_rw_lba48()
410 addr += ATA_SECT_SIZE * blks; in sil_sata_rw_lba48()
H A Dfsl_sata.c557 fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, ATA_SECT_SIZE * blkcnt); in fsl_sata_rw_cmd()
601 fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, ATA_SECT_SIZE * blkcnt); in fsl_sata_rw_cmd_ext()
645 fsl_sata_exec_cmd(sata, cfis, CMD_NCQ, ncq_channel, buffer, ATA_SECT_SIZE * blkcnt); in fsl_sata_rw_ncq_cmd()
713 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba48()
721 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48()
745 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba28()
750 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba28()
H A Ddwc_ahsata.c573 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd()
623 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd_ext()
676 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba48()
683 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48()
711 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba28()
718 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba28()
781 pdev->blksz = ATA_SECT_SIZE; in dwc_ahsata_scan_common()
H A Dsata_mv.c246 #define MV_ATA_MAX_SECTORS (65535 / ATA_SECT_SIZE)
681 res = mv_ata_exec_ata_cmd(port, &cfis, buffer, ATA_SECT_SIZE * blkcnt, in mv_sata_rw_cmd_ext()
708 res = mv_ata_exec_ata_cmd(port, &cfis, buffer, ATA_SECT_SIZE * blkcnt, in mv_sata_rw_cmd()
739 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw()
750 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw()
H A Dsata_sil3114.c22 #define ATA_SECTOR_WORDS (ATA_SECT_SIZE/2)
172 sata_dev_desc[devno].blksz = ATA_SECT_SIZE; in sata_identify()
H A Dahci.c809 transfer_size = ATA_SECT_SIZE * now_blocks; in ata_scsiop_read_write()
/openbmc/linux/drivers/hwmon/
H A Ddrivetemp.c117 u8 smartdata[ATA_SECT_SIZE]; /* local buffer */
197 ATA_SECT_SIZE, 10 * HZ, 5, NULL); in drivetemp_scsi_command()
226 for (i = 0; i < ATA_SECT_SIZE; i++) in drivetemp_get_smarttemp()
/openbmc/linux/include/linux/
H A Data.h28 ATA_SECT_SIZE = 512, enumerator
326 ATA_LOG_CDL_SIZE = ATA_SECT_SIZE,
329 ATA_LOG_SENSE_NCQ_SIZE = ATA_SECT_SIZE * 2,
642 return ATA_SECT_SIZE; in ata_id_logical_sector_size()
H A Dlibata.h880 u8 sector_buf[ATA_SECT_SIZE] ____cacheline_aligned;
1826 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()
/openbmc/linux/drivers/block/mtip32xx/
H A Dmtip32xx.c40 #define AHCI_IDFY_SZ ATA_SECT_SIZE
42 #define AHCI_SECTBUF_SZ ATA_SECT_SIZE
44 #define AHCI_SMARTBUF_SZ ATA_SECT_SIZE
1259 memset(buffer, 0, sectors * ATA_SECT_SIZE); in mtip_read_log_page()
1265 sectors * ATA_SECT_SIZE, in mtip_read_log_page()
1299 ATA_SECT_SIZE, in mtip_get_smart_data()
1337 memset(port->smart_buf, 0, ATA_SECT_SIZE); in mtip_get_smart_attr()
1419 ((u64)sectors) * ATA_SECT_SIZE >> 20); in mtip_dump_identify()
1560 ATA_SECT_SIZE * xfer_sz, in exec_drive_command()
1566 ATA_SECT_SIZE * xfer_sz); in exec_drive_command()
[all …]
/openbmc/u-boot/include/
H A Dlibata.h19 ATA_SECT_SIZE = 512, enumerator
/openbmc/linux/drivers/ata/
H A Dlibata-scsi.c483 argsize = ATA_SECT_SIZE * args[3]; in ata_cmd_ioctl()
1076 sdev->sector_size = ATA_SECT_SIZE; in ata_scsi_dev_config()
3084 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
H A Dlibata-sata.c1316 for (i = 0; i < ATA_SECT_SIZE; i++) in ata_eh_read_log_10h()
H A Dlibata-core.c2121 buf, sectors * ATA_SECT_SIZE, 0); in ata_read_log_page()