Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/net/wwan/iosm/
Diosm_ipc_mux.h163 enum mux_state { enum
360 enum mux_state state;
/linux-5.19.10/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-5.19.10/include/linux/platform_data/
Dcros_ec_commands.h5837 uint8_t mux_state; /* USB_PD_MUX* - encoded mux state */ member