Lines Matching +full:bus +full:- +full:addr
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1998 - 2008 Søren Schmidt <sos@FreeBSD.org>
5 * Copyright (c) 2009-2012 Alexander Motin <mav@FreeBSD.org>
62 #define ATA_I_RELEASE 0x04 /* released bus (1) */
320 #define AHCI_WORK_SIZE (AHCI_CT_OFFSET + AHCI_CT_SIZE * ch->numslots)
371 bus_addr_t work_bus; /* bus address of work */
375 bus_addr_t rfis_bus; /* bus address of rfis */
428 uint16_t vendorid; /* Vendor ID from the bus */
429 uint16_t deviceid; /* Device ID from the bus */
430 uint16_t subvendorid; /* Subvendor ID from the bus */
431 uint16_t subdeviceid; /* Subdevice ID from the bus */
437 int fbs_enabled; /* FIS-based switching enabled */
457 int resetting; /* Hard-reset in progress. */
458 int resetpolldiv; /* Hard-reset poll divider. */
463 struct callout reset_timer; /* Hard-reset timeout */
465 struct ahci_device user[16]; /* User-specified settings */
498 uint16_t vendorid; /* Vendor ID from the bus */
499 uint16_t deviceid; /* Device ID from the bus */
500 uint16_t subvendorid; /* Subvendor ID from the bus */
501 uint16_t subdeviceid; /* Subdevice ID from the bus */
536 int dma_coherent; /* DMA is cache-coherent */
559 #define ATA_INSW(res, offset, addr, count) \ argument
560 bus_read_multi_2((res), (offset), (addr), (count))
561 #define ATA_INSW_STRM(res, offset, addr, count) \ argument
562 bus_read_multi_stream_2((res), (offset), (addr), (count))
563 #define ATA_INSL(res, offset, addr, count) \ argument
564 bus_read_multi_4((res), (offset), (addr), (count))
565 #define ATA_INSL_STRM(res, offset, addr, count) \ argument
566 bus_read_multi_stream_4((res), (offset), (addr), (count))
573 #define ATA_OUTSW(res, offset, addr, count) \ argument
574 bus_write_multi_2((res), (offset), (addr), (count))
575 #define ATA_OUTSW_STRM(res, offset, addr, count) \ argument
576 bus_write_multi_stream_2((res), (offset), (addr), (count))
577 #define ATA_OUTSL(res, offset, addr, count) \ argument
578 bus_write_multi_4((res), (offset), (addr), (count))
579 #define ATA_OUTSL_STRM(res, offset, addr, count) \ argument
580 bus_write_multi_stream_4((res), (offset), (addr), (count))