Lines Matching refs:dac_info
33 struct dac_info *dac;
302 int (*dac_get_mode)(struct dac_info *info);
303 int (*dac_set_mode)(struct dac_info *info, int mode);
304 int (*dac_get_freq)(struct dac_info *info, int channel);
305 int (*dac_set_freq)(struct dac_info *info, int channel, u32 freq);
306 void (*dac_release)(struct dac_info *info);
312 struct dac_info struct
321 static inline u8 dac_read_reg(struct dac_info *info, u8 reg) in dac_read_reg() argument
328 static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) in dac_read_regs()
333 static inline void dac_write_reg(struct dac_info *info, u8 reg, u8 val) in dac_write_reg()
339 static inline void dac_write_regs(struct dac_info *info, u8 *code, int count) in dac_write_regs()
344 static inline int dac_set_mode(struct dac_info *info, int mode) in dac_set_mode()
349 static inline int dac_set_freq(struct dac_info *info, int channel, u32 freq) in dac_set_freq()
354 static inline void dac_release(struct dac_info *info) in dac_release()
367 struct dac_info dac;
380 static int ics5342_set_mode(struct dac_info *info, int mode) in ics5342_set_mode()
408 static int ics5342_set_freq(struct dac_info *info, int channel, u32 freq) in ics5342_set_freq()
426 static void ics5342_release(struct dac_info *info) in ics5342_release()
439 static struct dac_info * ics5342_init(dac_read_regs_t drr, dac_write_regs_t dwr, void *data) in ics5342_init()
441 struct dac_info *info = kzalloc(sizeof(struct ics5342_info), GFP_KERNEL); in ics5342_init()