Home
last modified time | relevance | path

Searched refs:ata_host (Results 1 – 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/ata/
Dahci.h373 int (*get_irq_vector)(struct ata_host *host,
403 void ahci_init_controller(struct ata_host *host);
404 int ahci_reset_controller(struct ata_host *host);
422 int ahci_reset_em(struct ata_host *host);
423 void ahci_print_info(struct ata_host *host, const char *scc_s);
424 int ahci_host_activate(struct ata_host *host, struct scsi_host_template *sht);
426 u32 ahci_handle_port_intr(struct ata_host *host, u32 irq_masked);
428 static inline void __iomem *__ahci_port_base(struct ata_host *host, in __ahci_port_base()
Dpata_rb532_cf.c56 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()
162 struct ata_host *ah = platform_get_drvdata(pdev); in rb532_pata_driver_remove()
Dsata_sx4.c208 static unsigned int pdc20621_dimm_init(struct ata_host *host);
209 static int pdc20621_detect_dimm(struct ata_host *host);
210 static unsigned int pdc20621_i2c_read(struct ata_host *host,
212 static int pdc20621_prog_dimm0(struct ata_host *host);
213 static unsigned int pdc20621_prog_dimm_global(struct ata_host *host);
215 static void pdc20621_get_from_dimm(struct ata_host *host,
218 static void pdc20621_put_to_dimm(struct ata_host *host,
554 struct ata_host *host = ap->host; in __pdc20621_push_hdma()
626 struct ata_host *host = ap->host; in pdc20621_packet_start()
777 struct ata_host *host = dev_instance; in pdc20621_interrupt()
[all …]
Dsata_via.c456 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()
Dlibahci_platform.c27 static void ahci_host_stop(struct ata_host *host);
588 struct ata_host *host; in ahci_platform_init_host()
676 static void ahci_host_stop(struct ata_host *host) in ahci_host_stop()
693 struct ata_host *host = platform_get_drvdata(pdev); in ahci_platform_shutdown()
731 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_suspend_host()
771 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_resume_host()
804 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_suspend()
830 struct ata_host *host = dev_get_drvdata(dev); in ahci_platform_resume()
Dsata_qstor.c102 static void qs_host_stop(struct ata_host *host);
161 static void __iomem *qs_mmio_base(struct ata_host *host) in qs_mmio_base()
357 static inline unsigned int qs_intr_pkt(struct ata_host *host) in qs_intr_pkt()
399 static inline unsigned int qs_intr_mmio(struct ata_host *host) in qs_intr_mmio()
434 struct ata_host *host = dev_instance; in qs_intr()
491 static void qs_host_stop(struct ata_host *host) in qs_host_stop()
499 static void qs_host_init(struct ata_host *host, unsigned int chip_id) in qs_host_init()
556 struct ata_host *host; in qs_ata_init_one()
Dpata_imx.c128 struct ata_host *host; in pata_imx_probe()
209 struct ata_host *host = platform_get_drvdata(pdev); in pata_imx_remove()
224 struct ata_host *host = dev_get_drvdata(dev); in pata_imx_suspend()
241 struct ata_host *host = dev_get_drvdata(dev); in pata_imx_resume()
Dahci_st.c87 static void st_ahci_host_stop(struct ata_host *host) in st_ahci_host_stop()
187 struct ata_host *host = dev_get_drvdata(dev); in st_ahci_suspend()
211 struct ata_host *host = dev_get_drvdata(dev); in st_ahci_resume()
Dpata_pdc2027x.c471 static long pdc_read_counter(struct ata_host *host) in pdc_read_counter()
512 static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx) in pdc_adjust_pll()
598 static long pdc_detect_pll_input_clock(struct ata_host *host) in pdc_detect_pll_input_clock()
646 static void pdc_hardware_init(struct ata_host *host, unsigned int board_idx) in pdc_hardware_init()
704 struct ata_host *host; in pdc2027x_init_one()
754 struct ata_host *host = pci_get_drvdata(pdev); in pdc2027x_reinit_one()
Dpata_isapnp.c50 struct ata_host *host; in isapnp_init_one()
112 struct ata_host *host = dev_get_drvdata(dev); in isapnp_remove_one()
Dpata_samsung_cf.c149 static void ata_outb(struct ata_host *host, u8 addr, void __iomem *reg) in ata_outb()
160 static u8 ata_inb(struct ata_host *host, void __iomem *reg) in ata_inb()
450 struct ata_host *host = dev_instance; in pata_s3c_irq()
499 struct ata_host *host; in pata_s3c_probe()
596 struct ata_host *host = platform_get_drvdata(pdev); in pata_s3c_remove()
609 struct ata_host *host = dev_get_drvdata(dev); in pata_s3c_suspend()
616 struct ata_host *host = dev_get_drvdata(dev); in pata_s3c_resume()
Dpata_cs5520.c120 struct ata_host *host; in cs5520_init_one()
230 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_reinit_one()
258 struct ata_host *host = pci_get_drvdata(pdev); in cs5520_pci_device_suspend()
Dlibata.h85 extern struct ata_port *ata_port_alloc(struct ata_host *host);
109 extern void ata_acpi_dissociate(struct ata_host *host);
119 static inline void ata_acpi_dissociate(struct ata_host *host) { } in ata_acpi_dissociate()
133 extern int ata_scsi_add_hosts(struct ata_host *host,
Dahci.c668 static int ahci_pci_reset_controller(struct ata_host *host) in ahci_pci_reset_controller()
687 static void ahci_pci_init_controller(struct ata_host *host) in ahci_pci_init_controller()
820 struct ata_host *host = ap->host; in ahci_avn_hardreset()
857 static void ahci_pci_disable_interrupts(struct ata_host *host) in ahci_pci_disable_interrupts()
876 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_runtime_suspend()
885 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_runtime_resume()
899 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_suspend()
915 struct ata_host *host = pci_get_drvdata(pdev); in ahci_pci_device_resume()
959 static void ahci_pci_print_info(struct ata_host *host) in ahci_pci_print_info()
996 static void ahci_p5wdh_workaround(struct ata_host *host) in ahci_p5wdh_workaround()
[all …]
Dacard-ahci.c114 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()
362 struct ata_host *host; in acard_ahci_init_one()
Dahci_brcm.c251 struct ata_host *host = ap->host; in brcm_ahci_read_id()
320 static void brcm_ahci_host_stop(struct ata_host *host) in brcm_ahci_host_stop()
343 struct ata_host *host = dev_get_drvdata(dev); in brcm_ahci_suspend()
363 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()
Dpata_ninja32.c105 struct ata_host *host; in ninja32_init_one()
156 struct ata_host *host = pci_get_drvdata(pdev); in ninja32_reinit_one()
Dsata_rcar.c724 struct ata_host *host = dev_instance; in sata_rcar_interrupt()
756 static void sata_rcar_setup_port(struct ata_host *host) in sata_rcar_setup_port()
818 static void sata_rcar_init_controller(struct ata_host *host) in sata_rcar_init_controller()
889 struct ata_host *host; in sata_rcar_probe()
946 struct ata_host *host = platform_get_drvdata(pdev); in sata_rcar_remove()
967 struct ata_host *host = dev_get_drvdata(dev); in sata_rcar_suspend()
987 struct ata_host *host = dev_get_drvdata(dev); in sata_rcar_resume()
1017 struct ata_host *host = dev_get_drvdata(dev); in sata_rcar_restore()
Dpata_atp867x.c359 static void atp867x_fixup(struct ata_host *host) in atp867x_fixup()
405 static int atp867x_ata_pci_sff_init_host(struct ata_host *host) in atp867x_ata_pci_sff_init_host()
479 struct ata_host *host; in atp867x_init_one()
519 struct ata_host *host = pci_get_drvdata(pdev); in atp867x_reinit_one()
Dsata_mv.c585 void (*reset_bus)(struct ata_host *host, void __iomem *mmio);
612 static void mv5_reset_bus(struct ata_host *host, void __iomem *mmio);
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);
916 static inline void __iomem *mv_host_base(struct ata_host *host) in mv_host_base()
1036 static void mv_set_main_irq_mask(struct ata_host *host, in mv_set_main_irq_mask()
1087 static void mv_set_irq_coalescing(struct ata_host *host, in mv_set_irq_coalescing()
1562 struct ata_host *host = ap->host; in mv_soc_led_blink_enable()
1577 struct ata_host *host = ap->host; in mv_soc_led_blink_disable()
2883 static int mv_host_intr(struct ata_host *host, u32 main_irq_cause) in mv_host_intr()
[all …]
Dpdc_adma.c410 static inline unsigned int adma_intr_pkt(struct ata_host *host) in adma_intr_pkt()
460 static inline unsigned int adma_intr_mmio(struct ata_host *host) in adma_intr_mmio()
504 struct ata_host *host = dev_instance; in adma_intr()
564 static void adma_host_init(struct ata_host *host, unsigned int chip_id) in adma_host_init()
581 struct ata_host *host; in adma_ata_init_one()
Data_piix.c988 struct ata_host *host = pci_get_drvdata(pdev); in piix_pci_device_suspend()
1023 struct ata_host *host = pci_get_drvdata(pdev); in piix_pci_device_resume()
1335 static void piix_init_pcs(struct ata_host *host, in piix_init_pcs()
1399 static bool piix_no_sidpr(struct ata_host *host) in piix_no_sidpr()
1432 static int piix_init_sidpr(struct ata_host *host) in piix_init_sidpr()
1499 static void piix_iocfg_bit18_quirk(struct ata_host *host) in piix_iocfg_bit18_quirk()
1575 static void piix_ignore_devices_quirk(struct ata_host *host) in piix_ignore_devices_quirk()
1646 struct ata_host *host; in piix_init_one()
1747 struct ata_host *host = pci_get_drvdata(pdev); in piix_remove_one()
Dpata_gayle.c132 struct ata_host *host; in pata_gayle_init_one()
199 struct ata_host *host = platform_get_drvdata(pdev); in pata_gayle_remove_one()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_ata.c555 struct ata_host *ata_host; in sas_ata_init() local
559 ata_host = kzalloc(sizeof(*ata_host), GFP_KERNEL); in sas_ata_init()
560 if (!ata_host) { in sas_ata_init()
565 ata_host_init(ata_host, ha->dev, &sas_sata_ops); in sas_ata_init()
567 ap = ata_sas_port_alloc(ata_host, &sata_port_info, shost); in sas_ata_init()
581 rc = ata_sas_tport_add(ata_host->dev, ap); in sas_ata_init()
585 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init()
593 ata_host_put(ata_host); in sas_ata_init()
/kernel/linux/linux-5.10/include/linux/
Dlibata.h600 struct ata_host { struct
856 struct ata_host *host;
952 void (*host_stop)(struct ata_host *host);
1078 extern struct ata_host *ata_host_alloc(struct device *dev, int max_ports);
1079 extern struct ata_host *ata_host_alloc_pinfo(struct device *dev,
1081 extern void ata_host_get(struct ata_host *host);
1082 extern void ata_host_put(struct ata_host *host);
1083 extern int ata_host_start(struct ata_host *host);
1084 extern int ata_host_register(struct ata_host *host,
1086 extern int ata_host_activate(struct ata_host *host, int irq,
[all …]

1234