/linux/drivers/iio/multiplexer/ |
A D | iio-mux.c | 28 struct mux { struct 30 struct mux_control *control; argument 35 struct mux_child *child; argument 39 static int iio_mux_select(struct mux *mux, int idx) in iio_mux_select() 82 static void iio_mux_deselect(struct mux *mux) in iio_mux_deselect() 91 struct mux *mux = iio_priv(indio_dev); in mux_read_raw() local 122 struct mux *mux = iio_priv(indio_dev); in mux_read_avail() local 149 struct mux *mux = iio_priv(indio_dev); in mux_write_raw() local 180 struct mux *mux = iio_priv(indio_dev); in mux_read_ext_info() local 202 struct mux *mux = iio_priv(indio_dev); in mux_write_ext_info() local [all …]
|
/linux/drivers/mux/ |
A D | core.c | 114 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_alloc() local 129 static int mux_control_set(struct mux_control *mux, int state) in mux_control_set() 157 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_register() local 291 unsigned int mux_control_states(struct mux_control *mux) in mux_control_states() 300 static int __mux_control_select(struct mux_control *mux, int state) in __mux_control_select() 321 static void mux_control_delay(struct mux_control *mux, unsigned int delay_us) in mux_control_delay() 353 int mux_control_select_delay(struct mux_control *mux, unsigned int state, in mux_control_select_delay() 420 int mux_control_deselect(struct mux_control *mux) in mux_control_deselect() 513 void mux_control_put(struct mux_control *mux) in mux_control_put() 521 struct mux_control *mux = *(struct mux_control **)res; in devm_mux_control_release() local [all …]
|
A 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
|
A D | mmio.c | 18 static int mux_mmio_set(struct mux_control *mux, int state) in mux_mmio_set() 75 struct mux_control *mux = &mux_chip->mux[i]; in mux_mmio_probe() local
|
/linux/drivers/clk/mediatek/ |
A D | clk-mux.c | 23 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_enable_setclr() local 55 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_disable_setclr() local 63 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_is_enabled() local 73 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_get_parent() local 85 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_set_parent_setclr_lock() local 135 static struct clk *mtk_clk_register_mux(const struct mtk_mux *mux, in mtk_clk_register_mux() 184 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local
|
A D | clk-cpumux.c | 22 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_get_parent() local 35 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_set_parent() local 50 mtk_clk_register_cpumux(const struct mtk_composite *mux, in mtk_clk_register_cpumux() 96 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local
|
/linux/net/kcm/ |
A D | kcmsock.c | 57 struct kcm_mux *mux = psock->mux; in kcm_abort_tx_psock() local 123 struct kcm_mux *mux = kcm->mux; in kcm_rcv_ready() local 171 struct kcm_mux *mux = kcm->mux; in kcm_rfree() local 253 struct kcm_mux *mux = psock->mux; in reserve_rx_kcm() local 304 struct kcm_mux *mux = psock->mux; in unreserve_rx_kcm() local 409 struct kcm_mux *mux; in psock_write_space() local 436 struct kcm_mux *mux = kcm->mux; in reserve_psock() local 518 struct kcm_mux *mux = kcm->mux; in unreserve_psock() local 563 struct kcm_mux *mux = kcm->mux; in kcm_report_tx_retry() local 1832 struct kcm_mux *mux; in kcm_release() local [all …]
|
/linux/drivers/i2c/muxes/ |
A D | i2c-mux-gpmux.c | 17 struct mux { struct 18 struct mux_control *control; argument 25 struct mux *mux = i2c_mux_priv(muxc); in i2c_mux_select() argument 36 struct mux *mux = i2c_mux_priv(muxc); in i2c_mux_deselect() local 75 struct mux *mux; in i2c_mux_probe() local
|
A D | i2c-mux-reg.c | 23 static int i2c_mux_reg_set(const struct regmux *mux, unsigned int chan_id) in i2c_mux_reg_set() 63 struct regmux *mux = i2c_mux_priv(muxc); in i2c_mux_reg_select() local 70 struct regmux *mux = i2c_mux_priv(muxc); in i2c_mux_reg_deselect() local 79 static int i2c_mux_reg_probe_dt(struct regmux *mux, in i2c_mux_reg_probe_dt() 149 static int i2c_mux_reg_probe_dt(struct regmux *mux, in i2c_mux_reg_probe_dt() 159 struct regmux *mux; in i2c_mux_reg_probe() local
|
A D | i2c-mux-gpio.c | 25 static void i2c_mux_gpio_set(const struct gpiomux *mux, unsigned val) in i2c_mux_gpio_set() 36 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_select() local 45 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_deselect() local 91 static int i2c_mux_gpio_probe_fw(struct gpiomux *mux, in i2c_mux_gpio_probe_fw() 162 struct gpiomux *mux; in i2c_mux_gpio_probe() local
|
A D | i2c-mux-mlxcpld.c | 61 struct mlxcpld_mux *mux, u32 val) in mlxcpld_mux_reg_write() 90 struct mlxcpld_mux *mux = i2c_mux_priv(muxc); in mlxcpld_mux_select_chan() local 108 struct mlxcpld_mux *mux = i2c_mux_priv(muxc); in mlxcpld_mux_deselect() local
|
/linux/drivers/clk/ti/ |
A 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 102 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in clk_mux_save_context() local 116 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in clk_mux_restore_context() local 135 struct clk_omap_mux *mux; in _register_mux() local 230 struct clk_omap_mux *mux; in ti_clk_build_component_mux() local 259 struct clk_omap_mux *mux; in of_ti_composite_mux_clk_setup() local
|
/linux/drivers/usb/typec/ |
A D | mux.c | 265 struct typec_mux *mux; in fwnode_typec_mux_get() local 282 void typec_mux_put(struct typec_mux *mux) in typec_mux_put() 291 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set() 323 struct typec_mux *mux; in typec_mux_register() local 361 void typec_mux_unregister(struct typec_mux *mux) in typec_mux_unregister() 368 void typec_mux_set_drvdata(struct typec_mux *mux, void *data) in typec_mux_set_drvdata() 374 void *typec_mux_get_drvdata(struct typec_mux *mux) in typec_mux_get_drvdata()
|
/linux/drivers/clk/ |
A D | clk-mux.c | 27 static inline u32 clk_mux_readl(struct clk_mux *mux) in clk_mux_readl() 35 static inline void clk_mux_writel(struct clk_mux *mux, u32 val) in clk_mux_writel() 90 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_get_parent() local 101 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_set_parent() local 132 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_determine_rate() local 157 struct clk_mux *mux; in __clk_hw_register_mux() local 262 struct clk_mux *mux; in clk_unregister_mux() local 278 struct clk_mux *mux; in clk_hw_unregister_mux() local
|
/linux/drivers/tty/serial/ |
A D | dz.c | 71 struct dz_mux *mux; member 178 static inline void dz_receive_chars(struct dz_mux *mux) in dz_receive_chars() 252 static inline void dz_transmit_chars(struct dz_mux *mux) in dz_transmit_chars() 335 struct dz_mux *mux = dev_id; in dz_interrupt() local 401 struct dz_mux *mux = dport->mux; in dz_startup() local 442 struct dz_mux *mux = dport->mux; in dz_shutdown() local 546 struct dz_mux *mux = dport->mux; in dz_reset() local 662 struct dz_mux *mux = to_dport(uport)->mux; in dz_release_port() local 687 struct dz_mux *mux = to_dport(uport)->mux; in dz_request_port() local
|
/linux/drivers/clk/imx/ |
A D | clk-fixup-mux.c | 23 struct clk_mux mux; member 30 struct clk_mux *mux = to_clk_mux(hw); in to_clk_fixup_mux() local 45 struct clk_mux *mux = to_clk_mux(hw); in clk_fixup_mux_set_parent() local
|
/linux/drivers/clk/uniphier/ |
A D | clk-uniphier-mux.c | 25 struct uniphier_clk_mux *mux = to_uniphier_clk_mux(hw); in uniphier_clk_mux_set_parent() local 33 struct uniphier_clk_mux *mux = to_uniphier_clk_mux(hw); in uniphier_clk_mux_get_parent() local 61 struct uniphier_clk_mux *mux; in uniphier_clk_register_mux() local
|
/linux/drivers/clk/qcom/ |
A D | clk-krait.c | 21 static void __krait_mux_set_sel(struct krait_mux_clk *mux, int sel) in __krait_mux_set_sel() 44 struct krait_mux_clk *mux = to_krait_mux_clk(hw); in krait_mux_set_parent() local 60 struct krait_mux_clk *mux = to_krait_mux_clk(hw); in krait_mux_get_parent() local
|
A D | krait-cc.c | 38 struct krait_mux_clk *mux = container_of(nb, struct krait_mux_clk, in krait_notifier_cb() local 60 struct krait_mux_clk *mux) in krait_notifier_register() 117 struct krait_mux_clk *mux; in krait_add_sec_mux() local 173 struct krait_mux_clk *mux; in krait_add_pri_mux() local
|
A D | clk-regmap-mux.c | 20 struct clk_regmap_mux *mux = to_clk_regmap_mux(hw); in mux_get_parent() local 38 struct clk_regmap_mux *mux = to_clk_regmap_mux(hw); in mux_set_parent() local
|
/linux/include/linux/mux/ |
A D | consumer.h | 26 static inline int __must_check mux_control_select(struct mux_control *mux, in mux_control_select() 32 static inline int __must_check mux_control_try_select(struct mux_control *mux, in mux_control_try_select()
|
/linux/drivers/clk/zynqmp/ |
A D | clk-mux-zynqmp.c | 45 struct zynqmp_clk_mux *mux = to_zynqmp_clk_mux(hw); in zynqmp_clk_mux_get_parent() local 75 struct zynqmp_clk_mux *mux = to_zynqmp_clk_mux(hw); in zynqmp_clk_mux_set_parent() local 136 struct zynqmp_clk_mux *mux; in zynqmp_clk_register_mux() local
|
/linux/drivers/clk/actions/ |
A 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/drivers/clk/sprd/ |
A 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/drivers/iio/gyro/ |
A D | mpu3050-i2c.c | 17 static int mpu3050_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_select() 26 static int mpu3050_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_deselect()
|