Symbol: mux_state
drivers/i2c/busses/i2c-omap.c
1456
omap->mux_state = devm_mux_state_get_optional_selected(&pdev->dev, NULL);
drivers/i2c/busses/i2c-omap.c
1457
if (IS_ERR(omap->mux_state)) {
drivers/i2c/busses/i2c-omap.c
1458
r = PTR_ERR(omap->mux_state);
drivers/i2c/busses/i2c-omap.c
1523
if (omap->mux_state)
drivers/i2c/busses/i2c-omap.c
1524
mux_state_deselect(omap->mux_state);
drivers/i2c/busses/i2c-omap.c
215
struct mux_state *mux_state;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
123
int mux_state; // 0..2 - MuxSyncWord, 3 - nMuxPacks, 4 - muxpack
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
1614
ttusb->mux_state = 0;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
609
switch (ttusb->mux_state) {
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
615
++ttusb->mux_state;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
617
ttusb->mux_state = 0;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
628
++ttusb->mux_state;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
677
ttusb->mux_state = 0;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
702
ttusb->mux_state = 0;
drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c
803
ttusb->mux_state = 0;
drivers/mmc/host/renesas_sdhi_core.c
1066
struct mux_state *mux_state;
drivers/mmc/host/renesas_sdhi_core.c
1121
mux_state = devm_mux_state_get_optional_selected(&pdev->dev, NULL);
drivers/mmc/host/renesas_sdhi_core.c
1122
if (IS_ERR(mux_state))
drivers/mmc/host/renesas_sdhi_core.c
1123
return PTR_ERR(mux_state);
drivers/mux/core.c
413
int mux_state_select_delay(struct mux_state *mstate, unsigned int delay_us)
drivers/mux/core.c
469
int mux_state_try_select_delay(struct mux_state *mstate, unsigned int delay_us)
drivers/mux/core.c
513
int mux_state_deselect(struct mux_state *mstate)
drivers/mux/core.c
55
struct mux_state *mstate;
drivers/mux/core.c
56
int (*exit)(struct mux_state *mstate);
drivers/mux/core.c
722
static struct mux_state *
drivers/mux/core.c
726
struct mux_state *mstate;
drivers/mux/core.c
752
static void mux_state_put(struct mux_state *mstate)
drivers/mux/core.c
781
static struct mux_state *__devm_mux_state_get(struct device *dev, const char *mux_name,
drivers/mux/core.c
783
int (*init)(struct mux_state *mstate),
drivers/mux/core.c
784
int (*exit)(struct mux_state *mstate))
drivers/mux/core.c
787
struct mux_state *mstate;
drivers/mux/core.c
834
struct mux_state *
drivers/mux/core.c
853
struct mux_state *devm_mux_state_get_optional(struct device *dev, const char *mux_name)
drivers/mux/core.c
871
struct mux_state *devm_mux_state_get_selected(struct device *dev, const char *mux_name)
drivers/mux/core.c
891
struct mux_state *devm_mux_state_get_optional_selected(struct device *dev,
drivers/net/wwan/iosm/iosm_ipc_mux.h
359
enum mux_state state;
drivers/phy/phy-can-transceiver.c
129
struct mux_state *mux_state;
drivers/phy/phy-can-transceiver.c
150
mux_state = devm_mux_state_get_optional(dev, NULL);
drivers/phy/phy-can-transceiver.c
151
if (IS_ERR(mux_state))
drivers/phy/phy-can-transceiver.c
152
return PTR_ERR(mux_state);
drivers/phy/phy-can-transceiver.c
154
priv->mux_state = mux_state;
drivers/phy/phy-can-transceiver.c
32
struct mux_state *mux_state;
drivers/phy/phy-can-transceiver.c
44
if (priv->mux_state) {
drivers/phy/phy-can-transceiver.c
45
ret = mux_state_select(priv->mux_state);
drivers/phy/phy-can-transceiver.c
67
if (priv->mux_state)
drivers/phy/phy-can-transceiver.c
68
mux_state_deselect(priv->mux_state);
drivers/phy/renesas/phy-rcar-gen3-usb2.c
1022
mux_state = devm_mux_state_get_optional_selected(dev, NULL);
drivers/phy/renesas/phy-rcar-gen3-usb2.c
1023
if (IS_ERR(mux_state))
drivers/phy/renesas/phy-rcar-gen3-usb2.c
1024
return dev_err_probe(dev, PTR_ERR(mux_state), "Failed to get USB mux\n");
drivers/phy/renesas/phy-rcar-gen3-usb2.c
945
struct mux_state *mux_state;
drivers/pinctrl/pinctrl-generic-mux.c
116
mux_state_deselect(func->mux_state);
drivers/pinctrl/pinctrl-generic-mux.c
24
struct mux_state *mux_state;
drivers/pinctrl/pinctrl-generic-mux.c
53
function->mux_state = devm_mux_state_get_from_np(pctldev->dev, NULL, np_config);
drivers/pinctrl/pinctrl-generic-mux.c
54
if (IS_ERR(function->mux_state))
drivers/pinctrl/pinctrl-generic-mux.c
55
return PTR_ERR(function->mux_state);
drivers/pinctrl/pinctrl-generic-mux.c
96
ret = mux_state_select(func->mux_state);
drivers/platform/chrome/cros_typec_switch.c
113
u8 mux_state;
drivers/platform/chrome/cros_typec_switch.c
119
mux_state = (u8)ret;
drivers/platform/chrome/cros_typec_switch.c
132
ret = cros_typec_cmd_mux_set(sdata, port_num, index, mux_state);
drivers/platform/chrome/cros_typec_switch.c
146
index, mux_state);
drivers/usb/typec/mux/nb7vpq904m.c
279
struct typec_mux_state mux_state;
drivers/usb/typec/mux/nb7vpq904m.c
300
mux_state.alt = state->alt;
drivers/usb/typec/mux/nb7vpq904m.c
301
mux_state.data = state->data;
drivers/usb/typec/mux/nb7vpq904m.c
302
mux_state.mode = state->mode;
drivers/usb/typec/mux/nb7vpq904m.c
304
return typec_mux_set(nb7->typec_mux, &mux_state);
drivers/usb/typec/mux/ps883x.c
306
struct typec_mux_state mux_state;
drivers/usb/typec/mux/ps883x.c
316
mux_state.alt = state->alt;
drivers/usb/typec/mux/ps883x.c
317
mux_state.data = state->data;
drivers/usb/typec/mux/ps883x.c
318
mux_state.mode = state->mode;
drivers/usb/typec/mux/ps883x.c
320
return typec_mux_set(retimer->typec_mux, &mux_state);
drivers/usb/typec/mux/ptn36502.c
239
struct typec_mux_state mux_state;
drivers/usb/typec/mux/ptn36502.c
260
mux_state.alt = state->alt;
drivers/usb/typec/mux/ptn36502.c
261
mux_state.data = state->data;
drivers/usb/typec/mux/ptn36502.c
262
mux_state.mode = state->mode;
drivers/usb/typec/mux/ptn36502.c
264
return typec_mux_set(ptn->typec_mux, &mux_state);
include/linux/mux/consumer.h
105
static inline int __must_check mux_state_select(struct mux_state *mstate)
include/linux/mux/consumer.h
116
static inline int __must_check mux_state_try_select(struct mux_state *mstate)
include/linux/mux/consumer.h
125
static inline int mux_state_deselect(struct mux_state *mstate)
include/linux/mux/consumer.h
145
static inline struct mux_state *devm_mux_state_get(struct device *dev, const char *mux_name)
include/linux/mux/consumer.h
149
static inline struct mux_state *devm_mux_state_get_optional(struct device *dev,
include/linux/mux/consumer.h
154
static inline struct mux_state *devm_mux_state_get_selected(struct device *dev,
include/linux/mux/consumer.h
159
static inline struct mux_state *devm_mux_state_get_optional_selected(struct device *dev,
include/linux/mux/consumer.h
17
struct mux_state;
include/linux/mux/consumer.h
25
int __must_check mux_state_select_delay(struct mux_state *mstate,
include/linux/mux/consumer.h
30
int __must_check mux_state_try_select_delay(struct mux_state *mstate,
include/linux/mux/consumer.h
39
static inline int __must_check mux_state_select(struct mux_state *mstate)
include/linux/mux/consumer.h
50
static inline int __must_check mux_state_try_select(struct mux_state *mstate)
include/linux/mux/consumer.h
56
int mux_state_deselect(struct mux_state *mstate);
include/linux/mux/consumer.h
64
struct mux_state *
include/linux/mux/consumer.h
67
struct mux_state *devm_mux_state_get_optional(struct device *dev, const char *mux_name);
include/linux/mux/consumer.h
68
struct mux_state *devm_mux_state_get_selected(struct device *dev, const char *mux_name);
include/linux/mux/consumer.h
69
struct mux_state *devm_mux_state_get_optional_selected(struct device *dev, const char *mux_name);
include/linux/mux/consumer.h
82
static inline int __must_check mux_state_select_delay(struct mux_state *mstate,
include/linux/mux/consumer.h
93
static inline int __must_check mux_state_try_select_delay(struct mux_state *mstate,
include/linux/platform_data/cros_ec_commands.h
6136
uint8_t mux_state; /* USB_PD_MUX* - encoded mux state */
net/kcm/kcmproc.c
222
struct kcm_proc_mux_state *mux_state;
net/kcm/kcmproc.c
224
mux_state = seq->private;
net/kcm/kcmproc.c
226
mux_state->idx = 0;
net/kcm/kcmproc.c
229
kcm_format_mux(v, mux_state->idx, seq);
net/kcm/kcmproc.c
230
mux_state->idx++;
sound/soc/codecs/wcd938x.c
173
unsigned int mux_state;
sound/soc/codecs/wcd938x.c
3184
ret = mux_control_try_select(wcd938x->us_euro_mux, !wcd938x->mux_state);
sound/soc/codecs/wcd938x.c
3192
gpiod_set_value(wcd938x->us_euro_gpio, !wcd938x->mux_state);
sound/soc/codecs/wcd938x.c
3195
wcd938x->mux_state = !wcd938x->mux_state;
sound/soc/codecs/wcd938x.c
3218
ret = mux_control_try_select(wcd938x->us_euro_mux, wcd938x->mux_state);