Home
last modified time | relevance | path

Searched refs:freq_idx (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/leds/blink/
Dleds-lgm-sso.c111 int freq_idx; member
166 static u32 sso_led_get_freq_src(int freq_idx) in sso_led_get_freq_src() argument
168 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() argument
198 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 …]
/Linux-v6.6/sound/sparc/
Ddbri.c1588 int freq_idx; in cs4215_prepare() local
1592 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()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.c2334 int freq_idx; in mt7615_mcu_apply_rx_dcoc() local
2347 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() local
2468 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()