Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ahci/ahci.h
Show First 20 Lines • Show All 657 Lines • ▼ Show 20 Lines | struct resource *ahci_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | ||||
int ahci_release_resource(device_t dev, device_t child, int type, int rid, | int ahci_release_resource(device_t dev, device_t child, int type, int rid, | ||||
struct resource *r); | struct resource *r); | ||||
int ahci_setup_intr(device_t dev, device_t child, struct resource *irq, | int ahci_setup_intr(device_t dev, device_t child, struct resource *irq, | ||||
int flags, driver_filter_t *filter, driver_intr_t *function, | int flags, driver_filter_t *filter, driver_intr_t *function, | ||||
void *argument, void **cookiep); | void *argument, void **cookiep); | ||||
int ahci_teardown_intr(device_t dev, device_t child, struct resource *irq, | int ahci_teardown_intr(device_t dev, device_t child, struct resource *irq, | ||||
void *cookie); | void *cookie); | ||||
int ahci_child_location_str(device_t dev, device_t child, char *buf, | int ahci_child_location(device_t dev, device_t child, struct sbuf *sb); | ||||
size_t buflen); | |||||
bus_dma_tag_t ahci_get_dma_tag(device_t dev, device_t child); | bus_dma_tag_t ahci_get_dma_tag(device_t dev, device_t child); | ||||
int ahci_ctlr_reset(device_t dev); | int ahci_ctlr_reset(device_t dev); | ||||
int ahci_ctlr_setup(device_t dev); | int ahci_ctlr_setup(device_t dev); | ||||
void ahci_free_mem(device_t dev); | void ahci_free_mem(device_t dev); | ||||
/* Functions to allow AHCI EM to access other channels. */ | /* Functions to allow AHCI EM to access other channels. */ | ||||
void ahci_attached(device_t dev, struct ahci_channel *ch); | void ahci_attached(device_t dev, struct ahci_channel *ch); | ||||
void ahci_detached(device_t dev, struct ahci_channel *ch); | void ahci_detached(device_t dev, struct ahci_channel *ch); | ||||
struct ahci_channel * ahci_getch(device_t dev, int n); | struct ahci_channel * ahci_getch(device_t dev, int n); | ||||
void ahci_putch(struct ahci_channel *ch); | void ahci_putch(struct ahci_channel *ch); | ||||
extern devclass_t ahci_devclass; | extern devclass_t ahci_devclass; |