/openbmc/qemu/tests/qtest/ |
H A D | ahci-test.c | 52 static void ahci_test_port_spec(AHCIQState *ahci, uint8_t port); 53 static void ahci_test_pci_spec(AHCIQState *ahci); 54 static void ahci_test_pci_caps(AHCIQState *ahci, uint16_t header, 56 static void ahci_test_satacap(AHCIQState *ahci, uint8_t offset); 57 static void ahci_test_msicap(AHCIQState *ahci, uint8_t offset); 58 static void ahci_test_pmcap(AHCIQState *ahci, uint8_t offset); 81 static void verify_state(AHCIQState *ahci, uint64_t hba_old) in verify_state() argument 88 ahci_fingerprint = qpci_config_readl(ahci->dev, PCI_VENDOR_ID); in verify_state() 89 g_assert_cmphex(ahci_fingerprint, ==, ahci->fingerprint); in verify_state() 92 if (!ahci->enabled) { in verify_state() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | ahci.c | 104 uint64_t ahci_alloc(AHCIQState *ahci, size_t bytes) in ahci_alloc() argument 106 g_assert(ahci); in ahci_alloc() 107 g_assert(ahci->parent); in ahci_alloc() 108 return qmalloc(ahci->parent, bytes); in ahci_alloc() 111 void ahci_free(AHCIQState *ahci, uint64_t addr) in ahci_free() argument 113 g_assert(ahci); in ahci_free() 114 g_assert(ahci->parent); in ahci_free() 115 qfree(ahci->parent, addr); in ahci_free() 118 bool is_atapi(AHCIQState *ahci, uint8_t port) in is_atapi() argument 120 return ahci_px_rreg(ahci, port, AHCI_PX_SIG) == AHCI_SIGNATURE_CDROM; in is_atapi() [all …]
|
H A D | ahci.h | 507 static inline uint32_t ahci_mread(AHCIQState *ahci, size_t offset) in ahci_mread() argument 509 return qpci_io_readl(ahci->dev, ahci->hba_bar, offset); in ahci_mread() 512 static inline void ahci_mwrite(AHCIQState *ahci, size_t offset, uint32_t value) in ahci_mwrite() argument 514 qpci_io_writel(ahci->dev, ahci->hba_bar, offset, value); in ahci_mwrite() 517 static inline uint32_t ahci_rreg(AHCIQState *ahci, uint32_t reg_num) in ahci_rreg() argument 519 return ahci_mread(ahci, 4 * reg_num); in ahci_rreg() 522 static inline void ahci_wreg(AHCIQState *ahci, uint32_t reg_num, uint32_t value) in ahci_wreg() argument 524 ahci_mwrite(ahci, 4 * reg_num, value); in ahci_wreg() 527 static inline void ahci_set(AHCIQState *ahci, uint32_t reg_num, uint32_t mask) in ahci_set() argument 529 ahci_wreg(ahci, reg_num, ahci_rreg(ahci, reg_num) | mask); in ahci_set() [all …]
|
/openbmc/qemu/hw/ide/ |
H A D | trace-events | 65 # ahci.c 66 ahci_port_read(void *s, int port, const char *reg, int offset, uint32_t ret) "ahci(%p)[%d]: port re… 67 ahci_port_read_default(void *s, int port, const char *reg, int offset) "ahci(%p)[%d]: unimplemented… 68 ahci_irq_raise(void *s) "ahci(%p): raise irq" 69 ahci_irq_lower(void *s) "ahci(%p): lower irq" 70 ahci_check_irq(void *s, uint32_t old, uint32_t new) "ahci(%p): check irq 0x%08x --> 0x%08x" 71 …har *name, uint32_t val, uint32_t old, uint32_t new, uint32_t effective) "ahci(%p)[%d]: trigger ir… 72 ahci_port_write(void *s, int port, const char *reg, int offset, uint32_t val) "ahci(%p)[%d]: port w… 73 ahci_port_write_unimpl(void *s, int port, const char *reg, int offset, uint32_t val) "ahci(%p)[%d]:… 74 ahci_mem_read_32(void *s, uint64_t addr, uint32_t val) "ahci(%p): mem read @ 0x%"PRIx64": 0x%08x" [all …]
|
H A D | ich.c | 89 VMSTATE_AHCI(ahci, AHCIPCIState), 98 ahci_reset(&d->ahci); in pci_ich9_reset() 105 ahci_init(&d->ahci, DEVICE(obj)); in pci_ich9_ahci_init() 116 d->ahci.ports = 6; in pci_ich9_ahci_realize() 117 ahci_realize(&d->ahci, DEVICE(dev), pci_get_address_space(dev)); in pci_ich9_ahci_realize() 128 d->ahci.irq = pci_allocate_irq(dev); in pci_ich9_ahci_realize() 131 &d->ahci.idp); in pci_ich9_ahci_realize() 133 &d->ahci.mem); in pci_ich9_ahci_realize() 146 d->ahci.idp_offset = ICH9_IDP_INDEX; in pci_ich9_ahci_realize() 163 ahci_uninit(&d->ahci); in pci_ich9_uninit() [all …]
|
H A D | ahci-allwinner.c | 51 AHCIState *s = &(SYSBUS_AHCI(a)->ahci); in allwinner_ahci_mem_read() 70 AHCIState *s = &(SYSBUS_AHCI(a)->ahci); in allwinner_ahci_mem_write() 91 memory_region_add_subregion(&s->ahci.mem, ALLWINNER_AHCI_MMIO_OFF, in allwinner_ahci_init()
|
H A D | meson.build | 1 system_ss.add(when: 'CONFIG_AHCI', if_true: files('ahci.c')) 3 system_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true: files('ahci-allwinner.c'))
|
/openbmc/linux/Documentation/devicetree/bindings/ata/ |
H A D | ahci-mtk.txt | 4 - compatible : Must be "mediatek,<chip>-ahci", "mediatek,mtk-ahci". 5 When using "mediatek,mtk-ahci" compatible strings, you 7 - "mediatek,mt7622-ahci" 16 - ports-implemented : See ./ahci-platform.txt for details. 31 compatible = "mediatek,mt7622-ahci", 32 "mediatek,mtk-ahci";
|
H A D | qcom-sata.txt | 7 - compatible : compatible list, must contain "generic-ahci" 14 Required properties for "qcom,ipq806x-ahci" compatible: 31 compatible = "qcom,ipq806x-ahci", "generic-ahci";
|
H A D | ahci-da850.txt | 5 - compatible: must be "ti,da850-ahci" 15 compatible = "ti,da850-ahci";
|
H A D | ahci-dm816.txt | 5 - compatible: must be "ti,dm816-ahci" 17 compatible = "ti,dm816-ahci";
|
H A D | ahci-fsl-qoriq.txt | 5 - compatible: Compatibility string. Must be 'fsl,<chip>-ahci', where 16 compatible = "fsl,ls1021a-ahci";
|
H A D | apm-xgene.txt | 8 * "apm,xgene-ahci" 52 compatible = "apm,xgene-ahci"; 66 compatible = "apm,xgene-ahci-pcie";
|
H A D | ahci-st.txt | 6 - compatible : Must be "st,ahci" 23 compatible = "st,ahci";
|
/openbmc/u-boot/doc/device-tree-bindings/ata/ |
H A D | intel-sata.txt | 8 - compatible = "intel,pantherpoint-ahci" 10 "ahci" : Use AHCI mode (default) 22 compatible = "intel,pantherpoint-ahci"; 23 intel,sata-mode = "ahci";
|
/openbmc/u-boot/drivers/ata/ |
H A D | Makefile | 7 obj-$(CONFIG_AHCI) += ahci-uclass.o 8 obj-$(CONFIG_AHCI_PCI) += ahci-pci.o 9 obj-$(CONFIG_SCSI_AHCI) += ahci.o
|
H A D | ahci-uclass.c | 11 UCLASS_DRIVER(ahci) = {
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm63138.dtsi | 150 ahci: sata@a000 { label 151 compatible = "brcm,bcm63138-ahci", "brcm,sata3-ahci"; 152 reg-names = "ahci", "top-ctrl"; 158 reset-names = "ahci";
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | spear1310.dtsi | 53 ahci0: ahci@b1000000 { 54 compatible = "snps,spear-ahci"; 62 ahci1: ahci@b1800000 { 63 compatible = "snps,spear-ahci"; 71 ahci2: ahci@b4000000 { 72 compatible = "snps,spear-ahci";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | fsl-lx2160a.dtsi | 145 compatible = "fsl,ls2080a-ahci"; 154 compatible = "fsl,ls2080a-ahci"; 163 compatible = "fsl,ls2080a-ahci"; 172 compatible = "fsl,ls2080a-ahci";
|
/openbmc/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-pro4.dtsi | 524 compatible = "socionext,uniphier-pro4-ahci", 525 "generic-ahci"; 538 compatible = "socionext,uniphier-pxs2-ahci-glue", 546 compatible = "socionext,uniphier-pro4-ahci-reset"; 556 compatible = "socionext,uniphier-pro4-ahci-phy"; 571 compatible = "socionext,uniphier-pro4-ahci", 572 "generic-ahci"; 585 compatible = "socionext,uniphier-pro4-ahci-glue", 593 compatible = "socionext,uniphier-pro4-ahci-reset"; 603 compatible = "socionext,uniphier-pro4-ahci-phy";
|
/openbmc/u-boot/doc/ |
H A D | README.qemu-arm | 60 …rive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=…
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sunxi-common-regulators.dtsi | 2 * sunxi boards common regulator (ahci target power supply, usb-vbus) code 48 reg_ahci_5v: ahci-5v { 50 regulator-name = "ahci-5v";
|
/openbmc/linux/arch/arm64/boot/dts/socionext/ |
H A D | uniphier-pxs3.dtsi | 610 compatible = "socionext,uniphier-pxs3-ahci", 611 "generic-ahci"; 622 compatible = "socionext,uniphier-pxs3-ahci-glue", 630 compatible = "socionext,uniphier-pxs3-ahci-reset"; 640 compatible = "socionext,uniphier-pxs3-ahci-phy"; 651 compatible = "socionext,uniphier-pxs3-ahci", 652 "generic-ahci"; 663 compatible = "socionext,uniphier-pxs3-ahci-glue", 671 compatible = "socionext,uniphier-pxs3-ahci-reset"; 681 compatible = "socionext,uniphier-pxs3-ahci-phy";
|
/openbmc/u-boot/board/highbank/ |
H A D | Makefile | 6 obj-y := highbank.o ahci.o
|