Lines Matching refs:onoff
1456 static int rtl2831u_power_ctrl(struct dvb_usb_device *d, int onoff) in rtl2831u_power_ctrl() argument
1461 dev_dbg(&d->intf->dev, "onoff=%d\n", onoff); in rtl2831u_power_ctrl()
1475 if (onoff) { in rtl2831u_power_ctrl()
1509 if (onoff) in rtl2831u_power_ctrl()
1518 static int rtl2832u_power_ctrl(struct dvb_usb_device *d, int onoff) in rtl2832u_power_ctrl() argument
1522 dev_dbg(&d->intf->dev, "onoff=%d\n", onoff); in rtl2832u_power_ctrl()
1524 if (onoff) { in rtl2832u_power_ctrl()
1576 static int rtl28xxu_power_ctrl(struct dvb_usb_device *d, int onoff) in rtl28xxu_power_ctrl() argument
1581 return rtl2831u_power_ctrl(d, onoff); in rtl28xxu_power_ctrl()
1583 return rtl2832u_power_ctrl(d, onoff); in rtl28xxu_power_ctrl()
1586 static int rtl28xxu_frontend_ctrl(struct dvb_frontend *fe, int onoff) in rtl28xxu_frontend_ctrl() argument
1594 dev_dbg(&d->intf->dev, "fe=%d onoff=%d\n", fe->id, onoff); in rtl28xxu_frontend_ctrl()
1601 if (onoff) in rtl28xxu_frontend_ctrl()
1611 ret = pdata->slave_ts_ctrl(dev->i2c_client_demod, onoff); in rtl28xxu_frontend_ctrl()
1831 static int rtl28xxu_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in rtl28xxu_pid_filter_ctrl() argument
1838 return pdata->pid_filter_ctrl(adap->fe[0], onoff); in rtl28xxu_pid_filter_ctrl()
1842 return pdata->pid_filter_ctrl(adap->fe[0], onoff); in rtl28xxu_pid_filter_ctrl()
1847 u16 pid, int onoff) in rtl28xxu_pid_filter() argument
1854 return pdata->pid_filter(adap->fe[0], index, pid, onoff); in rtl28xxu_pid_filter()
1858 return pdata->pid_filter(adap->fe[0], index, pid, onoff); in rtl28xxu_pid_filter()