Searched refs:CH_Ctrl (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/tuners/
H A Dmxl5005s.c277 CH_Ctrl[CHCTRL_NUM]; /* CH Control Name Array Pointer */ member in struct:mxl5005s_state
1180 state->CH_Ctrl[0].Ctrl_Num = DN_POLY ; MXL5005_ControlInit()
1181 state->CH_Ctrl[0].size = 2 ; MXL5005_ControlInit()
1182 state->CH_Ctrl[0].addr[0] = 68; MXL5005_ControlInit()
1183 state->CH_Ctrl[0].bit[0] = 6; MXL5005_ControlInit()
1184 state->CH_Ctrl[0].val[0] = 1; MXL5005_ControlInit()
1185 state->CH_Ctrl[0].addr[1] = 68; MXL5005_ControlInit()
1186 state->CH_Ctrl[0].bit[1] = 7; MXL5005_ControlInit()
1187 state->CH_Ctrl[0].val[1] = 1; MXL5005_ControlInit()
1189 state->CH_Ctrl[1].Ctrl_Num = DN_RFGAIN ; MXL5005_ControlInit()
1190 state->CH_Ctrl[1].size = 2 ; MXL5005_ControlInit()
1191 state->CH_Ctrl[1].addr[0] = 70; MXL5005_ControlInit()
1192 state->CH_Ctrl[1].bit[0] = 6; MXL5005_ControlInit()
1193 state->CH_Ctrl[1].val[0] = 1; MXL5005_ControlInit()
1194 state->CH_Ctrl[1].addr[1] = 70; MXL5005_ControlInit()
1195 state->CH_Ctrl[1].bit[1] = 7; MXL5005_ControlInit()
1196 state->CH_Ctrl[1].val[1] = 0; MXL5005_ControlInit()
1198 state->CH_Ctrl[2].Ctrl_Num = DN_CAP_RFLPF ; MXL5005_ControlInit()
1199 state->CH_Ctrl[2].size = 9 ; MXL5005_ControlInit()
1200 state->CH_Ctrl[2].addr[0] = 69; MXL5005_ControlInit()
1201 state->CH_Ctrl[2].bit[0] = 5; MXL5005_ControlInit()
1202 state->CH_Ctrl[2].val[0] = 0; MXL5005_ControlInit()
1203 state->CH_Ctrl[2].addr[1] = 69; MXL5005_ControlInit()
1204 state->CH_Ctrl[2].bit[1] = 6; MXL5005_ControlInit()
1205 state->CH_Ctrl[2].val[1] = 0; MXL5005_ControlInit()
1206 state->CH_Ctrl[2].addr[2] = 69; MXL5005_ControlInit()
1207 state->CH_Ctrl[2].bit[2] = 7; MXL5005_ControlInit()
1208 state->CH_Ctrl[2].val[2] = 0; MXL5005_ControlInit()
1209 state->CH_Ctrl[2].addr[3] = 68; MXL5005_ControlInit()
1210 state->CH_Ctrl[2].bit[3] = 0; MXL5005_ControlInit()
1211 state->CH_Ctrl[2].val[3] = 0; MXL5005_ControlInit()
1212 state->CH_Ctrl[2].addr[4] = 68; MXL5005_ControlInit()
1213 state->CH_Ctrl[2].bit[4] = 1; MXL5005_ControlInit()
1214 state->CH_Ctrl[2].val[4] = 0; MXL5005_ControlInit()
1215 state->CH_Ctrl[2].addr[5] = 68; MXL5005_ControlInit()
1216 state->CH_Ctrl[2].bit[5] = 2; MXL5005_ControlInit()
1217 state->CH_Ctrl[2].val[5] = 0; MXL5005_ControlInit()
1218 state->CH_Ctrl[2].addr[6] = 68; MXL5005_ControlInit()
1219 state->CH_Ctrl[2].bit[6] = 3; MXL5005_ControlInit()
1220 state->CH_Ctrl[2].val[6] = 0; MXL5005_ControlInit()
1221 state->CH_Ctrl[2].addr[7] = 68; MXL5005_ControlInit()
1222 state->CH_Ctrl[2].bit[7] = 4; MXL5005_ControlInit()
1223 state->CH_Ctrl[2].val[7] = 0; MXL5005_ControlInit()
1224 state->CH_Ctrl[2].addr[8] = 68; MXL5005_ControlInit()
1225 state->CH_Ctrl[2].bit[8] = 5; MXL5005_ControlInit()
1226 state->CH_Ctrl[2].val[8] = 0; MXL5005_ControlInit()
1228 state->CH_Ctrl[3].Ctrl_Num = DN_EN_VHFUHFBAR ; MXL5005_ControlInit()
1229 state->CH_Ctrl[3].size = 1 ; MXL5005_ControlInit()
1230 state->CH_Ctrl[3].addr[0] = 70; MXL5005_ControlInit()
1231 state->CH_Ctrl[3].bit[0] = 5; MXL5005_ControlInit()
1232 state->CH_Ctrl[3].val[0] = 0; MXL5005_ControlInit()
1234 state->CH_Ctrl[4].Ctrl_Num = DN_GAIN_ADJUST ; MXL5005_ControlInit()
1235 state->CH_Ctrl[4].size = 3 ; MXL5005_ControlInit()
1236 state->CH_Ctrl[4].addr[0] = 73; MXL5005_ControlInit()
1237 state->CH_Ctrl[4].bit[0] = 4; MXL5005_ControlInit()
1238 state->CH_Ctrl[4].val[0] = 0; MXL5005_ControlInit()
1239 state->CH_Ctrl[4].addr[1] = 73; MXL5005_ControlInit()
1240 state->CH_Ctrl[4].bit[1] = 5; MXL5005_ControlInit()
1241 state->CH_Ctrl[4].val[1] = 1; MXL5005_ControlInit()
1242 state->CH_Ctrl[4].addr[2] = 73; MXL5005_ControlInit()
1243 state->CH_Ctrl[4].bit[2] = 6; MXL5005_ControlInit()
1244 state->CH_Ctrl[4].val[2] = 0; MXL5005_ControlInit()
1246 state->CH_Ctrl[5].Ctrl_Num = DN_IQTNBUF_AMP ; MXL5005_ControlInit()
1247 state->CH_Ctrl[5].size = 4 ; MXL5005_ControlInit()
1248 state->CH_Ctrl[5].addr[0] = 70; MXL5005_ControlInit()
1249 state->CH_Ctrl[5].bit[0] = 0; MXL5005_ControlInit()
1250 state->CH_Ctrl[5].val[0] = 0; MXL5005_ControlInit()
1251 state->CH_Ctrl[5].addr[1] = 70; MXL5005_ControlInit()
1252 state->CH_Ctrl[5].bit[1] = 1; MXL5005_ControlInit()
1253 state->CH_Ctrl[5].val[1] = 0; MXL5005_ControlInit()
1254 state->CH_Ctrl[5].addr[2] = 70; MXL5005_ControlInit()
1255 state->CH_Ctrl[5].bit[2] = 2; MXL5005_ControlInit()
1256 state->CH_Ctrl[5].val[2] = 0; MXL5005_ControlInit()
1257 state->CH_Ctrl[5].addr[3] = 70; MXL5005_ControlInit()
1258 state->CH_Ctrl[5].bit[3] = 3; MXL5005_ControlInit()
1259 state->CH_Ctrl[5].val[3] = 0; MXL5005_ControlInit()
1261 state->CH_Ctrl[6].Ctrl_Num = DN_IQTNGNBFBIAS_BST ; MXL5005_ControlInit()
1262 state->CH_Ctrl[6].size = 1 ; MXL5005_ControlInit()
1263 state->CH_Ctrl[6].addr[0] = 70; MXL5005_ControlInit()
1264 state->CH_Ctrl[6].bit[0] = 4; MXL5005_ControlInit()
1265 state->CH_Ctrl[6].val[0] = 1; MXL5005_ControlInit()
1267 state->CH_Ctrl[7].Ctrl_Num = RFSYN_EN_OUTMUX ; MXL5005_ControlInit()
1268 state->CH_Ctrl[7].size = 1 ; MXL5005_ControlInit()
1269 state->CH_Ctrl[7].addr[0] = 111; MXL5005_ControlInit()
1270 state->CH_Ctrl[7].bit[0] = 4; MXL5005_ControlInit()
1271 state->CH_Ctrl[7].val[0] = 0; MXL5005_ControlInit()
1273 state->CH_Ctrl[8].Ctrl_Num = RFSYN_SEL_VCO_OUT ; MXL5005_ControlInit()
1274 state->CH_Ctrl[8].size = 1 ; MXL5005_ControlInit()
1275 state->CH_Ctrl[8].addr[0] = 111; MXL5005_ControlInit()
1276 state->CH_Ctrl[8].bit[0] = 7; MXL5005_ControlInit()
1277 state->CH_Ctrl[8].val[0] = 1; MXL5005_ControlInit()
1279 state->CH_Ctrl[9].Ctrl_Num = RFSYN_SEL_VCO_HI ; MXL5005_ControlInit()
1280 state->CH_Ctrl[9].size = 1 ; MXL5005_ControlInit()
1281 state->CH_Ctrl[9].addr[0] = 111; MXL5005_ControlInit()
1282 state->CH_Ctrl[9].bit[0] = 6; MXL5005_ControlInit()
1283 state->CH_Ctrl[9].val[0] = 1; MXL5005_ControlInit()
1285 state->CH_Ctrl[10].Ctrl_Num = RFSYN_SEL_DIVM ; MXL5005_ControlInit()
1286 state->CH_Ctrl[10].size = 1 ; MXL5005_ControlInit()
1287 state->CH_Ctrl[10].addr[0] = 111; MXL5005_ControlInit()
1288 state->CH_Ctrl[10].bit[0] = 5; MXL5005_ControlInit()
1289 state->CH_Ctrl[10].val[0] = 0; MXL5005_ControlInit()
1291 state->CH_Ctrl[11].Ctrl_Num = RFSYN_RF_DIV_BIAS ; MXL5005_ControlInit()
1292 state->CH_Ctrl[11].size = 2 ; MXL5005_ControlInit()
1293 state->CH_Ctrl[11].addr[0] = 110; MXL5005_ControlInit()
1294 state->CH_Ctrl[11].bit[0] = 0; MXL5005_ControlInit()
1295 state->CH_Ctrl[11].val[0] = 1; MXL5005_ControlInit()
1296 state->CH_Ctrl[11].addr[1] = 110; MXL5005_ControlInit()
1297 state->CH_Ctrl[11].bit[1] = 1; MXL5005_ControlInit()
1298 state->CH_Ctrl[11].val[1] = 0; MXL5005_ControlInit()
1300 state->CH_Ctrl[12].Ctrl_Num = DN_SEL_FREQ ; MXL5005_ControlInit()
1301 state->CH_Ctrl[12].size = 3 ; MXL5005_ControlInit()
1302 state->CH_Ctrl[12].addr[0] = 69; MXL5005_ControlInit()
1303 state->CH_Ctrl[12].bit[0] = 2; MXL5005_ControlInit()
1304 state->CH_Ctrl[12].val[0] = 0; MXL5005_ControlInit()
1305 state->CH_Ctrl[12].addr[1] = 69; MXL5005_ControlInit()
1306 state->CH_Ctrl[12].bit[1] = 3; MXL5005_ControlInit()
1307 state->CH_Ctrl[12].val[1] = 0; MXL5005_ControlInit()
1308 state->CH_Ctrl[12].addr[2] = 69; MXL5005_ControlInit()
1309 state->CH_Ctrl[12].bit[2] = 4; MXL5005_ControlInit()
1310 state->CH_Ctrl[12].val[2] = 0; MXL5005_ControlInit()
1312 state->CH_Ctrl[13].Ctrl_Num = RFSYN_VCO_BIAS ; MXL5005_ControlInit()
1313 state->CH_Ctrl[13].size = 6 ; MXL5005_ControlInit()
1314 state->CH_Ctrl[13].addr[0] = 110; MXL5005_ControlInit()
1315 state->CH_Ctrl[13].bit[0] = 2; MXL5005_ControlInit()
1316 state->CH_Ctrl[13].val[0] = 0; MXL5005_ControlInit()
1317 state->CH_Ctrl[13].addr[1] = 110; MXL5005_ControlInit()
1318 state->CH_Ctrl[13].bit[1] = 3; MXL5005_ControlInit()
1319 state->CH_Ctrl[13].val[1] = 0; MXL5005_ControlInit()
1320 state->CH_Ctrl[13].addr[2] = 110; MXL5005_ControlInit()
1321 state->CH_Ctrl[13].bit[2] = 4; MXL5005_ControlInit()
1322 state->CH_Ctrl[13].val[2] = 0; MXL5005_ControlInit()
1323 state->CH_Ctrl[13].addr[3] = 110; MXL5005_ControlInit()
1324 state->CH_Ctrl[13].bit[3] = 5; MXL5005_ControlInit()
1325 state->CH_Ctrl[13].val[3] = 0; MXL5005_ControlInit()
1326 state->CH_Ctrl[13].addr[4] = 110; MXL5005_ControlInit()
1327 state->CH_Ctrl[13].bit[4] = 6; MXL5005_ControlInit()
1328 state->CH_Ctrl[13].val[4] = 0; MXL5005_ControlInit()
1329 state->CH_Ctrl[13].addr[5] = 110; MXL5005_ControlInit()
1330 state->CH_Ctrl[13].bit[5] = 7; MXL5005_ControlInit()
1331 state->CH_Ctrl[13].val[5] = 1; MXL5005_ControlInit()
1333 state->CH_Ctrl[14].Ctrl_Num = CHCAL_INT_MOD_RF ; MXL5005_ControlInit()
1334 state->CH_Ctrl[14].size = 7 ; MXL5005_ControlInit()
1335 state->CH_Ctrl[14].addr[0] = 14; MXL5005_ControlInit()
1336 state->CH_Ctrl[14].bit[0] = 0; MXL5005_ControlInit()
1337 state->CH_Ctrl[14].val[0] = 0; MXL5005_ControlInit()
1338 state->CH_Ctrl[14].addr[1] = 14; MXL5005_ControlInit()
1339 state->CH_Ctrl[14].bit[1] = 1; MXL5005_ControlInit()
1340 state->CH_Ctrl[14].val[1] = 0; MXL5005_ControlInit()
1341 state->CH_Ctrl[14].addr[2] = 14; MXL5005_ControlInit()
1342 state->CH_Ctrl[14].bit[2] = 2; MXL5005_ControlInit()
1343 state->CH_Ctrl[14].val[2] = 0; MXL5005_ControlInit()
1344 state->CH_Ctrl[14].addr[3] = 14; MXL5005_ControlInit()
1345 state->CH_Ctrl[14].bit[3] = 3; MXL5005_ControlInit()
1346 state->CH_Ctrl[14].val[3] = 0; MXL5005_ControlInit()
1347 state->CH_Ctrl[14].addr[4] = 14; MXL5005_ControlInit()
1348 state->CH_Ctrl[14].bit[4] = 4; MXL5005_ControlInit()
1349 state->CH_Ctrl[14].val[4] = 0; MXL5005_ControlInit()
1350 state->CH_Ctrl[14].addr[5] = 14; MXL5005_ControlInit()
1351 state->CH_Ctrl[14].bit[5] = 5; MXL5005_ControlInit()
1352 state->CH_Ctrl[14].val[5] = 0; MXL5005_ControlInit()
1353 state->CH_Ctrl[14].addr[6] = 14; MXL5005_ControlInit()
1354 state->CH_Ctrl[14].bit[6] = 6; MXL5005_ControlInit()
1355 state->CH_Ctrl[14].val[6] = 0; MXL5005_ControlInit()
1357 state->CH_Ctrl[15].Ctrl_Num = CHCAL_FRAC_MOD_RF ; MXL5005_ControlInit()
1358 state->CH_Ctrl[15].size = 18 ; MXL5005_ControlInit()
1359 state->CH_Ctrl[15].addr[0] = 17; MXL5005_ControlInit()
1360 state->CH_Ctrl[15].bit[0] = 6; MXL5005_ControlInit()
1361 state->CH_Ctrl[15].val[0] = 0; MXL5005_ControlInit()
1362 state->CH_Ctrl[15].addr[1] = 17; MXL5005_ControlInit()
1363 state->CH_Ctrl[15].bit[1] = 7; MXL5005_ControlInit()
1364 state->CH_Ctrl[15].val[1] = 0; MXL5005_ControlInit()
1365 state->CH_Ctrl[15].addr[2] = 16; MXL5005_ControlInit()
1366 state->CH_Ctrl[15].bit[2] = 0; MXL5005_ControlInit()
1367 state->CH_Ctrl[15].val[2] = 0; MXL5005_ControlInit()
1368 state->CH_Ctrl[15].addr[3] = 16; MXL5005_ControlInit()
1369 state->CH_Ctrl[15].bit[3] = 1; MXL5005_ControlInit()
1370 state->CH_Ctrl[15].val[3] = 0; MXL5005_ControlInit()
1371 state->CH_Ctrl[15].addr[4] = 16; MXL5005_ControlInit()
1372 state->CH_Ctrl[15].bit[4] = 2; MXL5005_ControlInit()
1373 state->CH_Ctrl[15].val[4] = 0; MXL5005_ControlInit()
1374 state->CH_Ctrl[15].addr[5] = 16; MXL5005_ControlInit()
1375 state->CH_Ctrl[15].bit[5] = 3; MXL5005_ControlInit()
1376 state->CH_Ctrl[15].val[5] = 0; MXL5005_ControlInit()
1377 state->CH_Ctrl[15].addr[6] = 16; MXL5005_ControlInit()
1378 state->CH_Ctrl[15].bit[6] = 4; MXL5005_ControlInit()
1379 state->CH_Ctrl[15].val[6] = 0; MXL5005_ControlInit()
1380 state->CH_Ctrl[15].addr[7] = 16; MXL5005_ControlInit()
1381 state->CH_Ctrl[15].bit[7] = 5; MXL5005_ControlInit()
1382 state->CH_Ctrl[15].val[7] = 0; MXL5005_ControlInit()
1383 state->CH_Ctrl[15].addr[8] = 16; MXL5005_ControlInit()
1384 state->CH_Ctrl[15].bit[8] = 6; MXL5005_ControlInit()
1385 state->CH_Ctrl[15].val[8] = 0; MXL5005_ControlInit()
1386 state->CH_Ctrl[15].addr[9] = 16; MXL5005_ControlInit()
1387 state->CH_Ctrl[15].bit[9] = 7; MXL5005_ControlInit()
1388 state->CH_Ctrl[15].val[9] = 0; MXL5005_ControlInit()
1389 state->CH_Ctrl[15].addr[10] = 15; MXL5005_ControlInit()
1390 state->CH_Ctrl[15].bit[10] = 0; MXL5005_ControlInit()
1391 state->CH_Ctrl[15].val[10] = 0; MXL5005_ControlInit()
1392 state->CH_Ctrl[15].addr[11] = 15; MXL5005_ControlInit()
1393 state->CH_Ctrl[15].bit[11] = 1; MXL5005_ControlInit()
1394 state->CH_Ctrl[15].val[11] = 0; MXL5005_ControlInit()
1395 state->CH_Ctrl[15].addr[12] = 15; MXL5005_ControlInit()
1396 state->CH_Ctrl[15].bit[12] = 2; MXL5005_ControlInit()
1397 state->CH_Ctrl[15].val[12] = 0; MXL5005_ControlInit()
1398 state->CH_Ctrl[15].addr[13] = 15; MXL5005_ControlInit()
1399 state->CH_Ctrl[15].bit[13] = 3; MXL5005_ControlInit()
1400 state->CH_Ctrl[15].val[13] = 0; MXL5005_ControlInit()
1401 state->CH_Ctrl[15].addr[14] = 15; MXL5005_ControlInit()
1402 state->CH_Ctrl[15].bit[14] = 4; MXL5005_ControlInit()
1403 state->CH_Ctrl[15].val[14] = 0; MXL5005_ControlInit()
1404 state->CH_Ctrl[15].addr[15] = 15; MXL5005_ControlInit()
1405 state->CH_Ctrl[15].bit[15] = 5; MXL5005_ControlInit()
1406 state->CH_Ctrl[15].val[15] = 0; MXL5005_ControlInit()
1407 state->CH_Ctrl[15].addr[16] = 15; MXL5005_ControlInit()
1408 state->CH_Ctrl[15].bit[16] = 6; MXL5005_ControlInit()
1409 state->CH_Ctrl[15].val[16] = 1; MXL5005_ControlInit()
1410 state->CH_Ctrl[15].addr[17] = 15; MXL5005_ControlInit()
1411 state->CH_Ctrl[15].bit[17] = 7; MXL5005_ControlInit()
1412 state->CH_Ctrl[15].val[17] = 1; MXL5005_ControlInit()
1414 state->CH_Ctrl[16].Ctrl_Num = RFSYN_LPF_R ; MXL5005_ControlInit()
1415 state->CH_Ctrl[16].size = 5 ; MXL5005_ControlInit()
1416 state->CH_Ctrl[16].addr[0] = 112; MXL5005_ControlInit()
1417 state->CH_Ctrl[16].bit[0] = 0; MXL5005_ControlInit()
1418 state->CH_Ctrl[16].val[0] = 0; MXL5005_ControlInit()
1419 state->CH_Ctrl[16].addr[1] = 112; MXL5005_ControlInit()
1420 state->CH_Ctrl[16].bit[1] = 1; MXL5005_ControlInit()
1421 state->CH_Ctrl[16].val[1] = 0; MXL5005_ControlInit()
1422 state->CH_Ctrl[16].addr[2] = 112; MXL5005_ControlInit()
1423 state->CH_Ctrl[16].bit[2] = 2; MXL5005_ControlInit()
1424 state->CH_Ctrl[16].val[2] = 0; MXL5005_ControlInit()
1425 state->CH_Ctrl[16].addr[3] = 112; MXL5005_ControlInit()
1426 state->CH_Ctrl[16].bit[3] = 3; MXL5005_ControlInit()
1427 state->CH_Ctrl[16].val[3] = 0; MXL5005_ControlInit()
1428 state->CH_Ctrl[16].addr[4] = 112; MXL5005_ControlInit()
1429 state->CH_Ctrl[16].bit[4] = 4; MXL5005_ControlInit()
1430 state->CH_Ctrl[16].val[4] = 1; MXL5005_ControlInit()
1432 state->CH_Ctrl[17].Ctrl_Num = CHCAL_EN_INT_RF ; MXL5005_ControlInit()
1433 state->CH_Ctrl[17].size = 1 ; MXL5005_ControlInit()
1434 state->CH_Ctrl[17].addr[0] = 14; MXL5005_ControlInit()
1435 state->CH_Ctrl[17].bit[0] = 7; MXL5005_ControlInit()
1436 state->CH_Ctrl[17].val[0] = 0; MXL5005_ControlInit()
1438 state->CH_Ctrl[18].Ctrl_Num = TG_LO_DIVVAL ; MXL5005_ControlInit()
1439 state->CH_Ctrl[18].size = 4 ; MXL5005_ControlInit()
1440 state->CH_Ctrl[18].addr[0] = 107; MXL5005_ControlInit()
1441 state->CH_Ctrl[18].bit[0] = 3; MXL5005_ControlInit()
1442 state->CH_Ctrl[18].val[0] = 0; MXL5005_ControlInit()
1443 state->CH_Ctrl[18].addr[1] = 107; MXL5005_ControlInit()
1444 state->CH_Ctrl[18].bit[1] = 4; MXL5005_ControlInit()
1445 state->CH_Ctrl[18].val[1] = 0; MXL5005_ControlInit()
1446 state->CH_Ctrl[18].addr[2] = 107; MXL5005_ControlInit()
1447 state->CH_Ctrl[18].bit[2] = 5; MXL5005_ControlInit()
1448 state->CH_Ctrl[18].val[2] = 0; MXL5005_ControlInit()
1449 state->CH_Ctrl[18].addr[3] = 107; MXL5005_ControlInit()
1450 state->CH_Ctrl[18].bit[3] = 6; MXL5005_ControlInit()
1451 state->CH_Ctrl[18].val[3] = 0; MXL5005_ControlInit()
1453 state->CH_Ctrl[19].Ctrl_Num = TG_LO_SELVAL ; MXL5005_ControlInit()
1454 state->CH_Ctrl[19].size = 3 ; MXL5005_ControlInit()
1455 state->CH_Ctrl[19].addr[0] = 107; MXL5005_ControlInit()
1456 state->CH_Ctrl[19].bit[0] = 7; MXL5005_ControlInit()
1457 state->CH_Ctrl[19].val[0] = 1; MXL5005_ControlInit()
1458 state->CH_Ctrl[19].addr[1] = 106; MXL5005_ControlInit()
1459 state->CH_Ctrl[19].bit[1] = 0; MXL5005_ControlInit()
1460 state->CH_Ctrl[19].val[1] = 1; MXL5005_ControlInit()
1461 state->CH_Ctrl[19].addr[2] = 106; MXL5005_ControlInit()
1462 state->CH_Ctrl[19].bit[2] = 1; MXL5005_ControlInit()
1463 state->CH_Ctrl[19].val[2] = 1; MXL5005_ControlInit()
1465 state->CH_Ctrl[20].Ctrl_Num = TG_DIV_VAL ; MXL5005_ControlInit()
1466 state->CH_Ctrl[20].size = 11 ; MXL5005_ControlInit()
1467 state->CH_Ctrl[20].addr[0] = 109; MXL5005_ControlInit()
1468 state->CH_Ctrl[20].bit[0] = 2; MXL5005_ControlInit()
1469 state->CH_Ctrl[20].val[0] = 0; MXL5005_ControlInit()
1470 state->CH_Ctrl[20].addr[1] = 109; MXL5005_ControlInit()
1471 state->CH_Ctrl[20].bit[1] = 3; MXL5005_ControlInit()
1472 state->CH_Ctrl[20].val[1] = 0; MXL5005_ControlInit()
1473 state->CH_Ctrl[20].addr[2] = 109; MXL5005_ControlInit()
1474 state->CH_Ctrl[20].bit[2] = 4; MXL5005_ControlInit()
1475 state->CH_Ctrl[20].val[2] = 0; MXL5005_ControlInit()
1476 state->CH_Ctrl[20].addr[3] = 109; MXL5005_ControlInit()
1477 state->CH_Ctrl[20].bit[3] = 5; MXL5005_ControlInit()
1478 state->CH_Ctrl[20].val[3] = 0; MXL5005_ControlInit()
1479 state->CH_Ctrl[20].addr[4] = 109; MXL5005_ControlInit()
1480 state->CH_Ctrl[20].bit[4] = 6; MXL5005_ControlInit()
1481 state->CH_Ctrl[20].val[4] = 0; MXL5005_ControlInit()
1482 state->CH_Ctrl[20].addr[5] = 109; MXL5005_ControlInit()
1483 state->CH_Ctrl[20].bit[5] = 7; MXL5005_ControlInit()
1484 state->CH_Ctrl[20].val[5] = 0; MXL5005_ControlInit()
1485 state->CH_Ctrl[20].addr[6] = 108; MXL5005_ControlInit()
1486 state->CH_Ctrl[20].bit[6] = 0; MXL5005_ControlInit()
1487 state->CH_Ctrl[20].val[6] = 0; MXL5005_ControlInit()
1488 state->CH_Ctrl[20].addr[7] = 108; MXL5005_ControlInit()
1489 state->CH_Ctrl[20].bit[7] = 1; MXL5005_ControlInit()
1490 state->CH_Ctrl[20].val[7] = 0; MXL5005_ControlInit()
1491 state->CH_Ctrl[20].addr[8] = 108; MXL5005_ControlInit()
1492 state->CH_Ctrl[20].bit[8] = 2; MXL5005_ControlInit()
1493 state->CH_Ctrl[20].val[8] = 1; MXL5005_ControlInit()
1494 state->CH_Ctrl[20].addr[9] = 108; MXL5005_ControlInit()
1495 state->CH_Ctrl[20].bit[9] = 3; MXL5005_ControlInit()
1496 state->CH_Ctrl[20].val[9] = 1; MXL5005_ControlInit()
1497 state->CH_Ctrl[20].addr[10] = 108; MXL5005_ControlInit()
1498 state->CH_Ctrl[20].bit[10] = 4; MXL5005_ControlInit()
1499 state->CH_Ctrl[20].val[10] = 1; MXL5005_ControlInit()
1501 state->CH_Ctrl[21].Ctrl_Num = TG_VCO_BIAS ; MXL5005_ControlInit()
1502 state->CH_Ctrl[21].size = 6 ; MXL5005_ControlInit()
1503 state->CH_Ctrl[21].addr[0] = 106; MXL5005_ControlInit()
1504 state->CH_Ctrl[21].bit[0] = 2; MXL5005_ControlInit()
1505 state->CH_Ctrl[21].val[0] = 0; MXL5005_ControlInit()
1506 state->CH_Ctrl[21].addr[1] = 106; MXL5005_ControlInit()
1507 state->CH_Ctrl[21].bit[1] = 3; MXL5005_ControlInit()
1508 state->CH_Ctrl[21].val[1] = 0; MXL5005_ControlInit()
1509 state->CH_Ctrl[21].addr[2] = 106; MXL5005_ControlInit()
1510 state->CH_Ctrl[21].bit[2] = 4; MXL5005_ControlInit()
1511 state->CH_Ctrl[21].val[2] = 0; MXL5005_ControlInit()
1512 state->CH_Ctrl[21].addr[3] = 106; MXL5005_ControlInit()
1513 state->CH_Ctrl[21].bit[3] = 5; MXL5005_ControlInit()
1514 state->CH_Ctrl[21].val[3] = 0; MXL5005_ControlInit()
1515 state->CH_Ctrl[21].addr[4] = 106; MXL5005_ControlInit()
1516 state->CH_Ctrl[21].bit[4] = 6; MXL5005_ControlInit()
1517 state->CH_Ctrl[21].val[4] = 0; MXL5005_ControlInit()
1518 state->CH_Ctrl[21].addr[5] = 106; MXL5005_ControlInit()
1519 state->CH_Ctrl[21].bit[5] = 7; MXL5005_ControlInit()
1520 state->CH_Ctrl[21].val[5] = 1; MXL5005_ControlInit()
1522 state->CH_Ctrl[22].Ctrl_Num = SEQ_EXTPOWERUP ; MXL5005_ControlInit()
1523 state->CH_Ctrl[22].size = 1 ; MXL5005_ControlInit()
1524 state->CH_Ctrl[22].addr[0] = 138; MXL5005_ControlInit()
1525 state->CH_Ctrl[22].bit[0] = 4; MXL5005_ControlInit()
1526 state->CH_Ctrl[22].val[0] = 1; MXL5005_ControlInit()
1528 state->CH_Ctrl[23].Ctrl_Num = OVERRIDE_2 ; MXL5005_ControlInit()
1529 state->CH_Ctrl[23].size = 1 ; MXL5005_ControlInit()
1530 state->CH_Ctrl[23].addr[0] = 17; MXL5005_ControlInit()
1531 state->CH_Ctrl[23].bit[0] = 5; MXL5005_ControlInit()
1532 state->CH_Ctrl[23].val[0] = 0; MXL5005_ControlInit()
1534 state->CH_Ctrl[24].Ctrl_Num = OVERRIDE_3 ; MXL5005_ControlInit()
1535 state->CH_Ctrl[24].size = 1 ; MXL5005_ControlInit()
1536 state->CH_Ctrl[24].addr[0] = 111; MXL5005_ControlInit()
1537 state->CH_Ctrl[24].bit[0] = 3; MXL5005_ControlInit()
1538 state->CH_Ctrl[24].val[0] = 0; MXL5005_ControlInit()
1540 state->CH_Ctrl[25].Ctrl_Num = OVERRIDE_4 ; MXL5005_ControlInit()
1541 state->CH_Ctrl[25].size = 1 ; MXL5005_ControlInit()
1542 state->CH_Ctrl[25].addr[0] = 112; MXL5005_ControlInit()
1543 state->CH_Ctrl[25].bit[0] = 7; MXL5005_ControlInit()
1544 state->CH_Ctrl[25].val[0] = 0; MXL5005_ControlInit()
1546 state->CH_Ctrl[26].Ctrl_Num = SEQ_FSM_PULSE ; MXL5005_ControlInit()
1547 state->CH_Ctrl[26].size = 1 ; MXL5005_ControlInit()
1548 state->CH_Ctrl[26].addr[0] = 136; MXL5005_ControlInit()
1549 state->CH_Ctrl[26].bit[0] = 7; MXL5005_ControlInit()
1550 state->CH_Ctrl[26].val[0] = 0; MXL5005_ControlInit()
1552 state->CH_Ctrl[27].Ctrl_Num = GPIO_4B ; MXL5005_ControlInit()
1553 state->CH_Ctrl[27].size = 1 ; MXL5005_ControlInit()
1554 state->CH_Ctrl[27].addr[0] = 149; MXL5005_ControlInit()
1555 state->CH_Ctrl[27].bit[0] = 7; MXL5005_ControlInit()
1556 state->CH_Ctrl[27].val[0] = 0; MXL5005_ControlInit()
1558 state->CH_Ctrl[28].Ctrl_Num = GPIO_3B ; MXL5005_ControlInit()
1559 state->CH_Ctrl[28].size = 1 ; MXL5005_ControlInit()
1560 state->CH_Ctrl[28].addr[0] = 149; MXL5005_ControlInit()
1561 state->CH_Ctrl[28].bit[0] = 6; MXL5005_ControlInit()
1562 state->CH_Ctrl[28].val[0] = 0; MXL5005_ControlInit()
1564 state->CH_Ctrl[29].Ctrl_Num = GPIO_4 ; MXL5005_ControlInit()
1565 state->CH_Ctrl[29].size = 1 ; MXL5005_ControlInit()
1566 state->CH_Ctrl[29].addr[0] = 149; MXL5005_ControlInit()
1567 state->CH_Ctrl[29].bit[0] = 5; MXL5005_ControlInit()
1568 state->CH_Ctrl[29].val[0] = 1; MXL5005_ControlInit()
1570 state->CH_Ctrl[30].Ctrl_Num = GPIO_3 ; MXL5005_ControlInit()
1571 state->CH_Ctrl[30].size = 1 ; MXL5005_ControlInit()
1572 state->CH_Ctrl[30].addr[0] = 149; MXL5005_ControlInit()
1573 state->CH_Ctrl[30].bit[0] = 4; MXL5005_ControlInit()
1574 state->CH_Ctrl[30].val[0] = 1; MXL5005_ControlInit()
1576 state->CH_Ctrl[31].Ctrl_Num = GPIO_1B ; MXL5005_ControlInit()
1577 state->CH_Ctrl[31].size = 1 ; MXL5005_ControlInit()
1578 state->CH_Ctrl[31].addr[0] = 149; MXL5005_ControlInit()
1579 state->CH_Ctrl[31].bit[0] = 3; MXL5005_ControlInit()
1580 state->CH_Ctrl[31].val[0] = 0; MXL5005_ControlInit()
1582 state->CH_Ctrl[32].Ctrl_Num = DAC_A_ENABLE ; MXL5005_ControlInit()
1583 state->CH_Ctrl[32].size = 1 ; MXL5005_ControlInit()
1584 state->CH_Ctrl[32].addr[0] = 93; MXL5005_ControlInit()
1585 state->CH_Ctrl[32].bit[0] = 1; MXL5005_ControlInit()
1586 state->CH_Ctrl[32].val[0] = 0; MXL5005_ControlInit()
1588 state->CH_Ctrl[33].Ctrl_Num = DAC_B_ENABLE ; MXL5005_ControlInit()
1589 state->CH_Ctrl[33].size = 1 ; MXL5005_ControlInit()
1590 state->CH_Ctrl[33].addr[0] = 93; MXL5005_ControlInit()
1591 state->CH_Ctrl[33].bit[0] = 0; MXL5005_ControlInit()
1592 state->CH_Ctrl[33].val[0] = 0; MXL5005_ControlInit()
1594 state->CH_Ctrl[34].Ctrl_Num = DAC_DIN_A ; MXL5005_ControlInit()
1595 state->CH_Ctrl[34].size = 6 ; MXL5005_ControlInit()
1596 state->CH_Ctrl[34].addr[0] = 92; MXL5005_ControlInit()
1597 state->CH_Ctrl[34].bit[0] = 2; MXL5005_ControlInit()
1598 state->CH_Ctrl[34].val[0] = 0; MXL5005_ControlInit()
1599 state->CH_Ctrl[34].addr[1] = 92; MXL5005_ControlInit()
1600 state->CH_Ctrl[34].bit[1] = 3; MXL5005_ControlInit()
1601 state->CH_Ctrl[34].val[1] = 0; MXL5005_ControlInit()
1602 state->CH_Ctrl[34].addr[2] = 92; MXL5005_ControlInit()
1603 state->CH_Ctrl[34].bit[2] = 4; MXL5005_ControlInit()
1604 state->CH_Ctrl[34].val[2] = 0; MXL5005_ControlInit()
1605 state->CH_Ctrl[34].addr[3] = 92; MXL5005_ControlInit()
1606 state->CH_Ctrl[34].bit[3] = 5; MXL5005_ControlInit()
1607 state->CH_Ctrl[34].val[3] = 0; MXL5005_ControlInit()
1608 state->CH_Ctrl[34].addr[4] = 92; MXL5005_ControlInit()
1609 state->CH_Ctrl[34].bit[4] = 6; MXL5005_ControlInit()
1610 state->CH_Ctrl[34].val[4] = 0; MXL5005_ControlInit()
1611 state->CH_Ctrl[34].addr[5] = 92; MXL5005_ControlInit()
1612 state->CH_Ctrl[34].bit[5] = 7; MXL5005_ControlInit()
1613 state->CH_Ctrl[34].val[5] = 0; MXL5005_ControlInit()
1615 state->CH_Ctrl[35].Ctrl_Num = DAC_DIN_B ; MXL5005_ControlInit()
1616 state->CH_Ctrl[35].size = 6 ; MXL5005_ControlInit()
1617 state->CH_Ctrl[35].addr[0] = 93; MXL5005_ControlInit()
1618 state->CH_Ctrl[35].bit[0] = 2; MXL5005_ControlInit()
1619 state->CH_Ctrl[35].val[0] = 0; MXL5005_ControlInit()
1620 state->CH_Ctrl[35].addr[1] = 93; MXL5005_ControlInit()
1621 state->CH_Ctrl[35].bit[1] = 3; MXL5005_ControlInit()
1622 state->CH_Ctrl[35].val[1] = 0; MXL5005_ControlInit()
1623 state->CH_Ctrl[35].addr[2] = 93; MXL5005_ControlInit()
1624 state->CH_Ctrl[35].bit[2] = 4; MXL5005_ControlInit()
1625 state->CH_Ctrl[35].val[2] = 0; MXL5005_ControlInit()
1626 state->CH_Ctrl[35].addr[3] = 93; MXL5005_ControlInit()
1627 state->CH_Ctrl[35].bit[3] = 5; MXL5005_ControlInit()
1628 state->CH_Ctrl[35].val[3] = 0; MXL5005_ControlInit()
1629 state->CH_Ctrl[35].addr[4] = 93; MXL5005_ControlInit()
1630 state->CH_Ctrl[35].bit[4] = 6; MXL5005_ControlInit()
1631 state->CH_Ctrl[35].val[4] = 0; MXL5005_ControlInit()
1632 state->CH_Ctrl[35].addr[5] = 93; MXL5005_ControlInit()
1633 state->CH_Ctrl[35].bit[5] = 7; MXL5005_ControlInit()
1634 state->CH_Ctrl[35].val[5] = 0; MXL5005_ControlInit()
1637 state->CH_Ctrl[36].Ctrl_Num = RFSYN_EN_DIV ; MXL5005_ControlInit()
1638 state->CH_Ctrl[36].size = 1 ; MXL5005_ControlInit()
1639 state->CH_Ctrl[36].addr[0] = 109; MXL5005_ControlInit()
1640 state->CH_Ctrl[36].bit[0] = 1; MXL5005_ControlInit()
1641 state->CH_Ctrl[36].val[0] = 1; MXL5005_ControlInit()
1643 state->CH_Ctrl[37].Ctrl_Num = RFSYN_DIVM ; MXL5005_ControlInit()
1644 state->CH_Ctrl[37].size = 2 ; MXL5005_ControlInit()
1645 state->CH_Ctrl[37].addr[0] = 112; MXL5005_ControlInit()
1646 state->CH_Ctrl[37].bit[0] = 5; MXL5005_ControlInit()
1647 state->CH_Ctrl[37].val[0] = 0; MXL5005_ControlInit()
1648 state->CH_Ctrl[37].addr[1] = 112; MXL5005_ControlInit()
1649 state->CH_Ctrl[37].bit[1] = 6; MXL5005_ControlInit()
1650 state->CH_Ctrl[37].val[1] = 0; MXL5005_ControlInit()
1652 state->CH_Ctrl[38].Ctrl_Num = DN_BYPASS_AGC_I2C ; MXL5005_ControlInit()
1653 state->CH_Ctrl[38].size = 1 ; MXL5005_ControlInit()
1654 state->CH_Ctrl[38].addr[0] = 65; MXL5005_ControlInit()
1655 state->CH_Ctrl[38].bit[0] = 1; MXL5005_ControlInit()
1656 state->CH_Ctrl[38].val[0] = 0; MXL5005_ControlInit()
3449 if (controlNum == state->CH_Ctrl[i].Ctrl_Num) { MXL_ControlWrite_Group()
3451 highLimit = 1 << state->CH_Ctrl[i].size; MXL_ControlWrite_Group()
3453 for (j = 0; j < state->CH_Ctrl[i].size; j++) { MXL_ControlWrite_Group()
3454 state->CH_Ctrl[i].val[j] = (u8)((value >> j) & 0x01); MXL_ControlWrite_Group()
3455 MXL_RegWriteBit(fe, (u8)(state->CH_Ctrl[i].addr[j]), MXL_ControlWrite_Group()
3456 (u8)(state->CH_Ctrl[i].bit[j]), MXL_ControlWrite_Group()
3460 for (k = 0; k < state->CH_Ctrl[i].size; k++) MXL_ControlWrite_Group()
3461 ctrlVal += state->CH_Ctrl[i].val[k] * (1 << k); MXL_ControlWrite_Group()
3531 if (controlNum == state->CH_Ctrl[i].Ctrl_Num) { MXL_ControlRead()
3534 for (k = 0; k < state->CH_Ctrl[i].size; k++) MXL_ControlRead()
3535 ctrlVal += state->CH_Ctrl[i].val[k] * (1 << k); MXL_ControlRead()

Completed in 101 milliseconds