Home
last modified time | relevance | path

Searched refs:ata (Results 1 – 25 of 109) sorted by relevance

12345

/freebsd/sys/dev/ata/chipsets/
H A Data-serverworks.c263 request->u.ata.count = ATA_IDX_INW(ch, ATA_COUNT); in ata_serverworks_tf_read()
265 request->u.ata.lba = (u_int64_t)(temp & 0x00ff) | in ata_serverworks_tf_read()
268 request->u.ata.lba |= ((u_int64_t)(temp & 0x00ff) << 8) | in ata_serverworks_tf_read()
271 request->u.ata.lba |= ((u_int64_t)(temp & 0x00ff) << 16) | in ata_serverworks_tf_read()
275 request->u.ata.count = ATA_IDX_INW(ch, ATA_COUNT) & 0x00ff; in ata_serverworks_tf_read()
276 request->u.ata.lba = (ATA_IDX_INW(ch, ATA_SECTOR) & 0x00ff) | in ata_serverworks_tf_read()
289 ATA_IDX_OUTW(ch, ATA_FEATURE, request->u.ata.feature); in ata_serverworks_tf_write()
290 ATA_IDX_OUTW(ch, ATA_COUNT, request->u.ata.count); in ata_serverworks_tf_write()
291 ATA_IDX_OUTW(ch, ATA_SECTOR, ((request->u.ata.lba >> 16) & 0xff00) | in ata_serverworks_tf_write()
292 (request->u.ata.lba & 0x00ff)); in ata_serverworks_tf_write()
[all …]
H A Data-intel.c894 ATA_IDX_OUTW(ch, ATA_FEATURE, request->u.ata.feature); in ata_intel_31244_tf_write()
895 ATA_IDX_OUTW(ch, ATA_COUNT, request->u.ata.count); in ata_intel_31244_tf_write()
896 ATA_IDX_OUTW(ch, ATA_SECTOR, ((request->u.ata.lba >> 16) & 0xff00) | in ata_intel_31244_tf_write()
897 (request->u.ata.lba & 0x00ff)); in ata_intel_31244_tf_write()
898 ATA_IDX_OUTW(ch, ATA_CYL_LSB, ((request->u.ata.lba >> 24) & 0xff00) | in ata_intel_31244_tf_write()
899 ((request->u.ata.lba >> 8) & 0x00ff)); in ata_intel_31244_tf_write()
900 ATA_IDX_OUTW(ch, ATA_CYL_MSB, ((request->u.ata.lba >> 32) & 0xff00) | in ata_intel_31244_tf_write()
901 ((request->u.ata.lba >> 16) & 0x00ff)); in ata_intel_31244_tf_write()
905 ATA_IDX_OUTB(ch, ATA_FEATURE, request->u.ata.feature); in ata_intel_31244_tf_write()
906 ATA_IDX_OUTB(ch, ATA_COUNT, request->u.ata.count); in ata_intel_31244_tf_write()
[all …]
/freebsd/sys/dev/ata/
H A Data-all.c77 static SYSCTL_NODE(_hw, OID_AUTO, ata, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
497 switch (request->u.ata.command) { in ata_cmd2str()
499 switch (request->u.ata.feature) { in ata_cmd2str()
506 switch (request->u.ata.feature) { in ata_cmd2str()
534 switch (request->u.ata.feature) { in ata_cmd2str()
546 if (request->u.ata.feature == 0xec) in ata_cmd2str()
548 switch (request->u.ata.lba) { in ata_cmd2str()
563 switch(request->u.ata.feature) { in ata_cmd2str()
602 switch (request->u.ata.feature) { in ata_cmd2str()
629 sprintf(buffer, "unknown CMD (0x%02x)", request->u.ata.command); in ata_cmd2str()
[all …]
H A Data-sata.c264 fis[2] = request->u.ata.command; in ata_request2fis_h2d()
265 fis[3] = request->u.ata.feature; in ata_request2fis_h2d()
266 fis[4] = request->u.ata.lba; in ata_request2fis_h2d()
267 fis[5] = request->u.ata.lba >> 8; in ata_request2fis_h2d()
268 fis[6] = request->u.ata.lba >> 16; in ata_request2fis_h2d()
271 fis[7] |= (ATA_D_IBM | (request->u.ata.lba >> 24 & 0x0f)); in ata_request2fis_h2d()
272 fis[8] = request->u.ata.lba >> 24; in ata_request2fis_h2d()
273 fis[9] = request->u.ata.lba >> 32; in ata_request2fis_h2d()
274 fis[10] = request->u.ata.lba >> 40; in ata_request2fis_h2d()
275 fis[11] = request->u.ata.feature >> 8; in ata_request2fis_h2d()
[all …]
H A Data-lowlevel.c114 if (request->u.ata.command == ATA_DEVICE_RESET) { in ata_begin_transaction()
277 if (request->u.ata.command != ATA_ATAPI_IDENTIFY) in ata_end_transaction()
746 ATA_IDX_OUTB(ch, ATA_COMMAND, request->u.ata.command); in ata_generic_command()
758 request->u.ata.count = (ATA_IDX_INB(ch, ATA_COUNT) << 8); in ata_tf_read()
759 request->u.ata.lba = in ata_tf_read()
765 request->u.ata.count |= ATA_IDX_INB(ch, ATA_COUNT); in ata_tf_read()
766 request->u.ata.lba |= in ata_tf_read()
772 request->u.ata.count = ATA_IDX_INB(ch, ATA_COUNT); in ata_tf_read()
773 request->u.ata.lba = ATA_IDX_INB(ch, ATA_SECTOR) | in ata_tf_read()
786 ATA_IDX_OUTB(ch, ATA_FEATURE, request->u.ata.feature >> 8); in ata_tf_write()
[all …]
H A Data_if.m35 #include <sys/ata.h>
36 #include <dev/ata/ata-all.h>
38 INTERFACE ata;
/freebsd/sys/i386/conf/
H A DGENERIC.hints9 hint.ata.0.at="isa"
10 hint.ata.0.port="0x1F0"
11 hint.ata.0.irq="14"
12 hint.ata.1.at="isa"
13 hint.ata.1.port="0x170"
14 hint.ata.1.irq="15"
/freebsd/sys/modules/ata/atacore/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata
3 KMOD= ata
4 SRCS= ata-all.c ata_if.c ata-lowlevel.c
/freebsd/sys/modules/ata/atapci/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/ata
6 SRCS= ata-pci.c ata-dma.c ata-sata.c
/freebsd/sys/cam/ata/
H A Data_xpt.c214 ATA_XPT_XPORT(ata, ATA);
400 if (cts.xport_specific.ata.valid & CTS_ATA_VALID_MODE) in aprobestart()
401 mode = cts.xport_specific.ata.mode; in aprobestart()
422 cts.xport_specific.ata.mode = mode; in aprobestart()
423 cts.xport_specific.ata.valid = CTS_ATA_VALID_MODE; in aprobestart()
436 if (cts.xport_specific.ata.valid & CTS_ATA_VALID_MODE) in aprobestart()
437 mode = cts.xport_specific.ata.mode; in aprobestart()
536 if (cts.xport_specific.ata.valid & CTS_ATA_VALID_BYTECOUNT) in aprobestart()
537 bytecount = cts.xport_specific.ata.bytecount; in aprobestart()
551 cts.xport_specific.ata.bytecount = sectors * in aprobestart()
[all …]
/freebsd/sys/modules/ata/ataisa/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata
4 SRCS= ata-isa.c
/freebsd/sys/modules/ata/atapci/chipsets/ataacard/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-acard.c
/freebsd/sys/modules/ata/atapci/chipsets/ataamd/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-amd.c
/freebsd/sys/modules/ata/atapci/chipsets/ataite/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-ite.c
/freebsd/sys/modules/ata/atapci/chipsets/atajmicron/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-jmicron.c
/freebsd/sys/modules/ata/atapci/chipsets/atanetcell/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-netcell.c
/freebsd/sys/modules/ata/atapci/chipsets/atanvidia/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-nvidia.c
/freebsd/sys/modules/ata/atapci/chipsets/atamicron/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-micron.c
/freebsd/sys/modules/ata/atapci/chipsets/atacenatek/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-cenatek.c
/freebsd/sys/modules/ata/atapci/chipsets/ataserverworks/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-serverworks.c
/freebsd/sys/modules/ata/atapci/chipsets/atamarvell/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-marvell.c
/freebsd/sys/modules/ata/atapci/chipsets/atahighpoint/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-highpoint.c
/freebsd/sys/modules/ata/atapci/chipsets/atasis/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-sis.c
/freebsd/sys/modules/ata/atapci/chipsets/atavia/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-via.c
/freebsd/sys/modules/ata/atapci/chipsets/atanational/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ata/chipsets
4 SRCS= ata-national.c

12345