Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/net/kcm/
Dkcmsock.c60 struct kcm_mux *mux = psock->mux; in kcm_abort_tx_psock() local
95 static void kcm_update_rx_mux_stats(struct kcm_mux *mux, in kcm_update_rx_mux_stats()
107 static void kcm_update_tx_mux_stats(struct kcm_mux *mux, in kcm_update_tx_mux_stats()
126 struct kcm_mux *mux = kcm->mux; in kcm_rcv_ready() local
174 struct kcm_mux *mux = kcm->mux; in kcm_rfree() local
221 static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head) in requeue_rx_msgs()
256 struct kcm_mux *mux = psock->mux; in reserve_rx_kcm() local
307 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 …]
Dkcmproc.c27 static struct kcm_mux *kcm_get_next(struct kcm_mux *mux) in kcm_get_next()
186 kcm_format_mux(struct kcm_mux *mux, loff_t idx, struct seq_file *seq) in kcm_format_mux()
247 struct kcm_mux *mux; in kcm_stats_seq_show() local
/Linux-v4.19/drivers/usb/typec/
Dmux.c115 struct typec_mux *mux; in typec_mux_match() local
140 struct typec_mux *mux; in typec_mux_get() local
160 void typec_mux_put(struct typec_mux *mux) in typec_mux_put()
178 int typec_mux_register(struct typec_mux *mux) in typec_mux_register()
194 void typec_mux_unregister(struct typec_mux *mux) in typec_mux_unregister()
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/drivers/tty/serial/
Ddz.c75 struct dz_mux *mux; member
182 static inline void dz_receive_chars(struct dz_mux *mux) in dz_receive_chars()
256 static inline void dz_transmit_chars(struct dz_mux *mux) in dz_transmit_chars()
339 struct dz_mux *mux = dev_id; in dz_interrupt() local
405 struct dz_mux *mux = dport->mux; in dz_startup() local
446 struct dz_mux *mux = dport->mux; in dz_shutdown() local
550 struct dz_mux *mux = dport->mux; in dz_reset() local
666 struct dz_mux *mux = to_dport(uport)->mux; in dz_release_port() local
691 struct dz_mux *mux = to_dport(uport)->mux; in dz_request_port() local
/Linux-v4.19/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
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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

1234567