Lines Matching refs:lithium_t
241 } lithium_t;
244 * li_destroy destroys the lithium_t structure and vm mappings.
247 static void li_destroy(lithium_t *lith)
264 * li_create initializes the lithium_t structure and sets up vm mappings
269 static int __init li_create(lithium_t *lith, unsigned long baseaddr)
286 static __inline__ unsigned long li_readl(lithium_t *lith, int off)
291 static __inline__ unsigned char li_readb(lithium_t *lith, int off)
296 static __inline__ void li_writel(lithium_t *lith, int off, unsigned long val)
301 static __inline__ void li_writeb(lithium_t *lith, int off, unsigned char val)
491 * The lith field points to a lithium_t which is passed
498 lithium_t *lith;
522 static int li_ad1843_wait(lithium_t *lith)
537 static int li_read_ad1843_reg(lithium_t *lith, int reg)
564 static void li_write_ad1843_reg(lithium_t *lith, int reg, int newval)
583 lithium_t *lith,
653 lithium_t *lith = chan->lith;
692 lithium_t *lith = chan->lith;
747 lithium_t *lith = chan->lith;
778 static void li_enable_interrupts(lithium_t *lith, unsigned int mask)
792 static void li_disable_interrupts(lithium_t *lith, unsigned int mask)
810 static unsigned int li_get_clear_intr_status(lithium_t *lith)
819 static int li_init(lithium_t *lith)
936 static int ad1843_read_bits(lithium_t *lith, const ad1843_bitfield_t *field)
951 static int ad1843_write_bits(lithium_t *lith,
983 static void ad1843_read_multi(lithium_t *lith, int argcount, ...)
1015 static void ad1843_write_multi(lithium_t *lith, int argcount, ...)
1053 static int ad1843_get_gain(lithium_t *lith, const ad1843_gain_t *gp)
1075 static int ad1843_set_gain(lithium_t *lith,
1097 static int ad1843_get_recsrc(lithium_t *lith)
1131 static void ad1843_set_resample_mode(lithium_t *lith, int onoff)
1167 static int ad1843_set_recsrc(lithium_t *lith, int newsrc)
1214 static int ad1843_get_outsrc(lithium_t *lith)
1232 static int ad1843_set_outsrc(lithium_t *lith, int mask)
1254 static void ad1843_setup_dac(lithium_t *lith,
1286 static void ad1843_shutdown_dac(lithium_t *lith)
1291 static void ad1843_setup_adc(lithium_t *lith, int framerate, int fmt, int channels)
1314 static void ad1843_shutdown_adc(lithium_t *lith)
1327 static int __init ad1843_init(lithium_t *lith)
1508 lithium_t lith;
3236 lithium_t lith;