Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/linux/sound/pci/ice1712/
H A Dhoontech.c43 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_darear() local
46 ICE1712_STDSP24_0_DAREAR(spec->boxbits, activate); in snd_ice1712_stdsp24_darear()
47 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]); in snd_ice1712_stdsp24_darear()
52 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_mute() local
55 ICE1712_STDSP24_3_MUTE(spec->boxbits, activate); in snd_ice1712_stdsp24_mute()
56 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]); in snd_ice1712_stdsp24_mute()
61 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_insel() local
64 ICE1712_STDSP24_3_INSEL(spec->boxbits, activate); in snd_ice1712_stdsp24_insel()
65 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]); in snd_ice1712_stdsp24_insel()
70 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_box_channel() local
[all …]
H A Dpsc724.c106 struct psc724_spec *spec = container_of(wm, struct psc724_spec, wm8766); in psc724_wm8766_write() local
107 struct snd_ice1712 *ice = spec->ice; in psc724_wm8766_write()
148 struct psc724_spec *spec = container_of(wm, struct psc724_spec, wm8776); in psc724_wm8776_write() local
150 snd_vt1724_write_i2c(spec->ice, 0x34, addr, data); in psc724_wm8776_write()
158 struct psc724_spec *spec = ice->spec; in psc724_set_master_switch() local
160 spec->mute_all = !on; in psc724_set_master_switch()
170 struct psc724_spec *spec = ice->spec; in psc724_get_master_switch() local
172 return !spec->mute_all; in psc724_get_master_switch()
179 struct psc724_spec *spec = ice->spec; in psc724_set_jack_state() local
181 u16 power = spec->wm8776.regs[WM8776_REG_PWRDOWN] & ~WM8776_PWR_HPPD; in psc724_set_jack_state()
[all …]
/linux/sound/hda/codecs/
H A Dcm9825.c198 struct cmi_spec *spec = codec->spec; in cm9825_update_jk_plug_status() local
202 jack_plugin = snd_hda_jack_detect(spec->codec, nid); in cm9825_update_jk_plug_status()
203 jack = snd_hda_jack_tbl_get(spec->codec, nid); in cm9825_update_jk_plug_status()
206 snd_hda_jack_report_sync(spec->codec); in cm9825_update_jk_plug_status()
209 codec_dbg(spec->codec, in cm9825_update_jk_plug_status()
216 struct cmi_spec *spec = in cm9825_unsol_inputs_delayed() local
221 for (i = 0; i < spec->gen.autocfg.num_inputs; i++) { in cm9825_unsol_inputs_delayed()
222 if (!spec->jd_cap_inputs[i]) in cm9825_unsol_inputs_delayed()
225 cm9825_update_jk_plug_status(spec->codec, in cm9825_unsol_inputs_delayed()
226 spec->gen.autocfg.inputs[i].pin); in cm9825_unsol_inputs_delayed()
[all …]
H A Dgeneric.c37 int snd_hda_gen_spec_init(struct hda_gen_spec *spec) in snd_hda_gen_spec_init() argument
39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init()
42 mutex_init(&spec->pcm_mutex); 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() argument
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
76 static void free_kctls(struct hda_gen_spec *spec) in free_kctls() argument
78 if (spec->kctls.list) { in free_kctls()
79 struct snd_kcontrol_new *kctl = spec->kctls.list; in free_kctls()
[all …]
H A Danalog.c52 #define set_beep_amp(spec, nid, idx, dir) \ argument
53 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */
55 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument
61 struct ad198x_spec *spec = codec->spec; in create_beep_ctls() local
64 if (!spec->beep_amp) in create_beep_ctls()
73 kctl->private_value = spec->beep_amp; in create_beep_ctls()
134 struct ad198x_spec *spec = codec->spec; in ad_vmaster_eapd_hook() local
136 if (!spec->eapd_nid) in ad_vmaster_eapd_hook()
140 snd_hda_codec_write_cache(codec, spec->eapd_nid, 0, in ad_vmaster_eapd_hook()
164 struct ad198x_spec *spec = codec->spec; in ad198x_parse_auto_config() local
[all …]
H A Dsigmatel.c246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook() local
247 if (action == HDA_GEN_PCM_ACT_OPEN && spec->stream_delay) in stac_playback_pcm_hook()
248 msleep(spec->stream_delay); in stac_playback_pcm_hook()
256 struct sigmatel_spec *spec = codec->spec; in stac_capture_pcm_hook() local
259 if (!spec->powerdown_adcs) in stac_capture_pcm_hook()
262 for (i = 0; i < spec->gen.num_all_adcs; i++) { in stac_capture_pcm_hook()
263 if (spec->gen.all_adcs[i] == hinfo->nid) { in stac_capture_pcm_hook()
274 spec->active_adcs |= (1 << idx); in stac_capture_pcm_hook()
279 spec->active_adcs &= ~(1 << idx); in stac_capture_pcm_hook()
328 struct sigmatel_spec *spec = codec->spec; in stac_capture_led_update() local
[all …]
H A Dca0132.c1181 #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
1581 struct ca0132_spec *spec = codec->spec; in chipio_write_address() local
1584 if (spec->curr_chip_addx == chip_addx) in chipio_write_address()
[all …]
H A Dvia.c75 #define VT2002P_COMPATIBLE(spec) \ argument
76 ((spec)->codec_type == VT2002P ||\
77 (spec)->codec_type == VT1812 ||\
78 (spec)->codec_type == VT1802)
103 struct via_spec *spec; in via_new_spec() local
105 spec = kzalloc_obj(*spec); in via_new_spec()
106 if (spec == NULL) in via_new_spec()
109 codec->spec = spec; in via_new_spec()
110 snd_hda_gen_spec_init(&spec->gen); in via_new_spec()
111 spec->codec_type = get_codec_type(codec); in via_new_spec()
[all …]
H A Dconexant.c56 static int set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, in set_beep_amp() argument
63 spec->gen.beep_nid = nid; in set_beep_amp()
65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() local
81 return set_beep_amp(spec, nid, 0, HDA_OUTPUT); in cx_auto_parse_beep()
95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() local
103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd()
104 if (spec->num_eapds >= ARRAY_SIZE(spec->eapds)) in cx_auto_parse_eapd()
114 if (spec->num_eapds > 2) in cx_auto_parse_eapd()
115 spec->dynamic_eapd = 1; in cx_auto_parse_eapd()
[all …]
H A Dsenarytech.c46 static int set_beep_amp(struct senary_spec *spec, hda_nid_t nid, in set_beep_amp() argument
53 spec->gen.beep_nid = nid; in set_beep_amp()
55 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
66 struct senary_spec *spec = codec->spec; in senary_auto_parse_beep() local
72 return set_beep_amp(spec, nid, 0, HDA_OUTPUT); in senary_auto_parse_beep()
82 struct senary_spec *spec = codec->spec; in senary_auto_parse_eapd() local
90 spec->eapds[spec->num_eapds++] = nid; in senary_auto_parse_eapd()
91 if (spec->num_eapds >= ARRAY_SIZE(spec->eapds)) in senary_auto_parse_eapd()
113 struct senary_spec *spec = codec->spec; in senary_auto_vmaster_hook() local
115 senary_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, enabled); in senary_auto_vmaster_hook()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dfilter.h178 static inline void efx_filter_init_rx(struct efx_filter_spec *spec, in efx_filter_init_rx() argument
183 memset(spec, 0, sizeof(*spec)); in efx_filter_init_rx()
184 spec->priority = priority; in efx_filter_init_rx()
185 spec->flags = EFX_FILTER_FLAG_RX | flags; in efx_filter_init_rx()
186 spec->rss_context = 0; in efx_filter_init_rx()
187 spec->dmaq_id = rxq_id; in efx_filter_init_rx()
190 static inline void efx_filter_init_tx(struct efx_filter_spec *spec, in efx_filter_init_tx() argument
193 memset(spec, 0, sizeof(*spec)); in efx_filter_init_tx()
194 spec->priority = EFX_FILTER_PRI_REQUIRED; in efx_filter_init_tx()
195 spec->flags = EFX_FILTER_FLAG_TX; in efx_filter_init_tx()
[all …]
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.c29 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config() local
33 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
37 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
42 if (spec->gen.dyn_adc_switch) { in cs8409_parse_auto_config()
45 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs8409_parse_auto_config()
46 int idx = spec->gen.dyn_adc_idx[i]; in cs8409_parse_auto_config()
50 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config()
62 struct cs8409_spec *spec; in cs8409_alloc_spec() local
64 spec = kzalloc_obj(*spec); in cs8409_alloc_spec()
65 if (!spec) in cs8409_alloc_spec()
[all …]
H A Dcs421x.c107 struct cs_spec *spec = codec->spec; in cs_vendor_coef_get() local
109 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
111 return snd_hda_codec_read(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
118 struct cs_spec *spec = codec->spec; in cs_vendor_coef_set() local
120 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
122 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
134 struct cs_spec *spec = codec->spec; in cs_automute() local
137 spec->gen.master_mute = !!(spec->spdif_present && spec->sense_b); in cs_automute()
141 if (spec->gpio_eapd_hp || spec->gpio_eapd_speaker) { in cs_automute()
142 if (spec->gen.automute_speaker) in cs_automute()
[all …]
H A Dcs420x.c96 struct cs_spec *spec = codec->spec; in cs_vendor_coef_get() local
98 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
100 return snd_hda_codec_read(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
107 struct cs_spec *spec = codec->spec; in cs_vendor_coef_set() local
109 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
111 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
123 struct cs_spec *spec = codec->spec; in cs_automute() local
127 if (spec->gpio_eapd_hp || spec->gpio_eapd_speaker) { in cs_automute()
128 if (spec->gen.automute_speaker) in cs_automute()
129 spec->gpio_data = spec->gen.hp_jack_present ? in cs_automute()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dfilter.h178 static inline void efx_filter_init_rx(struct efx_filter_spec *spec, in efx_filter_init_rx() argument
183 memset(spec, 0, sizeof(*spec)); in efx_filter_init_rx()
184 spec->priority = priority; in efx_filter_init_rx()
185 spec->flags = EFX_FILTER_FLAG_RX | flags; in efx_filter_init_rx()
186 spec->rss_context = 0; in efx_filter_init_rx()
187 spec->dmaq_id = rxq_id; in efx_filter_init_rx()
190 static inline void efx_filter_init_tx(struct efx_filter_spec *spec, in efx_filter_init_tx() argument
193 memset(spec, 0, sizeof(*spec)); in efx_filter_init_tx()
194 spec->priority = EFX_FILTER_PRI_REQUIRED; in efx_filter_init_tx()
195 spec->flags = EFX_FILTER_FLAG_TX; in efx_filter_init_tx()
[all …]
H A Dethtool_common.c652 struct efx_filter_spec spec; in efx_ethtool_get_class_rule() local
656 rule->location, &spec); in efx_ethtool_get_class_rule()
660 if (spec.dmaq_id == EFX_FILTER_RX_DMAQ_ID_DROP) in efx_ethtool_get_class_rule()
663 rule->ring_cookie = spec.dmaq_id; in efx_ethtool_get_class_rule()
665 if ((spec.match_flags & EFX_FILTER_MATCH_ETHER_TYPE) && in efx_ethtool_get_class_rule()
666 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
667 (spec.match_flags & EFX_FILTER_MATCH_IP_PROTO) && in efx_ethtool_get_class_rule()
668 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule()
669 !(spec.match_flags & in efx_ethtool_get_class_rule()
674 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? in efx_ethtool_get_class_rule()
[all …]
/linux/sound/hda/codecs/realtek/
H A Drealtek.c66 struct alc_spec *spec = codec->spec; in alc_get_coef0() local
68 if (!spec->coef0) in alc_get_coef0()
69 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
70 return spec->coef0; in alc_get_coef0()
94 struct alc_spec *spec = codec->spec; in alc_setup_gpio() local
96 spec->gpio_mask |= mask; in alc_setup_gpio()
97 spec->gpio_dir |= mask; in alc_setup_gpio()
98 spec->gpio_data |= mask; in alc_setup_gpio()
104 struct alc_spec *spec = codec->spec; in alc_write_gpio_data() local
107 spec->gpio_data); in alc_write_gpio_data()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfilter.h152 static inline void ef4_filter_init_rx(struct ef4_filter_spec *spec, in ef4_filter_init_rx() argument
157 memset(spec, 0, sizeof(*spec)); in ef4_filter_init_rx()
158 spec->priority = priority; in ef4_filter_init_rx()
159 spec->flags = EF4_FILTER_FLAG_RX | flags; in ef4_filter_init_rx()
160 spec->rss_context = EF4_FILTER_RSS_CONTEXT_DEFAULT; in ef4_filter_init_rx()
161 spec->dmaq_id = rxq_id; in ef4_filter_init_rx()
164 static inline void ef4_filter_init_tx(struct ef4_filter_spec *spec, in ef4_filter_init_tx() argument
167 memset(spec, 0, sizeof(*spec)); in ef4_filter_init_tx()
168 spec->priority = EF4_FILTER_PRI_REQUIRED; in ef4_filter_init_tx()
169 spec->flags = EF4_FILTER_FLAG_TX; in ef4_filter_init_tx()
[all …]
/linux/arch/powerpc/include/asm/
H A Dcpu_setup.h8 void __setup_cpu_power7(unsigned long offset, struct cpu_spec *spec);
9 void __setup_cpu_power8(unsigned long offset, struct cpu_spec *spec);
10 void __setup_cpu_power9(unsigned long offset, struct cpu_spec *spec);
11 void __setup_cpu_power10(unsigned long offset, struct cpu_spec *spec);
17 void __setup_cpu_e500v1(unsigned long offset, struct cpu_spec *spec);
18 void __setup_cpu_e500v2(unsigned long offset, struct cpu_spec *spec);
19 void __setup_cpu_e500mc(unsigned long offset, struct cpu_spec *spec);
20 void __setup_cpu_440ep(unsigned long offset, struct cpu_spec *spec);
21 void __setup_cpu_440epx(unsigned long offset, struct cpu_spec *spec);
22 void __setup_cpu_440gx(unsigned long offset, struct cpu_spec *spec);
[all …]
/linux/sound/hda/codecs/hdmi/
H A Dsimplehdmi.c13 struct hdmi_spec *spec = codec->spec; in snd_hda_hdmi_simple_build_pcms() local
19 per_cvt = get_cvt(spec, 0); in snd_hda_hdmi_simple_build_pcms()
26 spec->pcm_rec[0].pcm = info; in snd_hda_hdmi_simple_build_pcms()
29 *pstr = spec->pcm_playback; in snd_hda_hdmi_simple_build_pcms()
57 struct hdmi_spec *spec = codec->spec; in simple_hdmi_build_jack() local
59 struct hdmi_pcm *pcmp = get_hdmi_pcm(spec, 0); in simple_hdmi_build_jack()
79 struct hdmi_spec *spec = codec->spec; in snd_hda_hdmi_simple_build_controls() local
83 per_cvt = get_cvt(spec, 0); in snd_hda_hdmi_simple_build_controls()
95 struct hdmi_spec *spec = codec->spec; in snd_hda_hdmi_simple_init() local
96 struct hdmi_spec_per_pin *per_pin = get_pin(spec, 0); in snd_hda_hdmi_simple_init()
[all …]
H A Dhdmi.c53 struct hdmi_spec *spec = codec->spec; in snd_hda_hdmi_pin_id_to_pin_index() local
64 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in snd_hda_hdmi_pin_id_to_pin_index()
65 per_pin = get_pin(spec, pin_idx); in snd_hda_hdmi_pin_id_to_pin_index()
79 struct hdmi_spec *spec = codec->spec; in hinfo_to_pcm_index() local
82 for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++) in hinfo_to_pcm_index()
83 if (get_pcm_rec(spec, pcm_idx)->stream == hinfo) in hinfo_to_pcm_index()
93 struct hdmi_spec *spec = codec->spec; in hinfo_to_pin_index() local
97 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in hinfo_to_pin_index()
98 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index()
109 static struct hdmi_spec_per_pin *pcm_idx_to_pin(struct hdmi_spec *spec, in pcm_idx_to_pin() argument
[all …]
H A Dintelhdmi.c40 struct hdmi_spec *spec = codec->spec; in intel_haswell_enable_all_pins() local
42 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins()
48 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins()
60 struct hdmi_spec *spec = codec->spec; in intel_haswell_fixup_enable_dp12() local
62 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_fixup_enable_dp12()
70 snd_hda_codec_write_cache(codec, spec->vendor_nid, 0, in intel_haswell_fixup_enable_dp12()
80 /* check codec->spec: it can be called before the probe gets called */ in haswell_set_power_state()
81 if (codec->spec) { in haswell_set_power_state()
118 struct hdmi_spec *spec = codec->spec; intel_pin2port() local
143 struct hdmi_spec *spec = codec->spec; intel_port2pin() local
184 struct hdmi_spec *spec = codec->spec; register_i915_notifier() local
243 struct hdmi_spec *spec = codec->spec; i915_set_silent_stream() local
309 intel_cvt_id_to_mux_idx(struct hdmi_spec * spec,hda_nid_t cvt_nid) intel_cvt_id_to_mux_idx() argument
333 struct hdmi_spec *spec = codec->spec; intel_not_share_assigned_cvt() local
409 struct hdmi_spec *spec = codec->spec; intel_not_share_assigned_cvt_nid() local
426 struct hdmi_spec *spec = codec->spec; i915_hsw_setup_stream() local
474 struct hdmi_spec *spec = codec->spec; i915_hdmi_suspend() local
515 struct hdmi_spec *spec = codec->spec; i915_hdmi_resume() local
592 struct hdmi_spec *spec; intel_hsw_common_init() local
666 struct hdmi_spec *spec; probe_i915_adlp_hdmi() local
683 struct hdmi_spec *spec; probe_i915_byt_hdmi() local
[all...]
/linux/drivers/video/fbdev/via/
H A Dvia_aux_edid.c20 struct fb_monspecs *spec = drv->data; in query_edid() local
24 if (spec) { in query_edid()
25 fb_destroy_modedb(spec->modedb); in query_edid()
27 spec = kmalloc_obj(*spec); in query_edid()
28 if (!spec) in query_edid()
32 spec->version = spec->revision = 0; in query_edid()
34 fb_edid_to_monspecs(edid, spec); in query_edid()
35 valid = spec->version || spec->revision; in query_edid()
39 kfree(spec); in query_edid()
40 spec = NULL; in query_edid()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c130 static void free_test_spec(struct test_spec *spec) in free_msgs()
133 free_msgs(&spec->priv.expect_msgs); in free_test_spec() argument
134 free_msgs(&spec->unpriv.expect_msgs); in free_test_spec()
135 free_msgs(&spec->priv.expect_xlated); in free_test_spec()
136 free_msgs(&spec->unpriv.expect_xlated); in free_test_spec()
137 free_msgs(&spec->priv.jited); in free_test_spec()
138 free_msgs(&spec->unpriv.jited); in free_test_spec()
139 free_msgs(&spec->unpriv.stderr); in free_test_spec()
140 free_msgs(&spec->priv.stderr); in free_test_spec()
141 free_msgs(&spec in free_test_spec()
398 parse_test_spec(struct test_loader * tester,struct bpf_object * obj,struct bpf_program * prog,struct test_spec * spec) parse_test_spec() argument
661 prepare_case(struct test_loader * tester,struct test_spec * spec,struct bpf_object * obj,struct bpf_program * prog) prepare_case() argument
812 can_execute_unpriv(struct test_loader * tester,struct test_spec * spec) can_execute_unpriv() argument
884 should_do_test_run(struct test_spec * spec,struct test_subspec * subspec) should_do_test_run() argument
941 run_subtest(struct test_loader * tester,struct bpf_object_open_opts * open_opts,const void * obj_bytes,size_t obj_byte_cnt,struct test_spec * specs,struct test_spec * spec,bool unpriv) run_subtest() argument
1159 struct test_spec *spec = &specs[i++]; process_subtest() local
[all...]
/linux/lib/
H A Dvsprintf.c467 struct printf_spec spec) in number()
473 int need_pfx = ((spec.flags & SPECIAL) && spec.base != 10); in number()
476 int field_width = spec.field_width; in number()
477 int precision = spec.precision; in number()
481 locase = (spec.flags & SMALL); in number()
482 if (spec.flags & LEFT) in number()
483 spec.flags &= ~ZEROPAD; in number()
485 if (spec.flags & SIGN) { in number()
490 } else if (spec in number()
466 number(char * buf,char * end,unsigned long long num,struct printf_spec spec) number() argument
626 widen_string(char * buf,int n,char * end,struct printf_spec spec) widen_string() argument
648 string_nocheck(char * buf,char * end,const char * s,struct printf_spec spec) string_nocheck() argument
666 err_ptr(char * buf,char * end,void * ptr,struct printf_spec spec) err_ptr() argument
686 error_string(char * buf,char * end,const char * s,struct printf_spec spec) error_string() argument
716 check_pointer(char ** buf,char * end,const void * ptr,struct printf_spec spec) check_pointer() argument
731 string(char * buf,char * end,const char * s,struct printf_spec spec) string() argument
741 pointer_string(char * buf,char * end,const void * ptr,struct printf_spec spec) pointer_string() argument
816 ptr_to_id(char * buf,char * end,const void * ptr,struct printf_spec spec) ptr_to_id() argument
846 default_pointer(char * buf,char * end,const void * ptr,struct printf_spec spec) default_pointer() argument
862 restricted_pointer(char * buf,char * end,const void * ptr,struct printf_spec spec) restricted_pointer() argument
908 dentry_name(char * buf,char * end,const struct dentry * d,struct printf_spec spec,const char * fmt) dentry_name() argument
958 file_dentry_name(char * buf,char * end,const struct file * f,struct printf_spec spec,const char * fmt) file_dentry_name() argument
968 bdev_name(char * buf,char * end,struct block_device * bdev,struct printf_spec spec,const char * fmt) bdev_name() argument
991 symbol_string(char * buf,char * end,void * ptr,struct printf_spec spec,const char * fmt) symbol_string() argument
1052 hex_range(char * buf,char * end,u64 start_val,u64 end_val,struct printf_spec spec) hex_range() argument
1066 resource_string(char * buf,char * end,struct resource * res,struct printf_spec spec,const char * fmt) resource_string() argument
1163 range_string(char * buf,char * end,const struct range * range,struct printf_spec spec,const char * fmt) range_string() argument
1180 hex_string(char * buf,char * end,u8 * addr,struct printf_spec spec,const char * fmt) hex_string() argument
1232 bitmap_string(char * buf,char * end,const unsigned long * bitmap,struct printf_spec spec,const char * fmt) bitmap_string() argument
1276 bitmap_list_string(char * buf,char * end,const unsigned long * bitmap,struct printf_spec spec,const char * fmt) bitmap_list_string() argument
1306 mac_address_string(char * buf,char * end,u8 * addr,struct printf_spec spec,const char * fmt) mac_address_string() argument
1496 ip6_addr_string(char * buf,char * end,const u8 * addr,struct printf_spec spec,const char * fmt) ip6_addr_string() argument
1510 ip4_addr_string(char * buf,char * end,const u8 * addr,struct printf_spec spec,const char * fmt) ip4_addr_string() argument
1521 ip6_addr_string_sa(char * buf,char * end,const struct sockaddr_in6 * sa,struct printf_spec spec,const char * fmt) ip6_addr_string_sa() argument
1583 ip4_addr_string_sa(char * buf,char * end,const struct sockaddr_in * sa,struct printf_spec spec,const char * fmt) ip4_addr_string_sa() argument
1618 ip_addr_string(char * buf,char * end,const void * ptr,struct printf_spec spec,const char * fmt) ip_addr_string() argument
1652 escaped_string(char * buf,char * end,u8 * addr,struct printf_spec spec,const char * fmt) escaped_string() argument
1714 va_format(char * buf,char * end,struct va_format * va_fmt,struct printf_spec spec) va_format() argument
1731 uuid_string(char * buf,char * end,const u8 * addr,struct printf_spec spec,const char * fmt) uuid_string() argument
1776 netdev_bits(char * buf,char * end,const void * addr,struct printf_spec spec,const char * fmt) netdev_bits() argument
1798 fourcc_string(char * buf,char * end,const u32 * fourcc,struct printf_spec spec,const char * fmt) fourcc_string() argument
1858 address_val(char * buf,char * end,const void * addr,struct printf_spec spec,const char * fmt) address_val() argument
1918 rtc_str(char * buf,char * end,const struct rtc_time * tm,struct printf_spec spec,const char * fmt) rtc_str() argument
1965 time64_str(char * buf,char * end,const time64_t time,struct printf_spec spec,const char * fmt) time64_str() argument
1988 timespec64_str(char * buf,char * end,const struct timespec64 * ts,struct printf_spec spec,const char * fmt) timespec64_str() argument
2009 time_and_date(char * buf,char * end,void * ptr,struct printf_spec spec,const char * fmt) time_and_date() argument
2028 clock(char * buf,char * end,struct clk * clk,struct printf_spec spec,const char * fmt) clock() argument
2075 const struct printf_spec *spec; global() member
2141 flags_string(char * buf,char * end,void * flags_ptr,struct printf_spec spec,const char * fmt) flags_string() argument
2196 device_node_string(char * buf,char * end,struct device_node * dn,struct printf_spec spec,const char * fmt) device_node_string() argument
2286 fwnode_string(char * buf,char * end,struct fwnode_handle * fwnode,struct printf_spec spec,const char * fmt) fwnode_string() argument
2316 resource_or_range(const char * fmt,char * buf,char * end,void * ptr,struct printf_spec spec) resource_or_range() argument
2527 pointer(const char * fmt,char * buf,char * end,void * ptr,struct printf_spec spec) pointer() argument
2664 format_decode(struct fmt fmt,struct printf_spec * spec) format_decode() argument
2802 set_field_width(struct printf_spec * spec,int width) set_field_width() argument
2811 set_precision(struct printf_spec * spec,int prec) set_precision() argument
2825 convert_num_spec(unsigned int val,int size,struct printf_spec spec) convert_num_spec() argument
2866 struct printf_spec spec = {0}; vsnprintf() local
3147 struct printf_spec spec = {0}; vbin_printf() local
3287 struct printf_spec spec = {0}; bstr_printf() local
[all...]

12345678910>>...17