| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| 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() 176 void amdgpu_ring_mux_fini(struct amdgpu_ring_mux *mux) in amdgpu_ring_mux_fini() 196 int amdgpu_ring_mux_add_sw_ring(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_add_sw_ring() 214 void amdgpu_ring_mux_set_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring, u64 wptr) in amdgpu_ring_mux_set_wptr() 254 u64 amdgpu_ring_mux_get_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_get_wptr() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/multiplexer/ |
| D | iio-mux.c | 28 struct mux { struct 30 struct mux_control *control; argument 35 struct mux_child *child; argument 38 static int iio_mux_select(struct mux *mux, int idx) in iio_mux_select() 80 static void iio_mux_deselect(struct mux *mux) in iio_mux_deselect() 89 struct mux *mux = iio_priv(indio_dev); in mux_read_raw() local 120 struct mux *mux = iio_priv(indio_dev); in mux_read_avail() local 147 struct mux *mux = iio_priv(indio_dev); in mux_write_raw() local 178 struct mux *mux = iio_priv(indio_dev); in mux_read_ext_info() local 200 struct mux *mux = iio_priv(indio_dev); in mux_write_ext_info() local [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/mediatek/ |
| D | clk-mux.c | 22 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_enable() local 31 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_disable() local 39 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_enable_setclr() local 47 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_disable_setclr() local 55 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_is_enabled() local 65 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_get_parent() local 77 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_set_parent_lock() local 99 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_set_parent_setclr_lock() local 158 struct clk *mtk_clk_register_mux(const struct mtk_mux *mux, in mtk_clk_register_mux() 207 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local
|
| D | clk-cpumux.c | 21 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_get_parent() local 34 struct mtk_clk_cpumux *mux = to_mtk_clk_cpumux(hw); in clk_cpumux_set_parent() local 49 mtk_clk_register_cpumux(const struct mtk_composite *mux, in mtk_clk_register_cpumux() 95 const struct mtk_composite *mux = &clks[i]; in mtk_clk_register_cpumuxes() local
|
| /kernel/linux/linux-6.6/drivers/clk/mediatek/ |
| 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 97 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_set_parent_setclr_lock() local 135 struct mtk_clk_mux *mux = to_mtk_clk_mux(hw); in mtk_clk_mux_determine_rate() local 158 const struct mtk_mux *mux, in mtk_clk_register_mux() 192 struct mtk_clk_mux *mux; in mtk_clk_unregister_mux() local 219 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local 242 const struct mtk_mux *mux = &muxes[i]; in mtk_clk_register_muxes() local [all …]
|
| 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
|
| /kernel/linux/linux-5.10/drivers/mux/ |
| D | core.c | 113 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() 487 void mux_control_put(struct mux_control *mux) in mux_control_put() 495 struct mux_control *mux = *(struct mux_control **)res; in devm_mux_control_release() local [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
|
| /kernel/linux/linux-6.6/net/kcm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/mux/ |
| D | core.c | 41 struct mux_control *mux; member 126 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_alloc() local 141 static int mux_control_set(struct mux_control *mux, int state) in mux_control_set() 169 struct mux_control *mux = &mux_chip->mux[i]; in mux_chip_register() local 303 unsigned int mux_control_states(struct mux_control *mux) in mux_control_states() 312 static int __mux_control_select(struct mux_control *mux, int state) in __mux_control_select() 333 static void mux_control_delay(struct mux_control *mux, unsigned int delay_us) in mux_control_delay() 366 int mux_control_select_delay(struct mux_control *mux, unsigned int state, in mux_control_select_delay() 426 int mux_control_try_select_delay(struct mux_control *mux, unsigned int state, in mux_control_try_select_delay() 478 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
|
| /kernel/linux/linux-6.6/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() 127 struct gpiomux *mux; in i2c_mux_gpio_probe() local
|
| /kernel/linux/linux-5.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 | 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 53 static int i2c_mux_gpio_probe_dt(struct gpiomux *mux, in i2c_mux_gpio_probe_dt() 100 static int i2c_mux_gpio_probe_dt(struct gpiomux *mux, in i2c_mux_gpio_probe_dt() 110 struct gpiomux *mux; in i2c_mux_gpio_probe() local
|
| /kernel/linux/linux-5.10/net/kcm/ |
| D | kcmsock.c | 57 struct kcm_mux *mux = psock->mux; in kcm_abort_tx_psock() local 92 static void kcm_update_rx_mux_stats(struct kcm_mux *mux, in kcm_update_rx_mux_stats() 104 static void kcm_update_tx_mux_stats(struct kcm_mux *mux, in kcm_update_tx_mux_stats() 123 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() 255 struct kcm_mux *mux = psock->mux; in reserve_rx_kcm() local 308 struct kcm_mux *mux = psock->mux; in unreserve_rx_kcm() local 414 struct kcm_mux *mux; in psock_write_space() local 441 struct kcm_mux *mux = kcm->mux; in reserve_psock() local [all …]
|
| /kernel/linux/linux-5.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
|
| /kernel/linux/linux-6.6/drivers/clk/ti/ |
| 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
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| D | clk-mux.c | 26 static inline u32 clk_mux_readl(struct clk_mux *mux) in clk_mux_readl() 34 static inline void clk_mux_writel(struct clk_mux *mux, u32 val) in clk_mux_writel() 89 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_get_parent() local 100 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_set_parent() local 131 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_determine_rate() local 156 struct clk_mux *mux; in __clk_hw_register_mux() local 227 struct clk_mux *mux; in clk_unregister_mux() local 243 struct clk_mux *mux; in clk_hw_unregister_mux() local
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/drivers/usb/typec/ |
| D | mux.c | 261 struct typec_mux *mux; in fwnode_typec_mux_get() local 278 void typec_mux_put(struct typec_mux *mux) in typec_mux_put() 287 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set() 319 struct typec_mux *mux; in typec_mux_register() local 360 void typec_mux_unregister(struct typec_mux *mux) in typec_mux_unregister() 367 void typec_mux_set_drvdata(struct typec_mux *mux, void *data) in typec_mux_set_drvdata() 373 void *typec_mux_get_drvdata(struct typec_mux *mux) in typec_mux_get_drvdata()
|
| /kernel/linux/linux-6.6/include/linux/usb/ |
| 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()
|