Lines Matching refs:bit
237 u16 bit[25]; /* Array of bit pos in Reg Addr for each bit pos */ member
301 static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit,
730 state->Init_Ctrl[0].bit[0] = 7; in MXL5005_ControlInit()
736 state->Init_Ctrl[1].bit[0] = 2; in MXL5005_ControlInit()
742 state->Init_Ctrl[2].bit[0] = 1; in MXL5005_ControlInit()
745 state->Init_Ctrl[2].bit[1] = 0; in MXL5005_ControlInit()
751 state->Init_Ctrl[3].bit[0] = 0; in MXL5005_ControlInit()
757 state->Init_Ctrl[4].bit[0] = 5; in MXL5005_ControlInit()
760 state->Init_Ctrl[4].bit[1] = 6; in MXL5005_ControlInit()
763 state->Init_Ctrl[4].bit[2] = 7; in MXL5005_ControlInit()
769 state->Init_Ctrl[5].bit[0] = 0; in MXL5005_ControlInit()
775 state->Init_Ctrl[6].bit[0] = 3; in MXL5005_ControlInit()
778 state->Init_Ctrl[6].bit[1] = 4; in MXL5005_ControlInit()
784 state->Init_Ctrl[7].bit[0] = 4; in MXL5005_ControlInit()
787 state->Init_Ctrl[7].bit[1] = 5; in MXL5005_ControlInit()
790 state->Init_Ctrl[7].bit[2] = 6; in MXL5005_ControlInit()
793 state->Init_Ctrl[7].bit[3] = 7; in MXL5005_ControlInit()
799 state->Init_Ctrl[8].bit[0] = 2; in MXL5005_ControlInit()
805 state->Init_Ctrl[9].bit[0] = 0; in MXL5005_ControlInit()
808 state->Init_Ctrl[9].bit[1] = 1; in MXL5005_ControlInit()
811 state->Init_Ctrl[9].bit[2] = 2; in MXL5005_ControlInit()
814 state->Init_Ctrl[9].bit[3] = 3; in MXL5005_ControlInit()
820 state->Init_Ctrl[10].bit[0] = 4; in MXL5005_ControlInit()
823 state->Init_Ctrl[10].bit[1] = 5; in MXL5005_ControlInit()
826 state->Init_Ctrl[10].bit[2] = 6; in MXL5005_ControlInit()
829 state->Init_Ctrl[10].bit[3] = 7; in MXL5005_ControlInit()
835 state->Init_Ctrl[11].bit[0] = 3; in MXL5005_ControlInit()
838 state->Init_Ctrl[11].bit[1] = 4; in MXL5005_ControlInit()
841 state->Init_Ctrl[11].bit[2] = 5; in MXL5005_ControlInit()
844 state->Init_Ctrl[11].bit[3] = 6; in MXL5005_ControlInit()
847 state->Init_Ctrl[11].bit[4] = 7; in MXL5005_ControlInit()
853 state->Init_Ctrl[12].bit[0] = 2; in MXL5005_ControlInit()
856 state->Init_Ctrl[12].bit[1] = 3; in MXL5005_ControlInit()
859 state->Init_Ctrl[12].bit[2] = 4; in MXL5005_ControlInit()
862 state->Init_Ctrl[12].bit[3] = 5; in MXL5005_ControlInit()
865 state->Init_Ctrl[12].bit[4] = 6; in MXL5005_ControlInit()
868 state->Init_Ctrl[12].bit[5] = 7; in MXL5005_ControlInit()
874 state->Init_Ctrl[13].bit[0] = 0; in MXL5005_ControlInit()
877 state->Init_Ctrl[13].bit[1] = 1; in MXL5005_ControlInit()
880 state->Init_Ctrl[13].bit[2] = 2; in MXL5005_ControlInit()
883 state->Init_Ctrl[13].bit[3] = 3; in MXL5005_ControlInit()
886 state->Init_Ctrl[13].bit[4] = 4; in MXL5005_ControlInit()
889 state->Init_Ctrl[13].bit[5] = 5; in MXL5005_ControlInit()
892 state->Init_Ctrl[13].bit[6] = 6; in MXL5005_ControlInit()
898 state->Init_Ctrl[14].bit[0] = 0; in MXL5005_ControlInit()
901 state->Init_Ctrl[14].bit[1] = 1; in MXL5005_ControlInit()
904 state->Init_Ctrl[14].bit[2] = 2; in MXL5005_ControlInit()
907 state->Init_Ctrl[14].bit[3] = 3; in MXL5005_ControlInit()
910 state->Init_Ctrl[14].bit[4] = 4; in MXL5005_ControlInit()
913 state->Init_Ctrl[14].bit[5] = 5; in MXL5005_ControlInit()
916 state->Init_Ctrl[14].bit[6] = 6; in MXL5005_ControlInit()
919 state->Init_Ctrl[14].bit[7] = 7; in MXL5005_ControlInit()
922 state->Init_Ctrl[14].bit[8] = 0; in MXL5005_ControlInit()
925 state->Init_Ctrl[14].bit[9] = 1; in MXL5005_ControlInit()
928 state->Init_Ctrl[14].bit[10] = 2; in MXL5005_ControlInit()
931 state->Init_Ctrl[14].bit[11] = 3; in MXL5005_ControlInit()
934 state->Init_Ctrl[14].bit[12] = 4; in MXL5005_ControlInit()
937 state->Init_Ctrl[14].bit[13] = 5; in MXL5005_ControlInit()
940 state->Init_Ctrl[14].bit[14] = 6; in MXL5005_ControlInit()
943 state->Init_Ctrl[14].bit[15] = 7; in MXL5005_ControlInit()
949 state->Init_Ctrl[15].bit[0] = 2; in MXL5005_ControlInit()
952 state->Init_Ctrl[15].bit[1] = 3; in MXL5005_ControlInit()
955 state->Init_Ctrl[15].bit[2] = 4; in MXL5005_ControlInit()
961 state->Init_Ctrl[16].bit[0] = 0; in MXL5005_ControlInit()
964 state->Init_Ctrl[16].bit[1] = 1; in MXL5005_ControlInit()
970 state->Init_Ctrl[17].bit[0] = 7; in MXL5005_ControlInit()
976 state->Init_Ctrl[18].bit[0] = 6; in MXL5005_ControlInit()
982 state->Init_Ctrl[19].bit[0] = 0; in MXL5005_ControlInit()
988 state->Init_Ctrl[20].bit[0] = 5; in MXL5005_ControlInit()
994 state->Init_Ctrl[21].bit[0] = 4; in MXL5005_ControlInit()
1000 state->Init_Ctrl[22].bit[0] = 7; in MXL5005_ControlInit()
1006 state->Init_Ctrl[23].bit[0] = 5; in MXL5005_ControlInit()
1012 state->Init_Ctrl[24].bit[0] = 0; in MXL5005_ControlInit()
1018 state->Init_Ctrl[25].bit[0] = 0; in MXL5005_ControlInit()
1021 state->Init_Ctrl[25].bit[1] = 1; in MXL5005_ControlInit()
1027 state->Init_Ctrl[26].bit[0] = 2; in MXL5005_ControlInit()
1033 state->Init_Ctrl[27].bit[0] = 3; in MXL5005_ControlInit()
1039 state->Init_Ctrl[28].bit[0] = 7; in MXL5005_ControlInit()
1045 state->Init_Ctrl[29].bit[0] = 7; in MXL5005_ControlInit()
1051 state->Init_Ctrl[30].bit[0] = 0; in MXL5005_ControlInit()
1054 state->Init_Ctrl[30].bit[1] = 1; in MXL5005_ControlInit()
1057 state->Init_Ctrl[30].bit[2] = 2; in MXL5005_ControlInit()
1063 state->Init_Ctrl[31].bit[0] = 3; in MXL5005_ControlInit()
1066 state->Init_Ctrl[31].bit[1] = 4; in MXL5005_ControlInit()
1069 state->Init_Ctrl[31].bit[2] = 5; in MXL5005_ControlInit()
1075 state->Init_Ctrl[32].bit[0] = 0; in MXL5005_ControlInit()
1078 state->Init_Ctrl[32].bit[1] = 1; in MXL5005_ControlInit()
1081 state->Init_Ctrl[32].bit[2] = 2; in MXL5005_ControlInit()
1087 state->Init_Ctrl[33].bit[0] = 0; in MXL5005_ControlInit()
1090 state->Init_Ctrl[33].bit[1] = 1; in MXL5005_ControlInit()
1093 state->Init_Ctrl[33].bit[2] = 2; in MXL5005_ControlInit()
1096 state->Init_Ctrl[33].bit[3] = 3; in MXL5005_ControlInit()
1102 state->Init_Ctrl[34].bit[0] = 4; in MXL5005_ControlInit()
1105 state->Init_Ctrl[34].bit[1] = 5; in MXL5005_ControlInit()
1108 state->Init_Ctrl[34].bit[2] = 6; in MXL5005_ControlInit()
1111 state->Init_Ctrl[34].bit[3] = 7; in MXL5005_ControlInit()
1117 state->Init_Ctrl[35].bit[0] = 0; in MXL5005_ControlInit()
1123 state->Init_Ctrl[36].bit[0] = 3; in MXL5005_ControlInit()
1129 state->Init_Ctrl[37].bit[0] = 1; in MXL5005_ControlInit()
1132 state->Init_Ctrl[37].bit[1] = 2; in MXL5005_ControlInit()
1135 state->Init_Ctrl[37].bit[2] = 3; in MXL5005_ControlInit()
1138 state->Init_Ctrl[37].bit[3] = 4; in MXL5005_ControlInit()
1141 state->Init_Ctrl[37].bit[4] = 5; in MXL5005_ControlInit()
1144 state->Init_Ctrl[37].bit[5] = 6; in MXL5005_ControlInit()
1147 state->Init_Ctrl[37].bit[6] = 7; in MXL5005_ControlInit()
1153 state->Init_Ctrl[38].bit[0] = 2; in MXL5005_ControlInit()
1156 state->Init_Ctrl[38].bit[1] = 3; in MXL5005_ControlInit()
1159 state->Init_Ctrl[38].bit[2] = 4; in MXL5005_ControlInit()
1162 state->Init_Ctrl[38].bit[3] = 5; in MXL5005_ControlInit()
1165 state->Init_Ctrl[38].bit[4] = 6; in MXL5005_ControlInit()
1168 state->Init_Ctrl[38].bit[5] = 7; in MXL5005_ControlInit()
1174 state->Init_Ctrl[39].bit[0] = 3; in MXL5005_ControlInit()
1183 state->CH_Ctrl[0].bit[0] = 6; in MXL5005_ControlInit()
1186 state->CH_Ctrl[0].bit[1] = 7; in MXL5005_ControlInit()
1192 state->CH_Ctrl[1].bit[0] = 6; in MXL5005_ControlInit()
1195 state->CH_Ctrl[1].bit[1] = 7; in MXL5005_ControlInit()
1201 state->CH_Ctrl[2].bit[0] = 5; in MXL5005_ControlInit()
1204 state->CH_Ctrl[2].bit[1] = 6; in MXL5005_ControlInit()
1207 state->CH_Ctrl[2].bit[2] = 7; in MXL5005_ControlInit()
1210 state->CH_Ctrl[2].bit[3] = 0; in MXL5005_ControlInit()
1213 state->CH_Ctrl[2].bit[4] = 1; in MXL5005_ControlInit()
1216 state->CH_Ctrl[2].bit[5] = 2; in MXL5005_ControlInit()
1219 state->CH_Ctrl[2].bit[6] = 3; in MXL5005_ControlInit()
1222 state->CH_Ctrl[2].bit[7] = 4; in MXL5005_ControlInit()
1225 state->CH_Ctrl[2].bit[8] = 5; in MXL5005_ControlInit()
1231 state->CH_Ctrl[3].bit[0] = 5; in MXL5005_ControlInit()
1237 state->CH_Ctrl[4].bit[0] = 4; in MXL5005_ControlInit()
1240 state->CH_Ctrl[4].bit[1] = 5; in MXL5005_ControlInit()
1243 state->CH_Ctrl[4].bit[2] = 6; in MXL5005_ControlInit()
1249 state->CH_Ctrl[5].bit[0] = 0; in MXL5005_ControlInit()
1252 state->CH_Ctrl[5].bit[1] = 1; in MXL5005_ControlInit()
1255 state->CH_Ctrl[5].bit[2] = 2; in MXL5005_ControlInit()
1258 state->CH_Ctrl[5].bit[3] = 3; in MXL5005_ControlInit()
1264 state->CH_Ctrl[6].bit[0] = 4; in MXL5005_ControlInit()
1270 state->CH_Ctrl[7].bit[0] = 4; in MXL5005_ControlInit()
1276 state->CH_Ctrl[8].bit[0] = 7; in MXL5005_ControlInit()
1282 state->CH_Ctrl[9].bit[0] = 6; in MXL5005_ControlInit()
1288 state->CH_Ctrl[10].bit[0] = 5; in MXL5005_ControlInit()
1294 state->CH_Ctrl[11].bit[0] = 0; in MXL5005_ControlInit()
1297 state->CH_Ctrl[11].bit[1] = 1; in MXL5005_ControlInit()
1303 state->CH_Ctrl[12].bit[0] = 2; in MXL5005_ControlInit()
1306 state->CH_Ctrl[12].bit[1] = 3; in MXL5005_ControlInit()
1309 state->CH_Ctrl[12].bit[2] = 4; in MXL5005_ControlInit()
1315 state->CH_Ctrl[13].bit[0] = 2; in MXL5005_ControlInit()
1318 state->CH_Ctrl[13].bit[1] = 3; in MXL5005_ControlInit()
1321 state->CH_Ctrl[13].bit[2] = 4; in MXL5005_ControlInit()
1324 state->CH_Ctrl[13].bit[3] = 5; in MXL5005_ControlInit()
1327 state->CH_Ctrl[13].bit[4] = 6; in MXL5005_ControlInit()
1330 state->CH_Ctrl[13].bit[5] = 7; in MXL5005_ControlInit()
1336 state->CH_Ctrl[14].bit[0] = 0; in MXL5005_ControlInit()
1339 state->CH_Ctrl[14].bit[1] = 1; in MXL5005_ControlInit()
1342 state->CH_Ctrl[14].bit[2] = 2; in MXL5005_ControlInit()
1345 state->CH_Ctrl[14].bit[3] = 3; in MXL5005_ControlInit()
1348 state->CH_Ctrl[14].bit[4] = 4; in MXL5005_ControlInit()
1351 state->CH_Ctrl[14].bit[5] = 5; in MXL5005_ControlInit()
1354 state->CH_Ctrl[14].bit[6] = 6; in MXL5005_ControlInit()
1360 state->CH_Ctrl[15].bit[0] = 6; in MXL5005_ControlInit()
1363 state->CH_Ctrl[15].bit[1] = 7; in MXL5005_ControlInit()
1366 state->CH_Ctrl[15].bit[2] = 0; in MXL5005_ControlInit()
1369 state->CH_Ctrl[15].bit[3] = 1; in MXL5005_ControlInit()
1372 state->CH_Ctrl[15].bit[4] = 2; in MXL5005_ControlInit()
1375 state->CH_Ctrl[15].bit[5] = 3; in MXL5005_ControlInit()
1378 state->CH_Ctrl[15].bit[6] = 4; in MXL5005_ControlInit()
1381 state->CH_Ctrl[15].bit[7] = 5; in MXL5005_ControlInit()
1384 state->CH_Ctrl[15].bit[8] = 6; in MXL5005_ControlInit()
1387 state->CH_Ctrl[15].bit[9] = 7; in MXL5005_ControlInit()
1390 state->CH_Ctrl[15].bit[10] = 0; in MXL5005_ControlInit()
1393 state->CH_Ctrl[15].bit[11] = 1; in MXL5005_ControlInit()
1396 state->CH_Ctrl[15].bit[12] = 2; in MXL5005_ControlInit()
1399 state->CH_Ctrl[15].bit[13] = 3; in MXL5005_ControlInit()
1402 state->CH_Ctrl[15].bit[14] = 4; in MXL5005_ControlInit()
1405 state->CH_Ctrl[15].bit[15] = 5; in MXL5005_ControlInit()
1408 state->CH_Ctrl[15].bit[16] = 6; in MXL5005_ControlInit()
1411 state->CH_Ctrl[15].bit[17] = 7; in MXL5005_ControlInit()
1417 state->CH_Ctrl[16].bit[0] = 0; in MXL5005_ControlInit()
1420 state->CH_Ctrl[16].bit[1] = 1; in MXL5005_ControlInit()
1423 state->CH_Ctrl[16].bit[2] = 2; in MXL5005_ControlInit()
1426 state->CH_Ctrl[16].bit[3] = 3; in MXL5005_ControlInit()
1429 state->CH_Ctrl[16].bit[4] = 4; in MXL5005_ControlInit()
1435 state->CH_Ctrl[17].bit[0] = 7; in MXL5005_ControlInit()
1441 state->CH_Ctrl[18].bit[0] = 3; in MXL5005_ControlInit()
1444 state->CH_Ctrl[18].bit[1] = 4; in MXL5005_ControlInit()
1447 state->CH_Ctrl[18].bit[2] = 5; in MXL5005_ControlInit()
1450 state->CH_Ctrl[18].bit[3] = 6; in MXL5005_ControlInit()
1456 state->CH_Ctrl[19].bit[0] = 7; in MXL5005_ControlInit()
1459 state->CH_Ctrl[19].bit[1] = 0; in MXL5005_ControlInit()
1462 state->CH_Ctrl[19].bit[2] = 1; in MXL5005_ControlInit()
1468 state->CH_Ctrl[20].bit[0] = 2; in MXL5005_ControlInit()
1471 state->CH_Ctrl[20].bit[1] = 3; in MXL5005_ControlInit()
1474 state->CH_Ctrl[20].bit[2] = 4; in MXL5005_ControlInit()
1477 state->CH_Ctrl[20].bit[3] = 5; in MXL5005_ControlInit()
1480 state->CH_Ctrl[20].bit[4] = 6; in MXL5005_ControlInit()
1483 state->CH_Ctrl[20].bit[5] = 7; in MXL5005_ControlInit()
1486 state->CH_Ctrl[20].bit[6] = 0; in MXL5005_ControlInit()
1489 state->CH_Ctrl[20].bit[7] = 1; in MXL5005_ControlInit()
1492 state->CH_Ctrl[20].bit[8] = 2; in MXL5005_ControlInit()
1495 state->CH_Ctrl[20].bit[9] = 3; in MXL5005_ControlInit()
1498 state->CH_Ctrl[20].bit[10] = 4; in MXL5005_ControlInit()
1504 state->CH_Ctrl[21].bit[0] = 2; in MXL5005_ControlInit()
1507 state->CH_Ctrl[21].bit[1] = 3; in MXL5005_ControlInit()
1510 state->CH_Ctrl[21].bit[2] = 4; in MXL5005_ControlInit()
1513 state->CH_Ctrl[21].bit[3] = 5; in MXL5005_ControlInit()
1516 state->CH_Ctrl[21].bit[4] = 6; in MXL5005_ControlInit()
1519 state->CH_Ctrl[21].bit[5] = 7; in MXL5005_ControlInit()
1525 state->CH_Ctrl[22].bit[0] = 4; in MXL5005_ControlInit()
1531 state->CH_Ctrl[23].bit[0] = 5; in MXL5005_ControlInit()
1537 state->CH_Ctrl[24].bit[0] = 3; in MXL5005_ControlInit()
1543 state->CH_Ctrl[25].bit[0] = 7; in MXL5005_ControlInit()
1549 state->CH_Ctrl[26].bit[0] = 7; in MXL5005_ControlInit()
1555 state->CH_Ctrl[27].bit[0] = 7; in MXL5005_ControlInit()
1561 state->CH_Ctrl[28].bit[0] = 6; in MXL5005_ControlInit()
1567 state->CH_Ctrl[29].bit[0] = 5; in MXL5005_ControlInit()
1573 state->CH_Ctrl[30].bit[0] = 4; in MXL5005_ControlInit()
1579 state->CH_Ctrl[31].bit[0] = 3; in MXL5005_ControlInit()
1585 state->CH_Ctrl[32].bit[0] = 1; in MXL5005_ControlInit()
1591 state->CH_Ctrl[33].bit[0] = 0; in MXL5005_ControlInit()
1597 state->CH_Ctrl[34].bit[0] = 2; in MXL5005_ControlInit()
1600 state->CH_Ctrl[34].bit[1] = 3; in MXL5005_ControlInit()
1603 state->CH_Ctrl[34].bit[2] = 4; in MXL5005_ControlInit()
1606 state->CH_Ctrl[34].bit[3] = 5; in MXL5005_ControlInit()
1609 state->CH_Ctrl[34].bit[4] = 6; in MXL5005_ControlInit()
1612 state->CH_Ctrl[34].bit[5] = 7; in MXL5005_ControlInit()
1618 state->CH_Ctrl[35].bit[0] = 2; in MXL5005_ControlInit()
1621 state->CH_Ctrl[35].bit[1] = 3; in MXL5005_ControlInit()
1624 state->CH_Ctrl[35].bit[2] = 4; in MXL5005_ControlInit()
1627 state->CH_Ctrl[35].bit[3] = 5; in MXL5005_ControlInit()
1630 state->CH_Ctrl[35].bit[4] = 6; in MXL5005_ControlInit()
1633 state->CH_Ctrl[35].bit[5] = 7; in MXL5005_ControlInit()
1640 state->CH_Ctrl[36].bit[0] = 1; in MXL5005_ControlInit()
1646 state->CH_Ctrl[37].bit[0] = 5; in MXL5005_ControlInit()
1649 state->CH_Ctrl[37].bit[1] = 6; in MXL5005_ControlInit()
1655 state->CH_Ctrl[38].bit[0] = 1; in MXL5005_ControlInit()
3434 (u8)(state->Init_Ctrl[i].bit[j]), in MXL_ControlWrite_Group()
3456 (u8)(state->CH_Ctrl[i].bit[j]), in MXL_ControlWrite_Group()
3479 (u8)(state->MXL_Ctrl[i].bit[j]), in MXL_ControlWrite_Group()
3559 static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit, in MXL_RegWriteBit() argument
3576 state->TunerRegs[i].Reg_Val |= OR_MAP[bit]; in MXL_RegWriteBit()
3578 state->TunerRegs[i].Reg_Val &= AND_MAP[bit]; in MXL_RegWriteBit()