#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/libata.h>
static const struct ata_timing ata_timing[] = …;
#define ENOUGH(v, unit) …
#define EZ(v, unit) …
static void ata_timing_quantize(const struct ata_timing *t,
struct ata_timing *q, int T, int UT)
{ … }
void ata_timing_merge(const struct ata_timing *a, const struct ata_timing *b,
struct ata_timing *m, unsigned int what)
{ … }
EXPORT_SYMBOL_GPL(…);
const struct ata_timing *ata_timing_find_mode(u8 xfer_mode)
{ … }
EXPORT_SYMBOL_GPL(…);
int ata_timing_compute(struct ata_device *adev, unsigned short speed,
struct ata_timing *t, int T, int UT)
{ … }
EXPORT_SYMBOL_GPL(…);