/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ring_mux.c | 43 static inline struct amdgpu_mux_entry *amdgpu_ring_mux_sw_entry(struct amdgpu_ring_mux *mux, in amdgpu_ring_mux_sw_entry() 51 static void amdgpu_ring_mux_copy_pkt_from_sw_ring(struct amdgpu_ring_mux *mux, in amdgpu_ring_mux_copy_pkt_from_sw_ring() 76 static void amdgpu_mux_resubmit_chunks(struct amdgpu_ring_mux *mux) in amdgpu_mux_resubmit_chunks() 131 static void amdgpu_ring_mux_schedule_resubmit(struct amdgpu_ring_mux *mux) in amdgpu_ring_mux_schedule_resubmit() 138 struct amdgpu_ring_mux *mux = from_timer(mux, t, resubmit_timer); in amdgpu_mux_resubmit_fallback() local 149 int amdgpu_ring_mux_init(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring, in amdgpu_ring_mux_init() 174 void amdgpu_ring_mux_fini(struct amdgpu_ring_mux *mux) in amdgpu_ring_mux_fini() 194 int amdgpu_ring_mux_add_sw_ring(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_add_sw_ring() 212 void amdgpu_ring_mux_set_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring, u64 wptr) in amdgpu_ring_mux_set_wptr() 252 u64 amdgpu_ring_mux_get_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_get_wptr() [all …]
|
/linux/drivers/iio/multiplexer/ |
H A D | iio-mux.c | 29 struct mux { struct 31 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/clk/mediatek/ |
H A D | clk-mux.c | 35 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_enable_setclr() local 67 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_disable_setclr() local 75 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_is_enabled() local 85 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_get_parent() local 108 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_set_parent_setclr_lock() local 149 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_determine_rate() local 172 const struct mtk_mux *mux, in mtk_clk_register_mux() 206 struct mtk_clk_mux *mux; in mtk_clk_unregister_mux() local 233 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local 256 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local [all …]
|
H A 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 62 mtk_clk_register_cpumux(struct device *dev, const struct mtk_composite *mux, in mtk_clk_register_cpumux() 121 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local 143 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local 162 const struct mtk_composite *mux = &clks[i - 1]; in mtk_clk_unregister_cpumuxes() local
|
/linux/net/kcm/ |
H A D | kcmsock.c | 59 struct kcm_mux *mux = psock->mux; in kcm_abort_tx_psock() local 94 static void kcm_update_rx_mux_stats(struct kcm_mux *mux, in kcm_update_rx_mux_stats() 106 static void kcm_update_tx_mux_stats(struct kcm_mux *mux, in kcm_update_tx_mux_stats() 125 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() 257 struct kcm_mux *mux = psock->mux; in reserve_rx_kcm() local 310 struct kcm_mux *mux = psock->mux; in unreserve_rx_kcm() local 418 struct kcm_mux *mux; in psock_write_space() local 445 struct kcm_mux *mux = kcm->mux; in reserve_psock() local [all …]
|
H A D | kcmproc.c | 27 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/drivers/clk/ti/ |
H A D | mux.c | 23 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in ti_clk_mux_get_parent() local 60 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in ti_clk_mux_set_parent() local 94 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in clk_mux_save_context() local 108 struct clk_omap_mux *mux = to_clk_omap_mux(hw); in clk_mux_restore_context() local 127 struct clk_omap_mux *mux; in _register_mux() local 224 struct clk_omap_mux *mux; in ti_clk_build_component_mux() local 253 struct clk_omap_mux *mux; in of_ti_composite_mux_clk_setup() local
|
/linux/drivers/clk/sophgo/ |
H A D | clk-cv18xx-ip.c | 396 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_enable() local 403 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_disable() local 410 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_is_enabled() local 418 struct cv1800_clk_mux *mux = data; in mux_round_rate() local 427 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_determine_rate() local 436 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_recalc_rate() local 450 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_set_rate() local 461 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_get_parent() local 467 static int _mux_set_parent(struct cv1800_clk_mux *mux, u8 index) in _mux_set_parent() 480 struct cv1800_clk_mux *mux = hw_to_cv1800_clk_mux(hw); in mux_set_parent() local [all …]
|
/linux/drivers/clk/ |
H 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/include/linux/usb/ |
H A D | typec_mux.h | 81 static inline void typec_mux_put(struct typec_mux *mux) {} in typec_mux_put() 83 static inline int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set() 93 static inline void typec_mux_unregister(struct typec_mux_dev *mux) {} in typec_mux_unregister() 95 static inline void typec_mux_set_drvdata(struct typec_mux_dev *mux, void *data) {} in typec_mux_set_drvdata() 96 static inline void *typec_mux_get_drvdata(struct typec_mux_dev *mux) in typec_mux_get_drvdata()
|
/linux/drivers/mux/ |
H 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
|
H A D | mmio.c | 18 static int mux_mmio_set(struct mux_control *mux, int state) in mux_mmio_set() 80 struct mux_control *mux = &mux_chip->mux[i]; in mux_mmio_probe() local
|
H A 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/drivers/clk/qcom/ |
H A D | krait-cc.c | 48 struct krait_mux_clk *mux = container_of(nb, struct krait_mux_clk, in krait_notifier_cb() local 70 struct krait_mux_clk *mux) in krait_notifier_register() 148 struct krait_mux_clk *mux; in krait_add_sec_mux() local 232 struct krait_mux_clk *mux; in krait_add_pri_mux() local 352 struct clk_hw *mux, *l2_pri_mux; in krait_cc_probe() local
|
H A D | clk-krait.c | 23 static void __krait_mux_set_sel(struct krait_mux_clk *mux, int sel) in __krait_mux_set_sel() 65 struct krait_mux_clk *mux = to_krait_mux_clk(hw); in krait_mux_set_parent() local 81 struct krait_mux_clk *mux = to_krait_mux_clk(hw); in krait_mux_get_parent() local
|
H 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/drivers/clk/uniphier/ |
H 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/imx/ |
H 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/zynqmp/ |
H 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/include/dt-bindings/pinctrl/ |
H A D | pinctrl-cv18xx.h | 13 #define PINMUX2(pin, mux, mux2) \ argument 16 #define PINMUX(pin, mux) \ argument
|
/linux/include/linux/mux/ |
H A 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/drivers/clk/actions/ |
H 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/meson/ |
H A 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/drivers/clk/sprd/ |
H 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/clk/at91/ |
H A 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
|