Searched refs:mux_state (Results 1 – 9 of 9) sorted by relevance
| /drivers/phy/ |
| A D | phy-can-transceiver.c | 26 struct mux_state *mux_state; member 35 if (can_transceiver_phy->mux_state) { in can_transceiver_phy_power_on() 36 ret = mux_state_select(can_transceiver_phy->mux_state); in can_transceiver_phy_power_on() 59 if (can_transceiver_phy->mux_state) in can_transceiver_phy_power_off() 60 mux_state_deselect(can_transceiver_phy->mux_state); in can_transceiver_phy_power_off() 97 static inline struct mux_state * 116 struct mux_state *mux_state; in can_transceiver_phy_probe() local 127 mux_state = devm_mux_state_get_optional(dev, NULL); in can_transceiver_phy_probe() 128 if (IS_ERR(mux_state)) in can_transceiver_phy_probe() 129 return PTR_ERR(mux_state); in can_transceiver_phy_probe() [all …]
|
| /drivers/mux/ |
| A D | core.c | 40 struct mux_state { struct 403 int mux_state_select_delay(struct mux_state *mstate, unsigned int delay_us) in mux_state_select_delay() 459 int mux_state_try_select_delay(struct mux_state *mstate, unsigned int delay_us) in mux_state_try_select_delay() 503 int mux_state_deselect(struct mux_state *mstate) in mux_state_deselect() 680 static struct mux_state *mux_state_get(struct device *dev, const char *mux_name) in mux_state_get() 682 struct mux_state *mstate; in mux_state_get() 705 static void mux_state_put(struct mux_state *mstate) in mux_state_put() 713 struct mux_state *mstate = *(struct mux_state **)res; in devm_mux_state_release() 726 struct mux_state *devm_mux_state_get(struct device *dev, in devm_mux_state_get() 729 struct mux_state **ptr, *mstate; in devm_mux_state_get()
|
| /drivers/usb/typec/mux/ |
| A D | ptn36502.c | 239 struct typec_mux_state mux_state; in ptn36502_retimer_set() local 260 mux_state.alt = state->alt; in ptn36502_retimer_set() 261 mux_state.data = state->data; in ptn36502_retimer_set() 262 mux_state.mode = state->mode; in ptn36502_retimer_set() 264 return typec_mux_set(ptn->typec_mux, &mux_state); in ptn36502_retimer_set()
|
| A D | ps883x.c | 164 struct typec_mux_state mux_state; in ps883x_retimer_set() local 185 mux_state.alt = state->alt; in ps883x_retimer_set() 186 mux_state.data = state->data; in ps883x_retimer_set() 187 mux_state.mode = state->mode; in ps883x_retimer_set() 189 return typec_mux_set(retimer->typec_mux, &mux_state); in ps883x_retimer_set()
|
| A D | nb7vpq904m.c | 279 struct typec_mux_state mux_state; in nb7vpq904m_retimer_set() local 300 mux_state.alt = state->alt; in nb7vpq904m_retimer_set() 301 mux_state.data = state->data; in nb7vpq904m_retimer_set() 302 mux_state.mode = state->mode; in nb7vpq904m_retimer_set() 304 return typec_mux_set(nb7->typec_mux, &mux_state); in nb7vpq904m_retimer_set()
|
| /drivers/i2c/busses/ |
| A D | i2c-omap.c | 215 struct mux_state *mux_state; member 1458 struct mux_state *mux_state; in omap_i2c_probe() local 1460 mux_state = devm_mux_state_get(&pdev->dev, NULL); in omap_i2c_probe() 1461 if (IS_ERR(mux_state)) { in omap_i2c_probe() 1462 r = PTR_ERR(mux_state); in omap_i2c_probe() 1466 omap->mux_state = mux_state; in omap_i2c_probe() 1467 r = mux_state_select(omap->mux_state); in omap_i2c_probe() 1521 if (omap->mux_state) in omap_i2c_probe() 1522 mux_state_deselect(omap->mux_state); in omap_i2c_probe() 1539 if (omap->mux_state) in omap_i2c_remove() [all …]
|
| /drivers/platform/chrome/ |
| A D | cros_typec_switch.c | 113 u8 mux_state; in cros_typec_configure_mux() local 119 mux_state = (u8)ret; in cros_typec_configure_mux() 132 ret = cros_typec_cmd_mux_set(sdata, port_num, index, mux_state); in cros_typec_configure_mux() 146 index, mux_state); in cros_typec_configure_mux()
|
| /drivers/media/usb/ttusb-budget/ |
| A D | dvb-ttusb-budget.c | 123 int mux_state; // 0..2 - MuxSyncWord, 3 - nMuxPacks, 4 - muxpack member 609 switch (ttusb->mux_state) { in ttusb_process_frame() 615 ++ttusb->mux_state; in ttusb_process_frame() 617 ttusb->mux_state = 0; in ttusb_process_frame() 628 ++ttusb->mux_state; in ttusb_process_frame() 677 ttusb->mux_state = 0; in ttusb_process_frame() 702 ttusb->mux_state = 0; in ttusb_process_frame() 803 ttusb->mux_state = 0; in ttusb_start_iso_xfer() 1614 ttusb->mux_state = 0; in ttusb_probe()
|
| /drivers/net/wwan/iosm/ |
| A D | iosm_ipc_mux.h | 164 enum mux_state { enum 359 enum mux_state state;
|
Completed in 28 milliseconds