| /linux/include/sound/ |
| H A D | hda_regmap.h | 38 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 64 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument 79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() 97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp() 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp() 181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo() 205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo() [all …]
|
| H A D | hda_codec.h | 144 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member 325 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() argument 333 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() argument 339 snd_hda_param_read(codec,nid,param) global() argument 341 snd_hda_get_sub_nodes(codec,nid,start_nid) global() argument 346 snd_hda_get_num_conns(struct hda_codec * codec,hda_nid_t nid) snd_hda_get_num_conns() argument 351 snd_hda_get_raw_connections(codec,nid,list,max_conns) global() argument 353 snd_hda_get_num_raw_conns(codec,nid) global() argument 369 hda_nid_t nid; global() member 379 snd_hda_codec_write_cache(struct hda_codec * codec,hda_nid_t nid,int flags,unsigned int verb,unsigned int parm) snd_hda_codec_write_cache() argument 387 hda_nid_t nid; global() member 402 hda_nid_t nid; /* Converter nid values relate to */ global() member 448 snd_hda_codec_cleanup_stream(codec,nid) global() argument 451 snd_hda_query_supported_pcm(codec,nid,ratesp,fmtsp,subfmtp,bpsp) global() argument 453 snd_hda_is_supported_format(codec,nid,fmt) global() argument 481 hda_call_check_power_status(struct hda_codec * codec,hda_nid_t nid) hda_call_check_power_status() argument [all...] |
| /linux/sound/hda/core/ |
| H A D | sysfs.c | 99 int nid; in get_codec_nid() local 115 int nid; in widget_attr_show() local 131 int nid; in widget_attr_store() local 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show() 210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show() 219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show() [all …]
|
| H A D | device.c | 225 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() argument 276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() argument 294 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, in argument 313 snd_hdac_read_parm_uncached(struct hdac_device * codec,hda_nid_t nid,int parm) snd_hdac_read_parm_uncached() argument 332 snd_hdac_override_parm(struct hdac_device * codec,hda_nid_t nid,unsigned int parm,unsigned int val) snd_hdac_override_parm() argument 357 snd_hdac_get_sub_nodes(struct hdac_device * codec,hda_nid_t nid,hda_nid_t * start_id) snd_hdac_get_sub_nodes() argument 378 hda_nid_t nid; setup_fg_nodes() local 437 get_num_conns(struct hdac_device * codec,hda_nid_t nid) get_num_conns() argument 465 snd_hdac_get_connections(struct hdac_device * codec,hda_nid_t nid,hda_nid_t * conn_list,int max_conns) snd_hdac_get_connections() argument 852 query_pcm_param(struct hdac_device * codec,hda_nid_t nid) query_pcm_param() argument 866 query_stream_param(struct hdac_device * codec,hda_nid_t nid) query_stream_param() argument 891 snd_hdac_query_supported_pcm(struct hdac_device * codec,hda_nid_t nid,u32 * ratesp,u64 * formatsp,u32 * subformatsp,unsigned int * bpsp) snd_hdac_query_supported_pcm() argument 1000 snd_hdac_is_supported_format(struct hdac_device * codec,hda_nid_t nid,unsigned int format) snd_hdac_is_supported_format() argument 1057 codec_read(struct hdac_device * hdac,hda_nid_t nid,int flags,unsigned int verb,unsigned int parm) codec_read() argument 1069 codec_write(struct hdac_device * hdac,hda_nid_t nid,int flags,unsigned int verb,unsigned int parm) codec_write() argument 1089 snd_hdac_codec_read(struct hdac_device * hdac,hda_nid_t nid,int flags,unsigned int verb,unsigned int parm) snd_hdac_codec_read() argument 1108 snd_hdac_codec_write(struct hdac_device * hdac,hda_nid_t nid,int flags,unsigned int verb,unsigned int parm) snd_hdac_codec_write() argument 1126 snd_hdac_check_power_state(struct hdac_device * hdac,hda_nid_t nid,unsigned int target_state) snd_hdac_check_power_state() argument 1148 snd_hdac_sync_power_state(struct hdac_device * codec,hda_nid_t nid,unsigned int power_state) snd_hdac_sync_power_state() argument [all...] |
| /linux/sound/hda/common/ |
| H A D | proc.c | 22 #define param_read(codec, nid, parm) \ argument 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() argument 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() argument 94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() argument 112 is_stereo_amps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int wcaps,int indices) is_stereo_amps() argument 134 print_amp_vals(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int wcaps,int indices) print_amp_vals() argument 200 print_pcm_caps(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_pcm_caps() argument 305 print_pin_caps(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int * supports_vref) print_pin_caps() argument 401 print_pin_ctls(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int supports_vref) print_pin_ctls() argument 439 print_vol_knob(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_vol_knob() argument 451 print_audio_io(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,unsigned int wid_type) print_audio_io() argument 469 print_digital_conv(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_digital_conv() argument 513 print_power_state(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_power_state() argument 554 print_unsol_cap(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_unsol_cap() argument 574 print_proc_caps(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_proc_caps() argument 599 print_conn_list(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,unsigned int wid_type,hda_nid_t * conn,int conn_len) print_conn_list() argument 639 print_gpio(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_gpio() argument 683 print_dpmst_connections(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int dev_num) print_dpmst_connections() argument 715 print_device_list(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_device_list() argument 778 hda_nid_t nid, fg; print_codec_info() local [all...] |
| H A D | codec.c | 90 for (; seq->nid; seq++) member 96 lookup_conn_list(struct hda_codec * codec,hda_nid_t nid) lookup_conn_list() argument 106 add_conn_list(struct hda_codec * codec,hda_nid_t nid,int len,const hda_nid_t * list) add_conn_list() argument 132 read_and_add_raw_conns(struct hda_codec * codec,hda_nid_t nid) read_and_add_raw_conns() argument 168 snd_hda_get_conn_list(struct hda_codec * codec,hda_nid_t nid,const hda_nid_t ** listp) snd_hda_get_conn_list() argument 207 snd_hda_get_connections(struct hda_codec * codec,hda_nid_t nid,hda_nid_t * conn_list,int max_conns) snd_hda_get_connections() argument 238 snd_hda_override_conn_list(struct hda_codec * codec,hda_nid_t nid,int len,const hda_nid_t * list) snd_hda_override_conn_list() argument 265 snd_hda_get_conn_index(struct hda_codec * codec,hda_nid_t mux,hda_nid_t nid,int recursive) snd_hda_get_conn_index() argument 300 snd_hda_get_num_devices(struct hda_codec * codec,hda_nid_t nid) snd_hda_get_num_devices() argument 326 snd_hda_get_devices(struct hda_codec * codec,hda_nid_t nid,u8 * dev_list,int max_devices) snd_hda_get_devices() argument 365 snd_hda_get_dev_select(struct hda_codec * codec,hda_nid_t nid) snd_hda_get_dev_select() argument 383 snd_hda_set_dev_select(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_set_dev_select() argument 419 hda_nid_t nid; read_widget_caps() local 434 hda_nid_t nid; read_pin_defaults() local 462 look_up_pincfg(struct hda_codec * codec,struct snd_array * array,hda_nid_t nid) look_up_pincfg() argument 478 snd_hda_add_pincfg(struct hda_codec * codec,struct snd_array * list,hda_nid_t nid,unsigned int cfg) snd_hda_add_pincfg() argument 504 snd_hda_codec_set_pincfg(struct hda_codec * codec,hda_nid_t nid,unsigned int cfg) snd_hda_codec_set_pincfg() argument 519 snd_hda_codec_get_pincfg(struct hda_codec * codec,hda_nid_t nid) snd_hda_codec_get_pincfg() argument 555 snd_hda_codec_set_pin_target(struct hda_codec * codec,hda_nid_t nid,unsigned int val) snd_hda_codec_set_pin_target() argument 573 snd_hda_codec_get_pin_target(struct hda_codec * codec,hda_nid_t nid) snd_hda_codec_get_pin_target() argument 659 hda_nid_t nid; global() member 669 get_hda_cvt_setup(struct hda_codec * codec,hda_nid_t nid) get_hda_cvt_setup() argument 1068 update_pcm_stream_id(struct hda_codec * codec,struct hda_cvt_setup * p,hda_nid_t nid,u32 stream_tag,int channel_id) update_pcm_stream_id() argument 1087 update_pcm_format(struct hda_codec * codec,struct hda_cvt_setup * p,hda_nid_t nid,int format) update_pcm_format() argument 1112 snd_hda_codec_setup_stream(struct hda_codec * codec,hda_nid_t nid,u32 stream_tag,int channel_id,int format) snd_hda_codec_setup_stream() argument 1164 __snd_hda_codec_cleanup_stream(struct hda_codec * codec,hda_nid_t nid,int do_now) __snd_hda_codec_cleanup_stream() argument 1194 hda_nid_t nid = q->nid; really_cleanup_stream() local 1250 query_amp_caps(struct hda_codec * codec,hda_nid_t nid,int direction) query_amp_caps() argument 1269 snd_hda_check_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int bits) snd_hda_check_amp_caps() argument 1294 snd_hda_override_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int caps) snd_hda_override_amp_caps() argument 1306 encode_amp(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx) encode_amp() argument 1330 snd_hda_codec_amp_update(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,int mask,int val) snd_hda_codec_amp_update() argument 1351 snd_hda_codec_amp_stereo(struct hda_codec * codec,hda_nid_t nid,int direction,int idx,int mask,int val) snd_hda_codec_amp_stereo() argument 1379 snd_hda_codec_amp_init(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,int mask,int val) snd_hda_codec_amp_init() argument 1401 snd_hda_codec_amp_init_stereo(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int mask,int val) snd_hda_codec_amp_init_stereo() argument 1415 get_amp_max_value(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int ofs) get_amp_max_value() argument 1438 u16 nid = get_amp_nid(kcontrol); snd_hda_mixer_amp_volume_info() local 1459 read_amp_value(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,unsigned int ofs) read_amp_value() argument 1473 update_amp_value(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,unsigned int ofs,unsigned int val) update_amp_value() argument 1501 hda_nid_t nid = get_amp_nid(kcontrol); snd_hda_mixer_amp_volume_get() local 1528 hda_nid_t nid = get_amp_nid(kcontrol); snd_hda_mixer_amp_volume_put() local 1558 hda_nid_t nid = get_amp_nid(kcontrol); get_ctl_amp_tlv() local 1613 snd_hda_set_vmaster_tlv(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int * tlv) snd_hda_set_vmaster_tlv() argument 1690 snd_hda_ctl_add(struct hda_codec * codec,hda_nid_t nid,struct snd_kcontrol * kctl) snd_hda_ctl_add() argument 2078 hda_nid_t nid = get_amp_nid(kcontrol); snd_hda_mixer_amp_switch_get() local 2106 hda_nid_t nid = get_amp_nid(kcontrol); snd_hda_mixer_amp_switch_put() local 2240 set_dig_out(struct hda_codec * codec,hda_nid_t nid,int mask,int val) set_dig_out() argument 2255 set_dig_out_convert(struct hda_codec * codec,hda_nid_t nid,int dig1,int dig2) set_dig_out_convert() argument 2278 hda_nid_t nid; snd_hda_spdif_default_put() local 2319 set_spdif_ctls(struct hda_codec * codec,hda_nid_t nid,int dig1,int dig2) set_spdif_ctls() argument 2336 hda_nid_t nid; snd_hda_spdif_out_switch_put() local 2471 snd_hda_spdif_out_of_nid(struct hda_codec * codec,hda_nid_t nid) snd_hda_spdif_out_of_nid() argument 2512 snd_hda_spdif_ctls_assign(struct hda_codec * codec,int idx,hda_nid_t nid) snd_hda_spdif_ctls_assign() argument 2597 hda_nid_t nid = kcontrol->private_value; snd_hda_spdif_in_switch_put() local 2616 hda_nid_t nid = kcontrol->private_value; snd_hda_spdif_in_status_get() local 2658 snd_hda_create_spdif_in_ctls(struct hda_codec * codec,hda_nid_t nid) snd_hda_create_spdif_in_ctls() argument 2700 hda_nid_t nid; snd_hda_codec_set_power_to_all() local 2728 snd_hda_codec_eapd_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) snd_hda_codec_eapd_power_filter() argument 2794 hda_nid_t nid; sync_power_up_states() local 3454 snd_hda_check_amp_list_power(struct hda_codec * codec,struct hda_loopback_check * check,hda_nid_t nid) snd_hda_check_amp_list_power() argument 3527 snd_hda_input_mux_put(struct hda_codec * codec,const struct hda_input_mux * imux,struct snd_ctl_elem_value * ucontrol,hda_nid_t nid,unsigned int * cur_val) snd_hda_input_mux_put() argument 3579 setup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid,unsigned int stream_tag,unsigned int format) setup_dig_out_stream() argument 3618 cleanup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid) cleanup_dig_out_stream() argument [all...] |
| H A D | hda_local.h | 28 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument 31 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument 34 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument 46 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument 49 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument 52 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument 55 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument 59 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument 67 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument 70 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument [all …]
|
| H A D | hda_jack.h | 21 hda_nid_t nid; member 31 hda_nid_t nid; member 63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 95 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback() 130 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() 142 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst() 154 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 178 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
|
| H A D | jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() 71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() 253 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_pin_sense() 275 hda_nid_t nid, int dev_id) in snd_hda_jack_detect_state_mst() 318 snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback_mst() 365 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable() 502 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() [all …]
|
| H A D | auto_parser.c | 20 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list() 57 hda_nid_t nid, int type) in add_auto_cfg_input_pin() 177 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local 595 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 605 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx() 626 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx() 641 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index() 658 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name() 714 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label() 903 hda_nid_t nid = pin->nid; in pin_config_match() local
|
| /linux/mm/ |
| H A D | shrinker.c | 42 struct shrinker_info *old, int nid) in shrinker_unit_alloc() 66 int nid; in free_shrinker_info() local 79 int nid, ret = 0; in alloc_shrinker_info() local 107 int nid) in shrinker_info_protected() 118 int nid; in expand_one_shrinker_info() local 196 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit() 252 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg() 268 static long add_nr_deferred_memcg(long nr, int nid, struct shrinker *shrinker, in add_nr_deferred_memcg() 287 int nid, index, offset; in reparent_shrinker_deferred() local 323 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg() [all …]
|
| H A D | sparse.c | 52 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 57 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 63 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc() 82 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() 106 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() 118 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid() 217 static void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present() 247 int i, nid; in memblocks_present() local 326 int nid; in sparse_early_usemaps_alloc_pgdat_section() local 349 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr() [all …]
|
| H A D | mm_init.c | 62 int nid; in mminit_verify_zonelist() local 318 int i, nid; in early_calculate_totalpages() local 359 int i, nid; in find_zone_movable_pfns_for_nodes() local 582 unsigned long zone, int nid) in __init_single_page() 620 int nid; in __early_pfn_to_nid() local 638 int nid; in early_pfn_to_nid() local 672 void __meminit __init_page_from_nid(unsigned long pfn, int nid) in __init_page_from_nid() 699 static inline bool __meminit early_page_initialised(unsigned long pfn, int nid) in early_page_initialised() 712 defer_init(int nid, unsigned long pfn, unsigned long end_pfn) in defer_init() 748 static void __meminit __init_deferred_page(unsigned long pfn, int nid) in __init_deferred_page() [all …]
|
| H A D | memory_hotplug.c | 389 int __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages() 434 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn() 455 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn() 483 int nid = zone_to_nid(zone); in shrink_zone_span() local 754 int nid = pgdat->node_id; in move_pfn_range_to_zone() local 843 static bool auto_movable_can_online_movable(int nid, struct memory_group *group, in auto_movable_can_online_movable() 898 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn() 964 static struct zone *auto_movable_zone_for_pfn(int nid, in auto_movable_zone_for_pfn() 1025 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn() 1049 struct zone *zone_for_pfn_range(int online_type, int nid, in zone_for_pfn_range() [all …]
|
| H A D | hugetlb_cma.c | 23 int nid = folio_nid(folio); in hugetlb_cma_free_folio() local 30 int nid, nodemask_t *nodemask) in hugetlb_cma_alloc_folio() 56 hugetlb_cma_alloc_bootmem(struct hstate *h, int *nid, bool node_exact) in hugetlb_cma_alloc_bootmem() 93 int nid, count = 0; in cmdline_parse_hugetlb_cma() local 141 int nid; in hugetlb_cma_reserve() local
|
| H A D | memblock.c | 235 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up() 270 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down() 309 phys_addr_t end, int nid, in memblock_find_in_range_node() 577 int nid, in memblock_insert_region() 610 int nid, enum memblock_flags flags) in memblock_add_range() 728 int nid, enum memblock_flags flags) in memblock_add_node() 774 int nid, i; in memblock_validate_numa_coverage() local 929 int nid, enum memblock_flags flags) in __memblock_reserve() 966 int nid; in memmap_init_kho_scratch_pages() local 1149 int nid, int flags) in should_skip_region() [all …]
|
| H A D | numa_emulation.c | 25 static int __init emu_find_memblk_by_nid(int nid, const struct numa_meminfo *mi) in emu_find_memblk_by_nid() 51 int nid, int phys_blk, u64 size) in emu_setup_memblk() 93 int nid = 0; in split_nodes_interleave() local 223 int nid) in split_nodes_size_interleave_uniform() 401 int nid = 0; in numa_emulation() local 549 int physnid, nid; in numa_add_cpu() local 575 int nid, physnid; in numa_set_cpumask() local
|
| H A D | numa_memblks.c | 133 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() 198 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() 220 int __init numa_add_reserved_memblk(int nid, u64 start, u64 end) in numa_add_reserved_memblk() 372 int nid = memblock_get_region_node(mb_region); in numa_clear_kernel_node_hotplug() local 570 int nid = meminfo_to_nid(&numa_meminfo, start); in phys_to_target_node() local 585 int nid = meminfo_to_nid(&numa_meminfo, start); in memory_add_physaddr_to_nid() local
|
| /linux/drivers/base/ |
| H A D | node.c | 216 void node_set_perf_attrs(unsigned int nid, struct access_coordinate *coord, in node_set_perf_attrs() 257 void node_update_perf_attrs(unsigned int nid, struct access_coordinate *coord, in node_update_perf_attrs() 368 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) in node_add_cache() 431 static void node_init_caches(unsigned int nid) in node_init_caches() 436 static void node_init_caches(unsigned int nid) { } in node_init_caches() 445 int nid = dev->id; in node_read_meminfo() local 590 int nid = dev->id; in node_read_vmstat() local 624 int nid = dev->id; in node_read_distance() local 728 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 801 int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node() [all …]
|
| /linux/fs/f2fs/ |
| H A D | node.c | 30 static inline bool is_invalid_nid(struct f2fs_sb_info *sbi, nid_t nid) in is_invalid_nid() 38 int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_check_nid_range() 138 static struct folio *get_current_nat_folio(struct f2fs_sb_info *sbi, nid_t nid) in get_current_nat_folio() 143 static struct folio *get_next_nat_folio(struct f2fs_sb_info *sbi, nid_t nid) in get_next_nat_folio() 173 nid_t nid, bool no_fail) in __alloc_nat_entry() 394 int f2fs_need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_need_dentry_mark() 411 bool f2fs_is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_is_checkpointed_node() 442 static void cache_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in cache_nat_entry() 562 int f2fs_get_node_info(struct f2fs_sb_info *sbi, nid_t nid, in f2fs_get_node_info() 660 nid_t nid; in f2fs_ra_node_pages() local [all …]
|
| /linux/sound/pci/lola/ |
| H A D | lola_proc.c | 17 struct lola *chip, int nid, const char *name) in print_audio_widget() 28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() 49 struct lola *chip, int nid) in print_clock_widget() 89 struct lola *chip, int nid) in print_mixer_widget() 102 int i, nid; in lola_proc_codec_read() local
|
| /linux/sound/hda/codecs/ |
| H A D | generic.c | 241 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() argument 251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained() argument 319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used() argument 360 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, in is_ctl_associated() argument 535 hda_nid_t nid = spec->all_dacs[i]; look_for_dac() local 588 hda_nid_t nid = path->path[i]; look_for_out_vol_nid() local 604 hda_nid_t nid = path->path[idx]; has_amp_in() local 618 hda_nid_t nid = path->path[idx]; has_amp_out() local 630 is_active_nid(struct hda_codec * codec,hda_nid_t nid,unsigned int dir,unsigned int idx) is_active_nid() argument 665 is_active_nid_for_any(codec,nid) global() argument 669 get_amp_val_to_activate(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int caps,bool enable) get_amp_val_to_activate() argument 687 is_stereo_amps(struct hda_codec * codec,hda_nid_t nid,int dir) is_stereo_amps() argument 704 init_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx) init_amp() argument 716 update_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,unsigned int mask,unsigned int val) update_amp() argument 731 get_amp_mask_to_modify(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,unsigned int caps) get_amp_mask_to_modify() argument 748 activate_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int idx_to_check,bool enable) activate_amp() argument 764 check_and_activate_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int idx_to_check,bool enable) check_and_activate_amp() argument 777 hda_nid_t nid = path->path[i]; activate_amp_out() local 789 hda_nid_t nid = path->path[i]; activate_amp_in() local 827 hda_nid_t nid, changed = 0; path_power_update() local 862 sync_power_state_change(struct hda_codec * codec,hda_nid_t nid) sync_power_state_change() argument 892 hda_nid_t nid = path->path[i]; snd_hda_activate_path() local 1039 hda_nid_t nid = get_amp_nid_(path->ctls[type]); get_default_ch_nums() local 1069 hda_nid_t nid = get_amp_nid_(val); add_sw_ctl() local 1094 hda_nid_t nid = get_amp_nid(kcontrol); sync_auto_mute_bits() local 1288 hda_nid_t nid; assign_out_path_ctls() local 1468 hda_nid_t nid = spec->all_dacs[i]; get_dac_if_single() local 1482 can_be_multiio_pin(struct hda_codec * codec,unsigned int location,hda_nid_t nid) can_be_multiio_pin() argument 1549 hda_nid_t nid = cfg->inputs[i].pin; fill_multi_ios() local 1970 hda_nid_t nid; fill_all_dac_nids() local 2377 hda_nid_t nid = spec->multi_io[idx].pin; set_multi_io() local 2614 hda_nid_t nid; create_hp_mic() local 2678 hda_nid_t nid = kcontrol->private_value; out_jack_mode_get() local 2690 hda_nid_t nid = kcontrol->private_value; out_jack_mode_put() local 2825 hda_nid_t nid = kcontrol->private_value; in_jack_mode_info() local 2840 hda_nid_t nid = kcontrol->private_value; in_jack_mode_get() local 2853 hda_nid_t nid = kcontrol->private_value; in_jack_mode_put() local 2918 hda_nid_t nid = kcontrol->private_value; hp_mic_jack_mode_info() local 2948 get_cur_hp_mic_jack_mode(struct hda_codec * codec,hda_nid_t nid) get_cur_hp_mic_jack_mode() argument 2973 hda_nid_t nid = kcontrol->private_value; hp_mic_jack_mode_get() local 2983 hda_nid_t nid = kcontrol->private_value; hp_mic_jack_mode_put() local 3063 hda_nid_t nid; look_for_mix_leaf_ctls() local 3149 is_input_pin(struct hda_codec * codec,hda_nid_t nid) is_input_pin() argument 3159 hda_nid_t nid; fill_adc_nids() local 3546 hda_nid_t nid; parse_capvol_in_path() local 3583 is_inv_dmic_pin(struct hda_codec * codec,hda_nid_t nid) is_inv_dmic_pin() argument 3839 check_boost_vol(struct hda_codec * codec,hda_nid_t nid,int dir,int idx) check_boost_vol() argument 3861 hda_nid_t nid; look_for_boost_amp() local 4135 set_path_power(struct hda_codec * codec,hda_nid_t nid,int pin_state,int stream_state) set_path_power() argument 4284 add_fake_paths(struct hda_codec * codec,hda_nid_t nid,int num_pins,const hda_nid_t * pins) add_fake_paths() argument 4313 hda_nid_t nid = spec->beep_nid; add_fake_beep_paths() local 4375 hda_nid_t nid = pins[i]; detect_jacks() local 4395 hda_nid_t nid = pins[i]; do_automute() local 4758 hda_nid_t nid = cfg->hp_pins[i]; check_auto_mute_availability() local 4770 hda_nid_t nid = cfg->line_out_pins[i]; check_auto_mute_availability() local 4844 hda_nid_t nid = cfg->inputs[i].pin; check_auto_mic_availability() local 4907 snd_hda_gen_path_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) snd_hda_gen_path_power_filter() argument 4951 snd_hda_gen_stream_pm(struct hda_codec * codec,hda_nid_t nid,bool on) snd_hda_gen_stream_pm() argument 4959 force_mute_output_path(struct hda_codec * codec,hda_nid_t nid) force_mute_output_path() argument 5719 setup_pcm_stream(struct hda_pcm_stream * str,const struct hda_pcm_stream * default_str,const struct hda_pcm_stream * spec_str,hda_nid_t nid) setup_pcm_stream() argument 5953 hda_nid_t nid = cfg->inputs[i].pin; init_analog_input() local 6021 hda_nid_t nid = pin->nid; clear_unsol_on_unused_pins() local 6092 snd_hda_gen_check_power_status(struct hda_codec * codec,hda_nid_t nid) snd_hda_gen_check_power_status() argument [all...] |
| /linux/arch/x86/mm/ |
| H A D | kasan_init_64.c | 25 static __init void *early_alloc(size_t size, int nid, bool should_panic) in early_alloc() 38 unsigned long end, int nid) in kasan_populate_pmd() 73 unsigned long end, int nid) in kasan_populate_pud() 103 unsigned long end, int nid) in kasan_populate_p4d() 123 unsigned long end, int nid) in kasan_populate_pgd() 142 int nid) in kasan_populate_shadow() 332 void __init kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid) in kasan_populate_shadow_for_vaddr()
|
| /linux/include/linux/ |
| H A D | gfp.h | 213 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist() 249 alloc_pages_bulk_node_noprof(gfp_t gfp, int nid, unsigned long nr_pages, in alloc_pages_bulk_node_noprof() 280 __alloc_pages_node_noprof(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node_noprof() 291 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof() 306 static inline struct page *alloc_pages_node_noprof(int nid, gfp_t gfp_mask, in alloc_pages_node_noprof() 334 struct mempolicy *mpol, pgoff_t ilx, int nid) in folio_alloc_mpol_noprof() 446 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof() 459 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof()
|
| H A D | memblock.h | 78 int nid; member 213 #define __for_each_mem_range(i, type_a, type_b, nid, flags, \ argument 233 #define __for_each_mem_range_rev(i, type_a, type_b, nid, flags, \ argument 323 #define for_each_mem_pfn_range(i, nid, p_start, p_end, p_nid) \ argument 340 #define for_each_free_mem_range(i, nid, flags, p_start, p_end, p_nid) \ argument 356 #define for_each_free_mem_range_reverse(i, nid, flags, p_start, p_end, \ argument 365 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() 375 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() 461 phys_addr_t align, int nid) in memblock_alloc_node()
|