/linux-4.19.296/drivers/iio/multiplexer/ |
D | iio-mux.c | 31 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/ |
D | core.c | 113 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 …]
|
D | adg792a.c | 18 #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
|
D | mmio.c | 18 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
|
D | adgs1408.c | 36 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/ |
D | i2c-mux-gpmux.c | 20 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
|
D | i2c-mux-reg.c | 27 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
|
D | i2c-mux-gpio.c | 28 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
|
D | i2c-mux-pinctrl.c | 35 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/ |
D | mux.c | 31 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/ |
D | clk-cpumux.c | 29 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/ |
D | clk-mux.c | 76 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/ |
D | clk-fixup-mux.c | 28 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
|
D | clk-cpu.c | 20 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/ |
D | clk-uniphier-mux.c | 34 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/ |
D | clk-regmap-mux.c | 28 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/ |
D | owl-mux.c | 31 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/ |
D | mux.c | 15 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/ |
D | mpu3050-i2c.c | 16 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/ |
D | clk-regmap.c | 134 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/ |
D | driver.h | 62 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/ |
D | clk-i2s-mux.c | 29 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/ |
D | clk-muxgrf.c | 33 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/ |
D | clk-a20-gmac.c | 63 struct clk_mux *mux; in sun7i_a20_gmac_clk_setup() local
|
D | clk-a10-mod1.c | 32 struct clk_mux *mux; in sun4i_mod1_clk_setup() local
|