/openbmc/linux/drivers/ata/ |
H A D | ahci.h | 380 int (*get_irq_vector)(struct ata_host *host, 413 void ahci_init_controller(struct ata_host *host); 414 int ahci_reset_controller(struct ata_host *host); 432 int ahci_reset_em(struct ata_host *host); 433 void ahci_print_info(struct ata_host *host, const char *scc_s); 434 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht); 436 u32 ahci_handle_port_intr(struct ata_host *host, u32 irq_masked);
|
H A D | pata_rb532_cf.c | 56 struct ata_host *ah = dev_instance; in rb532_pata_irq_handler() 82 static void rb532_pata_setup_ports(struct ata_host *ah) in rb532_pata_setup_ports() 107 struct ata_host *ah; in rb532_pata_driver_probe() 160 struct ata_host *ah = platform_get_drvdata(pdev); in rb532_pata_driver_remove()
|
H A D | sata_sx4.c | 211 static unsigned int pdc20621_dimm_init(struct ata_host *host); 212 static int pdc20621_detect_dimm(struct ata_host *host); 213 static unsigned int pdc20621_i2c_read(struct ata_host *host, 215 static int pdc20621_prog_dimm0(struct ata_host *host); 216 static unsigned int pdc20621_prog_dimm_global(struct ata_host *host); 217 static void pdc20621_get_from_dimm(struct ata_host *host, 219 static void pdc20621_put_to_dimm(struct ata_host *host, 528 struct ata_host *host = ap->host; in __pdc20621_push_hdma() 595 struct ata_host *host = ap->host; in pdc20621_packet_start() 742 struct ata_host *host = dev_instance; in pdc20621_interrupt() [all …]
|
H A D | sata_via.c | 456 static int vt6420_prepare_host(struct pci_dev *pdev, struct ata_host **r_host) in vt6420_prepare_host() 459 struct ata_host *host; in vt6420_prepare_host() 484 static int vt6421_prepare_host(struct pci_dev *pdev, struct ata_host **r_host) in vt6421_prepare_host() 488 struct ata_host *host; in vt6421_prepare_host() 511 static int vt8251_prepare_host(struct pci_dev *pdev, struct ata_host **r_host) in vt8251_prepare_host() 514 struct ata_host *host; in vt8251_prepare_host() 545 struct ata_host *host = dev_instance; in vt642x_interrupt() 680 struct ata_host *host = NULL; in svia_init_one() 742 struct ata_host *host = pci_get_drvdata(pdev); in svia_pci_device_resume()
|
H A D | sata_qstor.c | 102 static void qs_host_stop(struct ata_host *host); 161 static void __iomem *qs_mmio_base(struct ata_host *host) in qs_mmio_base() 350 static inline unsigned int qs_intr_pkt(struct ata_host *host) in qs_intr_pkt() 392 static inline unsigned int qs_intr_mmio(struct ata_host *host) in qs_intr_mmio() 427 struct ata_host *host = dev_instance; in qs_intr() 480 static void qs_host_stop(struct ata_host *host) in qs_host_stop() 488 static void qs_host_init(struct ata_host *host, unsigned int chip_id) in qs_host_init() 545 struct ata_host *host; in qs_ata_init_one()
|
H A D | libahci_platform.c | 28 static void ahci_host_stop(struct ata_host *host); 689 struct ata_host *host; in ahci_platform_init_host() 769 static void ahci_host_stop(struct ata_host *host) in ahci_host_stop() 786 struct ata_host *host = platform_get_drvdata(pdev); in ahci_platform_shutdown() 824 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_suspend_host() 865 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_resume_host() 898 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_suspend() 924 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_resume()
|
H A D | pata_imx.c | 128 struct ata_host *host; in pata_imx_probe() 196 struct ata_host *host = platform_get_drvdata(pdev); in pata_imx_remove() 207 struct ata_host *host = dev_get_drvdata(dev); in pata_imx_suspend() 221 struct ata_host *host = dev_get_drvdata(dev); in pata_imx_resume()
|
H A D | pata_pdc2027x.c | 459 static long pdc_read_counter(struct ata_host *host) in pdc_read_counter() 500 static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx) in pdc_adjust_pll() 583 static long pdc_detect_pll_input_clock(struct ata_host *host) in pdc_detect_pll_input_clock() 631 static void pdc_hardware_init(struct ata_host *host, unsigned int board_idx) in pdc_hardware_init() 689 struct ata_host *host; in pdc2027x_init_one() 739 struct ata_host *host = pci_get_drvdata(pdev); in pdc2027x_reinit_one()
|
H A D | ahci_st.c | 87 static void st_ahci_host_stop(struct ata_host *host) in st_ahci_host_stop() 183 struct ata_host *host = dev_get_drvdata(dev); in st_ahci_suspend() 207 struct ata_host *host = dev_get_drvdata(dev); in st_ahci_resume()
|
H A D | libata.h | 83 extern struct ata_port *ata_port_alloc(struct ata_host *host); 93 extern void ata_acpi_dissociate(struct ata_host *host); 102 static inline void ata_acpi_dissociate(struct ata_host *host) { } in ata_acpi_dissociate() 115 extern int ata_scsi_add_hosts(struct ata_host *host,
|
H A D | sata_mv.c | 582 int (*reset_hc)(struct ata_host *host, void __iomem *mmio, 585 void (*reset_bus)(struct ata_host *host, void __iomem *mmio); 609 static int mv5_reset_hc(struct ata_host *host, void __iomem *mmio, 612 static void mv5_reset_bus(struct ata_host *host, void __iomem *mmio); 619 static int mv6_reset_hc(struct ata_host *host, void __iomem *mmio, 626 static int mv_soc_reset_hc(struct ata_host *host, 630 static void mv_soc_reset_bus(struct ata_host *host, void __iomem *mmio); 633 static void mv_reset_pci_bus(struct ata_host *host, void __iomem *mmio); 889 static inline void __iomem *mv_host_base(struct ata_host *host) in mv_host_base() 1009 static void mv_set_main_irq_mask(struct ata_host *host, in mv_set_main_irq_mask() [all …]
|
H A D | pata_isapnp.c | 50 struct ata_host *host; in isapnp_init_one() 115 struct ata_host *host = dev_get_drvdata(dev); in isapnp_remove_one()
|
H A D | ahci.c | 780 static int ahci_pci_reset_controller(struct ata_host *host) in ahci_pci_reset_controller() 799 static void ahci_pci_init_controller(struct ata_host *host) in ahci_pci_init_controller() 926 struct ata_host *host = ap->host; in ahci_avn_hardreset() 962 static void ahci_pci_disable_interrupts(struct ata_host *host) in ahci_pci_disable_interrupts() 981 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_runtime_suspend() 990 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_runtime_resume() 1004 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_suspend() 1021 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_resume() 1074 static void ahci_pci_print_info(struct ata_host *host) in ahci_pci_print_info() 1111 static void ahci_p5wdh_workaround(struct ata_host *host) in ahci_p5wdh_workaround() [all …]
|
H A D | pata_cs5520.c | 122 struct ata_host *host; in cs5520_init_one() 232 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_reinit_one() 261 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_pci_device_suspend()
|
H A D | acard-ahci.c | 114 struct ata_host *host = pci_get_drvdata(pdev); in acard_ahci_pci_device_suspend() 142 struct ata_host *host = pci_get_drvdata(pdev); in acard_ahci_pci_device_resume() 163 static void acard_ahci_pci_print_info(struct ata_host *host) in acard_ahci_pci_print_info() 358 struct ata_host *host; in acard_ahci_init_one()
|
H A D | ahci_brcm.c | 252 struct ata_host *host = ap->host; in brcm_ahci_read_id() 321 static void brcm_ahci_host_stop(struct ata_host *host) in brcm_ahci_host_stop() 344 struct ata_host *host = dev_get_drvdata(dev); in brcm_ahci_suspend() 364 struct ata_host *host = dev_get_drvdata(dev); in brcm_ahci_resume() 549 struct ata_host *host = dev_get_drvdata(&pdev->dev); in brcm_ahci_remove()
|
H A D | sata_rcar.c | 697 struct ata_host *host = dev_instance; in sata_rcar_interrupt() 729 static void sata_rcar_setup_port(struct ata_host *host) in sata_rcar_setup_port() 791 static void sata_rcar_init_controller(struct ata_host *host) in sata_rcar_init_controller() 862 struct ata_host *host; in sata_rcar_probe() 914 struct ata_host *host = platform_get_drvdata(pdev); in sata_rcar_remove() 933 struct ata_host *host = dev_get_drvdata(dev); in sata_rcar_suspend() 951 struct ata_host *host = dev_get_drvdata(dev); in sata_rcar_resume() 981 struct ata_host *host = dev_get_drvdata(dev); in sata_rcar_restore()
|
H A D | pata_ninja32.c | 105 struct ata_host *host; in ninja32_init_one() 156 struct ata_host *host = pci_get_drvdata(pdev); in ninja32_reinit_one()
|
H A D | pata_atp867x.c | 358 static void atp867x_fixup(struct ata_host *host) in atp867x_fixup() 403 static int atp867x_ata_pci_sff_init_host(struct ata_host *host) in atp867x_ata_pci_sff_init_host() 474 struct ata_host *host; in atp867x_init_one() 514 struct ata_host *host = pci_get_drvdata(pdev); in atp867x_reinit_one()
|
H A D | ata_piix.c | 994 struct ata_host *host = pci_get_drvdata(pdev); in piix_pci_device_suspend() 1026 struct ata_host *host = pci_get_drvdata(pdev); in piix_pci_device_resume() 1340 static void piix_init_pcs(struct ata_host *host, in piix_init_pcs() 1403 static bool piix_no_sidpr(struct ata_host *host) in piix_no_sidpr() 1436 static int piix_init_sidpr(struct ata_host *host) in piix_init_sidpr() 1503 static void piix_iocfg_bit18_quirk(struct ata_host *host) in piix_iocfg_bit18_quirk() 1579 static void piix_ignore_devices_quirk(struct ata_host *host) in piix_ignore_devices_quirk() 1650 struct ata_host *host; in piix_init_one() 1751 struct ata_host *host = pci_get_drvdata(pdev); in piix_remove_one()
|
H A D | pdc_adma.c | 387 static inline unsigned int adma_intr_pkt(struct ata_host *host) in adma_intr_pkt() 437 static inline unsigned int adma_intr_mmio(struct ata_host *host) in adma_intr_mmio() 479 struct ata_host *host = dev_instance; in adma_intr() 535 static void adma_host_init(struct ata_host *host, unsigned int chip_id) in adma_host_init() 552 struct ata_host *host; in adma_ata_init_one()
|
H A D | sata_fsl.c | 291 static void fsl_sata_set_irq_coalescing(struct ata_host *host, in fsl_sata_set_irq_coalescing() 351 struct ata_host *host = dev_get_drvdata(dev); in fsl_sata_rx_watermark_show() 369 struct ata_host *host = dev_get_drvdata(dev); in fsl_sata_rx_watermark_store() 1280 struct ata_host *host = dev_instance; in sata_fsl_interrupt() 1317 static int sata_fsl_init_controller(struct ata_host *host) in sata_fsl_init_controller() 1368 static void sata_fsl_host_stop(struct ata_host *host) in sata_fsl_host_stop() 1430 struct ata_host *host = NULL; in sata_fsl_probe() 1531 struct ata_host *host = platform_get_drvdata(ofdev); in sata_fsl_remove() 1543 struct ata_host *host = platform_get_drvdata(op); in sata_fsl_suspend() 1551 struct ata_host *host = platform_get_drvdata(op); in sata_fsl_resume()
|
H A D | pata_macio.c | 242 struct ata_host *host; 1196 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_detach() 1216 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_suspend() 1223 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_resume() 1232 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_mb_event() 1312 struct ata_host *host = pci_get_drvdata(pdev); in pata_macio_pci_detach() 1320 struct ata_host *host = pci_get_drvdata(pdev); in pata_macio_pci_suspend() 1327 struct ata_host *host = pci_get_drvdata(pdev); in pata_macio_pci_resume()
|
/openbmc/linux/include/linux/ |
H A D | libata.h | 577 struct ata_host { struct 849 struct ata_host *host; 947 void (*host_stop)(struct ata_host *host); 1072 extern struct ata_host *ata_host_alloc(struct device *dev, int max_ports); 1073 extern struct ata_host *ata_host_alloc_pinfo(struct device *dev, 1075 extern void ata_host_get(struct ata_host *host); 1076 extern void ata_host_put(struct ata_host *host); 1077 extern int ata_host_start(struct ata_host *host); 1078 extern int ata_host_register(struct ata_host *host, 1080 extern int ata_host_activate(struct ata_host *host, int irq, [all …]
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_ata.c | 588 struct ata_host *ata_host; in sas_ata_init() local 592 ata_host = kzalloc(sizeof(*ata_host), GFP_KERNEL); in sas_ata_init() 593 if (!ata_host) { in sas_ata_init() 598 ata_host_init(ata_host, ha->dev, &sas_sata_ops); in sas_ata_init() 600 ap = ata_sas_port_alloc(ata_host, &sata_port_info, shost); in sas_ata_init() 611 rc = ata_sas_tport_add(ata_host->dev, ap); in sas_ata_init() 615 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init() 623 ata_host_put(ata_host); in sas_ata_init()
|