Home
last modified time | relevance | path

Searched refs:mux_state (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/phy/
Dphy-can-transceiver.c25 struct mux_state *mux_state; member
34 if (can_transceiver_phy->mux_state) { in can_transceiver_phy_power_on()
35 ret = mux_state_select(can_transceiver_phy->mux_state); in can_transceiver_phy_power_on()
58 if (can_transceiver_phy->mux_state) in can_transceiver_phy_power_off()
59 mux_state_deselect(can_transceiver_phy->mux_state); in can_transceiver_phy_power_off()
111 struct mux_state *mux_state; in can_transceiver_phy_probe() local
113 mux_state = devm_mux_state_get(dev, NULL); in can_transceiver_phy_probe()
114 if (IS_ERR(mux_state)) in can_transceiver_phy_probe()
115 return dev_err_probe(&pdev->dev, PTR_ERR(mux_state), in can_transceiver_phy_probe()
117 can_transceiver_phy->mux_state = mux_state; in can_transceiver_phy_probe()
/Linux-v6.1/include/linux/mux/
Dconsumer.h17 struct mux_state;
23 int __must_check mux_state_select_delay(struct mux_state *mstate,
28 int __must_check mux_state_try_select_delay(struct mux_state *mstate,
37 static inline int __must_check mux_state_select(struct mux_state *mstate) in mux_state_select()
48 static inline int __must_check mux_state_try_select(struct mux_state *mstate) in mux_state_try_select()
54 int mux_state_deselect(struct mux_state *mstate);
61 struct mux_state *devm_mux_state_get(struct device *dev,
/Linux-v6.1/drivers/mux/
Dcore.c41 struct mux_state { struct
406 int mux_state_select_delay(struct mux_state *mstate, unsigned int delay_us) in mux_state_select_delay()
462 int mux_state_try_select_delay(struct mux_state *mstate, unsigned int delay_us) in mux_state_try_select_delay()
506 int mux_state_deselect(struct mux_state *mstate) in mux_state_deselect()
683 static struct mux_state *mux_state_get(struct device *dev, const char *mux_name) in mux_state_get()
685 struct mux_state *mstate; in mux_state_get()
708 static void mux_state_put(struct mux_state *mstate) in mux_state_put()
716 struct mux_state *mstate = *(struct mux_state **)res; in devm_mux_state_release()
729 struct mux_state *devm_mux_state_get(struct device *dev, in devm_mux_state_get()
732 struct mux_state **ptr, *mstate; in devm_mux_state_get()
/Linux-v6.1/net/kcm/
Dkcmproc.c222 struct kcm_proc_mux_state *mux_state; in kcm_seq_show() local
224 mux_state = seq->private; in kcm_seq_show()
226 mux_state->idx = 0; in kcm_seq_show()
229 kcm_format_mux(v, mux_state->idx, seq); in kcm_seq_show()
230 mux_state->idx++; in kcm_seq_show()
/Linux-v6.1/drivers/platform/chrome/
Dcros_typec_switch.c108 u8 mux_state; in cros_typec_configure_mux() local
114 mux_state = (u8)ret; in cros_typec_configure_mux()
127 ret = cros_typec_cmd_mux_set(sdata, port_num, index, mux_state); in cros_typec_configure_mux()
141 index, mux_state); in cros_typec_configure_mux()
/Linux-v6.1/drivers/net/wwan/iosm/
Diosm_ipc_mux.h164 enum mux_state { enum
361 enum mux_state state;
/Linux-v6.1/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c123 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()
/Linux-v6.1/include/linux/platform_data/
Dcros_ec_commands.h5857 uint8_t mux_state; /* USB_PD_MUX* - encoded mux state */ member