Lines Matching refs:stat
23 static int fdtv_ca_ready(struct firedtv_tuner_status *stat)
25 return stat->ca_initialization_status == 1 &&
26 stat->ca_error_flag == 0 &&
27 stat->ca_dvb_flag == 1 &&
28 stat->ca_module_present_status == 1;
31 static int fdtv_get_ca_flags(struct firedtv_tuner_status *stat)
35 if (stat->ca_module_present_status == 1)
37 if (stat->ca_initialization_status == 1 &&
38 stat->ca_error_flag == 0 &&
39 stat->ca_dvb_flag == 1)
57 struct firedtv_tuner_status stat;
61 err = avc_tuner_status(fdtv, &stat);
69 slot->flags = fdtv_get_ca_flags(&stat);
96 struct firedtv_tuner_status stat;
107 err = avc_tuner_status(fdtv, &stat);
110 if (stat.ca_mmi == 1)
178 struct firedtv_tuner_status stat;
203 avc_tuner_status(fdtv, &stat);
232 struct firedtv_tuner_status stat;
235 if (avc_tuner_status(fdtv, &stat))
238 if (!fdtv_ca_ready(&stat))
244 if (stat.ca_application_info == 0)
246 if (stat.ca_date_time_request == 1)