Lines Matching refs:framer

40 	struct framer *framer;  member
61 if (!qmc_hdlc->framer) in qmc_hdlc_framer_set_carrier()
66 ret = framer_get_status(qmc_hdlc->framer, &framer_status); in qmc_hdlc_framer_set_carrier()
97 if (!qmc_hdlc->framer) in qmc_hdlc_framer_start()
100 ret = framer_power_on(qmc_hdlc->framer); in qmc_hdlc_framer_start()
107 ret = framer_get_status(qmc_hdlc->framer, &framer_status); in qmc_hdlc_framer_start()
114 ret = framer_notifier_register(qmc_hdlc->framer, &qmc_hdlc->nb); in qmc_hdlc_framer_start()
123 framer_power_off(qmc_hdlc->framer); in qmc_hdlc_framer_start()
129 if (!qmc_hdlc->framer) in qmc_hdlc_framer_stop()
132 framer_notifier_unregister(qmc_hdlc->framer, &qmc_hdlc->nb); in qmc_hdlc_framer_stop()
133 framer_power_off(qmc_hdlc->framer); in qmc_hdlc_framer_stop()
142 if (!qmc_hdlc->framer) in qmc_hdlc_framer_set_iface()
145 ret = framer_get_config(qmc_hdlc->framer, &config); in qmc_hdlc_framer_set_iface()
175 return framer_set_config(qmc_hdlc->framer, &config); in qmc_hdlc_framer_set_iface()
183 if (!qmc_hdlc->framer) { in qmc_hdlc_framer_get_iface()
188 ret = framer_get_config(qmc_hdlc->framer, &config); in qmc_hdlc_framer_get_iface()
222 if (!qmc_hdlc->framer) in qmc_hdlc_framer_init()
225 ret = framer_init(qmc_hdlc->framer); in qmc_hdlc_framer_init()
236 if (!qmc_hdlc->framer) in qmc_hdlc_framer_exit()
239 framer_exit(qmc_hdlc->framer); in qmc_hdlc_framer_exit()
745 qmc_hdlc->framer = devm_framer_optional_get(dev, "fsl,framer"); in qmc_hdlc_probe()
746 if (IS_ERR(qmc_hdlc->framer)) in qmc_hdlc_probe()
747 return PTR_ERR(qmc_hdlc->framer); in qmc_hdlc_probe()