Home
last modified time | relevance | path

Searched refs:mic (Results 1 – 25 of 127) sorted by relevance

123456

/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_mic.c122 if (mic->i80_mode) in mic_set_path()
238 if (!mic->enabled) in mic_post_disable()
244 mic->enabled = 0; in mic_post_disable()
268 if (mic->enabled) in mic_pre_enable()
288 mic->enabled = 1; in mic_pre_enable()
314 mic->bridge.driver_private = mic; in exynos_mic_bind()
325 if (!mic->enabled) in exynos_mic_unbind()
383 mic = devm_kzalloc(dev, sizeof(*mic), GFP_KERNEL); in exynos_mic_probe()
384 if (!mic) { in exynos_mic_probe()
391 mic->dev = dev; in exynos_mic_probe()
[all …]
/linux/Documentation/devicetree/bindings/sound/
A Dmt6359.yaml29 mediatek,mic-type-0:
32 Specifies the type of mic type connected to adc0
35 - 0 # IDLE - mic in turn-off status
36 - 1 # ACC - analog mic with alternating coupling
37 - 2 # DMIC - digital mic
38 - 3 # DCC - analog mic with direct couping
42 mediatek,mic-type-1:
45 Specifies the type of mic type connected to adc1
47 mediatek,mic-type-2:
50 Specifies the type of mic type connected to adc2
[all …]
A Datmel-pdmic.txt21 - atmel,mic-min-freq
23 - atmel,mic-max-freq
32 - atmel,mic-offset
52 atmel,mic-min-freq = <1000000>;
53 atmel,mic-max-freq = <3246000>;
54 atmel,mic-offset = <0x0>;
A Dtscs42xx.txt5 - compatible : "tempo,tscs42A1" for analog mic
6 "tempo,tscs42A2" for digital mic
8 - reg : <0x71> for analog mic
9 <0x69> for digital mic
A Dda7219.txt34 - dlg,mic-amp-in-sel : Mic input source type
51 - dlg,mic-det-thr : Impedance threshold for mic detection measurement (Ohms)
65 - dlg,c-mic-btn-thr : Impedance threshold between button C and Mic
95 dlg,mic-amp-in-sel = "diff";
99 dlg,mic-det-thr = <500>;
107 dlg,c-mic-btn-thr = <0x3E>;
A Dnvidia,tegra-audio-wm8903.txt30 - nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone
31 - nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone
56 nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */
57 nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */
/linux/drivers/xen/
A Dmcelog.c221 struct mcinfo_common *mic; in convert_log() local
227 mic = NULL; in convert_log()
229 if (unlikely(!mic)) { in convert_log()
263 mic = NULL; in convert_log()
265 if (unlikely(!mic)) { in convert_log()
271 if ((!mic) || (mic->size == 0) || in convert_log()
272 (mic->type != MC_TYPE_GLOBAL && in convert_log()
273 mic->type != MC_TYPE_BANK && in convert_log()
275 mic->type != MC_TYPE_RECOVERY)) in convert_log()
278 if (mic->type == MC_TYPE_BANK) { in convert_log()
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-class-mic11 What: /sys/class/mic/mic<X>
20 What: /sys/class/mic/mic<X>/family
28 What: /sys/class/mic/mic<X>/stepping
36 What: /sys/class/mic/mic<X>/state
72 What: /sys/class/mic/mic<X>/shutdown_status
91 What: /sys/class/mic/mic<X>/cmdline
107 What: /sys/class/mic/mic<X>/firmware
117 What: /sys/class/mic/mic<X>/ramdisk
127 What: /sys/class/mic/mic<X>/bootmode
138 What: /sys/class/mic/mic<X>/log_buf_addr
[all …]
/linux/Documentation/sound/hd-audio/
A Dmodels.rst75 headset-mic
159 limit-mic-boost
169 alc283-int-mic
201 hp-dock-gpio-mic
231 alc221-hp-mic
239 alc221-hp-mic
241 alc256-asus-mic
247 alc294-lenovo-mic
533 hp-mic-fix
723 mic-ref
[all …]
/linux/net/mac80211/
A Dwpa.c32 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local
88 mic[0]++; in ieee80211_tx_h_michael_mic_add()
100 u8 mic[MICHAEL_MIC_LEN]; in ieee80211_rx_h_michael_mic_verify() local
1041 u8 aad[20], mic[8], ipn[6]; in ieee80211_crypto_aes_cmac_decrypt() local
1070 if (crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { in ieee80211_crypto_aes_cmac_decrypt()
1120 if (crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { in ieee80211_crypto_aes_cmac_256_decrypt()
1222 if (!mic) in ieee80211_crypto_aes_gmac_decrypt()
1226 mic) < 0 || in ieee80211_crypto_aes_gmac_decrypt()
1227 crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { in ieee80211_crypto_aes_gmac_decrypt()
1229 kfree(mic); in ieee80211_crypto_aes_gmac_decrypt()
[all …]
A Daes_ccm.h23 size_t data_len, u8 *mic) in ieee80211_aes_ccm_encrypt() argument
27 data, data_len, mic); in ieee80211_aes_ccm_encrypt()
33 size_t data_len, u8 *mic) in ieee80211_aes_ccm_decrypt() argument
37 data, data_len, mic); in ieee80211_aes_ccm_decrypt()
A Daes_gcm.h15 size_t data_len, u8 *mic) in ieee80211_aes_gcm_encrypt() argument
19 data, data_len, mic); in ieee80211_aes_gcm_encrypt()
24 size_t data_len, u8 *mic) in ieee80211_aes_gcm_decrypt() argument
28 data, data_len, mic); in ieee80211_aes_gcm_decrypt()
A Daes_cmac.c26 const u8 *data, size_t data_len, u8 *mic) in ieee80211_aes_cmac() argument
46 memcpy(mic, out, CMAC_TLEN); in ieee80211_aes_cmac()
50 const u8 *data, size_t data_len, u8 *mic) in ieee80211_aes_cmac_256() argument
68 crypto_shash_finup(desc, zero, CMAC_TLEN_256, mic); in ieee80211_aes_cmac_256()
A Daead_api.c19 u8 *data, size_t data_len, u8 *mic) in aead_encrypt() argument
38 sg_set_buf(&sg[2], mic, mic_len); in aead_encrypt()
51 u8 *data, size_t data_len, u8 *mic) in aead_decrypt() argument
73 sg_set_buf(&sg[2], mic, mic_len); in aead_decrypt()
A Dmichael.c54 const u8 *data, size_t data_len, u8 *mic) in michael_mic() argument
81 put_unaligned_le32(mctx.l, mic); in michael_mic()
82 put_unaligned_le32(mctx.r, mic + 4); in michael_mic()
A Daes_gmac.c18 const u8 *data, size_t data_len, u8 *mic) in ieee80211_aes_gmac() argument
46 sg_set_buf(&sg[4], mic, GMAC_MIC_LEN); in ieee80211_aes_gmac()
52 sg_set_buf(&sg[3], mic, GMAC_MIC_LEN); in ieee80211_aes_gmac()
/linux/Documentation/devicetree/bindings/interrupt-controller/
A Dnxp,lpc3220-mic.txt4 - compatible: "nxp,lpc3220-mic" or "nxp,lpc3220-sic".
23 mic: interrupt-controller@40008000 {
24 compatible = "nxp,lpc3220-mic";
36 interrupt-parent = <&mic>;
47 interrupt-parent = <&mic>;
/linux/sound/soc/codecs/
A Drt298.c225 *mic = false; in rt298_jack_detect()
263 *mic = true; in rt298_jack_detect()
271 *mic = true; in rt298_jack_detect()
273 *mic = false; in rt298_jack_detect()
284 *mic = false; in rt298_jack_detect()
295 if (!*mic) { in rt298_jack_detect()
314 bool mic = false; in rt298_jack_detect_work() local
322 if (mic) in rt298_jack_detect_work()
334 bool mic = false; in rt298_mic_detect() local
353 if (mic) in rt298_mic_detect()
[all …]
A Drt286.c221 *mic = false; in rt286_jack_detect()
251 *mic = true; in rt286_jack_detect()
259 *mic = true; in rt286_jack_detect()
261 *mic = false; in rt286_jack_detect()
272 *mic = false; in rt286_jack_detect()
281 *mic = buf & 0x80000000; in rt286_jack_detect()
300 bool mic = false; in rt286_jack_detect_work() local
302 rt286_jack_detect(rt286, &hp, &mic); in rt286_jack_detect_work()
307 if (mic) in rt286_jack_detect_work()
923 bool mic = false; in rt286_irq() local
[all …]
A Drt274.c350 static int rt274_jack_detect(struct rt274_priv *rt274, bool *hp, bool *mic) in rt274_jack_detect() argument
356 *mic = false; in rt274_jack_detect()
370 *mic = buf & 0x80000000; in rt274_jack_detect()
372 pr_debug("*hp = %d *mic = %d\n", *hp, *mic); in rt274_jack_detect()
383 bool mic = false; in rt274_jack_detect_work() local
385 if (rt274_jack_detect(rt274, &hp, &mic) < 0) in rt274_jack_detect_work()
391 if (mic) in rt274_jack_detect_work()
953 bool mic = false; in rt274_irq() local
960 ret = rt274_jack_detect(rt274, &hp, &mic); in rt274_irq()
966 if (mic) in rt274_irq()
/linux/Documentation/devicetree/bindings/display/exynos/
A Dexynos-mic.txt10 - compatible: value should be "samsung,exynos5433-mic".
12 register of mic.
25 mic: mic@13930000 {
26 compatible = "samsung,exynos5433-mic";
/linux/include/xen/interface/
A Dxen-mca.h241 struct mcinfo_common *mic; in x86_mcinfo_lookup() local
247 mic = x86_mcinfo_first(mi); in x86_mcinfo_lookup()
249 if (mic->type == type) { in x86_mcinfo_lookup()
253 mic = x86_mcinfo_next(mic); in x86_mcinfo_lookup()
256 *ret = found ? mic : NULL; in x86_mcinfo_lookup()
/linux/net/sunrpc/auth_gss/
A Dsvcauth_gss.c776 struct xdr_netobj mic; in gss_write_verf() local
795 *p++ = htonl(mic.len); in gss_write_verf()
796 memset((u8 *)p + mic.len, 0, round_up_to_quad(mic.len) - mic.len); in gss_write_verf()
892 struct xdr_netobj mic; in unwrap_integ_data() local
895 mic.data = NULL; in unwrap_integ_data()
922 mic.data = kmalloc(mic.len, GFP_KERNEL); in unwrap_integ_data()
923 if (!mic.data) in unwrap_integ_data()
925 if (read_bytes_from_xdr_buf(buf, integ_len + 4, mic.data, mic.len)) in unwrap_integ_data()
937 kfree(mic.data); in unwrap_integ_data()
1749 memset(mic.data + mic.len, 0, in svcauth_gss_wrap_resp_integ()
[all …]
/linux/arch/arm64/boot/dts/mediatek/
A Dmt8183-kukui-audio-da7219.dtsi18 dlg,mic-amp-in-sel = "diff";
29 dlg,mic-det-thr = <500>;
37 dlg,c-mic-btn-thr = <0x3E>;
/linux/sound/pci/vx222/
A Dvx222.c27 static bool mic[SNDRV_CARDS]; /* microphone */ variable
36 module_param_array(mic, bool, NULL, 0444);
37 MODULE_PARM_DESC(mic, "Enable Microphone.");
173 if (mic[dev]) in snd_vx222_probe()

Completed in 44 milliseconds

123456