| /drivers/scsi/sym53c8xx_2/ |
| A D | sym_malloc.c | 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() 81 h[j].next->next = NULL; in ___sym_malloc() 120 ((m_link_p) a)->next = h[i].next; in ___sym_mfree() 127 while (q->next && q->next != (m_link_p) b) { in ___sym_mfree() 128 q = q->next; in ___sym_mfree() 131 ((m_link_p) a)->next = h[i].next; in ___sym_mfree() 135 q->next = q->next->next; in ___sym_mfree() [all …]
|
| /drivers/pci/hotplug/ |
| A D | cpqphp_ctrl.c | 329 current_res->next = current_res->next->next; in sort_by_size() 846 while (node1->next && node1->next->next) { in cpqhp_resource_sort_and_combine() 850 node1->next = node1->next->next; in cpqhp_resource_sort_and_combine() 867 node1->next = node1->next->next; in cpqhp_resource_sort_and_combine() 970 next = next->next; in cpqhp_slot_create() 1001 while ((next->next != old_slot) && (next->next != NULL)) in slot_remove() 1002 next = next->next; in slot_remove() 1005 next->next = old_slot->next; in slot_remove() 1046 while ((next->next != bridge) && (next->next != NULL)) in bridge_slot_remove() 1047 next = next->next; in bridge_slot_remove() [all …]
|
| A D | ibmphp_res.c | 467 if (res->next) in update_resources() 468 res = res->next; in update_resources() 524 if (res->next) in fix_me() 525 res = res->next; in fix_me() 658 res->next = NULL; in ibmphp_add_resource() 837 res_prev->next = res_cur->next; in ibmphp_remove_resource() 900 res_prev->next = res_cur->next; in ibmphp_remove_resource() 1675 pfmem_prev->next = pfmem_cur->next; in once_over() 1812 if (res->next) in ibmphp_print_test() 1827 if (res->next) in ibmphp_print_test() [all …]
|
| A D | cpqphp_pci.c | 577 next = next->next; in cpqhp_save_base_addr_length() 981 next = next->next; in cpqhp_configure_board() 1079 next = next->next; in cpqhp_valid_replace() 1476 res = res->next; in cpqhp_destroy_resource_list() 1485 res = res->next; in cpqhp_destroy_resource_list() 1494 res = res->next; in cpqhp_destroy_resource_list() 1503 res = res->next; in cpqhp_destroy_resource_list() 1523 res = res->next; in cpqhp_destroy_board_resources() 1532 res = res->next; in cpqhp_destroy_board_resources() 1541 res = res->next; in cpqhp_destroy_board_resources() [all …]
|
| /drivers/memory/tegra/ |
| A D | tegra210-emc-cc-r21021.c | 78 ({ next->ptfv_list[(dev)] = \ 79 next->ptfv_list[(dev)] / \ 102 next->ptfv_list[dqs] = \ 104 (next->ptfv_list[dqs] * \ 105 next->ptfv_list[w])) / \ 106 (next->ptfv_list[w] + 1); \ 194 if (!next->periodic_training) in periodic_compensation_handler() 207 __COPY_EMA(next, last, idx); in periodic_compensation_handler() 211 __MOVAVG(next, idx) = 0; in periodic_compensation_handler() 359 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| A D | ramgk104.c | 210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini() local 255 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_gddr5() local 326 if (next->bios.ramcfg_11_02_80) in gk104_ram_calc_gddr5() 399 if (!next->bios.ramcfg_11_07_08 && !next->bios.ramcfg_11_07_04) { in gk104_ram_calc_gddr5() 706 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_sddr3() local 731 if (next->bios.ramcfg_DLLoff) in gk104_ram_calc_sddr3() 1063 refclk = next->freq; in gk104_ram_calc_xits() 1090 ram->base.freq = next->freq; in gk104_ram_calc_xits() 1120 if (ram->base.next == NULL) { in gk104_ram_calc() 1236 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_prog() local [all …]
|
| 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() 63 dt = ram->next->bios.timing_20_2e_03; in nvkm_gddr5_calc() [all …]
|
| A 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() 96 if (ram->next->bios.timing_ver == 0x20 || in nvkm_gddr3_calc() [all …]
|
| A D | ramnv50.c | 226 struct nvkm_ram_data *next; in nv50_ram_calc() local 234 next = &ram->base.target; in nv50_ram_calc() 235 next->freq = freq; in nv50_ram_calc() 236 ram->base.next = next; in nv50_ram_calc() 260 &next->bios); in nv50_ram_calc() 318 if (next->bios.timing_10_ODT) in nv50_ram_calc() 414 if (!next->bios.ramcfg_FBVDDQ) in nv50_ram_calc() 446 next->bios.ramcfg_00_05); in nv50_ram_calc() 448 next->bios.ramcfg_00_08); in nv50_ram_calc() 455 if (!next->bios.timing_10_ODT) in nv50_ram_calc() [all …]
|
| A 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()
|
| A 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/ |
| A D | pstree.c | 74 arg = arg->common.next; in acpi_ps_get_arg() 147 arg = arg->common.next; in acpi_ps_append_arg() 185 if (next) { in acpi_ps_get_depth_next() 187 return (next); in acpi_ps_get_depth_next() 192 next = op->common.next; in acpi_ps_get_depth_next() 193 if (next) { in acpi_ps_get_depth_next() 195 return (next); in acpi_ps_get_depth_next() 207 arg = arg->common.next; in acpi_ps_get_depth_next() 217 if (parent->common.next) { in acpi_ps_get_depth_next() 229 ASL_CV_LABEL_FILENODE(next); in acpi_ps_get_depth_next() [all …]
|
| A D | exdump.c | 443 if (next) { in acpi_ex_dump_object() 446 (next), next->common.type); in acpi_ex_dump_object() 454 next = next->common.next_object; in acpi_ex_dump_object() 460 if ((next == start) || (next == data)) { in acpi_ex_dump_object() 485 while (next->address_space.next) { in acpi_ex_dump_object() 491 next = next->address_space.next; in acpi_ex_dump_object() 498 if ((next == start) || (next == data)) { in acpi_ex_dump_object() 518 (next), next->common.type); in acpi_ex_dump_object() 520 while (next->region.next) { in acpi_ex_dump_object() 526 next = next->region.next; in acpi_ex_dump_object() [all …]
|
| A 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() 244 if (gpe_xrupt->next) { in acpi_ev_delete_gpe_xrupt() 276 struct acpi_gpe_notify_info *next; in acpi_ev_delete_gpe_handlers() local 311 next = notify->next; in acpi_ev_delete_gpe_handlers() [all …]
|
| A 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()
|
| /drivers/usb/host/ |
| A D | ohci-dbg.c | 46 char **next, in ohci_dump_intr_mask() argument 68 char **next, in maybe_print_eds() argument 140 next, size); in ohci_dump_status() 143 next, size); in ohci_dump_status() 148 next, size); in ohci_dump_status() 152 next, size); in ohci_dump_status() 155 next, size); in ohci_dump_status() 159 next, size); in ohci_dump_status() 162 next, size); in ohci_dump_status() 194 char **next, in ohci_dump_roothub() argument [all …]
|
| A D | ehci-dbg.c | 413 next += temp; in qh_lines() 463 next += temp; in qh_lines() 476 char *next; in fill_async_buffer() local 484 *next = 0; in fill_async_buffer() 516 char *next; in fill_bandwidth_buffer() local 526 *next = 0; in fill_bandwidth_buffer() 534 next += temp; in fill_bandwidth_buffer() 628 char *next; in fill_periodic_buffer() local 644 next += temp; in fill_periodic_buffer() 794 next += temp; in fill_registers_buffer() [all …]
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_sdlb.c | 116 u32 itr, next; in sparx5_sdlb_group_get_last() local 125 itr = next; in sparx5_sdlb_group_get_last() 146 *next = *first; in sparx5_sdlb_group_get_adjacent() 159 itr = *next; in sparx5_sdlb_group_get_adjacent() 165 u32 itr, next; in sparx5_sdlb_group_get_count() local 175 itr = next; in sparx5_sdlb_group_get_count() 210 u32 itr, next; in sparx5_sdlb_group_get_by_index() local 229 itr = next; in sparx5_sdlb_group_get_by_index() 268 next = idx; in sparx5_sdlb_group_add() 292 next = prev; in sparx5_sdlb_group_del() [all …]
|
| /drivers/md/dm-vdo/ |
| A D | funnel-queue.c | 25 queue->stub.next = NULL; in vdo_make_funnel_queue() 46 struct funnel_queue_entry *next = READ_ONCE(oldest->next); in get_oldest() local 53 if (next == NULL) in get_oldest() 59 oldest = next; in get_oldest() 61 next = READ_ONCE(oldest->next); in get_oldest() 68 if (next == NULL) { in get_oldest() 86 next = READ_ONCE(oldest->next); in get_oldest() 87 if (next == NULL) { in get_oldest() 116 queue->oldest = READ_ONCE(oldest->next); in vdo_funnel_queue_poll() 128 WRITE_ONCE(oldest->next, NULL); in vdo_funnel_queue_poll()
|
| /drivers/media/pci/zoran/ |
| A D | videocodec.c | 88 a->next = ptr; in videocodec_attach() 98 h = h->next; in videocodec_attach() 149 prev->next = a->next; in videocodec_detach() 158 a = a->next; in videocodec_detach() 160 h = h->next; in videocodec_detach() 192 while (h->next) in videocodec_register() 194 h->next = ptr; in videocodec_register() 237 prev->next = h->next; in videocodec_unregister() 245 h = h->next; in videocodec_unregister() 272 a = a->next; in videocodec_debugfs_show() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/core/ |
| A 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() 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() 207 next = node(this, next); in nvkm_mm_tail() 208 if (next && next->type != type) { in nvkm_mm_tail() 229 this->next = NULL; in nvkm_mm_tail() 243 u32 next; in nvkm_mm_init() local 248 if (next != offset) { in nvkm_mm_init() [all …]
|
| /drivers/of/ |
| A D | base.c | 620 return next; in __of_get_next_child() 644 return next; in of_get_next_child() 672 for (; next; next = next->sibling) { in of_get_next_child_with_prefix() 680 return next; in of_get_next_child_with_prefix() 696 for (; next; next = next->sibling) { in of_get_next_status_child() 764 for (; next; next = next->sibling) { in of_get_next_cpu_node() 1653 for (next = list; *next; next = &(*next)->next) { in __of_remove_property_from_list() 1655 *next = prop->next; in __of_remove_property_from_list() 1686 next = &(*next)->next; in __of_add_property() 1779 for (next = &np->properties; *next; next = &(*next)->next) { in __of_update_property() [all …]
|
| /drivers/net/wireguard/ |
| A 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/gpu/drm/i915/ |
| A D | i915_syncmap.c | 276 struct i915_syncmap *next; in __sync_set() local 282 next = kzalloc(struct_size(next, child, KSYNCMAP), in __sync_set() 284 if (unlikely(!next)) in __sync_set() 291 next->prefix = __sync_branch_prefix(next, id); in __sync_set() 299 next->parent = p->parent; in __sync_set() 304 p->parent = next; in __sync_set() 307 p = next; in __sync_set() 317 if (!next) { in __sync_set() 319 if (unlikely(!next)) in __sync_set() 323 p = next; in __sync_set() [all …]
|
| /drivers/gpu/drm/xe/ |
| A D | xe_pt_walk.c | 46 if (skip_to > next) { in xe_pt_next() 47 step += (skip_to - next) >> shift; in xe_pt_next() 48 next = skip_to; in xe_pt_next() 52 *addr = next; in xe_pt_next() 55 return next != end; in xe_pt_next() 83 u64 next; in xe_pt_walk_range() local 86 next = xe_pt_addr_end(addr, end, level, walk); in xe_pt_walk_range() 87 if (walk->shared_pt_mode && xe_pt_covers(addr, next, level, in xe_pt_walk_range() 93 err = ops->pt_entry(parent, offset, level, addr, next, in xe_pt_walk_range() 105 err = xe_pt_walk_range(child, level - 1, addr, next, walk); in xe_pt_walk_range() [all …]
|