| 123456789101112131415 |
- #define DEV_NAME "ir-learning"
- #define SPI_BUF_LEN (256*1024)
- struct mt_irlearning {
- unsigned int spi_clock; /* SPI clock source */
- unsigned int spi_hz; /* SPI clock output */
- unsigned int spi_data_invert;
- unsigned int spi_cs_invert;
- void *spi_buffer;
- struct spi_device *spi_dev;
- };
- #define SPI_IOC_READ_WAVE _IOR('k', 1, __u8)
- #define SPI_IOC_GET_SAMPLE_RATE _IOR('k', 2, __u8)
|