Blame view
include/linux/ahci_platform.h
1.54 KB
8d7c56d08 treewide: Replace... |
1 |
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
1c2a49f61 ahci: Add platfor... |
2 3 4 5 6 7 8 |
/* * AHCI SATA platform driver * * Copyright 2004-2005 Red Hat, Inc. * Jeff Garzik <jgarzik@pobox.com> * Copyright 2010 MontaVista Software, LLC. * Anton Vorontsov <avorontsov@ru.mvista.com> |
1c2a49f61 ahci: Add platfor... |
9 10 11 12 |
*/ #ifndef _AHCI_PLATFORM_H #define _AHCI_PLATFORM_H |
08354809d ahci_platform: Pr... |
13 |
#include <linux/compiler.h> |
1c2a49f61 ahci: Add platfor... |
14 15 |
struct device; struct ata_port_info; |
156c58879 ahci-platform: Ad... |
16 |
struct ahci_host_priv; |
23b07d4cb ahci-platform: "L... |
17 |
struct platform_device; |
018d5ef20 ata: ahci_platfor... |
18 |
struct scsi_host_template; |
1c2a49f61 ahci: Add platfor... |
19 |
|
84b032dbf ata: libahci_plat... |
20 21 |
int ahci_platform_enable_phys(struct ahci_host_priv *hpriv); void ahci_platform_disable_phys(struct ahci_host_priv *hpriv); |
156c58879 ahci-platform: Ad... |
22 23 |
int ahci_platform_enable_clks(struct ahci_host_priv *hpriv); void ahci_platform_disable_clks(struct ahci_host_priv *hpriv); |
c7d7ddee7 ata: libahci: All... |
24 25 |
int ahci_platform_enable_regulators(struct ahci_host_priv *hpriv); void ahci_platform_disable_regulators(struct ahci_host_priv *hpriv); |
96a01ba52 ahci-platform: Ad... |
26 27 |
int ahci_platform_enable_resources(struct ahci_host_priv *hpriv); void ahci_platform_disable_resources(struct ahci_host_priv *hpriv); |
23b07d4cb ahci-platform: "L... |
28 |
struct ahci_host_priv *ahci_platform_get_resources( |
16af2d658 ata: add an extra... |
29 |
struct platform_device *pdev, unsigned int flags); |
23b07d4cb ahci-platform: "L... |
30 31 |
int ahci_platform_init_host(struct platform_device *pdev, struct ahci_host_priv *hpriv, |
018d5ef20 ata: ahci_platfor... |
32 33 |
const struct ata_port_info *pi_template, struct scsi_host_template *sht); |
156c58879 ahci-platform: Ad... |
34 |
|
8eede5bc4 ata: ahci_platfor... |
35 |
void ahci_platform_shutdown(struct platform_device *pdev); |
648cb6fd8 ahci-platform: "L... |
36 37 38 39 |
int ahci_platform_suspend_host(struct device *dev); int ahci_platform_resume_host(struct device *dev); int ahci_platform_suspend(struct device *dev); int ahci_platform_resume(struct device *dev); |
9d2ab9957 ata: libahci_plat... |
40 |
#define AHCI_PLATFORM_GET_RESETS 0x01 |
1c2a49f61 ahci: Add platfor... |
41 |
#endif /* _AHCI_PLATFORM_H */ |