|
Modules | |
| Internal Documentation | |
Functions | |
| struct block_device * | dataflash_blkdev_init (spi_id_t spi_id, struct spi_master *master, struct spi_device *device, struct workqueue_task *event_task) |
| Initialize a DataFlash block device. | |
This is a block device driver for DataFlash devices.
| struct block_device * dataflash_blkdev_init | ( | spi_id_t | spi_id, | |
| struct spi_master * | master, | |||
| struct spi_device * | device, | |||
| struct workqueue_task * | event_task | |||
| ) | [read] |
Initialize a DataFlash block device.
Will allocated memory and initialize internals, and will then start a DataFlash detection sequence. Once this sequence is completed it will run the workqueue task event_task.
| spi_id | SPI Module ID | |
| master | SPI master struct | |
| device | SPI device struct | |
| event_task | Workqueue task to run on an event |
Referenced by dataflash_init().
1.6.3