Searched refs:mux (Results 276 - 300 of 399) sorted by relevance

<<111213141516

/linux-master/drivers/gpu/drm/bridge/
H A Dsii902x.c16 #include <linux/i2c-mux.h>
928 static int sii902x_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) argument
930 struct sii902x *sii902x = i2c_mux_priv(mux);
973 static int sii902x_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) argument
975 struct sii902x *sii902x = i2c_mux_priv(mux);
/linux-master/drivers/clk/mmp/
H A Dclk-mix.c3 * mmp mix(div and mux) clock operation source file
17 * The mix clock is a clock combined mux and div type clock.
18 * Because the div field and mux field need to be set at same
99 static unsigned int _get_mux_val(struct mmp_clk_mix *mix, unsigned int mux) argument
102 return mix->mux_table[mux];
104 return mux;
/linux-master/drivers/pinctrl/
H A Dpinctrl-falcon.c66 .mux = FALCON_MUX_##m, \
330 seq_printf(s, " (port %d) mux %d -- ", port,
378 int mfp, int mux)
386 pad_w32(info->membase[port], mux,
377 falcon_mux_apply(struct pinctrl_dev *pctrldev, int mfp, int mux) argument
H A Dpinctrl-rockchip.c352 /* create mux map */
359 new_map[0].data.mux.function = parent->name;
360 new_map[0].data.mux.group = np->name;
374 (*map)->data.mux.function, (*map)->data.mux.group, map_num);
922 RK_MUXROUTE_PMU(0, RK_PB7, 1, 0x0110, WRITE_MASK_VAL(1, 0, 0)), /* PWM0 IO mux M0 */
923 RK_MUXROUTE_PMU(0, RK_PC7, 2, 0x0110, WRITE_MASK_VAL(1, 0, 1)), /* PWM0 IO mux M1 */
924 RK_MUXROUTE_PMU(0, RK_PC0, 1, 0x0110, WRITE_MASK_VAL(3, 2, 0)), /* PWM1 IO mux M0 */
925 RK_MUXROUTE_PMU(0, RK_PB5, 4, 0x0110, WRITE_MASK_VAL(3, 2, 1)), /* PWM1 IO mux M1 */
926 RK_MUXROUTE_PMU(0, RK_PC1, 1, 0x0110, WRITE_MASK_VAL(5, 4, 0)), /* PWM2 IO mux M
1017 rockchip_get_mux_route(struct rockchip_pin_bank *bank, int pin, int mux, u32 *loc, u32 *reg, u32 *value) argument
1119 rockchip_verify_mux(struct rockchip_pin_bank *bank, int pin, int mux) argument
1157 rockchip_set_mux(struct rockchip_pin_bank *bank, int pin, int mux) argument
[all...]
H A Dpinctrl-zynq.c63 * @mux: Offset of function specific mux
72 u32 mux; member in struct:zynq_pinmux_function
770 .mux = offset, \
900 * to mux them in
908 pctrl->pctrl_offset + func->mux, &reg);
915 pctrl->pctrl_offset + func->mux, reg);
/linux-master/drivers/clk/imx/
H A Dclk.h104 #define imx_clk_cpu(name, parent_name, div, mux, pll, step) \
105 to_clk(imx_clk_hw_cpu(name, parent_name, div, mux, pll, step))
402 struct clk *div, struct clk *mux, struct clk *pll,
/linux-master/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c91 /* Check for group node which has both mux and config settings */
101 new_map[i].data.mux.function = np->name;
110 new_map[i].data.mux.group = group;
148 kfree(map[i].data.mux.group);
/linux-master/drivers/media/pci/dt3155/
H A Ddt3155.c512 mutex_init(&pd->mux);
513 pd->vdev.lock = &pd->mux; /* for locking v4l2_file_operations */
522 pd->vidq.lock = &pd->mux; /* for locking v4l2_file_operations */
/linux-master/drivers/soc/qcom/
H A Dpmic_glink_altmode.c163 dev_err(altmode->dev, "failed to switch mux to DP: %d\n", ret);
185 dev_err(altmode->dev, "failed to switch mux to USB: %d\n", ret);
207 dev_err(altmode->dev, "failed to switch mux to safe mode: %d\n", ret);
270 u8 mux; local
281 mux = FIELD_GET(SC8180X_MUX_MASK, notification);
286 svid = mux == 2 ? USB_TYPEC_DP_SID : 0;
/linux-master/drivers/phy/microchip/
H A Dlan966x_serdes.c35 .mux = _mux, \
65 u32 mux; member in struct:serdes_mux
489 val |= lan966x_serdes_muxes[i].mux;
/linux-master/drivers/i2c/muxes/
H A Di2c-mux-pca954x.c24 * mux can select only one sub-bus at a time; a switch can select any
45 #include <linux/i2c-mux.h>
55 #include <dt-bindings/mux/mux.h>
298 /* Write to mux register. Don't use i2c_transfer()/i2c_smbus_xfer()
344 /* Set the mux back to a predetermined channel */
392 * Set the mux into a state consistent with the new
430 .name = "i2c-mux-pca954x",
624 if (device_property_read_bool(dev, "i2c-mux-idle-disconnect"))
629 * Write the mux registe
[all...]
/linux-master/sound/soc/codecs/
H A Dwm8998.c110 unsigned int mux, inmode, src_val, mode_val; local
113 mux = ucontrol->value.enumerated.item[0];
114 if (mux > 1)
120 mode_index = 1 + (2 * mux);
124 mode_index = (2 * mux);
134 src_val = mux << ARIZONA_IN1L_SRC_SHIFT;
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-spxx-defs.h152 uint64_t mux:1; member in struct:cvmx_spxx_dbg_deskew_ctl::cvmx_spxx_dbg_deskew_ctl_s
164 uint64_t mux:1;
/linux-master/drivers/pinctrl/spear/
H A Dpinctrl-spear.c189 (*map)[index].data.mux.group = group;
190 (*map)[index].data.mux.function = function;
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c33 * Use 16 higher bits [31:16] for pin mux function
353 /* Collect pin locations and mux settings from DT properties */
387 /* Create map where to retrieve function and mux settings from */
396 (*map)->data.mux.group = np->name;
397 (*map)->data.mux.function = np->name;
H A Dpinctrl.c184 maps[idx].data.mux.group = group;
185 maps[idx].data.mux.function = function;
341 * This driver cannot manage both gpio and mux when the gpio
349 ret = sh_pfc_config_mux(pfc, grp->mux[i], PINMUX_TYPE_FUNCTION);
359 cfg->mux_mark = grp->mux[i];
381 /* If GPIOs are handled externally the pin mux type needs to be
413 /* If mux is already set, this configures it here */
/linux-master/drivers/usb/typec/
H A Dbus.c13 #include "mux.h"
36 if (!alt->mux)
43 return typec_mux_set(alt->mux, &state);
/linux-master/sound/soc/sof/
H A Dipc3-topology.c708 struct sof_ipc_comp_mux *mux; local
709 size_t ipc_size = sizeof(*mux);
712 mux = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id);
713 if (!mux)
716 swidget->private = mux;
718 /* configure mux IPC message */
719 mux->comp.type = SOF_COMP_MUX;
720 mux->config.hdr.size = sizeof(mux->config);
723 ret = sof_update_ipc_object(scomp, &mux
[all...]
/linux-master/drivers/clk/uniphier/
H A Dclk-uniphier-sys.c340 .data.mux = {
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-core.c311 enum em28xx_amux mux; member in struct:em28xx_vol_itable
339 if (amux == inputs[i].mux)
402 enum em28xx_aout mux; member in struct:em28xx_vol_otable
466 if (dev->ctl_aoutput & outputs[i].mux)
/linux-master/drivers/iio/light/
H A Dsi1145.c509 u8 reg = 0, mux; local
542 mux = SI1145_MUX_TEMP;
544 mux = SI1145_MUX_VDD;
546 SI1145_PARAM_AUX_ADC_MUX, mux);
H A Dsi1133.c589 static int si1133_set_adcmux(struct si1133_data *data, u8 adc, u8 mux) argument
591 if ((mux & data->adc_config[adc]) == mux)
592 return 0; /* mux already set to correct value */
594 return si1133_update_adcconfig(data, adc, SI1133_ADCMUX_MASK, 0, mux);
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_imem.h291 * @mux: IP Data multiplexing state.
339 struct iosm_mux *mux; member in struct:iosm_imem
/linux-master/drivers/mtd/hyperbus/
H A Dhbmc-am654.c16 #include <linux/mux/consumer.h>
179 if (of_property_read_bool(dev->of_node, "mux-controls")) {
187 dev_err(dev, "Failed to select HBMC mux\n");
H A Drpc-if.c13 #include <linux/mux/consumer.h>

Completed in 412 milliseconds

<<111213141516