Home
last modified time | relevance | path

Searched refs:start_nid (Results 1 – 11 of 11) sorted by relevance

/linux/sound/hda/
A Dhdac_sysfs.c380 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in widget_tree_create()
423 hda_nid_t start_nid, int num_nodes) in hda_widget_sysfs_reinit() argument
426 hda_nid_t end_nid = start_nid + num_nodes; in hda_widget_sysfs_reinit()
444 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()
445 if (nid < start_nid || nid >= end_nid) in hda_widget_sysfs_reinit()
451 for (i = 0, nid = start_nid; i < num_nodes; i++, nid++) { in hda_widget_sysfs_reinit()
452 if (nid < codec->start_nid || nid >= codec->end_nid) in hda_widget_sysfs_reinit()
457 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
A Dhdac_device.c406 hda_nid_t start_nid; in snd_hdac_refresh_widgets() local
414 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets()
415 if (!start_nid || nums <= 0 || nums >= 0xff) { in snd_hdac_refresh_widgets()
422 err = hda_widget_sysfs_reinit(codec, start_nid, nums); in snd_hdac_refresh_widgets()
427 codec->start_nid = start_nid; in snd_hdac_refresh_widgets()
428 codec->end_nid = start_nid + nums; in snd_hdac_refresh_widgets()
A Dlocal.h32 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
/linux/sound/pci/hda/
A Dhda_hwdep.c44 if (verb < codec->core.start_nid || in get_wcap_ioctl()
45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl()
48 verb -= codec->core.start_nid; in get_wcap_ioctl()
A Dhda_local.h439 for ((nid) = (codec)->core.start_nid; (nid) < (codec)->core.end_nid; (nid)++)
455 if (nid < codec->core.start_nid || in get_wcaps()
456 nid >= codec->core.start_nid + codec->core.num_nodes) in get_wcaps()
458 return codec->wcaps[nid - codec->core.start_nid]; in get_wcaps()
482 if (nid >= codec->core.start_nid && in snd_hda_override_wcaps()
483 nid < codec->core.start_nid + codec->core.num_nodes) in snd_hda_override_wcaps()
484 codec->wcaps[nid - codec->core.start_nid] = val; in snd_hda_override_wcaps()
A Dpatch_hdmi.c1955 hda_nid_t start_nid; in hdmi_parse_codec() local
1960 nodes = snd_hda_get_sub_nodes(codec, codec->core.afg, &start_nid); in hdmi_parse_codec()
1961 if (!start_nid || nodes < 0) { in hdmi_parse_codec()
1979 hda_nid_t nid = start_nid + i; in hdmi_parse_codec()
1992 hda_nid_t nid = start_nid + i; in hdmi_parse_codec()
A Dhda_codec.c424 nid = codec->core.start_nid; in read_widget_caps()
/linux/fs/f2fs/
A Dnode.h12 #define NAT_BLOCK_OFFSET(start_nid) ((start_nid) / NAT_ENTRY_PER_BLOCK) argument
229 static inline void set_to_next_nat(struct f2fs_nm_info *nm_i, nid_t start_nid) in set_to_next_nat() argument
231 unsigned int block_off = NAT_BLOCK_OFFSET(start_nid); in set_to_next_nat()
A Dnode.c547 nid_t start_nid = START_NID(nid); in f2fs_get_node_info() local
602 ne = nat_blk->entries[nid - start_nid]; in f2fs_get_node_info()
2353 struct page *nat_page, nid_t start_nid) in scan_nat_page() argument
2358 unsigned int nat_ofs = NAT_BLOCK_OFFSET(start_nid); in scan_nat_page()
2363 i = start_nid % NAT_ENTRY_PER_BLOCK; in scan_nat_page()
2366 if (unlikely(start_nid >= nm_i->max_nid)) in scan_nat_page()
2375 add_free_nid(sbi, start_nid, true, true); in scan_nat_page()
2979 nid_t start_nid = set->set * NAT_ENTRY_PER_BLOCK; in __flush_nat_entry_set() local
2997 page = get_next_nat_page(sbi, start_nid); in __flush_nat_entry_set()
3020 raw_ne = &nat_blk->entries[nid - start_nid]; in __flush_nat_entry_set()
[all …]
/linux/include/sound/
A Dhda_codec.h334 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument
335 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
A Dhdaudio.h79 hda_nid_t start_nid, end_nid; member

Completed in 43 milliseconds