Lines Matching refs:fe_id
428 static int mxl111sf_lgdt3305_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lgdt3305_frontend_attach() argument
432 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lgdt3305_frontend_attach()
475 adap->fe[fe_id] = dvb_attach(lgdt3305_attach, in mxl111sf_lgdt3305_frontend_attach()
478 if (adap->fe[fe_id]) { in mxl111sf_lgdt3305_frontend_attach()
480 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lgdt3305_frontend_attach()
481 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lgdt3305_frontend_attach()
482 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lgdt3305_frontend_attach()
483 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lgdt3305_frontend_attach()
499 static int mxl111sf_lg2160_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2160_frontend_attach() argument
503 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lg2160_frontend_attach()
550 adap->fe[fe_id] = dvb_attach(lg2160_attach, in mxl111sf_lg2160_frontend_attach()
553 if (adap->fe[fe_id]) { in mxl111sf_lg2160_frontend_attach()
555 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lg2160_frontend_attach()
556 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lg2160_frontend_attach()
557 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2160_frontend_attach()
558 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2160_frontend_attach()
584 static int mxl111sf_lg2161_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2161_frontend_attach() argument
588 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lg2161_frontend_attach()
635 adap->fe[fe_id] = dvb_attach(lg2160_attach, in mxl111sf_lg2161_frontend_attach()
640 if (adap->fe[fe_id]) { in mxl111sf_lg2161_frontend_attach()
642 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lg2161_frontend_attach()
643 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lg2161_frontend_attach()
644 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2161_frontend_attach()
645 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2161_frontend_attach()
671 static int mxl111sf_lg2161_ep6_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2161_ep6_frontend_attach() argument
675 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_lg2161_ep6_frontend_attach()
722 adap->fe[fe_id] = dvb_attach(lg2160_attach, in mxl111sf_lg2161_ep6_frontend_attach()
727 if (adap->fe[fe_id]) { in mxl111sf_lg2161_ep6_frontend_attach()
729 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_lg2161_ep6_frontend_attach()
730 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_lg2161_ep6_frontend_attach()
731 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2161_ep6_frontend_attach()
732 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2161_ep6_frontend_attach()
746 static int mxl111sf_attach_demod(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_attach_demod() argument
750 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; in mxl111sf_attach_demod()
789 adap->fe[fe_id] = dvb_attach(mxl111sf_demod_attach, state, in mxl111sf_attach_demod()
791 if (adap->fe[fe_id]) { in mxl111sf_attach_demod()
793 adap_state->fe_init = adap->fe[fe_id]->ops.init; in mxl111sf_attach_demod()
794 adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; in mxl111sf_attach_demod()
795 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_attach_demod()
796 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_attach_demod()