Home
last modified time | relevance | path

Searched defs:mux (Results 1 – 25 of 82) sorted by relevance

1234

/linux-4.19.296/drivers/iio/multiplexer/
Diio-mux.c31 struct mux { struct
33 struct mux_control *control; argument
38 struct mux_child *child; argument
41 static int iio_mux_select(struct mux *mux, int idx) in iio_mux_select()
83 static void iio_mux_deselect(struct mux *mux) in iio_mux_deselect()
92 struct mux *mux = iio_priv(indio_dev); in mux_read_raw() local
123 struct mux *mux = iio_priv(indio_dev); in mux_read_avail() local
150 struct mux *mux = iio_priv(indio_dev); in mux_write_raw() local
181 struct mux *mux = iio_priv(indio_dev); in mux_read_ext_info() local
203 struct mux *mux = iio_priv(indio_dev); in mux_write_ext_info() local
[all …]
/linux-4.19.296/drivers/mux/
Dcore.c113 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_alloc() local
127 static int mux_control_set(struct mux_control *mux, int state) in mux_control_set()
153 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_register() local
287 unsigned int mux_control_states(struct mux_control *mux) in mux_control_states()
296 static int __mux_control_select(struct mux_control *mux, int state) in __mux_control_select()
334 int mux_control_select(struct mux_control *mux, unsigned int state) in mux_control_select()
366 int mux_control_try_select(struct mux_control *mux, unsigned int state) in mux_control_try_select()
394 int mux_control_deselect(struct mux_control *mux) in mux_control_deselect()
492 void mux_control_put(struct mux_control *mux) in mux_control_put()
500 struct mux_control *mux = *(struct mux_control **)res; in devm_mux_control_release() local
[all …]
Dadg792a.c18 #define ADG792A_DISABLE(mux) (0x50 | (mux)) argument
20 #define ADG792A_MUX(mux, state) (0xc0 | (((mux) + 1) << 2) | (state)) argument
34 static int adg792a_set(struct mux_control *mux, int state) in adg792a_set()
99 struct mux_control *mux = &mux_chip->mux[i]; in adg792a_probe() local
Dmmio.c18 static int mux_mmio_set(struct mux_control *mux, int state) in mux_mmio_set()
71 struct mux_control *mux = &mux_chip->mux[i]; in mux_mmio_probe() local
Dadgs1408.c36 static int adgs1408_set(struct mux_control *mux, int state) in adgs1408_set()
58 struct mux_control *mux; in adgs1408_probe() local
/linux-4.19.296/drivers/i2c/muxes/
Di2c-mux-gpmux.c20 struct mux { struct
21 struct mux_control *control; argument
28 struct mux *mux = i2c_mux_priv(muxc); in i2c_mux_select() argument
39 struct mux *mux = i2c_mux_priv(muxc); in i2c_mux_deselect() local
78 struct mux *mux; in i2c_mux_probe() local
Di2c-mux-reg.c27 static int i2c_mux_reg_set(const struct regmux *mux, unsigned int chan_id) in i2c_mux_reg_set()
67 struct regmux *mux = i2c_mux_priv(muxc); in i2c_mux_reg_select() local
74 struct regmux *mux = i2c_mux_priv(muxc); in i2c_mux_reg_deselect() local
83 static int i2c_mux_reg_probe_dt(struct regmux *mux, in i2c_mux_reg_probe_dt()
153 static int i2c_mux_reg_probe_dt(struct regmux *mux, in i2c_mux_reg_probe_dt()
163 struct regmux *mux; in i2c_mux_reg_probe() local
Di2c-mux-gpio.c28 static void i2c_mux_gpio_set(const struct gpiomux *mux, unsigned val) in i2c_mux_gpio_set()
41 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_select() local
50 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_deselect() local
64 static int i2c_mux_gpio_probe_dt(struct gpiomux *mux, in i2c_mux_gpio_probe_dt()
134 static int i2c_mux_gpio_probe_dt(struct gpiomux *mux, in i2c_mux_gpio_probe_dt()
144 struct gpiomux *mux; in i2c_mux_gpio_probe() local
273 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_remove() local
Di2c-mux-pinctrl.c35 struct i2c_mux_pinctrl *mux = i2c_mux_priv(muxc); in i2c_mux_pinctrl_select() local
89 struct i2c_mux_pinctrl *mux; in i2c_mux_pinctrl_probe() local
/linux-4.19.296/drivers/clk/ti/
Dmux.c31 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in ti_clk_mux_get_parent() local
68 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in ti_clk_mux_set_parent() local
106 struct clk_omap_mux *mux; in _register_mux() local
140 struct ti_clk_mux *mux; in ti_clk_register_mux() local
232 struct clk_omap_mux *mux; in ti_clk_build_component_mux() local
261 struct clk_omap_mux *mux; in of_ti_composite_mux_clk_setup() local
/linux-4.19.296/drivers/clk/mediatek/
Dclk-cpumux.c29 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_get_parent() local
42 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_set_parent() local
57 mtk_clk_register_cpumux(const struct mtk_composite *mux, in mtk_clk_register_cpumux()
103 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local
/linux-4.19.296/drivers/clk/
Dclk-mux.c76 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_get_parent() local
87 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_set_parent() local
118 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_determine_rate() local
141 struct clk_mux *mux; in clk_hw_register_mux_table() local
236 struct clk_mux *mux; in clk_unregister_mux() local
252 struct clk_mux *mux; in clk_hw_unregister_mux() local
/linux-4.19.296/drivers/clk/imx/
Dclk-fixup-mux.c28 struct clk_mux mux; member
35 struct clk_mux *mux = to_clk_mux(hw); in to_clk_fixup_mux() local
50 struct clk_mux *mux = to_clk_mux(hw); in clk_fixup_mux_set_parent() local
Dclk-cpu.c20 struct clk *mux; member
79 struct clk *div, struct clk *mux, struct clk *pll, in imx_clk_cpu()
/linux-4.19.296/drivers/clk/uniphier/
Dclk-uniphier-mux.c34 struct uniphier_clk_mux *mux = to_uniphier_clk_mux(hw); in uniphier_clk_mux_set_parent() local
42 struct uniphier_clk_mux *mux = to_uniphier_clk_mux(hw); in uniphier_clk_mux_get_parent() local
70 struct uniphier_clk_mux *mux; in uniphier_clk_register_mux() local
/linux-4.19.296/drivers/clk/qcom/
Dclk-regmap-mux.c28 struct clk_regmap_mux *mux = to_clk_regmap_mux(hw); in mux_get_parent() local
46 struct clk_regmap_mux *mux = to_clk_regmap_mux(hw); in mux_set_parent() local
/linux-4.19.296/drivers/clk/actions/
Dowl-mux.c31 struct owl_mux *mux = hw_to_owl_mux(hw); in owl_mux_get_parent() local
51 struct owl_mux *mux = hw_to_owl_mux(hw); in owl_mux_set_parent() local
/linux-4.19.296/drivers/clk/sprd/
Dmux.c15 const struct sprd_mux_ssel *mux) in sprd_mux_helper_get_parent()
47 const struct sprd_mux_ssel *mux, in sprd_mux_helper_set_parent()
/linux-4.19.296/drivers/iio/gyro/
Dmpu3050-i2c.c16 static int mpu3050_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_select()
25 static int mpu3050_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_deselect()
/linux-4.19.296/drivers/clk/meson/
Dclk-regmap.c134 struct clk_regmap_mux_data *mux = clk_get_regmap_mux_data(clk); in clk_regmap_mux_get_parent() local
150 struct clk_regmap_mux_data *mux = clk_get_regmap_mux_data(clk); in clk_regmap_mux_set_parent() local
162 struct clk_regmap_mux_data *mux = clk_get_regmap_mux_data(clk); in clk_regmap_mux_determine_rate() local
/linux-4.19.296/include/linux/mux/
Ddriver.h62 struct mux_control *mux; member
100 static inline unsigned int mux_control_get_index(struct mux_control *mux) in mux_control_get_index()
/linux-4.19.296/drivers/clk/at91/
Dclk-i2s-mux.c29 struct clk_i2s_mux *mux = to_clk_i2s_mux(hw); in clk_i2s_mux_get_parent() local
39 struct clk_i2s_mux *mux = to_clk_i2s_mux(hw); in clk_i2s_mux_set_parent() local
/linux-4.19.296/drivers/clk/rockchip/
Dclk-muxgrf.c33 struct rockchip_muxgrf_clock *mux = to_muxgrf_clock(hw); in rockchip_muxgrf_get_parent() local
47 struct rockchip_muxgrf_clock *mux = to_muxgrf_clock(hw); in rockchip_muxgrf_set_parent() local
/linux-4.19.296/drivers/clk/sunxi/
Dclk-a20-gmac.c63 struct clk_mux *mux; in sun7i_a20_gmac_clk_setup() local
Dclk-a10-mod1.c32 struct clk_mux *mux; in sun4i_mod1_clk_setup() local

1234