1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef __UAPI_WCD_SPI_AC_PARAMS_H__ 8 #define __UAPI_WCD_SPI_AC_PARAMS_H__ 9 #include <linux/types.h> 10 #define WCD_SPI_AC_CMD_CONC_BEGIN 0x01 11 #define WCD_SPI_AC_CMD_CONC_END 0x02 12 #define WCD_SPI_AC_CMD_BUF_DATA 0x03 13 #define WCD_SPI_AC_MAX_BUFFERS 2 14 #define WCD_SPI_AC_MAX_CH_PER_BUF 8 15 #define WCD_SPI_AC_CLIENT_CDEV_NAME "wcd-spi-ac-client" 16 #define WCD_SPI_AC_PROCFS_DIR_NAME "wcd-spi-ac" 17 #define WCD_SPI_AC_PROCFS_STATE_NAME "svc-state" 18 struct wcd_spi_ac_buf_data { 19 __u32 addr[WCD_SPI_AC_MAX_CH_PER_BUF]; 20 } __attribute__((packed)); 21 struct wcd_spi_ac_write_cmd { 22 __u32 cmd_type; 23 __u8 payload[0]; 24 } __attribute__((packed)); 25 #endif 26