2 * ALSA SoC CX20709 Channel codec driver
4 * Copyright: (C) 2009/2010 Conexant Systems
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
13 *************************************************************************
14 * Modified Date: 11/02/11
15 * File Version: 2.26.35.11
16 *************************************************************************
21 #define CXDBG_MAJOR 168 /* Device major number */
24 /* Use 'k' as magic number */
25 #define CXDBG_IOC_MAGIC 'S'
27 #define MAX_DATA_LEN 64
30 unsigned char data[MAX_DATA_LEN];
33 #define CXDBG_IOCTL_REG_SET _IOWR(CXDBG_IOC_MAGIC, 1, struct CXDBG_IODATA)
34 #define CXDBG_IOCTL_REG_GET _IOWR(CXDBG_IOC_MAGIC, 2, struct CXDBG_IODATA)
35 #define CXDBG_IOCTL_PDRIVER_VERSION _IOR( CXDBG_IOC_MAGIC, 3, int)
37 #define CXDBG_DEVICE_NAME "cxdbg"
40 int cxdbg_dev_init(struct snd_soc_codec * codec);
41 void cxdbg_dev_exit(void);
44 #endif //#ifndef CXDEBUG_H