/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | wdat_wdt.c | 37 * @instructions: An array of instruction lists indexed by an action number from 47 struct list_head *instructions[MAX_WDAT_ACTIONS]; member 119 if (action >= ARRAY_SIZE(wdat->instructions)) in wdat_wdt_run_action() 122 if (!wdat->instructions[action]) in wdat_wdt_run_action() 128 list_for_each_entry(instr, wdat->instructions[action], node) { in wdat_wdt_run_action() 376 struct list_head *instructions; in wdat_wdt_probe() local 423 instructions = wdat->instructions[action]; in wdat_wdt_probe() 424 if (!instructions) { in wdat_wdt_probe() 425 instructions in wdat_wdt_probe() [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | wdat_wdt.c | 47 struct list_head *instructions[MAX_WDAT_ACTIONS]; member 119 if (action >= ARRAY_SIZE(wdat->instructions)) in wdat_wdt_run_action() 122 if (!wdat->instructions[action]) in wdat_wdt_run_action() 128 list_for_each_entry(instr, wdat->instructions[action], node) { in wdat_wdt_run_action() 377 struct list_head *instructions; in wdat_wdt_probe() local 424 instructions = wdat->instructions[action]; in wdat_wdt_probe() 425 if (!instructions) { in wdat_wdt_probe() 426 instructions = devm_kzalloc(dev, in wdat_wdt_probe() 427 sizeof(*instructions), in wdat_wdt_probe() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | stat+shadow_stat.sh | 15 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \ 16 grep -e cycles -e instructions | \ 46 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
|
H A D | stat.sh | 90 ok_grouping="{slots,topdown-bad-spec,topdown-be-bound,topdown-fe-bound,topdown-retiring},branch-instructions,branch-misses,bus-cycles,cache-misses,cache-references,cpu-cycles,instructions,mem-loads,mem-stores,ref-cycles,cache-misses,cache-references" 96 group_needs_break="{slots,topdown-bad-spec,topdown-be-bound,topdown-fe-bound,topdown-retiring,branch-instructions,branch-misses,bus-cycles,cache-misses,cache-references,cpu-cycles,instructions,mem-loads,mem-stores,ref-cycles,cache-misses,cache-references}:W" 111 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1 127 if perf stat -e "$i/instructions/" true > /dev/null 2>&1 140 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument 38 /* Run for 1M instructions */ in do_count_loop() 39 thirty_two_instruction_loop_with_ll_sc(instructions >> 5, &dummy); in do_count_loop() 47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop() 57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 78 /* Count how many instructions it takes to do a null loop */ 110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions"); in test_body() 130 printf("Overhead of null loop: %llu instructions\n", overhead); in test_body() 132 /* Run for 1Mi instructions */ in test_body() [all...] |
H A D | count_instructions.c | 29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument 37 /* Run for 1M instructions */ in do_count_loop() 38 thirty_two_instruction_loop(instructions >> 5); in do_count_loop() 45 expected = instructions + overhead; in do_count_loop() 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 73 /* Count how many instructions it takes to do a null loop */ 99 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); in test_body() 113 printf("Overhead of null loop: %llu instructions\n", overhead); in test_body() 115 /* Run for 1Mi instructions */ in test_body() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | instruction_count_test.c | 17 * Run a calibrated instruction loop and count instructions executed using 25 static int do_count_loop(struct event *event, uint64_t instructions, in do_count_loop() argument 37 thirty_two_instruction_loop(instructions >> 5); in do_count_loop() 46 expected = instructions + overhead; in do_count_loop() 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop() 69 /* Count how many instructions it takes to do a null loop */ 132 printf("Overhead of null loop: %lu instructions\n", overhead); in instruction_count() 134 /* Run for 1M instructions */ in instruction_count() 137 /* Run for 10M instructions */ in instruction_count() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument 38 /* Run for 1M instructions */ in do_count_loop() 39 thirty_two_instruction_loop_with_ll_sc(instructions >> 5, &dummy); in do_count_loop() 47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop() 57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 78 /* Count how many instructions it takes to do a null loop */ 110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions"); in test_body() 130 printf("Overhead of null loop: %llu instructions\n", overhead); in test_body() 132 /* Run for 1Mi instructions */ in test_body() [all...] |
H A D | count_instructions.c | 29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument 37 /* Run for 1M instructions */ in do_count_loop() 38 thirty_two_instruction_loop(instructions >> 5); in do_count_loop() 45 expected = instructions + overhead; in do_count_loop() 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 73 /* Count how many instructions it takes to do a null loop */ 99 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); in test_body() 113 printf("Overhead of null loop: %llu instructions\n", overhead); in test_body() 115 /* Run for 1Mi instructions */ in test_body() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | instruction_count_test.c | 17 * Run a calibrated instruction loop and count instructions executed using 25 static int do_count_loop(struct event *event, uint64_t instructions, in do_count_loop() argument 37 thirty_two_instruction_loop(instructions >> 5); in do_count_loop() 46 expected = instructions + overhead; in do_count_loop() 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop() 69 /* Count how many instructions it takes to do a null loop */ 132 printf("Overhead of null loop: %lu instructions\n", overhead); in instruction_count() 134 /* Run for 1M instructions */ in instruction_count() 137 /* Run for 10M instructions */ in instruction_count() [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | phys2virt.S | 22 * __fixup_pv_table - patch the stub instructions with the delta between 41 mov r0, r3, lsr #21 @ constant for add/sub instructions 77 @ In the non-LPAE case, all patchable instructions are MOVW 78 @ instructions, where we need to patch in the offset into the 131 @ in BE8, we load data in BE, but instructions still in LE 155 @ In the non-LPAE case, all patchable instructions are ADD or SUB 156 @ instructions, where we need to patch in the offset into the 173 @ instructions based on bits 23:22 of the opcode, and ADD/SUB can be
|
H A D | entry-armv.S | 512 @ r0 = the two 16-bit Thumb instructions which caused the exception 532 * The out of line fixup for the ldrt instructions above. 550 * instructions; all instructions with bit 27 set are well 551 * defined. The only instructions that should fault are the 552 * co-processor instructions. However, we have to watch out 556 * NEON instructions are co-processor instructions, so we have 960 /* beware -- each __kuser slot must be 8 instructions max */
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | phys2virt.S | 22 * __fixup_pv_table - patch the stub instructions with the delta between 41 mov r0, r3, lsr #21 @ constant for add/sub instructions 77 @ In the non-LPAE case, all patchable instructions are MOVW 78 @ instructions, where we need to patch in the offset into the 131 @ in BE8, we load data in BE, but instructions still in LE 155 @ In the non-LPAE case, all patchable instructions are ADD or SUB 156 @ instructions, where we need to patch in the offset into the 173 @ instructions based on bits 23:22 of the opcode, and ADD/SUB can be
|
/kernel/linux/linux-5.10/drivers/media/pci/tw68/ |
H A D | tw68-risc.c | 113 * memory with the appropriate "instructions". 137 u32 instructions, fields; in tw68_risc_buffer() local 151 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer() 153 buf->size = instructions * 8; in tw68_risc_buffer() 158 /* write risc instructions */ in tw68_risc_buffer()
|
/kernel/linux/linux-6.6/drivers/media/pci/tw68/ |
H A D | tw68-risc.c | 113 * memory with the appropriate "instructions". 137 u32 instructions, fields; in tw68_risc_buffer() local 151 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer() 153 buf->size = instructions * 8; in tw68_risc_buffer() 159 /* write risc instructions */ in tw68_risc_buffer()
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
H A D | apei-internal.h | 33 u32 instructions; member 40 u32 instructions,
|
H A D | apei-base.c | 46 u32 instructions, in apei_exec_ctx_init() 51 ctx->instructions = instructions; in apei_exec_ctx_init() 146 * execute all instructions belong to the action. 171 if (entry->instruction >= ctx->instructions || in __apei_exec_run() 213 if (ins >= ctx->instructions || !ins_table[ins].run) { in apei_exec_for_each_entry() 744 * Same register may be used by multiple instructions in GARs, so 44 apei_exec_ctx_init(struct apei_exec_context *ctx, struct apei_exec_ins_type *ins_table, u32 instructions, struct acpi_whea_header *action_table, u32 entries) apei_exec_ctx_init() argument
|
/kernel/linux/linux-6.6/drivers/acpi/apei/ |
H A D | apei-internal.h | 32 u32 instructions; member 39 u32 instructions,
|
H A D | apei-base.c | 46 u32 instructions, in apei_exec_ctx_init() 51 ctx->instructions = instructions; in apei_exec_ctx_init() 143 * execute all instructions belong to the action. 168 if (entry->instruction >= ctx->instructions || in __apei_exec_run() 210 if (ins >= ctx->instructions || !ins_table[ins].run) { in apei_exec_for_each_entry() 741 * Same register may be used by multiple instructions in GARs, so 44 apei_exec_ctx_init(struct apei_exec_context *ctx, struct apei_exec_ins_type *ins_table, u32 instructions, struct acpi_whea_header *action_table, u32 entries) apei_exec_ctx_init() argument
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 135 u32 instructions, fields; in cx88_risc_buffer() local 150 instructions = fields * (1 + ((bpl + padding) * lines) / in cx88_risc_buffer() 152 instructions += 4; in cx88_risc_buffer() 153 risc->size = instructions * 8; in cx88_risc_buffer() 159 /* write risc instructions */ in cx88_risc_buffer() 180 u32 instructions; in cx88_risc_databuffer() local 189 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx88_risc_databuffer() 190 instructions += 3; in cx88_risc_databuffer() 191 risc->size = instructions * 8; in cx88_risc_databuffer() 197 /* write risc instructions */ in cx88_risc_databuffer() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 135 u32 instructions, fields; in cx88_risc_buffer() local 150 instructions = fields * (1 + ((bpl + padding) * lines) / in cx88_risc_buffer() 152 instructions += 4; in cx88_risc_buffer() 153 risc->size = instructions * 8; in cx88_risc_buffer() 160 /* write risc instructions */ in cx88_risc_buffer() 181 u32 instructions; in cx88_risc_databuffer() local 190 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx88_risc_databuffer() 191 instructions += 3; in cx88_risc_databuffer() 192 risc->size = instructions * 8; in cx88_risc_databuffer() 199 /* write risc instructions */ in cx88_risc_databuffer() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 41 u32 instructions,line,todo; in bttv_risc_packed() local 50 instructions = skip_lines * 4; in bttv_risc_packed() 51 instructions += (1 + ((bpl + padding) * store_lines) in bttv_risc_packed() 53 instructions += 2 * 8; in bttv_risc_packed() 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local 134 instructions = ((3 + (ybpl + ypadding) * ylines * 2) in bttv_risc_planar() 136 instructions += 2; in bttv_risc_planar() 137 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0) in bttv_risc_planar() 251 /* estimate risc mem: worst case is (1.5*clip+1) * lines instructions in bttv_risc_overlay() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 41 u32 instructions,line,todo; in bttv_risc_packed() local 50 instructions = skip_lines * 4; in bttv_risc_packed() 51 instructions += (1 + ((bpl + padding) * store_lines) in bttv_risc_packed() 53 instructions += 2 * 8; in bttv_risc_packed() 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local 134 instructions = ((3 + (ybpl + ypadding) * ylines * 2) in bttv_risc_planar() 136 instructions += 2; in bttv_risc_planar() 137 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0) in bttv_risc_planar()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/ |
H A D | cx25821-core.c | 1062 u32 instructions; in cx25821_risc_buffer() local 1078 instructions = fields * (1 + ((bpl + padding) * lines) / PAGE_SIZE + in cx25821_risc_buffer() 1080 instructions += 5; in cx25821_risc_buffer() 1081 rc = cx25821_riscmem_alloc(pci, risc, instructions * 12); in cx25821_risc_buffer() 1086 /* write risc instructions */ in cx25821_risc_buffer() 1173 u32 instructions; in cx25821_risc_databuffer_audio() local 1182 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx25821_risc_databuffer_audio() 1183 instructions += 1; in cx25821_risc_databuffer_audio() 1185 rc = cx25821_riscmem_alloc(pci, risc, instructions * 12); in cx25821_risc_databuffer_audio() 1189 /* write risc instructions */ in cx25821_risc_databuffer_audio() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx25821/ |
H A D | cx25821-core.c | 1055 u32 instructions; in cx25821_risc_buffer() local 1071 instructions = fields * (1 + ((bpl + padding) * lines) / PAGE_SIZE + in cx25821_risc_buffer() 1073 instructions += 5; in cx25821_risc_buffer() 1074 rc = cx25821_riscmem_alloc(pci, risc, instructions * 12); in cx25821_risc_buffer() 1079 /* write risc instructions */ in cx25821_risc_buffer() 1166 u32 instructions; in cx25821_risc_databuffer_audio() local 1175 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx25821_risc_databuffer_audio() 1176 instructions += 1; in cx25821_risc_databuffer_audio() 1178 rc = cx25821_riscmem_alloc(pci, risc, instructions * 12); in cx25821_risc_databuffer_audio() 1182 /* write risc instructions */ in cx25821_risc_databuffer_audio() [all...] |