/linux-master/drivers/gpu/drm/i915/gem/selftests/ |
H A D | mock_context.c | 81 struct i915_gem_proto_context *pc; local 86 pc = proto_context_create(fpriv, i915, 0); 87 if (IS_ERR(pc)) 88 return ERR_CAST(pc); 90 ctx = i915_gem_create_context(i915, pc); 91 proto_context_close(i915, pc); 153 struct i915_gem_proto_context *pc; local 155 pc = proto_context_create(NULL, i915, 0); 156 if (IS_ERR(pc)) 157 return ERR_CAST(pc); [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | unwind.h | 28 unsigned long sp, fp, pc, ra; member in struct:unwind_state 51 unsigned long pc, unsigned long cfa) 54 pc, (unsigned long *)(cfa - GRAPH_FAKE_OFFSET)); 63 state->pc = regs->csr_era; 68 state->pc = thread_saved_ra(task); 73 state->pc = (unsigned long)__builtin_return_address(0); 79 state->pc = unwind_graph_addr(state, state->pc, state->sp); 87 return __kernel_text_address(state->pc) ? state->pc 50 unwind_graph_addr(struct unwind_state *state, unsigned long pc, unsigned long cfa) argument [all...] |
/linux-master/drivers/pwm/ |
H A D | pwm-intel-lgm.c | 56 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); local 57 struct regmap *regmap = pc->regmap; 66 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); local 71 if (state->polarity != PWM_POLARITY_NORMAL || state->period < pc->period) 77 duty_cycle = min_t(u64, state->duty_cycle, pc->period); 78 val = duty_cycle * LGM_PWM_MAX_DUTY_CYCLE / pc->period; 80 ret = regmap_update_bits(pc->regmap, LGM_PWM_FAN_CON0, LGM_PWM_FAN_DC_MSK, 91 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); local 94 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, 97 state->period = pc 111 lgm_pwm_init(struct lgm_pwm_chip *pc) argument 171 struct lgm_pwm_chip *pc; local [all...] |
/linux-master/arch/mips/kernel/ |
H A D | stacktrace.c | 43 unsigned long pc = regs->cp0_epc; local 45 if (raw_show_trace || !__kernel_text_address(pc)) { 54 if (savesched || !in_sched_functions(pc)) { 58 trace->entries[trace->nr_entries++] = pc; 62 pc = unwind_stack(tsk, &sp, pc, &ra); 63 } while (pc);
|
/linux-master/arch/sh/include/asm/ |
H A D | ptrace.h | 21 return regs->pc; 26 regs->pc = val; 131 unsigned long pc = regs->pc; local 133 if (virt_addr_uncached(pc)) 134 return CAC_ADDR(pc); 136 return pc;
|
/linux-master/lib/ |
H A D | asn1_decoder.c | 178 size_t pc = 0, dp = 0, tdp = 0, len = 0; local 201 pr_debug("next_op: pc=\e[32m%zu\e[m/%zu dp=\e[33m%zu\e[m/%zu C=%d J=%d\n", 202 pc, machlen, dp, datalen, csp, jsp); 203 if (unlikely(pc >= machlen)) 205 op = machine[pc]; 206 if (unlikely(pc + asn1_op_lengths[op] > machlen)) 219 pc += asn1_op_lengths[op]; 241 optag = machine[pc + 1]; 251 pc += asn1_op_lengths[op]; 343 act = machine[pc [all...] |
/linux-master/drivers/bcma/ |
H A D | bcma_private.h | 123 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address); 124 void bcma_core_pci_early_init(struct bcma_drv_pci *pc); 125 void bcma_core_pci_init(struct bcma_drv_pci *pc); 126 void bcma_core_pci_up(struct bcma_drv_pci *pc); 127 void bcma_core_pci_down(struct bcma_drv_pci *pc); 129 static inline void bcma_core_pci_early_init(struct bcma_drv_pci *pc) argument 131 WARN_ON(pc->core->bus->hosttype == BCMA_HOSTTYPE_PCI); 133 static inline void bcma_core_pci_init(struct bcma_drv_pci *pc) argument 136 WARN_ON(pc->core->bus->hosttype == BCMA_HOSTTYPE_PCI); 155 bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc); 158 bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc) argument 162 bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | tsc.c | 43 int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc, argument 50 seq = pc->lock; 52 tc->time_mult = pc->time_mult; 53 tc->time_shift = pc->time_shift; 54 tc->time_zero = pc->time_zero; 55 tc->time_cycles = pc->time_cycles; 56 tc->time_mask = pc->time_mask; 57 tc->cap_user_time_zero = pc->cap_user_time_zero; 58 tc->cap_user_time_short = pc->cap_user_time_short; 60 if (pc 74 perf_event__synth_time_conv(const struct perf_event_mmap_page *pc, struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_metrics.c | 123 unsigned int pc; local 133 pc = isp_ctrl_load(ISP0_ID, ISP_PC_REG); 135 isp_histogram->msink[pc] &= msink; 139 isp_histogram->stall[pc]++; 141 isp_histogram->run[pc]++; 146 pc = sp_ctrl_load(SP0_ID, SP_PC_REG); 147 sp_histogram->msink[pc] &= msink; 150 sp_histogram->stall[pc]++; 152 sp_histogram->run[pc]++;
|
/linux-master/arch/sparc/include/asm/ |
H A D | processor_32.h | 56 static inline void start_thread(struct pt_regs * regs, unsigned long pc, argument 62 regs->pc = ((pc & (~3)) - 4); 63 regs->npc = regs->pc + 4; 86 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc)
|
/linux-master/arch/mips/kvm/ |
H A D | trace.h | 34 __field(unsigned long, pc) 38 __entry->pc = vcpu->arch.pc; 42 __entry->pc) 119 __field(unsigned long, pc) 124 __entry->pc = vcpu->arch.pc; 131 __entry->pc) 257 __field(unsigned long, pc) 263 __entry->pc [all...] |
/linux-master/tools/include/linux/ |
H A D | rbtree_augmented.h | 150 #define __rb_parent(pc) ((struct rb_node *)(pc & ~3)) 152 #define __rb_color(pc) ((pc) & 1) 153 #define __rb_is_black(pc) __rb_color(pc) 154 #define __rb_is_red(pc) (!__rb_color(pc)) 193 unsigned long pc; local 203 pc [all...] |
/linux-master/tools/testing/selftests/powerpc/alignment/ |
H A D | copy_first_unaligned.c | 22 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; local 24 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; local 31 if ((*pc & instruction_mask) == expected_instruction)
|
/linux-master/arch/arm/lib/ |
H A D | call_with_stack.S | 27 push {fp, ip, lr, pc} 43 ldmdb fp, {fp, sp, pc} 46 pop {fpreg, pc}
|
/linux-master/arch/arm/include/asm/ |
H A D | stacktrace.h | 16 unsigned long pc; member in struct:stackframe 35 frame->pc = regs->ARM_pc; 41 frame->ex_frame = in_entry_text(frame->pc);
|
/linux-master/arch/arm/kernel/ |
H A D | return_address.c | 19 static bool save_return_addr(void *d, unsigned long pc) argument 24 data->addr = (void *)pc; 45 frame.pc = (unsigned long)&&here;
|
/linux-master/arch/loongarch/kvm/ |
H A D | trace.h | 22 __field(unsigned long, pc) 26 __entry->pc = vcpu->arch.pc; 29 TP_printk("PC: 0x%08lx", __entry->pc) 57 __field(unsigned long, pc) 62 __entry->pc = vcpu->arch.pc; 69 __entry->pc) 125 __field(unsigned long, pc) 131 __entry->pc [all...] |
/linux-master/arch/alpha/lib/ |
H A D | stacktrace.c | 68 seek_prologue(instr * pc) argument 70 while (!STK_ALLOC_MATCH(*pc)) 71 --pc; 72 while (!BB_END(*(pc - 1))) 73 --pc; 74 return pc;
|
/linux-master/arch/arm64/include/asm/ |
H A D | ftrace.h | 91 unsigned long pc; member in struct:ftrace_regs 97 return fregs->pc; 102 unsigned long pc) 104 fregs->pc = pc; 137 fregs->pc = fregs->lr; 101 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, unsigned long pc) argument
|
H A D | sdei.h | 27 unsigned long pc, unsigned long pstate); 32 unsigned long pc,
|
/linux-master/arch/sparc/prom/ |
H A D | mp.c | 19 * by 'ctable_reg' in context 'ctx' at program counter 'pc'. 24 prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) argument 37 ret = (*(romvec->v3_cpustart))(cpunode, (int) ctable_reg, ctx, pc);
|
/linux-master/arch/arm/mach-exynos/ |
H A D | exynos-smc.S | 19 ldmfd sp!, {r4-r11, pc}
|
/linux-master/scripts/ |
H A D | Makefile.kcov | 2 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
|
/linux-master/arch/arm64/kernel/ |
H A D | return_address.c | 21 static bool save_return_addr(void *d, unsigned long pc) argument 26 data->addr = (void *)pc;
|
/linux-master/fs/udf/ |
H A D | symlink.c | 31 struct pathComponent *pc; local 39 pc = (struct pathComponent *)(from + elen); 41 switch (pc->componentType) { 47 if (pc->lengthComponentIdent > 0) { 48 elen += pc->lengthComponentIdent; 75 elen += pc->lengthComponentIdent; 78 comp_len = udf_get_filename(sb, pc->componentIdent, 79 pc->lengthComponentIdent,
|