mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
a7f08ca7df
gemini_sata_reset_bridge() was added in 2017 by the initial commit be4e456ed3a5 ("ata: Add driver for Faraday Technology FTIDE010") but has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
22 lines
599 B
C
22 lines
599 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Header for the Gemini SATA bridge */
|
|
#ifndef SATA_GEMINI_H
|
|
#define SATA_GEMINI_H
|
|
|
|
struct sata_gemini;
|
|
|
|
enum gemini_muxmode {
|
|
GEMINI_MUXMODE_0 = 0,
|
|
GEMINI_MUXMODE_1,
|
|
GEMINI_MUXMODE_2,
|
|
GEMINI_MUXMODE_3,
|
|
};
|
|
|
|
struct sata_gemini *gemini_sata_bridge_get(void);
|
|
bool gemini_sata_bridge_enabled(struct sata_gemini *sg, bool is_ata1);
|
|
enum gemini_muxmode gemini_sata_get_muxmode(struct sata_gemini *sg);
|
|
int gemini_sata_start_bridge(struct sata_gemini *sg, unsigned int bridge);
|
|
void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge);
|
|
|
|
#endif
|