Lines Matching refs:fe_id
425 static int mxl111sf_lgdt3305_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lgdt3305_frontend_attach() argument
429 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lgdt3305_frontend_attach()
472 adap->fe[fe_id] = dvb_attach(lgdt3305_attach, in mxl111sf_lgdt3305_frontend_attach()
475 if (adap->fe[fe_id]) { in mxl111sf_lgdt3305_frontend_attach()
477 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lgdt3305_frontend_attach()
478 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lgdt3305_frontend_attach()
479 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lgdt3305_frontend_attach()
480 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lgdt3305_frontend_attach()
496 static int mxl111sf_lg2160_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2160_frontend_attach() argument
500 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lg2160_frontend_attach()
547 adap->fe[fe_id] = dvb_attach(lg2160_attach, in mxl111sf_lg2160_frontend_attach()
550 if (adap->fe[fe_id]) { in mxl111sf_lg2160_frontend_attach()
552 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lg2160_frontend_attach()
553 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lg2160_frontend_attach()
554 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2160_frontend_attach()
555 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2160_frontend_attach()
581 static int mxl111sf_lg2161_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2161_frontend_attach() argument
585 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lg2161_frontend_attach()
632 adap->fe[fe_id] = dvb_attach(lg2160_attach, in mxl111sf_lg2161_frontend_attach()
637 if (adap->fe[fe_id]) { in mxl111sf_lg2161_frontend_attach()
639 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lg2161_frontend_attach()
640 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lg2161_frontend_attach()
641 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2161_frontend_attach()
642 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2161_frontend_attach()
668 static int mxl111sf_lg2161_ep6_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2161_ep6_frontend_attach() argument
672 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lg2161_ep6_frontend_attach()
719 adap->fe[fe_id] = dvb_attach(lg2160_attach, in mxl111sf_lg2161_ep6_frontend_attach()
724 if (adap->fe[fe_id]) { in mxl111sf_lg2161_ep6_frontend_attach()
726 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lg2161_ep6_frontend_attach()
727 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lg2161_ep6_frontend_attach()
728 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2161_ep6_frontend_attach()
729 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2161_ep6_frontend_attach()
743 static int mxl111sf_attach_demod(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_attach_demod() argument
747 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_attach_demod()
786 adap->fe[fe_id] = dvb_attach(mxl111sf_demod_attach, state, in mxl111sf_attach_demod()
788 if (adap->fe[fe_id]) { in mxl111sf_attach_demod()
790 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_attach_demod()
791 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_attach_demod()
792 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_attach_demod()
793 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_attach_demod()