/linux/drivers/ata/ |
H A D | ahci.h | 378 int (*get_irq_vector)(struct ata_host *host, 411 void ahci_init_controller(struct ata_host *host); 412 int ahci_reset_controller(struct ata_host *host); 430 int ahci_reset_em(struct ata_host *host); 431 void ahci_print_info(struct ata_host *host, const char *scc_s); 432 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht); 434 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 | 212 static int pdc20621_detect_dimm(struct ata_host *host); 215 static int pdc20621_prog_dimm0(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() 1071 static int pdc20621_detect_dimm(struct ata_host *host) in pdc20621_detect_dimm() 1091 static int pdc20621_prog_dimm0(struct ata_host *host) in pdc20621_prog_dimm0() 1354 static void pdc_20621_init(struct ata_host *host) in pdc_20621_init() [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); 680 struct ata_host *host; in ahci_platform_init_host() 760 static void ahci_host_stop(struct ata_host *host) in ahci_host_stop() 777 struct ata_host *host = platform_get_drvdata(pdev); in ahci_platform_shutdown() 815 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_suspend_host() 856 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_resume_host() 889 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_suspend() 915 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 | ahci_st.c | 86 static void st_ahci_host_stop(struct ata_host *host) in st_ahci_host_stop() 182 struct ata_host *host = dev_get_drvdata(dev); in st_ahci_suspend() 206 struct ata_host *host = dev_get_drvdata(dev); in st_ahci_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 | 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 | sata_mv.c | 626 static int mv_soc_reset_hc(struct ata_host *host, 1527 struct ata_host *host = ap->host; in mv_soc_led_blink_enable() 1542 struct ata_host *host = ap->host; in mv_soc_led_blink_disable() 2970 struct ata_host *host = dev_instance; in mv_interrupt() 3445 static int mv_soc_reset_hc(struct ata_host *host, in mv_soc_reset_hc() 3886 static int mv_init_host(struct ata_host *host) in mv_init_host() 4017 struct ata_host *host; in mv_platform_probe() 4187 struct ata_host *host = platform_get_drvdata(pdev); in mv_platform_remove() 4328 static void mv_print_info(struct ata_host *host) in mv_print_info() 4373 struct ata_host *host; in mv_pci_init_one() [all …]
|
H A D | pata_cs5520.c | 122 struct ata_host *host; in cs5520_init_one() 226 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_reinit_one() 255 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_pci_device_suspend()
|
H A D | ahci.c | 778 static int ahci_pci_reset_controller(struct ata_host *host) in ahci_pci_reset_controller() 924 struct ata_host *host = ap->host; in ahci_avn_hardreset() 979 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_runtime_suspend() 988 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_runtime_resume() 1002 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_suspend() 1019 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_resume() 1072 static void ahci_pci_print_info(struct ata_host *host) in ahci_pci_print_info() 1109 static void ahci_p5wdh_workaround(struct ata_host *host) in ahci_p5wdh_workaround() 1593 struct ata_host *host = dev_instance; in ahci_thunderx_irq_handler() 1792 struct ata_host *host = dev_get_drvdata(dev); in remapped_nvme_show() [all …]
|
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() 547 struct ata_host *host = dev_get_drvdata(&pdev->dev); in brcm_ahci_remove()
|
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 | 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 | 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_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() 1502 static void piix_iocfg_bit18_quirk(struct ata_host *host) in piix_iocfg_bit18_quirk() 1578 static void piix_ignore_devices_quirk(struct ata_host *host) in piix_ignore_devices_quirk() 1649 struct ata_host *host; in piix_init_one() 1750 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 | pata_gayle.c | 131 struct ata_host *host; in pata_gayle_init_one() 198 struct ata_host *host = platform_get_drvdata(pdev); in pata_gayle_remove_one()
|
H A D | libata.h | 115 extern void ata_acpi_dissociate(struct ata_host *host); 124 static inline void ata_acpi_dissociate(struct ata_host *host) { } in ata_acpi_dissociate() 137 extern int ata_scsi_add_hosts(struct ata_host *host,
|
H A D | pata_macio.c | 255 struct ata_host *host; 1207 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_detach() 1225 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_suspend() 1232 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_resume() 1241 struct ata_host *host = macio_get_drvdata(mdev); in pata_macio_mb_event() 1321 struct ata_host *host = pci_get_drvdata(pdev); in pata_macio_pci_detach() 1329 struct ata_host *host = pci_get_drvdata(pdev); in pata_macio_pci_suspend() 1336 struct ata_host *host = pci_get_drvdata(pdev); in pata_macio_pci_resume()
|
/linux/include/linux/ |
H A D | libata.h | 617 struct ata_host { struct 906 struct ata_host *host; 1001 void (*host_stop)(struct ata_host *host); 1127 extern void ata_host_get(struct ata_host *host); 1128 extern void ata_host_put(struct ata_host *host); 1129 extern int ata_host_start(struct ata_host *host); 1130 extern int ata_host_register(struct ata_host *host, 1135 extern void ata_host_detach(struct ata_host *host); 1156 extern void ata_host_resume(struct ata_host *host); 2055 struct ata_host **r_host); [all …]
|
/linux/drivers/scsi/libsas/ |
H A D | sas_ata.c | 578 struct ata_host *ata_host; in sas_ata_init() local 582 ata_host = kzalloc(sizeof(*ata_host), GFP_KERNEL); in sas_ata_init() 583 if (!ata_host) { in sas_ata_init() 588 ata_host_init(ata_host, ha->dev, &sas_sata_ops); in sas_ata_init() 590 ap = ata_port_alloc(ata_host); in sas_ata_init() 608 rc = ata_tport_add(ata_host->dev, ap); in sas_ata_init() 612 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init() 620 ata_host_put(ata_host); in sas_ata_init()
|