Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ahci/ahci.h
| Show First 20 Lines • Show All 650 Lines • ▼ Show 20 Lines | #define AHCI_Q_BIT_STRING \ | ||||
| "\032SLOWDEV" | "\032SLOWDEV" | ||||
| int ahci_attach(device_t dev); | int ahci_attach(device_t dev); | ||||
| int ahci_detach(device_t dev); | int ahci_detach(device_t dev); | ||||
| int ahci_setup_interrupt(device_t dev); | int ahci_setup_interrupt(device_t dev); | ||||
| int ahci_print_child(device_t dev, device_t child); | int ahci_print_child(device_t dev, device_t child); | ||||
| struct resource *ahci_alloc_resource(device_t dev, device_t child, int type, int *rid, | 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, 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(device_t dev, device_t child, struct sbuf *sb); | int ahci_child_location(device_t dev, device_t child, struct sbuf *sb); | ||||
| 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); | ||||