Lines Matching refs:ucb

149 	struct ucb1x00		*ucb;  member
174 static inline unsigned int ucb1x00_clkrate(struct ucb1x00 *ucb) in ucb1x00_clkrate() argument
176 return mcp_get_sclk_rate(ucb->mcp); in ucb1x00_clkrate()
185 static inline void ucb1x00_enable(struct ucb1x00 *ucb) in ucb1x00_enable() argument
187 mcp_enable(ucb->mcp); in ucb1x00_enable()
198 static inline void ucb1x00_disable(struct ucb1x00 *ucb) in ucb1x00_disable() argument
200 mcp_disable(ucb->mcp); in ucb1x00_disable()
212 static inline void ucb1x00_reg_write(struct ucb1x00 *ucb, unsigned int reg, unsigned int val) in ucb1x00_reg_write() argument
214 mcp_reg_write(ucb->mcp, reg, val); in ucb1x00_reg_write()
225 static inline unsigned int ucb1x00_reg_read(struct ucb1x00 *ucb, unsigned int reg) in ucb1x00_reg_read() argument
227 return mcp_reg_read(ucb->mcp, reg); in ucb1x00_reg_read()
234 static inline void ucb1x00_set_audio_divisor(struct ucb1x00 *ucb, unsigned int div) in ucb1x00_set_audio_divisor() argument
236 mcp_set_audio_divisor(ucb->mcp, div); in ucb1x00_set_audio_divisor()
244 static inline void ucb1x00_set_telecom_divisor(struct ucb1x00 *ucb, unsigned int div) in ucb1x00_set_telecom_divisor() argument
246 mcp_set_telecom_divisor(ucb->mcp, div); in ucb1x00_set_telecom_divisor()
249 void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int, unsigned int);
250 void ucb1x00_io_write(struct ucb1x00 *ucb, unsigned int, unsigned int);
251 unsigned int ucb1x00_io_read(struct ucb1x00 *ucb);
256 unsigned int ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync);
257 void ucb1x00_adc_enable(struct ucb1x00 *ucb);
258 void ucb1x00_adc_disable(struct ucb1x00 *ucb);