Lines Matching refs:report

307 	  report CTS bit as being set in the first status byte read,
734 * @report: - all signal quality information returned by the command
741 struct si476x_rsq_status_report *report)
761 if (!report)
764 report->snrhint = 0x08 & resp[1];
765 report->snrlint = 0x04 & resp[1];
766 report->rssihint = 0x02 & resp[1];
767 report->rssilint = 0x01 & resp[1];
769 report->bltf = 0x80 & resp[2];
770 report->snr_ready = 0x20 & resp[2];
771 report->rssiready = 0x08 & resp[2];
772 report->afcrl = 0x02 & resp[2];
773 report->valid = 0x01 & resp[2];
775 report->readfreq = get_unaligned_be16(resp + 3);
776 report->freqoff = resp[5];
777 report->rssi = resp[6];
778 report->snr = resp[7];
779 report->lassi = resp[9];
780 report->hassi = resp[10];
781 report->mult = resp[11];
782 report->dev = resp[12];
789 struct si476x_acf_status_report *report)
797 if (!report)
807 report->blend_int = resp[1] & SI476X_ACF_BLEND_INT;
808 report->hblend_int = resp[1] & SI476X_ACF_HIBLEND_INT;
809 report->hicut_int = resp[1] & SI476X_ACF_HICUT_INT;
810 report->chbw_int = resp[1] & SI476X_ACF_CHBW_INT;
811 report->softmute_int = resp[1] & SI476X_ACF_SOFTMUTE_INT;
812 report->smute = resp[2] & SI476X_ACF_SMUTE;
813 report->smattn = resp[3] & SI476X_ACF_SMATTN;
814 report->chbw = resp[4];
815 report->hicut = resp[5];
816 report->hiblend = resp[6];
817 report->pilot = resp[7] & SI476X_ACF_PILOT;
818 report->stblend = resp[7] & SI476X_ACF_STBLEND;
825 struct si476x_acf_status_report *report)
833 if (!report)
843 report->blend_int = resp[1] & SI476X_ACF_BLEND_INT;
844 report->hblend_int = resp[1] & SI476X_ACF_HIBLEND_INT;
845 report->hicut_int = resp[1] & SI476X_ACF_HICUT_INT;
846 report->chbw_int = resp[1] & SI476X_ACF_CHBW_INT;
847 report->softmute_int = resp[1] & SI476X_ACF_SOFTMUTE_INT;
848 report->smute = resp[2] & SI476X_ACF_SMUTE;
849 report->smattn = resp[3] & SI476X_ACF_SMATTN;
850 report->chbw = resp[4];
851 report->hicut = resp[5];
895 * @report: - all signal quality information returned by the command
904 struct si476x_rds_status_report *report)
922 if (err < 0 || report == NULL)
925 report->rdstpptyint = 0x10 & resp[1];
926 report->rdspiint = 0x08 & resp[1];
927 report->rdssyncint = 0x02 & resp[1];
928 report->rdsfifoint = 0x01 & resp[1];
930 report->tpptyvalid = 0x10 & resp[2];
931 report->pivalid = 0x08 & resp[2];
932 report->rdssync = 0x02 & resp[2];
933 report->rdsfifolost = 0x01 & resp[2];
935 report->tp = 0x20 & resp[3];
936 report->pty = 0x1f & resp[3];
938 report->pi = get_unaligned_be16(resp + 4);
939 report->rdsfifoused = resp[6];
941 report->ble[V4L2_RDS_BLOCK_A] = 0xc0 & resp[7];
942 report->ble[V4L2_RDS_BLOCK_B] = 0x30 & resp[7];
943 report->ble[V4L2_RDS_BLOCK_C] = 0x0c & resp[7];
944 report->ble[V4L2_RDS_BLOCK_D] = 0x03 & resp[7];
946 report->rds[V4L2_RDS_BLOCK_A].block = V4L2_RDS_BLOCK_A;
947 report->rds[V4L2_RDS_BLOCK_A].msb = resp[8];
948 report->rds[V4L2_RDS_BLOCK_A].lsb = resp[9];
950 report->rds[V4L2_RDS_BLOCK_B].block = V4L2_RDS_BLOCK_B;
951 report->rds[V4L2_RDS_BLOCK_B].msb = resp[10];
952 report->rds[V4L2_RDS_BLOCK_B].lsb = resp[11];
954 report->rds[V4L2_RDS_BLOCK_C].block = V4L2_RDS_BLOCK_C;
955 report->rds[V4L2_RDS_BLOCK_C].msb = resp[12];
956 report->rds[V4L2_RDS_BLOCK_C].lsb = resp[13];
958 report->rds[V4L2_RDS_BLOCK_D].block = V4L2_RDS_BLOCK_D;
959 report->rds[V4L2_RDS_BLOCK_D].msb = resp[14];
960 report->rds[V4L2_RDS_BLOCK_D].lsb = resp[15];
968 struct si476x_rds_blockcount_report *report)
976 if (!report)
985 report->expected = get_unaligned_be16(resp + 2);
986 report->received = get_unaligned_be16(resp + 4);
987 report->uncorrectable = get_unaligned_be16(resp + 6);
1168 struct si476x_rsq_status_report *report)
1188 if (err < 0 || report == NULL)
1191 report->multhint = 0x80 & resp[1];
1192 report->multlint = 0x40 & resp[1];
1193 report->snrhint = 0x08 & resp[1];
1194 report->snrlint = 0x04 & resp[1];
1195 report->rssihint = 0x02 & resp[1];
1196 report->rssilint = 0x01 & resp[1];
1198 report->bltf = 0x80 & resp[2];
1199 report->snr_ready = 0x20 & resp[2];
1200 report->rssiready = 0x08 & resp[2];
1201 report->afcrl = 0x02 & resp[2];
1202 report->valid = 0x01 & resp[2];
1204 report->readfreq = get_unaligned_be16(resp + 3);
1205 report->freqoff = resp[5];
1206 report->rssi = resp[6];
1207 report->snr = resp[7];
1208 report->lassi = resp[9];
1209 report->hassi = resp[10];
1210 report->mult = resp[11];
1211 report->dev = resp[12];
1212 report->readantcap = get_unaligned_be16(resp + 13);
1213 report->assi = resp[15];
1214 report->usn = resp[16];
1221 struct si476x_rsq_status_report *report)
1242 if (err < 0 || report == NULL)
1245 report->multhint = 0x80 & resp[1];
1246 report->multlint = 0x40 & resp[1];
1247 report->snrhint = 0x08 & resp[1];
1248 report->snrlint = 0x04 & resp[1];
1249 report->rssihint = 0x02 & resp[1];
1250 report->rssilint = 0x01 & resp[1];
1252 report->bltf = 0x80 & resp[2];
1253 report->snr_ready = 0x20 & resp[2];
1254 report->rssiready = 0x08 & resp[2];
1255 report->afcrl = 0x02 & resp[2];
1256 report->valid = 0x01 & resp[2];
1258 report->readfreq = get_unaligned_be16(resp + 3);
1259 report->freqoff = resp[5];
1260 report->rssi = resp[6];
1261 report->snr = resp[7];
1262 report->lassi = resp[9];
1263 report->hassi = resp[10];
1264 report->mult = resp[11];
1265 report->dev = resp[12];
1266 report->readantcap = get_unaligned_be16(resp + 13);
1267 report->assi = resp[15];
1268 report->usn = resp[16];
1276 struct si476x_rsq_status_report *report)
1297 if (err < 0 || report == NULL)
1300 report->multhint = 0x80 & resp[1];
1301 report->multlint = 0x40 & resp[1];
1302 report->snrhint = 0x08 & resp[1];
1303 report->snrlint = 0x04 & resp[1];
1304 report->rssihint = 0x02 & resp[1];
1305 report->rssilint = 0x01 & resp[1];
1307 report->bltf = 0x80 & resp[2];
1308 report->snr_ready = 0x20 & resp[2];
1309 report->rssiready = 0x08 & resp[2];
1310 report->injside = 0x04 & resp[2];
1311 report->afcrl = 0x02 & resp[2];
1312 report->valid = 0x01 & resp[2];
1314 report->readfreq = get_unaligned_be16(resp + 3);
1315 report->freqoff = resp[5];
1316 report->rssi = resp[6];
1317 report->snr = resp[7];
1318 report->issi = resp[8];
1319 report->lassi = resp[9];
1320 report->hassi = resp[10];
1321 report->mult = resp[11];
1322 report->dev = resp[12];
1323 report->readantcap = get_unaligned_be16(resp + 13);
1324 report->assi = resp[15];
1325 report->usn = resp[16];
1327 report->pilotdev = resp[17];
1328 report->rdsdev = resp[18];
1329 report->assidev = resp[19];
1330 report->strongdev = resp[20];
1331 report->rdspi = get_unaligned_be16(resp + 21);
1371 struct si476x_agc_status_report *report)
1376 if (!report)
1386 report->mxhi = resp[1] & SI476X_AGC_MXHI;
1387 report->mxlo = resp[1] & SI476X_AGC_MXLO;
1388 report->lnahi = resp[1] & SI476X_AGC_LNAHI;
1389 report->lnalo = resp[1] & SI476X_AGC_LNALO;
1390 report->fmagc1 = resp[2];
1391 report->fmagc2 = resp[3];
1392 report->pgagain = resp[4];
1393 report->fmwblang = resp[5];
1399 struct si476x_agc_status_report *report)
1404 if (!report)
1414 report->mxhi = resp[1] & SI476X_AGC_MXHI;
1415 report->mxlo = resp[1] & SI476X_AGC_MXLO;
1416 report->lnahi = resp[1] & SI476X_AGC_LNAHI;
1417 report->lnalo = resp[1] & SI476X_AGC_LNALO;
1511 struct si476x_rsq_status_report *report)
1517 report);
1522 struct si476x_agc_status_report *report)
1527 return si476x_cmds_vtable[core->revision].agc_status(core, report);