/drivers/soc/mediatek/ |
D | mtk-mmsys.c | 105 enum mtk_ddp_comp_id next, in mtk_mmsys_ddp_mout_en() argument 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 == DDP_COMPONENT_DPI1) { in mtk_mmsys_ddp_mout_en() [all …]
|
/drivers/memory/tegra/ |
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 = emc->next; in update_clock_tree_delay() local [all …]
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_malloc.c | 64 while (!h[j].next) { in ___sym_malloc() 66 h[j].next = (m_link_p) M_GET_MEM_CLUSTER(); in ___sym_malloc() 67 if (h[j].next) in ___sym_malloc() 68 h[j].next->next = NULL; in ___sym_malloc() 74 a = h[j].next; in ___sym_malloc() 76 h[j].next = h[j].next->next; in ___sym_malloc() 80 h[j].next = (m_link_p) (a+s); in ___sym_malloc() 81 h[j].next->next = NULL; in ___sym_malloc() 120 ((m_link_p) a)->next = h[i].next; in ___sym_mfree() 121 h[i].next = (m_link_p) a; in ___sym_mfree() [all …]
|
/drivers/pci/hotplug/ |
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->next) { in sort_by_size() 326 if (current_res->next->length > current_res->next->next->length) { in sort_by_size() 328 next_res = current_res->next; in sort_by_size() [all …]
|
D | ibmphp_res.c | 395 range_cur = range_cur->next; in add_bus_range() 411 range->next = range_cur; in add_bus_range() 416 range->next = NULL; in add_bus_range() 417 range_prev->next = range; in add_bus_range() 422 range_prev->next = range; in add_bus_range() 423 range->next = range_cur; in add_bus_range() 430 range_cur = range_cur->next; in add_bus_range() 467 if (res->next) in update_resources() 468 res = res->next; in update_resources() 481 res = res->next; in update_resources() [all …]
|
D | cpqphp_pci.c | 558 struct pci_func *next; in cpqhp_save_base_addr_length() local 577 next = cpqhp_slot_list[sub_bus]; in cpqhp_save_base_addr_length() 579 while (next != NULL) { in cpqhp_save_base_addr_length() 580 rc = cpqhp_save_base_addr_length(ctrl, next); in cpqhp_save_base_addr_length() 584 next = next->next; in cpqhp_save_base_addr_length() 738 bus_node->next = func->bus_head; in cpqhp_save_used_resources() 753 io_node->next = func->io_head; in cpqhp_save_used_resources() 769 mem_node->next = func->mem_head; in cpqhp_save_used_resources() 785 p_mem_node->next = func->p_mem_head; in cpqhp_save_used_resources() 818 io_node->next = func->io_head; in cpqhp_save_used_resources() [all …]
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | list.h | 111 struct list_head *next, *prev; member 130 list->next = list->prev = list; in INIT_LIST_HEAD() 135 struct list_head *prev, struct list_head *next) in __list_add() argument 137 next->prev = entry; in __list_add() 138 entry->next = next; in __list_add() 140 prev->next = entry; in __list_add() 161 __list_add(entry, head, head->next); in list_add() 186 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 188 next->prev = prev; in __list_del() 189 prev->next = next; in __list_del() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini() local 211 u8 v0 = next->bios.ramcfg_11_03_c0; in r1373f4_fini() 212 u8 v1 = next->bios.ramcfg_11_03_30; in r1373f4_fini() 243 u32 next = (prev & ~mask) | data; in gk104_ram_nuts() local 244 nvkm_memx_wr32(fuc->memx, addr, next); in gk104_ram_nuts() 255 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_gddr5() local 256 int vc = !next->bios.ramcfg_11_02_08; in gk104_ram_calc_gddr5() 257 int mv = !next->bios.ramcfg_11_02_04; in gk104_ram_calc_gddr5() 311 switch (next->bios.ramcfg_11_03_c0) { in gk104_ram_calc_gddr5() 318 switch (next->bios.ramcfg_11_03_30) { in gk104_ram_calc_gddr5() [all …]
|
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->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr5_calc() [all …]
|
D | gddr3.c | 75 switch (ram->next->bios.timing_ver) { in nvkm_gddr3_calc() 77 CWL = ram->next->bios.timing_10_CWL; in nvkm_gddr3_calc() 78 CL = ram->next->bios.timing_10_CL; in nvkm_gddr3_calc() 79 WR = ram->next->bios.timing_10_WR; in nvkm_gddr3_calc() 80 DLL = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr3_calc() 81 ODT = ram->next->bios.timing_10_ODT; in nvkm_gddr3_calc() 82 RON = ram->next->bios.ramcfg_RON; in nvkm_gddr3_calc() 85 CWL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr3_calc() 86 CL = (ram->next->bios.timing[1] & 0x0000001f) >> 0; in nvkm_gddr3_calc() 87 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_gddr3_calc() [all …]
|
D | ramnv50.c | 97 unkt3b = 0x19 + ram->base.next->bios.rammap_00_16_40; in nv50_ram_timing_calc() 99 ram->base.next->bios.rammap_00_16_40) << 16 | in nv50_ram_timing_calc() 227 struct nvkm_ram_data *next; in nv50_ram_calc() local 235 next = &ram->base.target; in nv50_ram_calc() 236 next->freq = freq; in nv50_ram_calc() 237 ram->base.next = next; in nv50_ram_calc() 251 nvbios_rammapEp_from_perf(bios, data, hdr, &next->bios); in nv50_ram_calc() 261 &next->bios); in nv50_ram_calc() 268 if (next->bios.ramcfg_timing != 0xff) { in nv50_ram_calc() 269 data = nvbios_timingEp(bios, next->bios.ramcfg_timing, in nv50_ram_calc() [all …]
|
D | sddr3.c | 74 DLL = !ram->next->bios.ramcfg_DLLoff; in nvkm_sddr3_calc() 76 switch (ram->next->bios.timing_ver) { in nvkm_sddr3_calc() 78 if (ram->next->bios.timing_hdr < 0x17) { in nvkm_sddr3_calc() 82 CWL = ram->next->bios.timing_10_CWL; in nvkm_sddr3_calc() 83 CL = ram->next->bios.timing_10_CL; in nvkm_sddr3_calc() 84 WR = ram->next->bios.timing_10_WR; in nvkm_sddr3_calc() 85 ODT = ram->next->bios.timing_10_ODT; in nvkm_sddr3_calc() 88 CWL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_sddr3_calc() 89 CL = (ram->next->bios.timing[1] & 0x0000001f) >> 0; in nvkm_sddr3_calc() 90 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_sddr3_calc()
|
D | sddr2.c | 65 switch (ram->next->bios.timing_ver) { in nvkm_sddr2_calc() 67 CL = ram->next->bios.timing_10_CL; in nvkm_sddr2_calc() 68 WR = ram->next->bios.timing_10_WR; in nvkm_sddr2_calc() 69 DLL = !ram->next->bios.ramcfg_DLLoff; in nvkm_sddr2_calc() 70 ODT = ram->next->bios.timing_10_ODT & 3; in nvkm_sddr2_calc() 73 CL = (ram->next->bios.timing[1] & 0x0000001f); in nvkm_sddr2_calc() 74 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_sddr2_calc() 80 if (ram->next->bios.timing_ver == 0x20 || in nvkm_sddr2_calc() 81 ram->next->bios.ramcfg_timing == 0xff) { in nvkm_sddr2_calc()
|
/drivers/acpi/acpica/ |
D | pstree.c | 74 arg = arg->common.next; in acpi_ps_get_arg() 133 while (prev_arg->common.next) { in acpi_ps_append_arg() 134 prev_arg = prev_arg->common.next; in acpi_ps_append_arg() 136 prev_arg->common.next = arg; in acpi_ps_append_arg() 147 arg = arg->common.next; in acpi_ps_append_arg() 172 union acpi_parse_object *next = NULL; in acpi_ps_get_depth_next() local 184 next = acpi_ps_get_arg(op, 0); in acpi_ps_get_depth_next() 185 if (next) { in acpi_ps_get_depth_next() 186 ASL_CV_LABEL_FILENODE(next); in acpi_ps_get_depth_next() 187 return (next); in acpi_ps_get_depth_next() [all …]
|
D | exdump.c | 122 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(region.next), "Next"} 210 {ACPI_EXD_HDLR_LIST, ACPI_EXD_OFFSET(address_space.next), "Next"}, 223 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(notify.next[0]), 225 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(notify.next[1]), "Next Device Notify"} 338 union acpi_operand_object *next; in acpi_ex_dump_object() local 440 next = start; in acpi_ex_dump_object() 442 acpi_os_printf("%20s : %p ", name, next); in acpi_ex_dump_object() 443 if (next) { in acpi_ex_dump_object() 446 (next), next->common.type); in acpi_ex_dump_object() 448 while (next->common.next_object) { in acpi_ex_dump_object() [all …]
|
D | evgpeutil.c | 64 gpe_block = gpe_block->next; in acpi_ev_walk_gpe_list() 67 gpe_xrupt_info = gpe_xrupt_info->next; in acpi_ev_walk_gpe_list() 150 next_gpe_xrupt = next_gpe_xrupt->next; in acpi_ev_get_gpe_xrupt_block() 167 while (next_gpe_xrupt->next) { in acpi_ev_get_gpe_xrupt_block() 168 next_gpe_xrupt = next_gpe_xrupt->next; in acpi_ev_get_gpe_xrupt_block() 171 next_gpe_xrupt->next = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block() 237 gpe_xrupt->previous->next = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt() 241 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt() 244 if (gpe_xrupt->next) { in acpi_ev_delete_gpe_xrupt() 245 gpe_xrupt->next->previous = gpe_xrupt->previous; in acpi_ev_delete_gpe_xrupt() [all …]
|
D | utaddress.c | 65 range_info->next = acpi_gbl_address_range_list[space_id]; in acpi_ut_add_address_range() 115 range_info->next; in acpi_ut_remove_address_range() 117 prev->next = range_info->next; in acpi_ut_remove_address_range() 134 range_info = range_info->next; in acpi_ut_remove_address_range() 218 range_info = range_info->next; in acpi_ut_check_address_range() 239 struct acpi_address_range *next; in acpi_ut_delete_address_lists() local 246 next = acpi_gbl_address_range_list[i]; in acpi_ut_delete_address_lists() 248 while (next) { in acpi_ut_delete_address_lists() 249 range_info = next; in acpi_ut_delete_address_lists() 250 next = range_info->next; in acpi_ut_delete_address_lists()
|
D | pswalk.c | 32 union acpi_parse_object *next = NULL; in acpi_ps_delete_parse_tree() local 72 next = acpi_ps_get_arg(op, 0); in acpi_ps_delete_parse_tree() 73 if (next) { in acpi_ps_delete_parse_tree() 77 op = next; in acpi_ps_delete_parse_tree() 85 next = op->common.next; in acpi_ps_delete_parse_tree() 96 if (next) { in acpi_ps_delete_parse_tree() 97 op = next; in acpi_ps_delete_parse_tree()
|
/drivers/usb/host/ |
D | ohci-dbg.c | 23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument 25 if (next != NULL) { \ 27 s_len = scnprintf (*next, *size, format, ## arg ); \ 28 *size -= s_len; *next += s_len; \ 34 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument 37 s_len = scnprintf(*next, *size, format, ## arg); \ 38 *size -= s_len; *next += s_len; \ 46 char **next, in ohci_dump_intr_mask() argument 49 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n", in ohci_dump_intr_mask() 68 char **next, in maybe_print_eds() argument [all …]
|
D | ehci-dbg.c | 379 char *next = *nextp; in qh_lines() local 398 temp = scnprintf(next, size, in qh_lines() 413 next += temp; in qh_lines() 446 temp = scnprintf(next, size, in qh_lines() 456 next += temp; in qh_lines() 461 temp = scnprintf(next, size, "\n"); in qh_lines() 463 next += temp; in qh_lines() 467 *nextp = next; in qh_lines() 476 char *next; in fill_async_buffer() local 481 next = buf->output_buf; in fill_async_buffer() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_syncmap.c | 279 struct i915_syncmap *next; in __sync_set() local 285 next = kzalloc(sizeof(*next) + KSYNCMAP * sizeof(next), in __sync_set() 287 if (unlikely(!next)) in __sync_set() 293 next->height = above + p->height; in __sync_set() 294 next->prefix = __sync_branch_prefix(next, id); in __sync_set() 299 __sync_child(p->parent)[idx] = next; in __sync_set() 302 next->parent = p->parent; in __sync_set() 306 __sync_set_child(next, idx, p); in __sync_set() 307 p->parent = next; in __sync_set() 310 p = next; in __sync_set() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 54 struct nvkm_mm_node *next = node(this, next); in nvkm_mm_free() local 62 if (next && next->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 63 next->offset = this->offset; in nvkm_mm_free() 64 next->length += this->length; in nvkm_mm_free() 114 struct nvkm_mm_node *prev, *this, *next; in nvkm_mm_head() local 133 next = node(this, next); in nvkm_mm_head() 134 if (next && next->type != type) in nvkm_mm_head() 150 this->next = NULL; in nvkm_mm_head() 189 struct nvkm_mm_node *prev, *this, *next; in nvkm_mm_tail() local 207 next = node(this, next); in nvkm_mm_tail() [all …]
|
/drivers/staging/media/zoran/ |
D | videocodec.c | 41 struct attached_list *next; member 48 struct codec_list *next; member 106 while (a->next) in videocodec_attach() 107 a = a->next; // find end in videocodec_attach() 108 a->next = ptr; in videocodec_attach() 118 h = h->next; in videocodec_attach() 165 h->list = a->next; in videocodec_detach() 168 prev->next = a->next; in videocodec_detach() 178 a = a->next; in videocodec_detach() 180 h = h->next; in videocodec_detach() [all …]
|
/drivers/net/wireguard/ |
D | queueing.c | 60 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init() 82 struct sk_buff *tail = queue->tail, *next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue() local 85 if (!next) in wg_prev_queue_dequeue() 87 queue->tail = next; in wg_prev_queue_dequeue() 88 tail = next; in wg_prev_queue_dequeue() 89 next = smp_load_acquire(&NEXT(next)); in wg_prev_queue_dequeue() 91 if (next) { in wg_prev_queue_dequeue() 92 queue->tail = next; in wg_prev_queue_dequeue() 99 next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue() 100 if (next) { in wg_prev_queue_dequeue() [all …]
|
/drivers/of/ |
D | base.c | 199 for (pp = np->properties; pp; pp = pp->next) { in __of_find_property() 705 struct device_node *next; in __of_get_next_child() local 710 next = prev ? prev->sibling : node->child; in __of_get_next_child() 711 for (; next; next = next->sibling) in __of_get_next_child() 712 if (of_node_get(next)) in __of_get_next_child() 715 return next; in __of_get_next_child() 733 struct device_node *next; in of_get_next_child() local 737 next = __of_get_next_child(node, prev); in of_get_next_child() 739 return next; in of_get_next_child() 754 struct device_node *next; in of_get_next_available_child() local [all …]
|