Home
last modified time | relevance | path

Searched refs:top (Results 1 - 25 of 844) sorted by relevance

12345678910>>...34

/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-top.c3 * builtin-top.c
5 * Builtin top command: Display a continuously updated profile of
40 #include "util/top.h"
95 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument
97 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries()
105 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument
107 get_term_dimensions(&top->winsize); in perf_top__resize()
108 perf_top__update_print_entries(top); in perf_top__resize()
111 static int perf_top__parse_source(struct perf_top *top, struc argument
240 perf_top__show_details(struct perf_top *top) perf_top__show_details() argument
319 perf_top__print_sym_table(struct perf_top *top) perf_top__print_sym_table() argument
393 perf_top__prompt_symbol(struct perf_top *top, const char *msg) perf_top__prompt_symbol() argument
435 perf_top__print_mapped_keys(struct perf_top *top) perf_top__print_mapped_keys() argument
467 perf_top__key_mapped(struct perf_top *top, int c) perf_top__key_mapped() argument
491 perf_top__handle_keypress(struct perf_top *top, int c) perf_top__handle_keypress() argument
617 struct perf_top *top = arg; display_thread_tui() local
678 struct perf_top *top = arg; display_thread() local
732 struct perf_top *top = arg; global() variable
750 struct perf_top *top = container_of(tool, struct perf_top, tool); perf_event__process_sample() local
857 perf_top__process_lost(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost() argument
866 perf_top__process_lost_samples(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost_samples() argument
877 perf_top__mmap_read_idx(struct perf_top *top, int idx) perf_top__mmap_read_idx() argument
912 perf_top__mmap_read(struct perf_top *top) perf_top__mmap_read() argument
947 perf_top__overwrite_check(struct perf_top *top) perf_top__overwrite_check() argument
992 perf_top_overwrite_fallback(struct perf_top *top, struct evsel *evsel) perf_top_overwrite_fallback() argument
1013 perf_top__start_counters(struct perf_top *top) perf_top__start_counters() argument
1083 rotate_queues(struct perf_top *top) rotate_queues() argument
1097 struct perf_top *top = arg; process_thread() local
1124 should_drop(struct ordered_event *qevent, struct perf_top *top) should_drop() argument
1139 struct perf_top *top = qe->data; deliver_event() local
1219 init_process_thread(struct perf_top *top) init_process_thread() argument
1230 exit_process_thread(struct perf_top *top) exit_process_thread() argument
1238 __cmd_top(struct perf_top *top) __cmd_top() argument
1418 struct perf_top *top = opt->value; parse_percent_limit() local
1430 struct perf_top top = { cmd_top() local
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-top.c3 * builtin-top.c
5 * Builtin top command: Display a continuously updated profile of
39 #include "util/top.h"
94 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument
96 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries()
104 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument
106 get_term_dimensions(&top->winsize); in perf_top__resize()
107 perf_top__update_print_entries(top); in perf_top__resize()
110 static int perf_top__parse_source(struct perf_top *top, struc argument
194 perf_top__record_precise_ip(struct perf_top *top, struct hist_entry *he, struct perf_sample *sample, struct evsel *evsel, u64 ip) perf_top__record_precise_ip() argument
236 perf_top__show_details(struct perf_top *top) perf_top__show_details() argument
315 perf_top__print_sym_table(struct perf_top *top) perf_top__print_sym_table() argument
389 perf_top__prompt_symbol(struct perf_top *top, const char *msg) perf_top__prompt_symbol() argument
431 perf_top__print_mapped_keys(struct perf_top *top) perf_top__print_mapped_keys() argument
463 perf_top__key_mapped(struct perf_top *top, int c) perf_top__key_mapped() argument
487 perf_top__handle_keypress(struct perf_top *top, int c) perf_top__handle_keypress() argument
613 struct perf_top *top = arg; display_thread_tui() local
677 struct perf_top *top = arg; display_thread() local
730 struct perf_top *top = arg; hist_iter__top_callback() local
749 struct perf_top *top = container_of(tool, struct perf_top, tool); perf_event__process_sample() local
855 perf_top__process_lost(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost() argument
866 perf_top__process_lost_samples(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost_samples() argument
879 perf_top__mmap_read_idx(struct perf_top *top, int idx) perf_top__mmap_read_idx() argument
914 perf_top__mmap_read(struct perf_top *top) perf_top__mmap_read() argument
949 perf_top__overwrite_check(struct perf_top *top) perf_top__overwrite_check() argument
994 perf_top_overwrite_fallback(struct perf_top *top, struct evsel *evsel) perf_top_overwrite_fallback() argument
1015 perf_top__start_counters(struct perf_top *top) perf_top__start_counters() argument
1085 rotate_queues(struct perf_top *top) rotate_queues() argument
1099 struct perf_top *top = arg; process_thread() local
1126 should_drop(struct ordered_event *qevent, struct perf_top *top) should_drop() argument
1141 struct perf_top *top = qe->data; deliver_event() local
1221 init_process_thread(struct perf_top *top) init_process_thread() argument
1232 __cmd_top(struct perf_top *top) __cmd_top() argument
1410 struct perf_top *top = opt->value; parse_percent_limit() local
1422 struct perf_top top = { cmd_top() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dtop.c5 * Refactored from builtin-top.c, see that files for further copyright notes.
13 #include "top.h"
23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument
28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf()
32 if (top->samples) { in perf_top__header_snprintf()
33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf()
35 esamples_percent = (100.0 * top in perf_top__header_snprintf()
113 perf_top__reset_sample_counters(struct perf_top *top) perf_top__reset_sample_counters() argument
[all...]
H A Dpstack.c16 unsigned short top; member
37 return pstack->top == 0; in pstack__empty()
42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove()
50 --pstack->top; in pstack__remove()
59 if (pstack->top == pstack->max_nr_entries) { in pstack__push()
60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push()
63 pstack->entries[pstack->top++] = key; in pstack__push()
70 if (pstack->top in pstack__pop()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument
39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
47 struct nvkm_top *top = device->top; in nvkm_top_addr() local
50 if (top) { in nvkm_top_addr()
51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
63 struct nvkm_top *top = device->top; in nvkm_top_reset() local
66 if (top) { in nvkm_top_reset()
67 list_for_each_entry(info, &top in nvkm_top_reset()
79 struct nvkm_top *top = device->top; nvkm_top_intr_mask() local
95 struct nvkm_top *top = device->top; nvkm_top_fault_id() local
109 struct nvkm_top *top = device->top; nvkm_top_fault() local
123 struct nvkm_top *top = device->top; nvkm_top_parse() local
134 struct nvkm_top *top = nvkm_top(subdev); nvkm_top_dtor() local
154 struct nvkm_top *top; nvkm_top_new_() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dtop.c5 * Refactored from builtin-top.c, see that files for further copyright notes.
13 #include "top.h"
23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument
28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf()
32 if (top->samples) { in perf_top__header_snprintf()
33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf()
35 esamples_percent = (100.0 * top in perf_top__header_snprintf()
115 perf_top__reset_sample_counters(struct perf_top *top) perf_top__reset_sample_counters() argument
[all...]
H A Dpstack.c16 unsigned short top; member
37 return pstack->top == 0; in pstack__empty()
42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove()
50 --pstack->top; in pstack__remove()
59 if (pstack->top == pstack->max_nr_entries) { in pstack__push()
60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push()
63 pstack->entries[pstack->top++] = key; in pstack__push()
70 if (pstack->top in pstack__pop()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument
38 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
46 struct nvkm_top *top = device->top; in nvkm_top_addr() local
49 if (top) { in nvkm_top_addr()
50 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
62 struct nvkm_top *top = device->top; in nvkm_top_reset() local
65 if (top) { in nvkm_top_reset()
66 list_for_each_entry(info, &top in nvkm_top_reset()
78 struct nvkm_top *top = device->top; nvkm_top_intr_mask() local
94 struct nvkm_top *top = device->top; nvkm_top_intr() local
117 struct nvkm_top *top = device->top; nvkm_top_fault_id() local
131 struct nvkm_top *top = device->top; nvkm_top_fault() local
145 struct nvkm_top *top = device->top; nvkm_top_engine() local
163 struct nvkm_top *top = nvkm_top(subdev); nvkm_top_oneinit() local
170 struct nvkm_top *top = nvkm_top(subdev); nvkm_top_dtor() local
191 struct nvkm_top *top; nvkm_top_new_() local
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-rect.h64 if (r->top < boundary->top) in v4l2_rect_map_inside()
65 r->top = boundary->top; in v4l2_rect_map_inside()
68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside()
69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside()
95 return r1->top == r2->top in v4l2_rect_same_position()
[all...]
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-rect.h64 if (r->top < boundary->top) in v4l2_rect_map_inside()
65 r->top = boundary->top; in v4l2_rect_map_inside()
68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside()
69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside()
95 return r1->top == r2->top in v4l2_rect_same_position()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.c552 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument
554 if (!ehea_bmap->top[top]) { in ehea_init_bmap()
555 ehea_bmap->top[top] = in ehea_init_bmap()
557 if (!ehea_bmap->top[top]) in ehea_init_bmap()
560 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap()
572 int top, di in ehea_rebuild_busmap() local
626 int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT); ehea_update_busmap() local
732 int top, dir; ehea_destroy_busmap() local
759 int top, dir, idx; ehea_map_vaddr() local
782 ehea_calc_sectbase(int top, int dir, int idx) ehea_calc_sectbase() argument
790 ehea_reg_mr_section(int top, int dir, int idx, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_section() argument
821 ehea_reg_mr_sections(int top, int dir, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_sections() argument
839 ehea_reg_mr_dir_sections(int top, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_dir_sections() argument
864 unsigned long top; ehea_reg_kernel_mr() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.c552 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument
554 if (!ehea_bmap->top[top]) { in ehea_init_bmap()
555 ehea_bmap->top[top] = in ehea_init_bmap()
557 if (!ehea_bmap->top[top]) in ehea_init_bmap()
560 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap()
572 int top, di in ehea_rebuild_busmap() local
626 int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT); ehea_update_busmap() local
732 int top, dir; ehea_destroy_busmap() local
759 int top, dir, idx; ehea_map_vaddr() local
782 ehea_calc_sectbase(int top, int dir, int idx) ehea_calc_sectbase() argument
790 ehea_reg_mr_section(int top, int dir, int idx, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_section() argument
821 ehea_reg_mr_sections(int top, int dir, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_sections() argument
839 ehea_reg_mr_dir_sections(int top, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_dir_sections() argument
864 unsigned long top; ehea_reg_kernel_mr() local
[all...]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
H A Dtimerlat_top.c162 struct osnoise_tool *top; in timerlat_top_handler() local
165 top = container_of(trace, struct osnoise_tool, trace); in timerlat_top_handler()
166 params = top->params; in timerlat_top_handler()
172 timerlat_top_update(top, cpu, thread, latency); in timerlat_top_handler()
181 static void timerlat_top_header(struct osnoise_tool *top) in timerlat_top_header() argument
183 struct timerlat_top_params *params = top->params; in timerlat_top_header()
184 struct trace_seq *s = top->trace.seq; in timerlat_top_header()
187 get_duration(top->start_time, duration, sizeof(duration)); in timerlat_top_header()
217 static void timerlat_top_print(struct osnoise_tool *top, int cpu) in timerlat_top_print() argument
220 struct timerlat_top_params *params = top in timerlat_top_print()
299 timerlat_print_stats(struct timerlat_top_params *params, struct osnoise_tool *top) timerlat_print_stats() argument
618 timerlat_top_apply_config(struct osnoise_tool *top, struct timerlat_top_params *params) timerlat_top_apply_config() argument
709 struct osnoise_tool *top; timerlat_init_top() local
758 struct osnoise_tool *top = NULL; timerlat_top_main() local
[all...]
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/
H A Dtask_size.c80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local
101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address()
107 if (bottom == top) { in os_get_top_address()
114 printf("Locating the top of the address space ... "); in os_get_top_address()
120 if (page_ok(top)) in os_get_top_address()
124 test = bottom + (top - bottom) / 2; in os_get_top_address()
128 top = test; in os_get_top_address()
129 } while (top - bottom > 1); in os_get_top_address()
137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address()
138 printf("0x%lx\n", top); in os_get_top_address()
[all...]
/kernel/linux/linux-6.6/arch/x86/um/os-Linux/
H A Dtask_size.c80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local
101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address()
107 if (bottom == top) { in os_get_top_address()
114 printf("Locating the top of the address space ... "); in os_get_top_address()
120 if (page_ok(top)) in os_get_top_address()
124 test = bottom + (top - bottom) / 2; in os_get_top_address()
128 top = test; in os_get_top_address()
129 } while (top - bottom > 1); in os_get_top_address()
137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address()
138 printf("0x%lx\n", top); in os_get_top_address()
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_btree.h96 * top frame record the leaf page/entry selected.
106 struct btframe *top; member
112 (btstack)->top = (btstack)->stack
115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
120 (BTSTACK)->top->bn = BN;\
121 (BTSTACK)->top->index = INDEX;\
122 ++(BTSTACK)->top;\
126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
129 ( (btstack)->top
[all...]
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_btree.h96 * top frame record the leaf page/entry selected.
106 struct btframe *top; member
112 (btstack)->top = (btstack)->stack
115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
120 (BTSTACK)->top->bn = BN;\
121 (BTSTACK)->top->index = INDEX;\
122 ++(BTSTACK)->top;\
126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
129 ( (btstack)->top
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
H A D8xx.c129 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument
135 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk()
137 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
139 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk()
141 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
145 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk()
148 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
156 WARN_ON(top < einittext in mmu_mapin_ram()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/
H A D8xx.c120 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument
126 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk()
128 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
130 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk()
132 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
136 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk()
139 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
147 WARN_ON(top < einittext in mmu_mapin_ram()
[all...]
/kernel/linux/linux-5.10/arch/x86/math-emu/
H A Dfpu_tags.c20 fpu_tag_word |= 3 << ((top & 7) * 2); in FPU_pop()
21 top++; in FPU_pop()
26 return (fpu_tag_word >> ((top & 7) * 2)) & 3; in FPU_gettag0()
31 return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; in FPU_gettagi()
41 int regnr = top; in FPU_settag0()
49 int regnr = stnr + top; in FPU_settagi()
83 int regnr = (top + stnr) & 7; in FPU_empty_i()
92 return ((fpu_tag_word >> (((top - 1) & 7) * 2)) & 3) != TAG_Empty; in FPU_stackoverflow()
109 int regnr = top; in FPU_copy_to_reg0()
/kernel/linux/linux-6.6/arch/x86/math-emu/
H A Dfpu_tags.c20 fpu_tag_word |= 3 << ((top & 7) * 2); in FPU_pop()
21 top++; in FPU_pop()
26 return (fpu_tag_word >> ((top & 7) * 2)) & 3; in FPU_gettag0()
31 return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; in FPU_gettagi()
41 int regnr = top; in FPU_settag0()
49 int regnr = stnr + top; in FPU_settagi()
83 int regnr = (top + stnr) & 7; in FPU_empty_i()
92 return ((fpu_tag_word >> (((top - 1) & 7) * 2)) & 3) != TAG_Empty; in FPU_stackoverflow()
109 int regnr = top; in FPU_copy_to_reg0()
/kernel/linux/linux-6.6/drivers/clk/starfive/
H A Dclk-starfive-jh7110-vout.c78 return dev_err_probe(priv->dev, PTR_ERR(top_rst), "failed to get top reset\n"); in jh7110_vout_top_rst_init()
97 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_voutcrg_suspend() local
99 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_voutcrg_suspend()
106 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_voutcrg_resume() local
108 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_voutcrg_resume()
119 struct jh7110_top_sysclk *top; in jh7110_voutcrg_probe() local
129 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNE in jh7110_voutcrg_probe()
[all...]
H A Dclk-starfive-jh7110-isp.c73 "failed to get top resets\n"); in jh7110_isp_top_rst_init()
92 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_suspend() local
94 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_ispcrg_suspend()
101 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_resume() local
103 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_ispcrg_resume()
114 struct jh7110_top_sysclk *top; in jh7110_ispcrg_probe() local
124 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNE in jh7110_ispcrg_probe()
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dexynos-lpass.c54 struct regmap *top; member
62 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset()
65 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
70 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
78 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable()
81 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable()
94 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable()
95 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable()
128 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe()
130 if (IS_ERR(lpass->top)) { in exynos_lpass_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dexynos-lpass.c53 struct regmap *top; member
61 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset()
64 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
69 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
77 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable()
80 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable()
93 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable()
94 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable()
125 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe()
127 if (IS_ERR(lpass->top)) { in exynos_lpass_probe()
[all...]

Completed in 17 milliseconds

12345678910>>...34