Lines Matching full:report

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