Lines Matching refs:dac_info
34 struct dac_info *dac;
303 int (*dac_get_mode)(struct dac_info *info);
304 int (*dac_set_mode)(struct dac_info *info, int mode);
305 int (*dac_get_freq)(struct dac_info *info, int channel);
306 int (*dac_set_freq)(struct dac_info *info, int channel, u32 freq);
307 void (*dac_release)(struct dac_info *info);
313 struct dac_info struct
321 static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) in dac_read_regs() argument
326 static inline void dac_write_reg(struct dac_info *info, u8 reg, u8 val) in dac_write_reg()
332 static inline void dac_write_regs(struct dac_info *info, u8 *code, int count) in dac_write_regs()
337 static inline int dac_set_mode(struct dac_info *info, int mode) in dac_set_mode()
342 static inline int dac_set_freq(struct dac_info *info, int channel, u32 freq) in dac_set_freq()
347 static inline void dac_release(struct dac_info *info) in dac_release()
360 struct dac_info dac;
373 static int ics5342_set_mode(struct dac_info *info, int mode) in ics5342_set_mode()
401 static int ics5342_set_freq(struct dac_info *info, int channel, u32 freq) in ics5342_set_freq()
419 static void ics5342_release(struct dac_info *info) in ics5342_release()
432 static struct dac_info * ics5342_init(dac_read_regs_t drr, dac_write_regs_t dwr, void *data) in ics5342_init()
434 struct dac_info *info = kzalloc(sizeof(struct ics5342_info), GFP_KERNEL); in ics5342_init()