Lines Matching refs:args

193 	u8 args[CX24117_ARGLEN];  member
302 memcpy(&buf[1], cmd->args, cmd->len); in cx24117_writecmd()
643 cmd.args[0] = CMD_DEMODINIT; in cx24117_load_firmware()
644 cmd.args[1] = 0x00; in cx24117_load_firmware()
645 cmd.args[2] = 0x01; in cx24117_load_firmware()
646 cmd.args[3] = 0x00; in cx24117_load_firmware()
653 cmd.args[0] = CMD_SET_VCOFREQ; in cx24117_load_firmware()
654 cmd.args[1] = 0x06; in cx24117_load_firmware()
655 cmd.args[2] = 0x2b; in cx24117_load_firmware()
656 cmd.args[3] = 0xd8; in cx24117_load_firmware()
657 cmd.args[4] = 0xa5; in cx24117_load_firmware()
658 cmd.args[5] = 0xee; in cx24117_load_firmware()
659 cmd.args[6] = 0x03; in cx24117_load_firmware()
660 cmd.args[7] = 0x9d; in cx24117_load_firmware()
661 cmd.args[8] = 0xfc; in cx24117_load_firmware()
662 cmd.args[9] = 0x06; in cx24117_load_firmware()
663 cmd.args[10] = 0x02; in cx24117_load_firmware()
664 cmd.args[11] = 0x9d; in cx24117_load_firmware()
665 cmd.args[12] = 0xfc; in cx24117_load_firmware()
672 cmd.args[0] = CMD_TUNERINIT; in cx24117_load_firmware()
673 cmd.args[1] = 0x00; in cx24117_load_firmware()
674 cmd.args[2] = 0x01; in cx24117_load_firmware()
675 cmd.args[3] = 0x00; in cx24117_load_firmware()
676 cmd.args[4] = 0x00; in cx24117_load_firmware()
677 cmd.args[5] = 0x01; in cx24117_load_firmware()
678 cmd.args[6] = 0x01; in cx24117_load_firmware()
679 cmd.args[7] = 0x01; in cx24117_load_firmware()
680 cmd.args[8] = 0x00; in cx24117_load_firmware()
681 cmd.args[9] = 0x05; in cx24117_load_firmware()
682 cmd.args[10] = 0x02; in cx24117_load_firmware()
683 cmd.args[11] = 0x02; in cx24117_load_firmware()
684 cmd.args[12] = 0x00; in cx24117_load_firmware()
691 cmd.args[0] = CMD_GLOBAL_MPEGCFG; in cx24117_load_firmware()
692 cmd.args[1] = 0x00; in cx24117_load_firmware()
693 cmd.args[2] = 0x00; in cx24117_load_firmware()
694 cmd.args[3] = 0x00; in cx24117_load_firmware()
695 cmd.args[4] = 0x01; in cx24117_load_firmware()
696 cmd.args[5] = 0x00; in cx24117_load_firmware()
704 cmd.args[0] = CMD_MPEGCFG; in cx24117_load_firmware()
705 cmd.args[1] = (u8) i; in cx24117_load_firmware()
706 cmd.args[2] = 0x00; in cx24117_load_firmware()
707 cmd.args[3] = 0x05; in cx24117_load_firmware()
708 cmd.args[4] = 0x00; in cx24117_load_firmware()
709 cmd.args[5] = 0x00; in cx24117_load_firmware()
710 cmd.args[6] = 0x55; in cx24117_load_firmware()
711 cmd.args[7] = 0x00; in cx24117_load_firmware()
723 cmd.args[0] = CMD_FWVERSION; in cx24117_load_firmware()
726 cmd.args[1] = i; in cx24117_load_firmware()
803 cmd.args[0] = CMD_GET_AGCACC; in cx24117_read_signal_strength()
804 cmd.args[1] = (u8) state->demod; in cx24117_read_signal_strength()
923 cmd.args[0] = CMD_SET_GPIOOUT; in cx24117_set_voltage()
924 cmd.args[2] = reg; /* mask */ in cx24117_set_voltage()
930 cmd.args[1] = reg; in cx24117_set_voltage()
943 cmd.args[0] = CMD_LNBDCLEVEL; in cx24117_set_voltage()
944 cmd.args[1] = state->demod ? 0 : 1; in cx24117_set_voltage()
945 cmd.args[2] = (voltage == SEC_VOLTAGE_18 ? 0x01 : 0x00); in cx24117_set_voltage()
953 cmd.args[1] = 0x00; in cx24117_set_voltage()
984 cmd.args[0] = CMD_LNBPCBCONFIG; in cx24117_set_tone()
985 cmd.args[1] = (state->demod ? 0 : 1); in cx24117_set_tone()
986 cmd.args[2] = 0x00; in cx24117_set_tone()
987 cmd.args[3] = 0x00; in cx24117_set_tone()
991 cmd.args[4] = 0x01; in cx24117_set_tone()
994 cmd.args[4] = 0x00; in cx24117_set_tone()
1009 state->dsec_cmd.args[0] = CMD_LNBSEND; in cx24117_diseqc_init()
1012 state->dsec_cmd.args[CX24117_DISEQC_DEMOD] = state->demod ? 0 : 1; in cx24117_diseqc_init()
1015 state->dsec_cmd.args[CX24117_DISEQC_BURST] = CX24117_DISEQC_MINI_A; in cx24117_diseqc_init()
1018 state->dsec_cmd.args[CX24117_DISEQC_ARG3_2] = 0x02; in cx24117_diseqc_init()
1019 state->dsec_cmd.args[CX24117_DISEQC_ARG4_0] = 0x00; in cx24117_diseqc_init()
1022 state->dsec_cmd.args[CX24117_DISEQC_ARG5_0] = 0x00; in cx24117_diseqc_init()
1025 state->dsec_cmd.args[CX24117_DISEQC_MSGLEN] = 0x00; in cx24117_diseqc_init()
1053 state->dsec_cmd.args[CX24117_DISEQC_MSGOFS + i] = d->msg[i]; in cx24117_send_diseqc_msg()
1056 state->dsec_cmd.args[CX24117_DISEQC_MSGLEN] = d->msg_len; in cx24117_send_diseqc_msg()
1060 state->dsec_cmd.args[CX24117_DISEQC_MSGLEN]; in cx24117_send_diseqc_msg()
1081 state->dsec_cmd.args[CX24117_DISEQC_BURST] = in cx24117_send_diseqc_msg()
1086 state->dsec_cmd.args[CX24117_DISEQC_BURST]); in cx24117_send_diseqc_msg()
1110 msleep((state->dsec_cmd.args[CX24117_DISEQC_MSGLEN] << 4) + 60); in cx24117_send_diseqc_msg()
1126 state->dsec_cmd.args[CX24117_DISEQC_BURST] = in cx24117_diseqc_send_burst()
1129 state->dsec_cmd.args[CX24117_DISEQC_BURST] = in cx24117_diseqc_send_burst()
1239 cmd.args[0] = CMD_SET_SLEEPMODE; in cx24117_initfe()
1240 cmd.args[1] = (state->demod ? 1 : 0); in cx24117_initfe()
1241 cmd.args[2] = 0; in cx24117_initfe()
1252 cmd.args[0] = CMD_BERCTRL; in cx24117_initfe()
1253 cmd.args[1] = (state->demod ? 1 : 0); in cx24117_initfe()
1254 cmd.args[2] = 0x10; in cx24117_initfe()
1255 cmd.args[3] = 0x10; in cx24117_initfe()
1262 cmd.args[0] = CMD_ENABLERSCORR; in cx24117_initfe()
1263 cmd.args[1] = (state->demod ? 1 : 0); in cx24117_initfe()
1264 cmd.args[2] = CX24117_OCC; in cx24117_initfe()
1272 cmd.args[0] = CMD_SET_GPIODIR; in cx24117_initfe()
1273 cmd.args[1] = 0x30; in cx24117_initfe()
1274 cmd.args[2] = 0x30; in cx24117_initfe()
1296 cmd.args[0] = CMD_SET_SLEEPMODE; in cx24117_sleep()
1297 cmd.args[1] = (state->demod ? 1 : 0); in cx24117_sleep()
1298 cmd.args[2] = 1; in cx24117_sleep()
1446 cmd.args[0] = CMD_TUNEREQUEST; in cx24117_set_frontend()
1449 cmd.args[1] = state->demod; in cx24117_set_frontend()
1452 cmd.args[2] = (state->dcur.frequency & 0xff0000) >> 16; in cx24117_set_frontend()
1453 cmd.args[3] = (state->dcur.frequency & 0x00ff00) >> 8; in cx24117_set_frontend()
1454 cmd.args[4] = (state->dcur.frequency & 0x0000ff); in cx24117_set_frontend()
1457 cmd.args[5] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; in cx24117_set_frontend()
1458 cmd.args[6] = ((state->dcur.symbol_rate / 1000) & 0x00ff); in cx24117_set_frontend()
1461 cmd.args[7] = state->dcur.inversion_val; in cx24117_set_frontend()
1464 cmd.args[8] = state->dcur.fec_val | state->dcur.pilot_val; in cx24117_set_frontend()
1466 cmd.args[9] = CX24117_SEARCH_RANGE_KHZ >> 8; in cx24117_set_frontend()
1467 cmd.args[10] = CX24117_SEARCH_RANGE_KHZ & 0xff; in cx24117_set_frontend()
1469 cmd.args[11] = state->dcur.rolloff_val; in cx24117_set_frontend()
1470 cmd.args[12] = state->dcur.fec_mask; in cx24117_set_frontend()
1483 cmd.args[13] = reg_ratediv; in cx24117_set_frontend()
1484 cmd.args[14] = reg_clkdiv; in cx24117_set_frontend()
1491 cmd.args[15] = CX24117_PNE; in cx24117_set_frontend()
1535 cmd.args[11]--; in cx24117_set_frontend()
1576 cmd.args[0] = CMD_GETCTLACC; in cx24117_get_frontend()
1577 cmd.args[1] = (u8) state->demod; in cx24117_get_frontend()