Lines Matching refs:arg
166 u8 arg[CX24120_MAX_CMD_LEN]; member
391 cx24120_writeregs(state, CX24120_REG_CMD_ARGS, &cmd->arg[0], in cx24120_message_send()
429 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv()
455 cmd.arg[0] = 0x01; in cx24120_msg_mpeg_output_global_config()
456 cmd.arg[1] = 0x00; in cx24120_msg_mpeg_output_global_config()
457 cmd.arg[2] = enable ? 0 : (u8)(-1); in cx24120_msg_mpeg_output_global_config()
458 cmd.arg[3] = 0x01; in cx24120_msg_mpeg_output_global_config()
482 cmd.arg[0] = seq; /* sequental number - can be 0,1,2 */ in cx24120_msg_mpeg_output_config()
483 cmd.arg[1] = ((i.x1 & 0x01) << 1) | ((i.x1 >> 1) & 0x01); in cx24120_msg_mpeg_output_config()
484 cmd.arg[2] = 0x05; in cx24120_msg_mpeg_output_config()
485 cmd.arg[3] = 0x02; in cx24120_msg_mpeg_output_config()
486 cmd.arg[4] = ((i.x2 >> 1) & 0x01); in cx24120_msg_mpeg_output_config()
487 cmd.arg[5] = (i.x2 & 0xf0) | (i.x3 & 0x0f); in cx24120_msg_mpeg_output_config()
488 cmd.arg[6] = 0x10; in cx24120_msg_mpeg_output_config()
510 cmd.arg[0] = 0x00; in cx24120_diseqc_send_burst()
511 cmd.arg[1] = (burst == SEC_MINI_B) ? 0x01 : 0x00; in cx24120_diseqc_send_burst()
530 cmd.arg[0] = 0x00; in cx24120_set_tone()
531 cmd.arg[1] = 0x00; in cx24120_set_tone()
532 cmd.arg[2] = 0x00; in cx24120_set_tone()
533 cmd.arg[3] = (tone == SEC_TONE_ON) ? 0x01 : 0x00; in cx24120_set_tone()
548 cmd.arg[0] = 0x00; in cx24120_set_voltage()
549 cmd.arg[1] = (voltage == SEC_VOLTAGE_18) ? 0x01 : 0x00; in cx24120_set_voltage()
565 cmd.arg[0] = 0x00; in cx24120_send_diseqc_msg()
566 cmd.arg[1] = 0x00; in cx24120_send_diseqc_msg()
567 cmd.arg[2] = 0x03; in cx24120_send_diseqc_msg()
568 cmd.arg[3] = 0x16; in cx24120_send_diseqc_msg()
569 cmd.arg[4] = 0x28; in cx24120_send_diseqc_msg()
570 cmd.arg[5] = 0x01; in cx24120_send_diseqc_msg()
571 cmd.arg[6] = 0x01; in cx24120_send_diseqc_msg()
572 cmd.arg[7] = 0x14; in cx24120_send_diseqc_msg()
573 cmd.arg[8] = 0x19; in cx24120_send_diseqc_msg()
574 cmd.arg[9] = 0x14; in cx24120_send_diseqc_msg()
575 cmd.arg[10] = 0x1e; in cx24120_send_diseqc_msg()
584 cmd.arg[0] = 0x00; in cx24120_send_diseqc_msg()
585 cmd.arg[1] = 0x01; in cx24120_send_diseqc_msg()
586 cmd.arg[2] = 0x02; in cx24120_send_diseqc_msg()
587 cmd.arg[3] = 0x00; in cx24120_send_diseqc_msg()
588 cmd.arg[4] = 0x00; in cx24120_send_diseqc_msg()
589 cmd.arg[5] = d->msg_len; in cx24120_send_diseqc_msg()
591 memcpy(&cmd.arg[6], &d->msg, d->msg_len); in cx24120_send_diseqc_msg()
627 cmd.arg[0] = 0x00; in cx24120_get_stats()
955 cmd.arg[0] = 0x00; in cx24120_set_clock_ratios()
962 cmd.arg[2] | (cmd.arg[1] << 8) | (cmd.arg[0] << 16), in cx24120_set_clock_ratios()
963 cmd.arg[5] | (cmd.arg[4] << 8) | (cmd.arg[3] << 16), in cx24120_set_clock_ratios()
972 cmd.arg[0] = 0; in cx24120_set_clock_ratios()
973 cmd.arg[1] = 0x10; in cx24120_set_clock_ratios()
974 cmd.arg[2] = (clock_ratios_table[idx].m_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
975 cmd.arg[3] = (clock_ratios_table[idx].m_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
976 cmd.arg[4] = (clock_ratios_table[idx].m_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
977 cmd.arg[5] = (clock_ratios_table[idx].n_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
978 cmd.arg[6] = (clock_ratios_table[idx].n_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
979 cmd.arg[7] = (clock_ratios_table[idx].n_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
980 cmd.arg[8] = (clock_ratios_table[idx].rate >> 8) & 0xff; in cx24120_set_clock_ratios()
981 cmd.arg[9] = (clock_ratios_table[idx].rate >> 0) & 0xff; in cx24120_set_clock_ratios()
1211 cmd.arg[0] = 0; in cx24120_set_frontend()
1212 cmd.arg[1] = (state->dcur.frequency & 0xff0000) >> 16; in cx24120_set_frontend()
1213 cmd.arg[2] = (state->dcur.frequency & 0x00ff00) >> 8; in cx24120_set_frontend()
1214 cmd.arg[3] = (state->dcur.frequency & 0x0000ff); in cx24120_set_frontend()
1215 cmd.arg[4] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; in cx24120_set_frontend()
1216 cmd.arg[5] = ((state->dcur.symbol_rate / 1000) & 0x00ff); in cx24120_set_frontend()
1217 cmd.arg[6] = state->dcur.inversion; in cx24120_set_frontend()
1218 cmd.arg[7] = state->dcur.fec_val | state->dcur.pilot_val; in cx24120_set_frontend()
1219 cmd.arg[8] = CX24120_SEARCH_RANGE_KHZ >> 8; in cx24120_set_frontend()
1220 cmd.arg[9] = CX24120_SEARCH_RANGE_KHZ & 0xff; in cx24120_set_frontend()
1221 cmd.arg[10] = 0; /* maybe rolloff? */ in cx24120_set_frontend()
1222 cmd.arg[11] = state->dcur.fec_mask; in cx24120_set_frontend()
1223 cmd.arg[12] = state->dcur.ratediv; in cx24120_set_frontend()
1224 cmd.arg[13] = state->dcur.clkdiv; in cx24120_set_frontend()
1225 cmd.arg[14] = 0; in cx24120_set_frontend()
1259 cmd.arg[0] = (vco >> 16) & 0xff; in cx24120_set_vco()
1260 cmd.arg[1] = (vco >> 8) & 0xff; in cx24120_set_vco()
1261 cmd.arg[2] = vco & 0xff; in cx24120_set_vco()
1262 cmd.arg[3] = (inv_vco >> 8) & 0xff; in cx24120_set_vco()
1263 cmd.arg[4] = (inv_vco) & 0xff; in cx24120_set_vco()
1264 cmd.arg[5] = 0x03; in cx24120_set_vco()
1265 cmd.arg[6] = (nxtal_khz >> 8) & 0xff; in cx24120_set_vco()
1266 cmd.arg[7] = nxtal_khz & 0xff; in cx24120_set_vco()
1267 cmd.arg[8] = 0x06; in cx24120_set_vco()
1268 cmd.arg[9] = 0x03; in cx24120_set_vco()
1269 cmd.arg[10] = (xtal_khz >> 16) & 0xff; in cx24120_set_vco()
1270 cmd.arg[11] = xtal_khz & 0xff; in cx24120_set_vco()
1377 cmd.arg[0] = 0x00; in cx24120_init()
1378 cmd.arg[1] = 0x00; in cx24120_init()
1379 cmd.arg[2] = 0x00; in cx24120_init()
1396 cmd.arg[0] = 0x00; in cx24120_init()
1397 cmd.arg[1] = 0x00; in cx24120_init()
1398 cmd.arg[2] = 0x00; in cx24120_init()
1399 cmd.arg[3] = 0x00; in cx24120_init()
1400 cmd.arg[4] = 0x05; in cx24120_init()
1401 cmd.arg[5] = 0x02; in cx24120_init()
1402 cmd.arg[6] = 0x02; in cx24120_init()
1403 cmd.arg[7] = 0x00; in cx24120_init()
1404 cmd.arg[8] = 0x05; in cx24120_init()
1405 cmd.arg[9] = 0x02; in cx24120_init()
1406 cmd.arg[10] = 0x02; in cx24120_init()
1407 cmd.arg[11] = 0x00; in cx24120_init()
1436 cmd.arg[0] = 0x00; in cx24120_init()
1437 cmd.arg[1] = CX24120_BER_WINDOW; in cx24120_init()
1438 cmd.arg[2] = CX24120_BER_WINDOW; in cx24120_init()
1448 cmd.arg[0] = i; in cx24120_init()