}
-static int is_satellite(uint32_t delivery_system)
+int dvb_fe_is_satellite(uint32_t delivery_system)
{
switch (delivery_system) {
case SYS_DVBS:
return;
/* Disable LNBf power */
- if (is_satellite(parms->current_sys))
+ if (dvb_fe_is_satellite(parms->current_sys))
dvb_fe_sec_voltage(parms, 0, 0);
close(parms->fd);
if (sys != parms->current_sys) {
/* Disable LNBf power */
- if (is_satellite(parms->current_sys) &&
- !is_satellite(sys))
+ if (dvb_fe_is_satellite(parms->current_sys) &&
+ !dvb_fe_is_satellite(sys))
dvb_fe_sec_voltage(parms, 0, 0);
/* Can't change standard with the legacy FE support */
ret:
/* For satellite, need to recover from LNBf IF frequency */
- if (is_satellite(parms->current_sys))
+ if (dvb_fe_is_satellite(parms->current_sys))
return dvb_sat_get_parms(parms);
return 0;
struct dtv_property fe_prop[DTV_MAX_COMMAND];
- if (is_satellite(parms->current_sys)) {
+ if (dvb_fe_is_satellite(parms->current_sys)) {
dvb_fe_retrieve_parm(parms, DTV_FREQUENCY, &freq);
dvb_sat_set_parms(parms);
}
}
ret:
/* For satellite, need to recover from LNBf IF frequency */
- if (is_satellite(parms->current_sys))
+ if (dvb_fe_is_satellite(parms->current_sys))
dvb_fe_store_parm(parms, DTV_FREQUENCY, freq);
return 0;