Searched refs:start_nid (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/sound/hda/ |
D | hdac_sysfs.c | 380 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in widget_tree_create() 420 hda_nid_t start_nid, int num_nodes) in hda_widget_sysfs_reinit() argument 423 hda_nid_t end_nid = start_nid + num_nodes; in hda_widget_sysfs_reinit() 441 for (i = 0, nid = codec->start_nid; i < codec->num_nodes; i++, nid++) { in hda_widget_sysfs_reinit() 442 if (nid < start_nid || nid >= end_nid) in hda_widget_sysfs_reinit() 448 for (i = 0, nid = start_nid; i < num_nodes; i++, nid++) { in hda_widget_sysfs_reinit() 449 if (nid < codec->start_nid || nid >= codec->end_nid) in hda_widget_sysfs_reinit() 454 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
|
D | hdac_device.c | 396 hda_nid_t start_nid; in snd_hdac_refresh_widgets() local 399 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets() 400 if (!start_nid || nums <= 0 || nums >= 0xff) { in snd_hdac_refresh_widgets() 407 err = hda_widget_sysfs_reinit(codec, start_nid, nums); in snd_hdac_refresh_widgets() 413 codec->start_nid = start_nid; in snd_hdac_refresh_widgets() 414 codec->end_nid = start_nid + nums; in snd_hdac_refresh_widgets()
|
D | local.h | 32 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
|
/Linux-v4.19/sound/pci/hda/ |
D | hda_hwdep.c | 57 if (verb < codec->core.start_nid || in get_wcap_ioctl() 58 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl() 61 verb -= codec->core.start_nid; in get_wcap_ioctl()
|
D | hda_local.h | 457 for ((nid) = (codec)->core.start_nid; (nid) < (codec)->core.end_nid; (nid)++) 464 if (nid < codec->core.start_nid || in get_wcaps() 465 nid >= codec->core.start_nid + codec->core.num_nodes) in get_wcaps() 467 return codec->wcaps[nid - codec->core.start_nid]; in get_wcaps() 491 if (nid >= codec->core.start_nid && in snd_hda_override_wcaps() 492 nid < codec->core.start_nid + codec->core.num_nodes) in snd_hda_override_wcaps() 493 codec->wcaps[nid - codec->core.start_nid] = val; in snd_hda_override_wcaps()
|
D | hda_codec.h | 337 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument 338 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
|
D | hda_codec.c | 437 nid = codec->core.start_nid; in read_widget_caps()
|
/Linux-v4.19/fs/f2fs/ |
D | node.h | 15 #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()
|
D | node.c | 524 nid_t start_nid = START_NID(nid); in f2fs_get_node_info() local 569 ne = nat_blk->entries[nid - start_nid]; in f2fs_get_node_info() 2149 struct page *nat_page, nid_t start_nid) in scan_nat_page() argument 2154 unsigned int nat_ofs = NAT_BLOCK_OFFSET(start_nid); in scan_nat_page() 2159 i = start_nid % NAT_ENTRY_PER_BLOCK; in scan_nat_page() 2161 for (; i < NAT_ENTRY_PER_BLOCK; i++, start_nid++) { in scan_nat_page() 2162 if (unlikely(start_nid >= nm_i->max_nid)) in scan_nat_page() 2171 add_free_nid(sbi, start_nid, true, true); in scan_nat_page() 2174 update_free_nid_bitmap(sbi, start_nid, false, true); in scan_nat_page() 2673 static void __update_nat_bits(struct f2fs_sb_info *sbi, nid_t start_nid, in __update_nat_bits() argument [all …]
|
/Linux-v4.19/include/sound/ |
D | hdaudio.h | 78 hda_nid_t start_nid, end_nid; member
|