Searched refs:tone_idx (Results 1 – 3 of 3) sorted by relevance
1436 unsigned int tone_idx; in th_get_ctcss_tone() local1449 retval = sscanf(buf, "TN %d", (int *)&tone_idx); in th_get_ctcss_tone()1459 if (tone_idx == 0 || tone_idx == 2 || tone_idx > 39) in th_get_ctcss_tone()1462 __func__, tone_idx); in th_get_ctcss_tone()1466 tone_idx -= (tone_idx == 1) ? 1 : 2; /* Correct for TH-D7A index anomaly */ in th_get_ctcss_tone()1467 *tone = caps->ctcss_list[tone_idx]; in th_get_ctcss_tone()1514 unsigned int tone_idx; in th_get_ctcss_sql() local1537 if (tone_idx == 0 || tone_idx == 2 || tone_idx > 39) in th_get_ctcss_sql()1540 __func__, tone_idx); in th_get_ctcss_sql()1544 tone_idx -= (tone_idx == 1) ? 1 : 2; /* Correct for TH-7DA index anomaly */ in th_get_ctcss_sql()[all …]
3904 unsigned int tone_idx; in kenwood_get_ctcss_tone() local3956 tone_idx = atoi(tonebuf); in kenwood_get_ctcss_tone()3958 if (tone_idx == 0) in kenwood_get_ctcss_tone()3966 for (i = 0; i < tone_idx; i++) in kenwood_get_ctcss_tone()3971 __func__, tone_idx); in kenwood_get_ctcss_tone()3976 *tone = caps->ctcss_list[tone_idx - 1]; in kenwood_get_ctcss_tone()4044 unsigned int tone_idx; in kenwood_get_ctcss_sql() local4094 tone_idx = atoi(tonebuf + offs); in kenwood_get_ctcss_sql()4096 if (tone_idx == 0) in kenwood_get_ctcss_sql()4104 for (i = 0; i < tone_idx; i++) in kenwood_get_ctcss_sql()[all …]
2580 unsigned int tone_idx; in elad_get_ctcss_tone() local2627 tone_idx = atoi(tonebuf); in elad_get_ctcss_tone()2629 if (tone_idx == 0) in elad_get_ctcss_tone()2637 for (i = 0; i < tone_idx; i++) in elad_get_ctcss_tone()2642 __func__, tone_idx); in elad_get_ctcss_tone()2647 *tone = caps->ctcss_list[tone_idx - 1]; in elad_get_ctcss_tone()2715 unsigned int tone_idx; in elad_get_ctcss_sql() local2760 tone_idx = atoi(tonebuf + offs); in elad_get_ctcss_sql()2762 if (tone_idx == 0) in elad_get_ctcss_sql()2770 for (i = 0; i < tone_idx; i++) in elad_get_ctcss_sql()[all …]