Home
last modified time | relevance | path

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

12345678910

/linux-5.19.10/drivers/iio/multiplexer/
Diio-mux.c29 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/
Dclk-mux.c34 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
Dclk-cpumux.c33 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/
Dkcmsock.c58 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/
Dcore.c42 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 …]
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
/linux-5.19.10/drivers/i2c/muxes/
Di2c-mux-gpmux.c17 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
Di2c-mux-reg.c23 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
Di2c-mux-gpio.c26 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
Di2c-mux-mlxcpld.c61 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/
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
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/
Dclk-mux.c27 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/
Dtypec_mux.h83 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/
Ddz.c71 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/
Dclk-fixup-mux.c23 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/
Dclk-uniphier-mux.c25 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/
Dclk-krait.c21 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
Dkrait-cc.c38 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
Dclk-regmap-mux.c20 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/
Dclk-mux-zynqmp.c45 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/
Dconsumer.h31 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/
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-5.19.10/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-5.19.10/drivers/clk/meson/
Dclk-regmap.c139 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/
Dmpu3050-i2c.c17 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()

12345678910