Home
last modified time | relevance | path

Searched refs:mic_offset (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/sound/soc/atmel/
Datmel-pdmic.c23 s32 mic_offset; member
85 if (of_property_read_s32(np, "atmel,mic-offset", &pdata->mic_offset)) in atmel_pdmic_dt_init()
86 pdata->mic_offset = 0; in atmel_pdmic_dt_init()
88 if (pdata->mic_offset > PDMIC_OFFSET_MAX_VAL) { in atmel_pdmic_dt_init()
91 pdata->mic_offset, PDMIC_OFFSET_MAX_VAL); in atmel_pdmic_dt_init()
92 pdata->mic_offset = PDMIC_OFFSET_MAX_VAL; in atmel_pdmic_dt_init()
93 } else if (pdata->mic_offset < PDMIC_OFFSET_MIN_VAL) { in atmel_pdmic_dt_init()
96 pdata->mic_offset, PDMIC_OFFSET_MIN_VAL); in atmel_pdmic_dt_init()
97 pdata->mic_offset = PDMIC_OFFSET_MIN_VAL; in atmel_pdmic_dt_init()
347 (u32)(dd->pdata->mic_offset << PDMIC_DSPR1_OFFSET_SHIFT)); in atmel_pdmic_component_probe()
/linux-5.19.10/drivers/net/wireless/st/cw1200/
Dsta.c745 size_t mic_offset = in cw1200_set_key() local
752 &key->key[mic_offset], 8); in cw1200_set_key()