Searched refs:freq_idx (Results 1 – 3 of 3) sorted by relevance
111 int freq_idx; member166 static u32 sso_led_get_freq_src(int freq_idx) in sso_led_get_freq_src() argument168 if (freq_idx < MAX_FPID_FREQ_RANK) in sso_led_get_freq_src()170 else if (freq_idx < MAX_GPTC_FREQ_RANK) in sso_led_get_freq_src()192 static void sso_led_freq_set(struct sso_led_priv *priv, u32 pin, int freq_idx) in sso_led_freq_set() argument198 if (!freq_idx) in sso_led_freq_set()202 freq_src = sso_led_get_freq_src(freq_idx); in sso_led_freq_set()213 val_freq = freq_idx - 1; in sso_led_freq_set()215 val_freq = freq_idx - MAX_FPID_FREQ_RANK; in sso_led_freq_set()279 int freq_idx; in delay_to_freq_idx() local[all …]
1588 int freq_idx; in cs4215_prepare() local1592 for (freq_idx = 0; CS4215_FREQ[freq_idx].freq != 0; freq_idx++) { in cs4215_prepare()1593 if (CS4215_FREQ[freq_idx].freq == rate) in cs4215_prepare()1596 if (CS4215_FREQ[freq_idx].freq != rate) { in cs4215_prepare()1624 dbri->mm.ctrl[1] |= CS4215_FREQ[freq_idx].csval; in cs4215_prepare()1626 CS4215_BSEL_128 | CS4215_FREQ[freq_idx].xtal; in cs4215_prepare()
2334 int freq_idx; in mt7615_mcu_apply_rx_dcoc() local2347 freq_idx = mt7615_dcoc_freq_idx(center_freq, chandef->width); in mt7615_mcu_apply_rx_dcoc()2348 if (freq_idx < 0) in mt7615_mcu_apply_rx_dcoc()2352 freq_idx * MT7615_EEPROM_DCOC_SIZE, in mt7615_mcu_apply_rx_dcoc()2455 int freq_idx; in mt7615_mcu_apply_tx_dpd() local2468 freq_idx = mt7615_dpd_freq_idx(center_freq, chandef->width); in mt7615_mcu_apply_tx_dpd()2469 if (freq_idx < 0) in mt7615_mcu_apply_tx_dpd()2473 freq_idx * MT7615_EEPROM_TXDPD_SIZE, in mt7615_mcu_apply_tx_dpd()