Home
last modified time | relevance | path

Searched refs:ucb1x00 (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/mfd/
H A Ducb1x00.h124 struct ucb1x00 { struct
150 struct ucb1x00 *ucb; argument
164 #define classdev_to_ucb1x00(cd) container_of(cd, struct ucb1x00, dev)
175 static inline unsigned int ucb1x00_clkrate(struct ucb1x00 *ucb) in ucb1x00_clkrate()
186 static inline void ucb1x00_enable(struct ucb1x00 *ucb) in ucb1x00_enable()
199 static inline void ucb1x00_disable(struct ucb1x00 *ucb) in ucb1x00_disable()
213 static inline void ucb1x00_reg_write(struct ucb1x00 *ucb, unsigned int reg, unsigned int val) in ucb1x00_reg_write()
226 static inline unsigned int ucb1x00_reg_read(struct ucb1x00 *ucb, unsigned int reg) in ucb1x00_reg_read()
235 static inline void ucb1x00_set_audio_divisor(struct ucb1x00 *ucb, unsigned int div) in ucb1x00_set_audio_divisor()
245 static inline void ucb1x00_set_telecom_divisor(struct ucb1x00 *ucb, unsigned int div) in ucb1x00_set_telecom_divisor()
[all …]
/linux/drivers/mfd/
H A Ducb1x00-core.c51 void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int in, unsigned int out) in ucb1x00_io_set_dir()
79 void ucb1x00_io_write(struct ucb1x00 *ucb, unsigned int set, unsigned int clear) in ucb1x00_io_write()
103 unsigned int ucb1x00_io_read(struct ucb1x00 *ucb) in ucb1x00_io_read()
111 struct ucb1x00 *ucb = gpiochip_get_data(chip); in ucb1x00_gpio_set()
130 struct ucb1x00 *ucb = gpiochip_get_data(chip); in ucb1x00_gpio_get()
142 struct ucb1x00 *ucb = gpiochip_get_data(chip); in ucb1x00_gpio_direction_input()
158 struct ucb1x00 *ucb = gpiochip_get_data(chip); in ucb1x00_gpio_direction_output()
185 struct ucb1x00 *ucb = gpiochip_get_data(chip); in ucb1x00_to_irq()
215 void ucb1x00_adc_enable(struct ucb1x00 *ucb) in ucb1x00_adc_enable()
241 unsigned int ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync) in ucb1x00_adc_read()
[all …]
H A Ducb1x00-assabet.c27 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); \
88 struct ucb1x00 *ucb = dev->ucb; in ucb1x00_assabet_add()
H A DMakefile138 obj-$(CONFIG_MCP_UCB1200) += ucb1x00-core.o
139 obj-$(CONFIG_MCP_UCB1200_TS) += ucb1x00-ts.o
142 obj-$(CONFIG_MCP_UCB1200) += ucb1x00-assabet.o
H A Ducb1x00-ts.c40 struct ucb1x00 *ucb;
/linux/drivers/power/supply/
H A Dcollie_battery.c26 static struct ucb1x00 *ucb;