/kernel/linux/linux-5.10/drivers/memory/tegra/ |
H A D | tegra210-emc-cc-r21021.c | 78 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] = \ 79 next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] / \ 80 next->ptfv_list[PTFV_DVFS_SAMPLES_INDEX]; }) 86 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] += \ 102 next->ptfv_list[dqs] = \ 104 (next->ptfv_list[dqs] * \ 105 next->ptfv_list[w])) / \ 106 (next->ptfv_list[w] + 1); \ 109 __stringify(dev), nval, next->ptfv_list[dqs]); \ 120 struct tegra210_emc_timing *next in update_clock_tree_delay() local 403 periodic_compensation_handler(struct tegra210_emc *emc, u32 type, struct tegra210_emc_timing *last, struct tegra210_emc_timing *next) periodic_compensation_handler() argument 607 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; tegra210_emc_r21021_set_clock() local [all...] |
/kernel/linux/linux-6.6/drivers/memory/tegra/ |
H A D | tegra210-emc-cc-r21021.c | 78 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] = \ 79 next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] / \ 80 next->ptfv_list[PTFV_DVFS_SAMPLES_INDEX]; }) 86 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] += \ 102 next->ptfv_list[dqs] = \ 104 (next->ptfv_list[dqs] * \ 105 next->ptfv_list[w])) / \ 106 (next->ptfv_list[w] + 1); \ 109 __stringify(dev), nval, next->ptfv_list[dqs]); \ 120 struct tegra210_emc_timing *next in update_clock_tree_delay() local 403 periodic_compensation_handler(struct tegra210_emc *emc, u32 type, struct tegra210_emc_timing *last, struct tegra210_emc_timing *next) periodic_compensation_handler() argument 607 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; tegra210_emc_r21021_set_clock() local [all...] |
/kernel/linux/linux-5.10/drivers/soc/mediatek/ |
H A D | mtk-mmsys.c | 105 enum mtk_ddp_comp_id next, in mtk_mmsys_ddp_mout_en() 110 if (cur == DDP_COMPONENT_OVL0 && next == DDP_COMPONENT_COLOR0) { in mtk_mmsys_ddp_mout_en() 113 } else if (cur == DDP_COMPONENT_OVL0 && next == DDP_COMPONENT_RDMA0) { in mtk_mmsys_ddp_mout_en() 116 } else if (cur == DDP_COMPONENT_OD0 && next == DDP_COMPONENT_RDMA0) { in mtk_mmsys_ddp_mout_en() 119 } else if (cur == DDP_COMPONENT_UFOE && next == DDP_COMPONENT_DSI0) { in mtk_mmsys_ddp_mout_en() 122 } else if (cur == DDP_COMPONENT_OVL1 && next == DDP_COMPONENT_COLOR1) { in mtk_mmsys_ddp_mout_en() 125 } else if (cur == DDP_COMPONENT_GAMMA && next == DDP_COMPONENT_RDMA1) { in mtk_mmsys_ddp_mout_en() 128 } else if (cur == DDP_COMPONENT_OD1 && next == DDP_COMPONENT_RDMA1) { in mtk_mmsys_ddp_mout_en() 131 } else if (cur == DDP_COMPONENT_RDMA0 && next == DDP_COMPONENT_DPI0) { in mtk_mmsys_ddp_mout_en() 134 } else if (cur == DDP_COMPONENT_RDMA0 && next in mtk_mmsys_ddp_mout_en() 104 mtk_mmsys_ddp_mout_en(enum mtk_ddp_comp_id cur, enum mtk_ddp_comp_id next, unsigned int *addr) mtk_mmsys_ddp_mout_en() argument 183 mtk_mmsys_ddp_sel_in(enum mtk_ddp_comp_id cur, enum mtk_ddp_comp_id next, unsigned int *addr) mtk_mmsys_ddp_sel_in() argument 241 mtk_mmsys_ddp_sout_sel(void __iomem *config_regs, enum mtk_ddp_comp_id cur, enum mtk_ddp_comp_id next) mtk_mmsys_ddp_sout_sel() argument 258 mtk_mmsys_ddp_connect(struct device *dev, enum mtk_ddp_comp_id cur, enum mtk_ddp_comp_id next) mtk_mmsys_ddp_connect() argument 281 mtk_mmsys_ddp_disconnect(struct device *dev, enum mtk_ddp_comp_id cur, enum mtk_ddp_comp_id next) mtk_mmsys_ddp_disconnect() argument [all...] |
/kernel/uniproton/src/core/kernel/include/ |
H A D | prt_list_external.h | 22 struct TagListObject *next; member 31 (object)->next = (object); \ 35 #define LIST_FIRST(object) ((object)->next) 36 #define OS_LIST_FIRST(object) ((object)->next) 40 struct TagListObject *next) in ListLowLevelAdd() 42 newNode->next = next; in ListLowLevelAdd() 44 next->prev = newNode; in ListLowLevelAdd() 45 prev->next = newNode; in ListLowLevelAdd() 51 ListLowLevelAdd(newNode, listObject, listObject->next); in ListAdd() 39 ListLowLevelAdd(struct TagListObject *newNode, struct TagListObject *prev, struct TagListObject *next) ListLowLevelAdd() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | ident_map.c | 24 unsigned long next; in ident_pud_init() local 26 for (; addr < end; addr = next) { in ident_pud_init() 31 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init() 32 if (next > end) in ident_pud_init() 33 next = end; in ident_pud_init() 46 use_gbpage &= ((next & ~PUD_MASK) == 0); in ident_pud_init() 61 ident_pmd_init(info, pmd, addr, next); in ident_pud_init() 67 ident_pmd_init(info, pmd, addr, next); in ident_pud_init() 77 unsigned long next; in ident_p4d_init() local 80 for (; addr < end; addr = next) { in ident_p4d_init() 115 unsigned long next; kernel_ident_mapping_init() local [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | ident_map.c | 24 unsigned long next; in ident_pud_init() local 26 for (; addr < end; addr = next) { in ident_pud_init() 31 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init() 32 if (next > end) in ident_pud_init() 33 next = end; in ident_pud_init() 46 use_gbpage &= ((next & ~PUD_MASK) == 0); in ident_pud_init() 61 ident_pmd_init(info, pmd, addr, next); in ident_pud_init() 67 ident_pmd_init(info, pmd, addr, next); in ident_pud_init() 77 unsigned long next; in ident_p4d_init() local 80 for (; addr < end; addr = next) { in ident_p4d_init() 115 unsigned long next; kernel_ident_mapping_init() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpqphp_ctrl.c | 121 slot = slot->next; in cpqhp_find_slot() 307 if (!((*head)->next)) in sort_by_size() 314 if (((*head)->next) && in sort_by_size() 315 ((*head)->length > (*head)->next->length)) { in sort_by_size() 318 *head = (*head)->next; in sort_by_size() 319 current_res->next = (*head)->next; in sort_by_size() 320 (*head)->next = current_res; in sort_by_size() 325 while (current_res->next && current_res->next in sort_by_size() 957 struct pci_func *next; cpqhp_slot_create() local 986 struct pci_func *next; slot_remove() local 1025 struct pci_func *next; bridge_slot_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpqphp_ctrl.c | 121 slot = slot->next; in cpqhp_find_slot() 307 if (!((*head)->next)) in sort_by_size() 314 if (((*head)->next) && in sort_by_size() 315 ((*head)->length > (*head)->next->length)) { in sort_by_size() 318 *head = (*head)->next; in sort_by_size() 319 current_res->next = (*head)->next; in sort_by_size() 320 (*head)->next = current_res; in sort_by_size() 325 while (current_res->next && current_res->next in sort_by_size() 956 struct pci_func *next; cpqhp_slot_create() local 985 struct pci_func *next; slot_remove() local 1024 struct pci_func *next; bridge_slot_remove() local [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | list.h | 25 struct list_head *next, *prev; member 50 for (pos = list_entry((head)->next, typeof(*pos), member); \ 52 pos = list_entry(pos->member.next, typeof(*pos), member)) 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 65 pos = n, n = list_entry(n->member.next, typeof(*n), member)) 73 return head->next == head; in list_empty() 80 * the prev/next entries already! 84 struct list_head *next) in __list_add() 86 next in __list_add() 82 __list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) __list_add() argument 112 __list_del(struct list_head *prev, struct list_head *next) __list_del() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | list_sort.c | 25 tail = &a->next; in merge() 26 a = a->next; in merge() 33 tail = &b->next; in merge() 34 b = b->next; in merge() 61 tail->next = a; in merge_final() 64 a = a->next; in merge_final() 68 tail->next = b; in merge_final() 71 b = b->next; in merge_final() 80 tail->next = b; in merge_final() 93 b = b->next; in merge_final() 243 struct list_head *next = pending->prev; list_sort() local [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | list.h | 25 struct list_head *next, *prev; member 50 for (pos = list_entry((head)->next, typeof(*pos), member); \ 52 pos = list_entry(pos->member.next, typeof(*pos), member)) 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 65 pos = n, n = list_entry(n->member.next, typeof(*n), member)) 73 return head->next == head; in list_empty() 80 * the prev/next entries already! 84 struct list_head *next) in __list_add() 86 next in __list_add() 82 __list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) __list_add() argument 112 __list_del(struct list_head *prev, struct list_head *next) __list_del() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | list_sort.c | 25 tail = &a->next; in merge() 26 a = a->next; in merge() 33 tail = &b->next; in merge() 34 b = b->next; in merge() 61 tail->next = a; in merge_final() 64 a = a->next; in merge_final() 68 tail->next = b; in merge_final() 71 b = b->next; in merge_final() 80 tail->next = b; in merge_final() 93 b = b->next; in merge_final() 243 struct list_head *next = pending->prev; list_sort() local [all...] |
/kernel/linux/linux-6.6/tools/lib/ |
H A D | list_sort.c | 24 tail = &a->next; in merge() 25 a = a->next; in merge() 32 tail = &b->next; in merge() 33 b = b->next; in merge() 60 tail->next = a; in merge_final() 63 a = a->next; in merge_final() 67 tail->next = b; in merge_final() 70 b = b->next; in merge_final() 79 tail->next = b; in merge_final() 92 b = b->next; in merge_final() 242 struct list_head *next = pending->prev; list_sort() local [all...] |
/kernel/linux/linux-6.6/scripts/mod/ |
H A D | list.h | 33 * sometimes we already know the next/prev entries and we can 39 struct list_head *next, *prev; member 56 list->next = list; in INIT_LIST_HEAD() 64 * the prev/next entries already! 68 struct list_head *next) in __list_add() 70 next->prev = new; in __list_add() 71 new->next = next; in __list_add() 73 prev->next = new; in __list_add() 86 __list_add(new, head, head->next); in list_add() 66 __list_add(struct list_head *new, struct list_head *prev, struct list_head *next) __list_add() argument 109 __list_del(struct list_head *prev, struct list_head *next) __list_del() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | ioremap.c | 111 unsigned long next; in ioremap_pmd_range() local 117 next = pmd_addr_end(addr, end); in ioremap_pmd_range() 119 if (ioremap_try_huge_pmd(pmd, addr, next, phys_addr, prot)) { in ioremap_pmd_range() 124 if (ioremap_pte_range(pmd, addr, next, phys_addr, prot, mask)) in ioremap_pmd_range() 126 } while (pmd++, phys_addr += (next - addr), addr = next, addr != end); in ioremap_pmd_range() 157 unsigned long next; in ioremap_pud_range() local 163 next = pud_addr_end(addr, end); in ioremap_pud_range() 165 if (ioremap_try_huge_pud(pud, addr, next, phys_addr, prot)) { in ioremap_pud_range() 170 if (ioremap_pmd_range(pud, addr, next, phys_add in ioremap_pud_range() 203 unsigned long next; ioremap_p4d_range() local 227 unsigned long next; ioremap_page_range() local [all...] |
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
H A D | list_debug.c | 31 struct list_head *next) in __list_add_valid_or_report() 33 if (NVHE_CHECK_DATA_CORRUPTION(next->prev != prev) || in __list_add_valid_or_report() 34 NVHE_CHECK_DATA_CORRUPTION(prev->next != next) || in __list_add_valid_or_report() 35 NVHE_CHECK_DATA_CORRUPTION(new == prev || new == next)) in __list_add_valid_or_report() 44 struct list_head *prev, *next; in __list_del_entry_valid_or_report() local 47 next = entry->next; in __list_del_entry_valid_or_report() 49 if (NVHE_CHECK_DATA_CORRUPTION(next == LIST_POISON1) || in __list_del_entry_valid_or_report() 51 NVHE_CHECK_DATA_CORRUPTION(prev->next ! in __list_del_entry_valid_or_report() 30 __list_add_valid_or_report(struct list_head *new, struct list_head *prev, struct list_head *next) __list_add_valid_or_report() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_core_read_macros.c | 13 struct callback_head___shuffled *next; member 38 /* next pointers for kernel address space have to be initialized from in handler() 41 k_probe_in.next = &k_probe_in; in handler() 42 __builtin_preserve_access_index(({k_core_in.next = &k_core_in;})); in handler() 44 k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func); in handler() 45 k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func); in handler() 46 u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, fun in handler() [all...] |
/kernel/linux/linux-5.10/mm/kasan/ |
H A D | init.c | 117 unsigned long next; in zero_pmd_populate() local 120 next = pmd_addr_end(addr, end); in zero_pmd_populate() 140 zero_pte_populate(pmd, addr, next); in zero_pmd_populate() 141 } while (pmd++, addr = next, addr != end); in zero_pmd_populate() 150 unsigned long next; in zero_pud_populate() local 153 next = pud_addr_end(addr, end); in zero_pud_populate() 180 zero_pmd_populate(pud, addr, next); in zero_pud_populate() 181 } while (pud++, addr = next, addr != end); in zero_pud_populate() 190 unsigned long next; in zero_p4d_populate() local 193 next in zero_p4d_populate() 242 unsigned long next; kasan_populate_early_shadow() local 355 unsigned long next; kasan_remove_pte_table() local 374 unsigned long next; kasan_remove_pmd_table() local 400 unsigned long next; kasan_remove_pud_table() local 427 unsigned long next; kasan_remove_p4d_table() local 452 unsigned long addr, end, next; kasan_remove_zero_shadow() local [all...] |
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | init.c | 113 unsigned long next; in zero_pmd_populate() local 116 next = pmd_addr_end(addr, end); in zero_pmd_populate() 136 zero_pte_populate(pmd, addr, next); in zero_pmd_populate() 137 } while (pmd++, addr = next, addr != end); in zero_pmd_populate() 150 unsigned long next; in zero_pud_populate() local 153 next = pud_addr_end(addr, end); in zero_pud_populate() 178 zero_pmd_populate(pud, addr, next); in zero_pud_populate() 179 } while (pud++, addr = next, addr != end); in zero_pud_populate() 192 unsigned long next; in zero_p4d_populate() local 195 next in zero_p4d_populate() 242 unsigned long next; kasan_populate_early_shadow() local 355 unsigned long next; kasan_remove_pte_table() local 377 unsigned long next; kasan_remove_pmd_table() local 403 unsigned long next; kasan_remove_pud_table() local 430 unsigned long next; kasan_remove_p4d_table() local 455 unsigned long addr, end, next; kasan_remove_zero_shadow() local [all...] |
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_prioq.c | 23 * |next 153 f->tail->next = cell; in snd_seq_prioq_cell_in() 155 cell->next = NULL; in snd_seq_prioq_cell_in() 178 /* move cursor to next cell */ in snd_seq_prioq_cell_in() 180 cur = cur->next; in snd_seq_prioq_cell_in() 190 prev->next = cell; in snd_seq_prioq_cell_in() 191 cell->next = cur; in snd_seq_prioq_cell_in() 228 f->head = cell->next; in snd_seq_prioq_cell_out() 234 cell->next = NULL; in snd_seq_prioq_cell_out() 277 register struct snd_seq_event_cell *cell, *next; in snd_seq_prioq_leave() local 387 struct snd_seq_event_cell *cell, *next; snd_seq_prioq_remove_events() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_sdlb.c | 115 u32 itr, next; in sparx5_sdlb_group_get_last() local 120 next = sparx5_sdlb_group_get_next(sparx5, group, itr); in sparx5_sdlb_group_get_last() 121 if (itr == next) in sparx5_sdlb_group_get_last() 124 itr = next; in sparx5_sdlb_group_get_last() 138 u32 idx, u32 *prev, u32 *next, in sparx5_sdlb_group_get_adjacent() 145 *next = *first; in sparx5_sdlb_group_get_adjacent() 149 *next = sparx5_sdlb_group_get_next(sparx5, group, itr); in sparx5_sdlb_group_get_adjacent() 154 if (itr == *next) in sparx5_sdlb_group_get_adjacent() 158 itr = *next; in sparx5_sdlb_group_get_adjacent() 164 u32 itr, next; in sparx5_sdlb_group_get_count() local 137 sparx5_sdlb_group_get_adjacent(struct sparx5 *sparx5, u32 group, u32 idx, u32 *prev, u32 *next, u32 *first) sparx5_sdlb_group_get_adjacent() argument 208 u32 itr, next; sparx5_sdlb_group_get_by_index() local 234 sparx5_sdlb_group_link(struct sparx5 *sparx5, u32 group, u32 idx, u32 first, u32 next, bool empty) sparx5_sdlb_group_link() argument 260 u32 first, next; sparx5_sdlb_group_add() local 275 u32 first, next, prev; sparx5_sdlb_group_del() local [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_prioq.c | 23 * |next 153 f->tail->next = cell; in snd_seq_prioq_cell_in() 155 cell->next = NULL; in snd_seq_prioq_cell_in() 178 /* move cursor to next cell */ in snd_seq_prioq_cell_in() 180 cur = cur->next; in snd_seq_prioq_cell_in() 190 prev->next = cell; in snd_seq_prioq_cell_in() 191 cell->next = cur; in snd_seq_prioq_cell_in() 228 f->head = cell->next; in snd_seq_prioq_cell_out() 234 cell->next = NULL; in snd_seq_prioq_cell_out() 277 register struct snd_seq_event_cell *cell, *next; in snd_seq_prioq_leave() local 387 struct snd_seq_event_cell *cell, *next; snd_seq_prioq_remove_events() local [all...] |
/kernel/linux/linux-5.10/io_uring/ |
H A D | io-wq.h | 24 struct io_wq_work_node *next; member 36 struct io_wq_work_node *next = pos->next; in wq_list_add_after() local 38 pos->next = node; in wq_list_add_after() 39 node->next = next; in wq_list_add_after() 40 if (!next) in wq_list_add_after() 47 node->next = NULL; in wq_list_add_tail() 52 list->last->next = node; in wq_list_add_tail() 63 WRITE_ONCE(list->first, last->next); in wq_list_cut() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | gddr5.c | 41 xd = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr5_calc() 43 switch (ram->next->bios.ramcfg_ver) { in nvkm_gddr5_calc() 45 pd = ram->next->bios.ramcfg_11_01_80; in nvkm_gddr5_calc() 46 lf = ram->next->bios.ramcfg_11_01_40; in nvkm_gddr5_calc() 47 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc() 48 vr = ram->next->bios.ramcfg_11_02_04; in nvkm_gddr5_calc() 49 vo = ram->next->bios.ramcfg_11_06; in nvkm_gddr5_calc() 50 l3 = !ram->next->bios.ramcfg_11_07_02; in nvkm_gddr5_calc() 56 switch (ram->next->bios.timing_ver) { in nvkm_gddr5_calc() 58 WL = (ram->next in nvkm_gddr5_calc() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | gddr5.c | 41 xd = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr5_calc() 43 switch (ram->next->bios.ramcfg_ver) { in nvkm_gddr5_calc() 45 pd = ram->next->bios.ramcfg_11_01_80; in nvkm_gddr5_calc() 46 lf = ram->next->bios.ramcfg_11_01_40; in nvkm_gddr5_calc() 47 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc() 48 vr = ram->next->bios.ramcfg_11_02_04; in nvkm_gddr5_calc() 49 vo = ram->next->bios.ramcfg_11_06; in nvkm_gddr5_calc() 50 l3 = !ram->next->bios.ramcfg_11_07_02; in nvkm_gddr5_calc() 56 switch (ram->next->bios.timing_ver) { in nvkm_gddr5_calc() 58 WL = (ram->next in nvkm_gddr5_calc() [all...] |