/openbmc/linux/sound/pci/ice1712/ |
H A D | hoontech.c | 43 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_darear() local 52 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_mute() local 61 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_insel() local 70 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_box_channel() local 120 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_box_midi() local 148 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_midi2() local 163 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in hoontech_init() 164 if (!spec) in hoontech_init() 166 ice->spec = spec; in hoontech_init() 195 spec->config = 0; in hoontech_init() [all …]
|
H A D | psc724.c | 158 struct psc724_spec *spec = ice->spec; in psc724_set_master_switch() local 170 struct psc724_spec *spec = ice->spec; in psc724_get_master_switch() local 179 struct psc724_spec *spec = ice->spec; in psc724_set_jack_state() local 215 struct psc724_spec *spec = ice->spec; in psc724_set_jack_detection() local 232 struct psc724_spec *spec = ice->spec; in psc724_get_jack_detection() local 307 struct psc724_spec *spec = ice->spec; in psc724_add_controls() local 360 struct psc724_spec *spec = ice->spec; in psc724_set_pro_rate() local 371 struct psc724_spec *spec = ice->spec; in psc724_resume() local 386 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in psc724_init() 389 ice->spec = spec; in psc724_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | filter.h | 183 memset(spec, 0, sizeof(*spec)); 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() 193 memset(spec, 0, sizeof(*spec)); in efx_filter_init_tx() 210 spec->match_flags |= in efx_filter_set_ipv4_local() 216 spec->loc_port = port; in efx_filter_set_ipv4_local() 231 spec->match_flags |= in efx_filter_set_ipv6_local() 236 memcpy(spec->loc_host, host, sizeof(spec->loc_host)); in efx_filter_set_ipv6_local() 237 spec->loc_port = port; in efx_filter_set_ipv6_local() 255 spec->match_flags |= in efx_filter_set_ipv4_full() [all …]
|
H A D | ethtool_common.c | 674 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule() 675 !(spec.match_flags & in efx_ethtool_get_class_rule() 701 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule() 702 !(spec.match_flags & in efx_ethtool_get_class_rule() 732 if (spec.match_flags & in efx_ethtool_get_class_rule() 751 !(spec.match_flags & in efx_ethtool_get_class_rule() 771 !(spec.match_flags & in efx_ethtool_get_class_rule() 1009 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1015 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule() 1068 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_generic.c | 107 struct hda_gen_spec *spec = codec->spec; in parse_user_hints() local 260 struct hda_gen_spec *spec = codec->spec; in get_nid_path() local 289 struct hda_gen_spec *spec = codec->spec; in snd_hda_get_path_idx() local 310 struct hda_gen_spec *spec = codec->spec; in snd_hda_get_path_from_idx() local 321 struct hda_gen_spec *spec = codec->spec; in is_dac_already_used() local 347 struct hda_gen_spec *spec = codec->spec; in is_ctl_used() local 480 struct hda_gen_spec *spec = codec->spec; in snd_hda_add_new_path() local 515 struct hda_gen_spec *spec = codec->spec; in get_preferred_dac() local 530 struct hda_gen_spec *spec = codec->spec; in look_for_dac() local 5667 spec->cur_adc = spec->adc_nids[spec->dyn_adc_idx[spec->cur_mux[0]]]; in dyn_adc_capture_pcm_prepare() [all …]
|
H A D | patch_cs8409.c | 24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config() local 59 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in cs8409_alloc_spec() 62 codec->spec = spec; in cs8409_alloc_spec() 93 struct cs8409_spec *spec = codec->spec; in cs8409_disable_i2c_clock() local 122 struct cs8409_spec *spec = codec->spec; in cs8409_enable_i2c_clock() local 161 struct cs8409_spec *spec = codec->spec; in cs8409_set_i2c_dev_addr() local 200 struct cs8409_spec *spec = codec->spec; in cs8409_i2c_read() local 243 struct cs8409_spec *spec = codec->spec; in cs8409_i2c_bulk_read() local 288 struct cs8409_spec *spec = codec->spec; in cs8409_i2c_write() local 329 struct cs8409_spec *spec = codec->spec; in cs8409_i2c_bulk_write() local [all …]
|
H A D | patch_analog.c | 52 struct ad198x_spec *spec = codec->spec; in create_beep_ctls() local 127 struct ad198x_spec *spec = codec->spec; in ad_vmaster_eapd_hook() local 170 struct ad198x_spec *spec = codec->spec; in ad198x_parse_auto_config() local 203 codec->spec = spec; in alloc_ad_spec() 217 struct ad198x_spec *spec = codec->spec; in ad_fixup_inv_jack_detect() local 398 spec = codec->spec; in patch_ad1986a() 524 spec = codec->spec; in patch_ad1983() 612 spec = codec->spec; in patch_ad1981() 904 spec = codec->spec; in patch_ad1988() 1084 spec = codec->spec; in patch_ad1884() [all …]
|
H A D | patch_cirrus.c | 132 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 162 spec->gen.master_mute = !!(spec->spdif_present && spec->sense_b); in cs_automute() 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 502 spec->gpio_mask = spec->gpio_dir = in cs420x_fixup_gpio_13() 515 spec->gpio_mask = spec->gpio_dir = in cs420x_fixup_gpio_23() 579 codec->spec = spec; in cs_alloc_spec() [all …]
|
H A D | patch_sigmatel.c | 4482 codec->spec = spec; in alloc_stac_spec() 4498 spec = codec->spec; in patch_stac9200() 4530 spec = codec->spec; in patch_stac925x() 4561 spec = codec->spec; in patch_stac92hd73xx() 4669 spec = codec->spec; in patch_stac92hd83xxx() 4718 spec = codec->spec; in patch_stac92hd95() 4758 spec = codec->spec; in patch_stac92hd71bxx() 4841 spec = codec->spec; in patch_stac922x() 4883 spec = codec->spec; in patch_stac927x() 4941 spec = codec->spec; in patch_stac9205() [all …]
|
H A D | patch_ca0132.c | 1569 struct ca0132_spec *spec = codec->spec; in chipio_write_address() local 1595 struct ca0132_spec *spec = codec->spec; in chipio_write_data() local 1640 struct ca0132_spec *spec = codec->spec; in chipio_read_data() local 1672 struct ca0132_spec *spec = codec->spec; in chipio_write() local 1723 struct ca0132_spec *spec = codec->spec; in chipio_write_multiple() local 1745 struct ca0132_spec *spec = codec->spec; in chipio_read() local 1786 struct ca0132_spec *spec = codec->spec; in chipio_set_control_param() local 1966 struct ca0132_spec *spec = codec->spec; in chipio_8051_write_exram() local 7317 if (!spec->dig_out && !spec->dig_in) in ca0132_build_pcms() 7351 if (!spec->dig_out && !spec->dig_in) in dbpro_build_pcms() [all …]
|
H A D | patch_conexant.c | 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 103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd() 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 322 struct conexant_spec *spec = codec->spec; in cxt_fixup_stereo_dmic() local 357 struct conexant_spec *spec = codec->spec; in cxt_update_headset_mode() local [all …]
|
H A D | patch_via.c | 108 codec->spec = spec; in via_new_spec() 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 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 315 struct via_spec *spec = codec->spec; in __analog_low_current_mode() local 385 struct via_spec *spec = codec->spec; in via_suspend() local 408 struct via_spec *spec = codec->spec; in via_check_power_status() local [all …]
|
H A D | patch_hdmi.c | 2587 codec->spec = spec; in alloc_generic_hdmi() 3090 spec = codec->spec; in intel_hsw_common_init() 3167 spec = codec->spec; in patch_i915_adlp_hdmi() 3191 spec = codec->spec; in patch_i915_byt_hdmi() 3467 codec->spec = spec; in patch_simple_hdmi() 3674 spec = codec->spec; in patch_nvhdmi_2ch() 3730 spec = codec->spec; in patch_nvhdmi_8ch_7x() 3802 spec = codec->spec; in patch_nvhdmi() 3835 spec = codec->spec; in patch_nvhdmi_legacy() 4082 spec = codec->spec; in patch_tegra234_hdmi() [all …]
|
H A D | patch_cmedia.c | 37 struct cmi_spec *spec; in patch_cmi9880() local 41 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_cmi9880() 42 if (spec == NULL) in patch_cmi9880() 45 codec->spec = spec; in patch_cmi9880() 47 cfg = &spec->gen.autocfg; in patch_cmi9880() 48 snd_hda_gen_spec_init(&spec->gen); in patch_cmi9880() 66 struct cmi_spec *spec; in patch_cmi8888() local 70 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_cmi8888() 71 if (!spec) in patch_cmi8888() 74 codec->spec = spec; in patch_cmi8888() [all …]
|
H A D | patch_realtek.c | 962 if (spec && spec->shutup) in alc_shutup() 1204 codec->spec = spec; in alc_alloc_spec() 1654 spec = codec->spec; in patch_alc880() 1903 spec = codec->spec; in patch_alc260() 2763 spec = codec->spec; in patch_alc882() 2942 spec = codec->spec; in patch_alc262() 3096 spec = codec->spec; in patch_alc268() 11139 spec = codec->spec; in patch_alc269() 11441 spec = codec->spec; in patch_alc861() 11543 spec = codec->spec; in patch_alc861vd() [all …]
|
H A D | patch_ca0110.c | 29 struct hda_gen_spec *spec = codec->spec; in ca0110_parse_auto_config() local 32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config() 35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config() 45 struct hda_gen_spec *spec; in patch_ca0110() local 48 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_ca0110() 49 if (!spec) in patch_ca0110() 51 snd_hda_gen_spec_init(spec); in patch_ca0110() 52 codec->spec = spec; in patch_ca0110() 55 spec->multi_cap_vol = 1; in patch_ca0110()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | filter.h | 183 memset(spec, 0, sizeof(*spec)); 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() 193 memset(spec, 0, sizeof(*spec)); in efx_filter_init_tx() 196 spec->dmaq_id = txq_id; in efx_filter_init_tx() 210 spec->match_flags |= in efx_filter_set_ipv4_local() 214 spec->ip_proto = proto; in efx_filter_set_ipv4_local() 216 spec->loc_port = port; in efx_filter_set_ipv4_local() 234 spec->match_flags |= in efx_filter_set_ipv4_full() 239 spec->ip_proto = proto; in efx_filter_set_ipv4_full() [all …]
|
H A D | ethtool_common.c | 674 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule() 675 !(spec.match_flags & in efx_ethtool_get_class_rule() 701 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule() 702 !(spec.match_flags & in efx_ethtool_get_class_rule() 732 if (spec.match_flags & in efx_ethtool_get_class_rule() 751 !(spec.match_flags & in efx_ethtool_get_class_rule() 771 !(spec.match_flags & in efx_ethtool_get_class_rule() 1010 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1016 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule() 1069 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | filter.h | 157 memset(spec, 0, sizeof(*spec)); in ef4_filter_init_rx() 161 spec->dmaq_id = rxq_id; in ef4_filter_init_rx() 167 memset(spec, 0, sizeof(*spec)); in ef4_filter_init_tx() 170 spec->dmaq_id = txq_id; in ef4_filter_init_tx() 184 spec->match_flags |= in ef4_filter_set_ipv4_local() 188 spec->ip_proto = proto; in ef4_filter_set_ipv4_local() 190 spec->loc_port = port; in ef4_filter_set_ipv4_local() 208 spec->match_flags |= in ef4_filter_set_ipv4_full() 213 spec->ip_proto = proto; in ef4_filter_set_ipv4_full() 215 spec->loc_port = lport; in ef4_filter_set_ipv4_full() [all …]
|
H A D | ethtool.c | 821 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in ef4_ethtool_get_class_rule() 822 !(spec.match_flags & in ef4_ethtool_get_class_rule() 848 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in ef4_ethtool_get_class_rule() 849 !(spec.match_flags & in ef4_ethtool_get_class_rule() 879 if (spec.match_flags & in ef4_ethtool_get_class_rule() 898 !(spec.match_flags & in ef4_ethtool_get_class_rule() 918 !(spec.match_flags & in ef4_ethtool_get_class_rule() 1111 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() 1117 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in ef4_ethtool_set_class_rule() 1170 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cpu_setup.h | 8 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); 20 void __setup_cpu_440ep(unsigned long offset, struct cpu_spec *spec); 22 void __setup_cpu_440gx(unsigned long offset, struct cpu_spec *spec); 30 void __setup_cpu_603(unsigned long offset, struct cpu_spec *spec); 31 void __setup_cpu_604(unsigned long offset, struct cpu_spec *spec); [all …]
|
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | via_aux_edid.c | 24 if (spec) { 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() 35 valid = spec->version || spec->revision; in query_edid() 39 kfree(spec); in query_edid() 40 spec = NULL; in query_edid() 42 printk(KERN_DEBUG "EDID: %s %s\n", spec->manufacturer, spec->monitor); in query_edid() 44 drv->data = spec; in query_edid() 52 if (!spec || !spec->modedb || !(spec->misc & FB_MISC_1ST_DETAIL)) in get_preferred_mode() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 90 free(spec->priv.name); in free_test_spec() 95 spec->priv.name = NULL; in free_test_spec() 171 memset(spec, 0, sizeof(*spec)); in parse_test_spec() 311 spec->unpriv.expect_failure = spec->priv.expect_failure; in parse_test_spec() 314 spec->unpriv.retval = spec->priv.retval; in parse_test_spec() 315 spec->unpriv.execute = spec->priv.execute; in parse_test_spec() 327 memcpy(spec->unpriv.expect_msgs, spec->priv.expect_msgs, sz); in parse_test_spec() 328 spec->unpriv.expect_msg_cnt = spec->priv.expect_msg_cnt; in parse_test_spec() 332 spec->valid = true; in parse_test_spec() 540 struct test_subspec *subspec = unpriv ? &spec->unpriv : &spec->priv; in run_subtest() [all …]
|
/openbmc/linux/lib/ |
H A D | vsprintf.c | 463 int need_pfx = ((spec.flags & SPECIAL) && spec.base != 10); in number() 584 spec.base = 16; in special_hex_number() 671 spec.base = 10; in err_ptr() 734 spec.base = 16; in pointer_string() 1661 len = spec.field_width < 0 ? 1 : spec.field_width; in escaped_string() 2538 spec->field_width = -spec->field_width; in format_decode() 2688 spec->type = FORMAT_TYPE_ULONG + (spec->flags & SIGN); in format_decode() 2695 spec->type = FORMAT_TYPE_UBYTE + (spec->flags & SIGN); in format_decode() 2698 spec->type = FORMAT_TYPE_USHORT + (spec->flags & SIGN); in format_decode() 2701 spec->type = FORMAT_TYPE_UINT + (spec->flags & SIGN); in format_decode() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste.c | 697 if (spec->ip_version) { in dr_ste_build_pre_check_spec() 704 (DR_MASK_IS_SRC_IP_SET(spec) || DR_MASK_IS_DST_IP_SET(spec))) { in dr_ste_build_pre_check_spec() 968 spec->icmpv6_header_data = in dr_ste_copy_mask_misc3() 1007 spec->macsec_tag_0 = in dr_ste_copy_mask_misc5() 1009 spec->macsec_tag_1 = in dr_ste_copy_mask_misc5() 1011 spec->macsec_tag_2 = in dr_ste_copy_mask_misc5() 1013 spec->macsec_tag_3 = in dr_ste_copy_mask_misc5() 1015 spec->tunnel_header_0 = in dr_ste_copy_mask_misc5() 1017 spec->tunnel_header_1 = in dr_ste_copy_mask_misc5() 1019 spec->tunnel_header_2 = in dr_ste_copy_mask_misc5() [all …]
|