Home
last modified time | relevance | path

Searched +defs:val +defs:spec (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.14.4/sound/pci/hda/
Dhda_generic.c37 int snd_hda_gen_spec_init(struct hda_gen_spec *spec) in snd_hda_gen_spec_init()
59 snd_hda_gen_add_kctl(struct hda_gen_spec *spec, const char *name, in snd_hda_gen_add_kctl()
76 static void free_kctls(struct hda_gen_spec *spec) in free_kctls()
87 static void snd_hda_gen_spec_free(struct hda_gen_spec *spec) in snd_hda_gen_spec_free()
107 struct hda_gen_spec *spec = codec->spec; in parse_user_hints() local
108 int val; in parse_user_hints() local
205 #define update_pin_ctl(codec, pin, val) \ argument
217 unsigned int val, bool do_write) in set_pin_target()
229 hda_nid_t *pins, unsigned int val) in set_pin_targets()
260 struct hda_gen_spec *spec = codec->spec; in get_nid_path() local
[all …]
Dpatch_conexant.c56 static int set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, in set_beep_amp()
76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() local
95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() local
134 struct conexant_spec *spec = codec->spec; in cx_auto_vmaster_hook() local
144 struct conexant_spec *spec = codec->spec; in cx_auto_vmaster_mute_led() local
154 struct conexant_spec *spec = codec->spec; in cxt_init_gpio_led() local
190 struct conexant_spec *spec = codec->spec; in cx_auto_init() local
206 struct conexant_spec *spec = codec->spec; in cx_auto_shutdown() local
221 unsigned int val; in cx_process_headset_plugin() local
323 struct conexant_spec *spec = codec->spec; in cxt_fixup_stereo_dmic() local
[all …]
Dpatch_analog.c43 #define set_beep_amp(spec, nid, idx, dir) \ argument
46 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument
52 struct ad198x_spec *spec = codec->spec; in create_beep_ctls() local
125 struct ad198x_spec *spec = codec->spec; in ad_vmaster_eapd_hook() local
166 struct ad198x_spec *spec = codec->spec; in ad198x_parse_auto_config() local
194 struct ad198x_spec *spec; in alloc_ad_spec() local
213 struct ad198x_spec *spec = codec->spec; in ad_fixup_inv_jack_detect() local
227 struct ad198x_spec *spec = codec->spec; in ad1986a_fixup_eapd() local
240 struct ad198x_spec *spec = codec->spec; in ad1986a_fixup_eapd_mix_in() local
381 struct ad198x_spec *spec; in patch_ad1986a() local
[all …]
Dpatch_realtek.c147 struct alc_spec *spec = codec->spec; in coef_mutex_lock() local
155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() local
164 unsigned int val; in __alc_read_coefex_idx() local
174 unsigned int val; in alc_read_coefex_idx() local
207 unsigned int val = __alc_read_coefex_idx(codec, nid, coef_idx); in __alc_update_coefex_idx() local
229 struct alc_spec *spec = codec->spec; in alc_get_coef0() local
241 unsigned short val; member
271 struct alc_spec *spec = codec->spec; in alc_setup_gpio() local
280 struct alc_spec *spec = codec->spec; in alc_write_gpio_data() local
289 struct alc_spec *spec = codec->spec; in alc_update_gpio_data() local
[all …]
Dpatch_via.c72 #define VT2002P_COMPATIBLE(spec) \ argument
102 struct via_spec *spec; in via_new_spec() local
186 struct via_spec *spec = codec->spec; in vt1708_stop_hp_work() local
199 struct via_spec *spec = codec->spec; in vt1708_update_hp_work() local
223 struct via_spec *spec = codec->spec; in via_pin_power_ctl_get() local
233 struct via_spec *spec = codec->spec; in via_pin_power_ctl_put() local
234 bool val = !!ucontrol->value.enumerated.item[0]; in via_pin_power_ctl_put() local
259 static int set_beep_amp(struct via_spec *spec, hda_nid_t nid, in set_beep_amp()
279 struct via_spec *spec = codec->spec; in auto_parse_beep() local
294 struct via_spec *spec = codec->spec; in is_aa_path_mute() local
[all …]
Dpatch_ca0132.c683 unsigned int val; member
776 unsigned int val; member
1181 #define ca0132_quirk(spec) ((spec)->codec->fixup_id) argument
1182 #define ca0132_use_pci_mmio(spec) ((spec)->use_pci_mmio) argument
1183 #define ca0132_use_alt_functions(spec) ((spec)->use_alt_functions) argument
1184 #define ca0132_use_alt_controls(spec) ((spec)->use_alt_controls) argument
1186 #define ca0132_quirk(spec) ({ (void)(spec); QUIRK_NONE; }) argument
1187 #define ca0132_use_alt_functions(spec) ({ (void)(spec); false; }) argument
1188 #define ca0132_use_pci_mmio(spec) ({ (void)(spec); false; }) argument
1189 #define ca0132_use_alt_controls(spec) ({ (void)(spec); false; }) argument
[all …]
Dpatch_sigmatel.c246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook() local
256 struct sigmatel_spec *spec = codec->spec; in stac_capture_pcm_hook() local
328 struct sigmatel_spec *spec = codec->spec; in stac_capture_led_update() local
375 struct sigmatel_spec *spec = codec->spec; in stac_update_led_status() local
411 struct sigmatel_spec *spec = codec->spec; in stac_update_outputs() local
421 unsigned int val = spec->gpio_data; in stac_update_outputs() local
437 struct sigmatel_spec *spec = codec->spec; in stac_toggle_power_map() local
438 unsigned int idx, val; in stac_toggle_power_map() local
468 struct sigmatel_spec *spec = codec->spec; in jack_update_power() local
513 struct sigmatel_spec *spec = codec->spec; in stac_init_power_map() local
[all …]
Dpatch_hdmi.c199 struct hdmi_spec *spec = codec->spec; in codec_has_acomp() local
242 #define get_pin(spec, idx) \ argument
244 #define get_cvt(spec, idx) \ argument
247 #define get_hdmi_pcm(spec, idx) (&(spec)->pcm_rec[idx]) argument
249 #define get_pcm_rec(spec, idx) (get_hdmi_pcm(spec, idx)->pcm) argument
254 struct hdmi_spec *spec = codec->spec; in pin_id_to_pin_index() local
279 struct hdmi_spec *spec = codec->spec; in hinfo_to_pcm_index() local
293 struct hdmi_spec *spec = codec->spec; in hinfo_to_pin_index() local
309 static struct hdmi_spec_per_pin *pcm_idx_to_pin(struct hdmi_spec *spec, in pcm_idx_to_pin()
325 struct hdmi_spec *spec = codec->spec; in cvt_nid_to_cvt_index() local
[all …]
Dpatch_cirrus.c132 struct cs_spec *spec = codec->spec; in cs_vendor_coef_get() local
143 struct cs_spec *spec = codec->spec; in cs_vendor_coef_set() local
159 struct cs_spec *spec = codec->spec; in cs_automute() local
180 unsigned int val; in is_active_pin() local
188 struct cs_spec *spec = codec->spec; in init_input_coef() local
294 struct cs_spec *spec = codec->spec; in cs_init() local
346 struct cs_spec *spec = codec->spec; in cs_parse_auto_config() local
498 struct cs_spec *spec = codec->spec; in cs420x_fixup_gpio_13() local
511 struct cs_spec *spec = codec->spec; in cs420x_fixup_gpio_23() local
574 struct cs_spec *spec; in cs_alloc_spec() local
[all …]
Dpatch_si3054.c65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) argument
66 #define SET_REG_CACHE(codec,reg,val) \ argument
80 #define PRIVATE_REG(val) ((val>>16)&0xffff) argument
81 #define PRIVATE_MASK(val) (val&0xffff) argument
141 u16 val; in si3054_pcm_prepare() local
207 struct si3054_spec *spec = codec->spec; in si3054_init() local
209 u16 val; in si3054_init() local
267 struct si3054_spec *spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_si3054() local
/linux-6.14.4/sound/pci/ice1712/
Daureon.c103 unsigned char val = 0; in aureon_pca9554_write() local
201 struct aureon_spec *spec = ice->spec; in aureon_universe_inmux_get() local
210 struct aureon_spec *spec = ice->spec; in aureon_universe_inmux_put() local
230 unsigned short val) in aureon_ac97_write()
232 struct aureon_spec *spec = ice->spec; in aureon_ac97_write() local
285 struct aureon_spec *spec = ice->spec; in aureon_ac97_read() local
294 struct aureon_spec *spec = ice->spec; in aureon_ac97_init() local
580 unsigned char val; in aureon_cs8415_get() local
594 unsigned char val) in aureon_cs8415_put()
612 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
[all …]
Dphase.c249 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
257 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
332 struct phase28_spec *spec = ice->spec; in wm_master_vol_get() local
344 struct phase28_spec *spec = ice->spec; in wm_master_vol_put() local
408 struct phase28_spec *spec; in phase28_init() local
479 struct phase28_spec *spec = ice->spec; in wm_vol_get() local
494 struct phase28_spec *spec = ice->spec; in wm_vol_put() local
535 struct phase28_spec *spec = ice->spec; in wm_mute_get() local
551 struct phase28_spec *spec = ice->spec; in wm_mute_put() local
559 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put() local
[all …]
Dprodigy_hifi.c123 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
130 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
142 static void set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) in set_gpio_bit()
255 struct prodigy_hifi_spec *spec = ice->spec; in ak4396_dac_vol_get() local
267 struct prodigy_hifi_spec *spec = ice->spec; in ak4396_dac_vol_put() local
364 struct prodigy_hifi_spec *spec = ice->spec; in wm_dac_vol_get() local
376 struct prodigy_hifi_spec *spec = ice->spec; in wm_dac_vol_put() local
412 struct prodigy_hifi_spec *spec = ice->spec; in wm8766_vol_get() local
425 struct prodigy_hifi_spec *spec = ice->spec; in wm8766_vol_put() local
463 struct prodigy_hifi_spec *spec = ice->spec; in wm_master_vol_get() local
[all …]
Dquartet.c237 unsigned char val) in qtet_ak4113_write()
437 struct qtet_spec *spec = ice->spec; in get_scr() local
443 struct qtet_spec *spec = ice->spec; in get_mcr() local
449 struct qtet_spec *spec = ice->spec; in get_cpld() local
453 static void set_scr(struct snd_ice1712 *ice, unsigned int val) in set_scr()
455 struct qtet_spec *spec = ice->spec; in set_scr() local
460 static void set_mcr(struct snd_ice1712 *ice, unsigned int val) in set_mcr()
462 struct qtet_spec *spec = ice->spec; in set_mcr() local
467 static void set_cpld(struct snd_ice1712 *ice, unsigned int val) in set_cpld()
469 struct qtet_spec *spec = ice->spec; in set_cpld() local
[all …]
Dews.c134 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_chip_select() local
220 struct ews_spec *spec = ice->spec; in snd_ice1712_ews_cs8404_spdif_write() local
259 unsigned int val; in ews88_spdif_default_put() local
282 unsigned int val; in ews88_spdif_stream_put() local
413 struct ews_spec *spec; in snd_ice1712_ews_init() local
591 int val, nval; in snd_ice1712_ewx_io_sense_put() local
631 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_output_sense_get() local
648 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_output_sense_put() local
670 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_input_sense_get() local
691 struct ews_spec *spec = ice->spec; in snd_ice1712_ews88mt_input_sense_put() local
[all …]
Djuli.c150 unsigned char val) in juli_ak4114_write()
169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() local
213 struct juli_spec *spec = ice->spec; in juli_akm_set_rate_val() local
293 unsigned int val; in juli_mute_get() local
413 struct juli_spec *spec = ice->spec; in juli_add_controls() local
453 struct juli_spec *spec = ice->spec; in juli_resume() local
464 struct juli_spec *spec = ice->spec; in juli_suspend() local
497 unsigned char val; in juli_set_rate() local
560 struct juli_spec *spec; in juli_init() local
Dprodigy192.c61 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) in stac9460_put()
97 unsigned char val; in stac9460_dac_mute_get() local
112 struct prodigy192_spec *spec = ice->spec; in stac9460_dac_mute_put() local
187 unsigned char val; in stac9460_adc_mute_get() local
276 unsigned char val; in stac9460_mic_sw_get() local
304 struct prodigy192_spec *spec = ice->spec; in stac9460_set_rate_val() local
547 unsigned char val; in ak4114_input_sw_get() local
604 struct prodigy192_spec *spec = ice->spec; in prodigy192_ak4114_init() local
624 int reg, val; in stac9460_proc_regs_read() local
642 struct prodigy192_spec *spec = ice->spec; in prodigy192_add_controls() local
[all …]
Dwtm.c36 unsigned char val) in stac9460_put()
50 unsigned char val) in stac9460_2_put()
117 struct wtm_spec *spec = ice->spec; in stac9460_dac_mute_get() local
118 unsigned char val; in stac9460_dac_mute_get() local
262 unsigned char val; in stac9460_adc_mute_get() local
399 unsigned char val; in stac9460_mic_sw_get() local
442 struct wtm_spec *spec = ice->spec; in stac9460_set_rate_val() local
576 struct wtm_spec *spec; in wtm_init() local
Dse.c220 unsigned int val; in se200pci_WM8776_write() local
448 struct se_spec *spec = ice->spec; in se200pci_cont_volume_get() local
459 struct se_spec *spec = ice->spec; in se200pci_cont_boolean_get() local
469 struct se_spec *spec = ice->spec; in se200pci_cont_enum_get() local
477 struct se_spec *spec = ice->spec; in se200pci_cont_update() local
520 struct se_spec *spec = ice->spec; in se200pci_cont_volume_put() local
546 struct se_spec *spec = ice->spec; in se200pci_cont_boolean_put() local
563 struct se_spec *spec = ice->spec; in se200pci_cont_enum_put() local
661 struct se_spec *spec; in se_init() local
Drevo.c96 unsigned int mask, val; in revo_i2c_direction() local
113 unsigned int val = 0; in revo_i2c_setlines() local
147 struct revo51_spec *spec; in revo51_i2c_init() local
472 struct revo51_spec *spec; in ap192_ak4114_init() local
575 struct revo51_spec *spec = ice->spec; in revo_add_controls() local
/linux-6.14.4/lib/
Dvsprintf.c445 struct printf_spec spec) in number()
567 struct printf_spec spec; in special_hex_number() local
604 char *widen_string(char *buf, int n, char *end, struct printf_spec spec) in widen_string()
626 struct printf_spec spec) in string_nocheck()
644 struct printf_spec spec) in err_ptr()
664 struct printf_spec spec) in error_string()
694 struct printf_spec spec) in check_pointer()
709 struct printf_spec spec) in string()
719 struct printf_spec spec) in pointer_string()
794 struct printf_spec spec) in ptr_to_id()
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_loader.c126 static void free_test_spec(struct test_spec *spec) in free_test_spec()
263 static int parse_int(const char *str, int *val, const char *name) in parse_int()
281 static int parse_caps(const char *str, __u64 *val, const char *name) in parse_caps()
312 static int parse_retval(const char *str, int *val, const char *name) in parse_retval()
316 int val; in parse_retval() member
397 struct test_spec *spec) in parse_test_spec()
430 const char *s, *val, *msg; in parse_test_spec() local
647 struct test_spec *spec, in prepare_case()
798 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec) in can_execute_unpriv()
870 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in should_do_test_run()
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.c39 #define MASK_VAL(type, spec, name, mask, val, fld) \ argument
43 #define MASK_VAL_BE(type, spec, name, mask, val, fld) \ argument
49 #define GET_MASK_VAL(name, type, mask, val, fld) \ argument
/linux-6.14.4/tools/lib/bpf/
Dusdt.bpf.h97 struct __bpf_usdt_spec *spec; in bpf_usdt_arg_cnt() local
118 struct __bpf_usdt_spec *spec; in bpf_usdt_arg() local
120 unsigned long val; in bpf_usdt_arg() local
201 struct __bpf_usdt_spec *spec; in bpf_usdt_cookie() local
Drelo_core.c265 struct bpf_core_spec *spec) in bpf_core_parse_spec()
485 struct bpf_core_spec *spec, in bpf_core_match_member()
680 const struct bpf_core_spec *spec, in bpf_core_calc_field_relo()
681 __u64 *val, __u32 *field_sz, __u32 *type_id, in bpf_core_calc_field_relo()
804 const struct bpf_core_spec *spec, in bpf_core_calc_type_relo()
805 __u64 *val, bool *validate) in bpf_core_calc_type_relo()
848 const struct bpf_core_spec *spec, in bpf_core_calc_enumval_relo()
849 __u64 *val) in bpf_core_calc_enumval_relo()
1156 int bpf_core_format_spec(char *buf, size_t buf_sz, const struct bpf_core_spec *spec) in bpf_core_format_spec()

1234