Home
last modified time | relevance | path

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

12345

/Linux-v6.1/drivers/gpu/drm/exynos/
Dexynos_drm_mic.c109 static void mic_set_path(struct exynos_mic *mic, bool enable) in mic_set_path() argument
114 ret = regmap_read(mic->sysreg, DSD_CFG_MUX, &val); in mic_set_path()
116 DRM_DEV_ERROR(mic->dev, in mic_set_path()
122 if (mic->i80_mode) in mic_set_path()
131 ret = regmap_write(mic->sysreg, DSD_CFG_MUX, val); in mic_set_path()
133 DRM_DEV_ERROR(mic->dev, in mic_set_path()
137 static int mic_sw_reset(struct exynos_mic *mic) in mic_sw_reset() argument
142 writel(MIC_SW_RST, mic->reg + MIC_OP); in mic_sw_reset()
145 ret = readl(mic->reg + MIC_OP); in mic_sw_reset()
155 static void mic_set_porch_timing(struct exynos_mic *mic) in mic_set_porch_timing() argument
[all …]
/Linux-v6.1/drivers/xen/
Dmcelog.c221 struct mcinfo_common *mic; in convert_log() local
227 mic = NULL; in convert_log()
228 x86_mcinfo_lookup(&mic, mi, MC_TYPE_GLOBAL); in convert_log()
229 if (unlikely(!mic)) { in convert_log()
236 mc_global = (struct mcinfo_global *)mic; in convert_log()
263 mic = NULL; in convert_log()
264 x86_mcinfo_lookup(&mic, mi, MC_TYPE_BANK); 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()
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-mic1 What: /sys/class/mic/
6 The mic class directory belongs to Intel MIC devices and
11 What: /sys/class/mic/mic<X>
16 The directories /sys/class/mic/mic0, /sys/class/mic/mic1 etc.,
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
[all …]
/Linux-v6.1/Documentation/sound/hd-audio/
Dmodels.rst31 Quirk for FSC S7020 with jack modes and HP mic support
36 Inverted internal mic workaround
57 Inverted internal mic workaround
66 Laptops with analog-mic input
68 Laptops with digital-mic input
70 Enable ALC269(VA) digital mic workaround
72 Enable ALC271X digital mic workaround
74 Inverted internal mic workaround
75 headset-mic
76 Indicates a combined headset (headphone+mic) jack
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
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
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>;
/Linux-v6.1/net/mac80211/
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()
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()
Dwpa.c32 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local
77 mic = skb_put(skb, MICHAEL_MIC_LEN); in ieee80211_tx_h_michael_mic_add()
81 memset(mic, 0, MICHAEL_MIC_LEN); in ieee80211_tx_h_michael_mic_add()
86 michael_mic(key, hdr, data, data_len, mic); in ieee80211_tx_h_michael_mic_add()
88 mic[0]++; in ieee80211_tx_h_michael_mic_add()
100 u8 mic[MICHAEL_MIC_LEN]; in ieee80211_rx_h_michael_mic_verify() local
162 michael_mic(key, hdr, data, data_len, mic); in ieee80211_rx_h_michael_mic_verify()
163 if (crypto_memneq(mic, data + data_len, MICHAEL_MIC_LEN)) in ieee80211_rx_h_michael_mic_verify()
863 skb->data + 24, skb->len - 24, mmie->mic); in ieee80211_crypto_aes_cmac_encrypt()
906 skb->data + 24, skb->len - 24, mmie->mic); in ieee80211_crypto_aes_cmac_256_encrypt()
[all …]
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()
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()
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()
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()
Daes_cmac.h15 const u8 *data, size_t data_len, u8 *mic);
17 const u8 *data, size_t data_len, u8 *mic);
Daead_api.h15 size_t data_len, u8 *mic);
19 size_t data_len, u8 *mic);
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
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-v6.1/include/xen/interface/
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-v6.1/sound/soc/codecs/
Drt298.c219 static int rt298_jack_detect(struct rt298_priv *rt298, bool *hp, bool *mic) in rt298_jack_detect() argument
225 *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()
293 *mic = buf & 0x80000000; in rt298_jack_detect()
295 if (!*mic) { in rt298_jack_detect()
303 pr_debug("*hp = %d *mic = %d\n", *hp, *mic); in rt298_jack_detect()
314 bool mic = false; in rt298_jack_detect_work() local
[all …]
Drt286.c215 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument
221 *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()
[all …]
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-v6.1/arch/arm64/boot/dts/mediatek/
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-v6.1/net/sunrpc/auth_gss/
Dsvcauth_gss.c776 struct xdr_netobj mic; in gss_write_verf() local
791 mic.data = (u8 *)(p + 1); in gss_write_verf()
792 maj_stat = gss_get_mic(ctx_id, &verf_data, &mic); in gss_write_verf()
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()
797 p += XDR_QUADLEN(mic.len); in gss_write_verf()
892 struct xdr_netobj mic; in unwrap_integ_data() local
895 mic.data = NULL; in unwrap_integ_data()
918 if (read_u32_from_xdr_buf(buf, integ_len, &mic.len)) in unwrap_integ_data()
920 if (mic.len > RPC_MAX_AUTH_SIZE) in unwrap_integ_data()
[all …]
/Linux-v6.1/sound/pci/vx222/
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()
/Linux-v6.1/Documentation/sound/designs/
Dcontrol-names.rst68 Headset Mic mic part of combined headset jack - 4-pin
69 headphone + mic
70 Headphone Mic mic part of either/or - 3-pin headphone or mic
/Linux-v6.1/Documentation/devicetree/bindings/i2c/
Di2c-pnx.txt20 interrupt-parent = <&mic>;
29 interrupt-parent = <&mic>;

12345