|
libmetal
|
#include <device.h>
Data Fields | |
| void(*) | bus_close (struct metal_bus *bus) |
| int(*) | dev_open (struct metal_bus *bus, const char *dev_name, struct metal_device **device) |
| void(*) | dev_close (struct metal_bus *bus, struct metal_device *device) |
| void(*) | dev_irq_ack (struct metal_bus *bus, struct metal_device *device, int irq) |
| int(*) | dev_dma_map (struct metal_bus *bus, struct metal_device *device, uint32_t dir, struct metal_sg *sg_in, int nents_in, struct metal_sg *sg_out) |
| void(*) | dev_dma_unmap (struct metal_bus *bus, struct metal_device *device, uint32_t dir, struct metal_sg *sg, int nents) |
Bus operations.
| void(*) metal_bus_ops::bus_close(struct metal_bus *bus) |
| void(*) metal_bus_ops::dev_close(struct metal_bus *bus, struct metal_device *device) |
| int(*) metal_bus_ops::dev_dma_map(struct metal_bus *bus, struct metal_device *device, uint32_t dir, struct metal_sg *sg_in, int nents_in, struct metal_sg *sg_out) |
| void(*) metal_bus_ops::dev_dma_unmap(struct metal_bus *bus, struct metal_device *device, uint32_t dir, struct metal_sg *sg, int nents) |
| void(*) metal_bus_ops::dev_irq_ack(struct metal_bus *bus, struct metal_device *device, int irq) |
| int(*) metal_bus_ops::dev_open(struct metal_bus *bus, const char *dev_name, struct metal_device **device) |