/linux-5.19.10/drivers/iio/multiplexer/ |
D | iio-mux.c | 29 struct mux { struct 31 struct mux_control *control; argument 36 struct mux_child *child; argument 40 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-5.19.10/drivers/clk/mediatek/ |
D | clk-mux.c | 34 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_enable_setclr() local 66 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_disable_setclr() local 74 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_is_enabled() local 84 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_get_parent() local 96 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_set_parent_setclr_lock() local 146 static struct clk_hw *mtk_clk_register_mux(const struct mtk_mux *mux, in mtk_clk_register_mux() 180 struct mtk_clk_mux *mux; in mtk_clk_unregister_mux() local 206 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local 229 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local 251 const struct mtk_mux *mux = &muxes[i - 1]; in mtk_clk_unregister_muxes() local
|
D | clk-cpumux.c | 33 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_get_parent() local 46 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_set_parent() local 61 mtk_clk_register_cpumux(const struct mtk_composite *mux, in mtk_clk_register_cpumux() 120 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local 142 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local 160 const struct mtk_composite *mux = &clks[i - 1]; in mtk_clk_unregister_cpumuxes() local
|
/linux-5.19.10/net/kcm/ |
D | kcmsock.c | 58 struct kcm_mux *mux = psock->mux; in kcm_abort_tx_psock() local 93 static void kcm_update_rx_mux_stats(struct kcm_mux *mux, in kcm_update_rx_mux_stats() 105 static void kcm_update_tx_mux_stats(struct kcm_mux *mux, in kcm_update_tx_mux_stats() 124 struct kcm_mux *mux = kcm->mux; in kcm_rcv_ready() local 172 struct kcm_mux *mux = kcm->mux; in kcm_rfree() local 219 static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head) in requeue_rx_msgs() 254 struct kcm_mux *mux = psock->mux; in reserve_rx_kcm() local 305 struct kcm_mux *mux = psock->mux; in unreserve_rx_kcm() local 410 struct kcm_mux *mux; in psock_write_space() local 437 struct kcm_mux *mux = kcm->mux; in reserve_psock() local [all …]
|
/linux-5.19.10/drivers/mux/ |
D | core.c | 42 struct mux_control *mux; member 128 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_alloc() local 143 static int mux_control_set(struct mux_control *mux, int state) in mux_control_set() 171 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_register() local 305 unsigned int mux_control_states(struct mux_control *mux) in mux_control_states() 314 static int __mux_control_select(struct mux_control *mux, int state) in __mux_control_select() 335 static void mux_control_delay(struct mux_control *mux, unsigned int delay_us) in mux_control_delay() 368 int mux_control_select_delay(struct mux_control *mux, unsigned int state, in mux_control_select_delay() 428 int mux_control_try_select_delay(struct mux_control *mux, unsigned int state, in mux_control_try_select_delay() 480 int mux_control_deselect(struct mux_control *mux) in mux_control_deselect() [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
|
/linux-5.19.10/drivers/i2c/muxes/ |
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
|
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
|
D | i2c-mux-gpio.c | 26 static void i2c_mux_gpio_set(const struct gpiomux *mux, unsigned val) in i2c_mux_gpio_set() 37 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_select() local 46 struct gpiomux *mux = i2c_mux_priv(muxc); in i2c_mux_gpio_deselect() local 53 static int i2c_mux_gpio_probe_fw(struct gpiomux *mux, in i2c_mux_gpio_probe_fw() 125 struct gpiomux *mux; in i2c_mux_gpio_probe() local
|
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-5.19.10/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 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 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-5.19.10/drivers/clk/ |
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-5.19.10/include/linux/usb/ |
D | typec_mux.h | 83 static inline void typec_mux_put(struct typec_mux *mux) {} in typec_mux_put() 85 static inline int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set() 95 static inline void typec_mux_unregister(struct typec_mux_dev *mux) {} in typec_mux_unregister() 97 static inline void typec_mux_set_drvdata(struct typec_mux_dev *mux, void *data) {} in typec_mux_set_drvdata() 98 static inline void *typec_mux_get_drvdata(struct typec_mux_dev *mux) in typec_mux_get_drvdata()
|
/linux-5.19.10/drivers/tty/serial/ |
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-5.19.10/drivers/clk/imx/ |
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-5.19.10/drivers/clk/uniphier/ |
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-5.19.10/drivers/clk/qcom/ |
D | clk-krait.c | 21 static void __krait_mux_set_sel(struct krait_mux_clk *mux, int sel) in __krait_mux_set_sel() 49 struct krait_mux_clk *mux = to_krait_mux_clk(hw); in krait_mux_set_parent() local 65 struct krait_mux_clk *mux = to_krait_mux_clk(hw); in krait_mux_get_parent() local
|
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
|
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-5.19.10/drivers/clk/zynqmp/ |
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-5.19.10/include/linux/mux/ |
D | consumer.h | 31 static inline int __must_check mux_control_select(struct mux_control *mux, in mux_control_select() 42 static inline int __must_check mux_control_try_select(struct mux_control *mux, in mux_control_try_select()
|
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/clk/meson/ |
D | clk-regmap.c | 139 struct clk_regmap_mux_data *mux = clk_get_regmap_mux_data(clk); in clk_regmap_mux_get_parent() local 155 struct clk_regmap_mux_data *mux = clk_get_regmap_mux_data(clk); in clk_regmap_mux_set_parent() local 167 struct clk_regmap_mux_data *mux = clk_get_regmap_mux_data(clk); in clk_regmap_mux_determine_rate() local
|
/linux-5.19.10/drivers/iio/gyro/ |
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()
|