• Home
  • Raw
  • Download

Lines Matching refs:arg

158 	u8 arg[CX24120_MAX_CMD_LEN];  member
384 cx24120_writeregs(state, CX24120_REG_CMD_ARGS, &cmd->arg[0], in cx24120_message_send()
422 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv()
448 cmd.arg[0] = 0x01; in cx24120_msg_mpeg_output_global_config()
449 cmd.arg[1] = 0x00; in cx24120_msg_mpeg_output_global_config()
450 cmd.arg[2] = enable ? 0 : (u8)(-1); in cx24120_msg_mpeg_output_global_config()
451 cmd.arg[3] = 0x01; in cx24120_msg_mpeg_output_global_config()
475 cmd.arg[0] = seq; /* sequental number - can be 0,1,2 */ in cx24120_msg_mpeg_output_config()
476 cmd.arg[1] = ((i.x1 & 0x01) << 1) | ((i.x1 >> 1) & 0x01); in cx24120_msg_mpeg_output_config()
477 cmd.arg[2] = 0x05; in cx24120_msg_mpeg_output_config()
478 cmd.arg[3] = 0x02; in cx24120_msg_mpeg_output_config()
479 cmd.arg[4] = ((i.x2 >> 1) & 0x01); in cx24120_msg_mpeg_output_config()
480 cmd.arg[5] = (i.x2 & 0xf0) | (i.x3 & 0x0f); in cx24120_msg_mpeg_output_config()
481 cmd.arg[6] = 0x10; in cx24120_msg_mpeg_output_config()
503 cmd.arg[0] = 0x00; in cx24120_diseqc_send_burst()
504 cmd.arg[1] = (burst == SEC_MINI_B) ? 0x01 : 0x00; in cx24120_diseqc_send_burst()
523 cmd.arg[0] = 0x00; in cx24120_set_tone()
524 cmd.arg[1] = 0x00; in cx24120_set_tone()
525 cmd.arg[2] = 0x00; in cx24120_set_tone()
526 cmd.arg[3] = (tone == SEC_TONE_ON) ? 0x01 : 0x00; in cx24120_set_tone()
541 cmd.arg[0] = 0x00; in cx24120_set_voltage()
542 cmd.arg[1] = (voltage == SEC_VOLTAGE_18) ? 0x01 : 0x00; in cx24120_set_voltage()
558 cmd.arg[0] = 0x00; in cx24120_send_diseqc_msg()
559 cmd.arg[1] = 0x00; in cx24120_send_diseqc_msg()
560 cmd.arg[2] = 0x03; in cx24120_send_diseqc_msg()
561 cmd.arg[3] = 0x16; in cx24120_send_diseqc_msg()
562 cmd.arg[4] = 0x28; in cx24120_send_diseqc_msg()
563 cmd.arg[5] = 0x01; in cx24120_send_diseqc_msg()
564 cmd.arg[6] = 0x01; in cx24120_send_diseqc_msg()
565 cmd.arg[7] = 0x14; in cx24120_send_diseqc_msg()
566 cmd.arg[8] = 0x19; in cx24120_send_diseqc_msg()
567 cmd.arg[9] = 0x14; in cx24120_send_diseqc_msg()
568 cmd.arg[10] = 0x1e; in cx24120_send_diseqc_msg()
577 cmd.arg[0] = 0x00; in cx24120_send_diseqc_msg()
578 cmd.arg[1] = 0x01; in cx24120_send_diseqc_msg()
579 cmd.arg[2] = 0x02; in cx24120_send_diseqc_msg()
580 cmd.arg[3] = 0x00; in cx24120_send_diseqc_msg()
581 cmd.arg[4] = 0x00; in cx24120_send_diseqc_msg()
582 cmd.arg[5] = d->msg_len; in cx24120_send_diseqc_msg()
584 memcpy(&cmd.arg[6], &d->msg, d->msg_len); in cx24120_send_diseqc_msg()
620 cmd.arg[0] = 0x00; in cx24120_get_stats()
948 cmd.arg[0] = 0x00; in cx24120_set_clock_ratios()
955 cmd.arg[2] | (cmd.arg[1] << 8) | (cmd.arg[0] << 16), in cx24120_set_clock_ratios()
956 cmd.arg[5] | (cmd.arg[4] << 8) | (cmd.arg[3] << 16), in cx24120_set_clock_ratios()
965 cmd.arg[0] = 0; in cx24120_set_clock_ratios()
966 cmd.arg[1] = 0x10; in cx24120_set_clock_ratios()
967 cmd.arg[2] = (clock_ratios_table[idx].m_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
968 cmd.arg[3] = (clock_ratios_table[idx].m_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
969 cmd.arg[4] = (clock_ratios_table[idx].m_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
970 cmd.arg[5] = (clock_ratios_table[idx].n_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
971 cmd.arg[6] = (clock_ratios_table[idx].n_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
972 cmd.arg[7] = (clock_ratios_table[idx].n_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
973 cmd.arg[8] = (clock_ratios_table[idx].rate >> 8) & 0xff; in cx24120_set_clock_ratios()
974 cmd.arg[9] = (clock_ratios_table[idx].rate >> 0) & 0xff; in cx24120_set_clock_ratios()
1205 cmd.arg[0] = 0; in cx24120_set_frontend()
1206 cmd.arg[1] = (state->dcur.frequency & 0xff0000) >> 16; in cx24120_set_frontend()
1207 cmd.arg[2] = (state->dcur.frequency & 0x00ff00) >> 8; in cx24120_set_frontend()
1208 cmd.arg[3] = (state->dcur.frequency & 0x0000ff); in cx24120_set_frontend()
1209 cmd.arg[4] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; in cx24120_set_frontend()
1210 cmd.arg[5] = ((state->dcur.symbol_rate / 1000) & 0x00ff); in cx24120_set_frontend()
1211 cmd.arg[6] = state->dcur.inversion; in cx24120_set_frontend()
1212 cmd.arg[7] = state->dcur.fec_val | state->dcur.pilot_val; in cx24120_set_frontend()
1213 cmd.arg[8] = CX24120_SEARCH_RANGE_KHZ >> 8; in cx24120_set_frontend()
1214 cmd.arg[9] = CX24120_SEARCH_RANGE_KHZ & 0xff; in cx24120_set_frontend()
1215 cmd.arg[10] = 0; /* maybe rolloff? */ in cx24120_set_frontend()
1216 cmd.arg[11] = state->dcur.fec_mask; in cx24120_set_frontend()
1217 cmd.arg[12] = state->dcur.ratediv; in cx24120_set_frontend()
1218 cmd.arg[13] = state->dcur.clkdiv; in cx24120_set_frontend()
1219 cmd.arg[14] = 0; in cx24120_set_frontend()
1253 cmd.arg[0] = (vco >> 16) & 0xff; in cx24120_set_vco()
1254 cmd.arg[1] = (vco >> 8) & 0xff; in cx24120_set_vco()
1255 cmd.arg[2] = vco & 0xff; in cx24120_set_vco()
1256 cmd.arg[3] = (inv_vco >> 8) & 0xff; in cx24120_set_vco()
1257 cmd.arg[4] = (inv_vco) & 0xff; in cx24120_set_vco()
1258 cmd.arg[5] = 0x03; in cx24120_set_vco()
1259 cmd.arg[6] = (nxtal_khz >> 8) & 0xff; in cx24120_set_vco()
1260 cmd.arg[7] = nxtal_khz & 0xff; in cx24120_set_vco()
1261 cmd.arg[8] = 0x06; in cx24120_set_vco()
1262 cmd.arg[9] = 0x03; in cx24120_set_vco()
1263 cmd.arg[10] = (xtal_khz >> 16) & 0xff; in cx24120_set_vco()
1264 cmd.arg[11] = xtal_khz & 0xff; in cx24120_set_vco()
1371 cmd.arg[0] = 0x00; in cx24120_init()
1372 cmd.arg[1] = 0x00; in cx24120_init()
1373 cmd.arg[2] = 0x00; in cx24120_init()
1390 cmd.arg[0] = 0x00; in cx24120_init()
1391 cmd.arg[1] = 0x00; in cx24120_init()
1392 cmd.arg[2] = 0x00; in cx24120_init()
1393 cmd.arg[3] = 0x00; in cx24120_init()
1394 cmd.arg[4] = 0x05; in cx24120_init()
1395 cmd.arg[5] = 0x02; in cx24120_init()
1396 cmd.arg[6] = 0x02; in cx24120_init()
1397 cmd.arg[7] = 0x00; in cx24120_init()
1398 cmd.arg[8] = 0x05; in cx24120_init()
1399 cmd.arg[9] = 0x02; in cx24120_init()
1400 cmd.arg[10] = 0x02; in cx24120_init()
1401 cmd.arg[11] = 0x00; in cx24120_init()
1430 cmd.arg[0] = 0x00; in cx24120_init()
1431 cmd.arg[1] = CX24120_BER_WINDOW; in cx24120_init()
1432 cmd.arg[2] = CX24120_BER_WINDOW; in cx24120_init()
1442 cmd.arg[0] = i; in cx24120_init()