Home
last modified time | relevance | path

Searched full:spec (Results 1 – 25 of 1506) sorted by relevance

12345678910>>...61

/linux/sound/pci/ice1712/
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/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...]
H A Dnvhdmi-mcp.c52 struct hdmi_spec *spec = codec->spec; in nvhdmi_mcp_init() local
54 if (spec->multiout.max_channels == 2) in nvhdmi_mcp_init()
99 struct hdmi_spec *spec = codec->spec; in nvhdmi_8ch_7x_pcm_close() local
118 return snd_hda_multi_out_dig_close(codec, &spec->multiout); in nvhdmi_8ch_7x_pcm_close()
130 struct hdmi_spec *spec = codec->spec; in nvhdmi_8ch_7x_pcm_prepare() local
135 per_cvt = get_cvt(spec, 0); in nvhdmi_8ch_7x_pcm_prepare()
238 struct hdmi_spec *spec = codec->spec; in nvhdmi_mcp_build_pcms() local
242 if (!err && spec->multiout.max_channels == 8) { in nvhdmi_mcp_build_pcms()
243 struct hda_pcm *info = get_pcm_rec(spec, 0); in nvhdmi_mcp_build_pcms()
252 struct hdmi_spec *spec = codec->spec; in nvhdmi_mcp_build_controls() local
[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/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 …]
H A Dethtool_common.c651 struct efx_filter_spec spec; in efx_ethtool_get_class_rule() local
655 rule->location, &spec); in efx_ethtool_get_class_rule()
659 if (spec.dmaq_id == EFX_FILTER_RX_DMAQ_ID_DROP) in efx_ethtool_get_class_rule()
662 rule->ring_cookie = spec.dmaq_id; in efx_ethtool_get_class_rule()
664 if ((spec.match_flags & EFX_FILTER_MATCH_ETHER_TYPE) && in efx_ethtool_get_class_rule()
665 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
666 (spec.match_flags & EFX_FILTER_MATCH_IP_PROTO) && in efx_ethtool_get_class_rule()
667 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule()
668 !(spec.match_flags & in efx_ethtool_get_class_rule()
673 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? in efx_ethtool_get_class_rule()
[all …]
H A Dmcdi_filters.c30 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_mcdi_filter_entry_spec()
38 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_mcdi_filter_entry_flags()
63 static bool efx_mcdi_filter_is_exclusive(const struct efx_filter_spec *spec) in efx_mcdi_filter_is_exclusive() argument
65 if (spec->match_flags & EFX_FILTER_MATCH_LOC_MAC && in efx_mcdi_filter_is_exclusive()
66 !is_multicast_ether_addr(spec->loc_mac)) in efx_mcdi_filter_is_exclusive()
69 if ((spec->match_flags & in efx_mcdi_filter_is_exclusive()
72 if (spec->ether_type == htons(ETH_P_IP) && in efx_mcdi_filter_is_exclusive()
73 !ipv4_is_multicast(spec->loc_host[0])) in efx_mcdi_filter_is_exclusive()
75 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_mcdi_filter_is_exclusive()
76 ((const u8 *)spec->loc_host)[0] != 0xff) in efx_mcdi_filter_is_exclusive()
[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(sizeof(*spec), GFP_KERNEL); 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/sound/hda/codecs/cirrus/
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/sound/hda/codecs/
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(sizeof(*spec), GFP_KERNEL); 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 Dsenarytech.c48 static int set_beep_amp(struct senary_spec *spec, hda_nid_t nid, in set_beep_amp()
55 spec->gen.beep_nid = nid; in set_beep_amp()
57 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
68 struct senary_spec *spec = codec->spec; in senary_auto_parse_beep()
74 return set_beep_amp(spec, nid, 0, HDA_OUTPUT);
84 struct senary_spec *spec = codec->spec; in senary_auto_parse_eapd()
92 spec->eapds[spec in senary_auto_parse_eapd()
45 set_beep_amp(struct senary_spec * spec,hda_nid_t nid,int idx,int dir) set_beep_amp() argument
65 struct senary_spec *spec = codec->spec; senary_auto_parse_beep() local
81 struct senary_spec *spec = codec->spec; senary_auto_parse_eapd() local
112 struct senary_spec *spec = codec->spec; senary_auto_vmaster_hook() local
119 struct senary_spec *spec = codec->spec; senary_init_gpio_led() local
143 struct senary_spec *spec = codec->spec; senary_shutdown() local
165 struct senary_spec *spec; senary_probe() local
[all...]
H A Dcm9825.c116 struct cmi_spec *spec = in cm9825_unsol_hp_delayed() local
119 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_unsol_hp_delayed()
123 hp_jack_plugin = snd_hda_jack_detect(spec->codec, hp_pin); in cm9825_unsol_hp_delayed()
125 codec_dbg(spec->codec, "hp_jack_plugin %d, hp_pin 0x%X\n", in cm9825_unsol_hp_delayed()
130 snd_hda_codec_write(spec->codec, 0x42, 0, in cm9825_unsol_hp_delayed()
133 codec_dbg(spec->codec, "codec_write err %d\n", err); in cm9825_unsol_hp_delayed()
135 snd_hda_sequence_write(spec->codec, spec->chip_hp_remove_verbs); in cm9825_unsol_hp_delayed()
137 snd_hda_sequence_write(spec->codec, in cm9825_unsol_hp_delayed()
138 spec->chip_hp_present_verbs); in cm9825_unsol_hp_delayed()
141 jack = snd_hda_jack_tbl_get(spec->codec, hp_pin); in cm9825_unsol_hp_delayed()
[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 …]
/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/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 …]
H A Dethtool.c799 struct ef4_filter_spec spec; in ef4_ethtool_get_class_rule() local
803 rule->location, &spec); in ef4_ethtool_get_class_rule()
807 if (spec.dmaq_id == EF4_FILTER_RX_DMAQ_ID_DROP) in ef4_ethtool_get_class_rule()
810 rule->ring_cookie = spec.dmaq_id; in ef4_ethtool_get_class_rule()
812 if ((spec.match_flags & EF4_FILTER_MATCH_ETHER_TYPE) && in ef4_ethtool_get_class_rule()
813 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
814 (spec.match_flags & EF4_FILTER_MATCH_IP_PROTO) && in ef4_ethtool_get_class_rule()
815 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in ef4_ethtool_get_class_rule()
816 !(spec.match_flags & in ef4_ethtool_get_class_rule()
821 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? in ef4_ethtool_get_class_rule()
[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/drivers/media/rc/keymaps/
H A Drc-cec.c21 * CEC Spec "High-Definition Multimedia Interface Specification" can be obtained
36 { 0x09, KEY_ROOT_MENU }, /* CEC Spec: Device Root Menu - see Note 2 */
44 { 0x0b, KEY_MENU }, /* CEC Spec: Contents Menu */
45 { 0x0c, KEY_FAVORITES }, /* CEC Spec: Favorite Menu */
51 { 0x1d, KEY_DIGITS }, /* CEC Spec: select/toggle a Number Entry Mode */
69 { 0x2f, KEY_NEXT_FAVORITE }, /* CEC Spec: Next Favorite */
72 { 0x32, KEY_PREVIOUS }, /* CEC Spec: Previous Channel */
73 { 0x33, KEY_SOUND }, /* CEC Spec: Sound Select */
74 { 0x34, KEY_VIDEO }, /* 0x34: CEC Spec: Input Select */
75 { 0x35, KEY_INFO }, /* CEC Spec: Display Information */
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c181 struct mlx5_flow_spec *spec) in ipsec_rx_rule_add_match_obj() argument
186 mlx5_esw_ipsec_rx_rule_add_match_obj(sa_entry, spec); in ipsec_rx_rule_add_match_obj()
188 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in ipsec_rx_rule_add_match_obj()
190 MLX5_SET(fte_match_param, spec->match_value, in ipsec_rx_rule_add_match_obj()
194 spec->match_criteria_enable |= MLX5_MATCH_MISC_PARAMETERS_2; in ipsec_rx_rule_add_match_obj()
208 struct mlx5_flow_spec *spec; in rx_add_rule_drop_auth_trailer() local
211 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_add_rule_drop_auth_trailer()
212 if (!spec) in rx_add_rule_drop_auth_trailer()
229 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_auth_trailer()
231 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, misc_parameters_2.ipsec_syndrome); in rx_add_rule_drop_auth_trailer()
[all …]
/linux/lib/
H A Dvsprintf.c466 struct printf_spec spec) in number() argument
472 int need_pfx = ((spec.flags & SPECIAL) && spec.base != 10); in number()
475 int field_width = spec.field_width; in number()
476 int precision = spec.precision; in number()
480 locase = (spec.flags & SMALL); in number()
481 if (spec.flags & LEFT) in number()
482 spec.flags &= ~ZEROPAD; in number()
484 if (spec.flags & SIGN) { in number()
489 } else if (spec.flags & PLUS) { in number()
492 } else if (spec.flags & SPACE) { in number()
[all …]
/linux/sound/hda/codecs/realtek/
H A Dalc260.c36 struct alc_spec *spec = codec->spec; in alc260_gpio1_automute() local
38 alc_update_gpio_data(codec, 0x01, spec->gen.hp_jack_present); in alc260_gpio1_automute()
44 struct alc_spec *spec = codec->spec; in alc260_fixup_gpio1_toggle() local
49 spec->gen.automute_hook = alc260_gpio1_automute; in alc260_fixup_gpio1_toggle()
50 spec->gen.detect_hp = 1; in alc260_fixup_gpio1_toggle()
51 spec->gen.automute_speaker = 1; in alc260_fixup_gpio1_toggle()
52 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
62 struct alc_spec *spec = codec->spec; in alc260_fixup_kn1() local
82 spec->init_amp = ALC_INIT_NONE; in alc260_fixup_kn1()
90 struct alc_spec *spec = codec->spec; in alc260_fixup_fsc_s7020() local
[all …]

12345678910>>...61