/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_guc_pc.c | 52 * DOC: GuC Power Conservation (PC) 54 * GuC Power Conservation (PC) supports multiple features for the most 72 * Render-C states is also a GuC PC feature that is now enabled in Xe for 77 static struct xe_guc *pc_to_guc(struct xe_guc_pc *pc) in pc_to_guc() argument 79 return container_of(pc, struct xe_guc, pc); in pc_to_guc() 82 static struct xe_guc_ct *pc_to_ct(struct xe_guc_pc *pc) in pc_to_ct() argument 84 return &pc_to_guc(pc)->ct; in pc_to_ct() 87 static struct xe_gt *pc_to_gt(struct xe_guc_pc *pc) in pc_to_gt() argument 89 return guc_to_gt(pc_to_guc(pc)); in pc_to_gt() 92 static struct xe_device *pc_to_xe(struct xe_guc_pc *pc) in pc_to_xe() argument [all …]
|
D | xe_guc_pc.h | 14 int xe_guc_pc_init(struct xe_guc_pc *pc); 15 int xe_guc_pc_start(struct xe_guc_pc *pc); 16 int xe_guc_pc_stop(struct xe_guc_pc *pc); 17 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc); 18 int xe_guc_pc_override_gucrc_mode(struct xe_guc_pc *pc, enum slpc_gucrc_mode mode); 19 int xe_guc_pc_unset_gucrc_mode(struct xe_guc_pc *pc); 21 u32 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc); 22 int xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq); 23 u32 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc); 24 u32 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc); [all …]
|
/linux-6.12.1/drivers/pinctrl/meson/ |
D | pinctrl-meson.c | 66 * @pc: the pinctrl instance 72 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, in meson_get_bank() argument 77 for (i = 0; i < pc->data->num_banks; i++) { in meson_get_bank() 78 if (pin >= pc->data->banks[i].first && in meson_get_bank() 79 pin <= pc->data->banks[i].last) { in meson_get_bank() 80 *bank = &pc->data->banks[i]; in meson_get_bank() 111 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count() local 113 return pc->data->num_groups; in meson_get_groups_count() 119 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name() local 121 return pc->data->groups[selector].name; in meson_get_group_name() [all …]
|
/linux-6.12.1/drivers/bcma/ |
D | driver_pci.c | 20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read() argument 22 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); in bcma_pcie_read() 23 pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR); in bcma_pcie_read() 24 return pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_DATA); in bcma_pcie_read() 27 static void bcma_pcie_write(struct bcma_drv_pci *pc, u32 address, u32 data) in bcma_pcie_write() argument 29 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); in bcma_pcie_write() 30 pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR); in bcma_pcie_write() 31 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_DATA, data); in bcma_pcie_write() 34 static void bcma_pcie_mdio_set_phy(struct bcma_drv_pci *pc, u16 phy) in bcma_pcie_mdio_set_phy() argument 47 pcicore_write32(pc, BCMA_CORE_PCI_MDIO_DATA, v); in bcma_pcie_mdio_set_phy() [all …]
|
D | driver_pci_host.c | 28 bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc) in bcma_core_pci_is_in_hostmode() argument 30 struct bcma_bus *bus = pc->core->bus; in bcma_core_pci_is_in_hostmode() 39 bcma_core_enable(pc->core, 0); in bcma_core_pci_is_in_hostmode() 41 return !mips_busprobe32(tmp, pc->core->io_addr); in bcma_core_pci_is_in_hostmode() 44 static u32 bcma_pcie_read_config(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read_config() argument 46 pcicore_write32(pc, BCMA_CORE_PCI_CONFIG_ADDR, address); in bcma_pcie_read_config() 47 pcicore_read32(pc, BCMA_CORE_PCI_CONFIG_ADDR); in bcma_pcie_read_config() 48 return pcicore_read32(pc, BCMA_CORE_PCI_CONFIG_DATA); in bcma_pcie_read_config() 51 static void bcma_pcie_write_config(struct bcma_drv_pci *pc, u32 address, in bcma_pcie_write_config() argument 54 pcicore_write32(pc, BCMA_CORE_PCI_CONFIG_ADDR, address); in bcma_pcie_write_config() [all …]
|
/linux-6.12.1/drivers/pwm/ |
D | pwm-rockchip.c | 63 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_get_state() local 64 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_get_state() 70 ret = clk_enable(pc->pclk); in rockchip_pwm_get_state() 74 ret = clk_enable(pc->clk); in rockchip_pwm_get_state() 78 clk_rate = clk_get_rate(pc->clk); in rockchip_pwm_get_state() 80 tmp = readl_relaxed(pc->base + pc->data->regs.period); in rockchip_pwm_get_state() 81 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state() 84 tmp = readl_relaxed(pc->base + pc->data->regs.duty); in rockchip_pwm_get_state() 85 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state() 88 val = readl_relaxed(pc->base + pc->data->regs.ctrl); in rockchip_pwm_get_state() [all …]
|
D | pwm-sti.c | 117 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale() argument 124 clk_rate = clk_get_rate(pc->pwm_clk); in sti_pwm_get_prescale() 126 dev_err(pc->dev, "failed to get clock rate\n"); in sti_pwm_get_prescale() 134 value *= pc->max_pwm_cnt + 1; in sti_pwm_get_prescale() 140 if (ps > pc->max_prescale) in sti_pwm_get_prescale() 160 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_config() local 162 struct pwm_device *cur = pc->cur; in sti_pwm_config() 163 struct device *dev = pc->dev; in sti_pwm_config() 167 ncfg = hweight_long(pc->configured); in sti_pwm_config() 188 ret = clk_enable(pc->pwm_clk); in sti_pwm_config() [all …]
|
D | pwm-tiehrpwm.c | 180 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan) in configure_polarity() argument 195 if (pc->polarity[chan] == PWM_POLARITY_INVERSED) in configure_polarity() 203 if (pc->polarity[chan] == PWM_POLARITY_INVERSED) in configure_polarity() 210 ehrpwm_modify(pc->mmio_base, aqctl_reg, aqctl_mask, aqctl_val); in configure_polarity() 220 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_config() local 229 c = pc->clk_rate; in ehrpwm_pwm_config() 238 c = pc->clk_rate; in ehrpwm_pwm_config() 249 if (pc->period_cycles[i] && in ehrpwm_pwm_config() 250 (pc->period_cycles[i] != period_cycles)) { in ehrpwm_pwm_config() 265 pc->period_cycles[pwm->hwpwm] = period_cycles; in ehrpwm_pwm_config() [all …]
|
D | pwm-tiecap.c | 52 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_config() local 57 c = pc->clk_rate; in ecap_pwm_config() 66 c = pc->clk_rate; in ecap_pwm_config() 74 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config() 79 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config() 83 writel(duty_cycles, pc->mmio_base + CAP2); in ecap_pwm_config() 84 writel(period_cycles, pc->mmio_base + CAP1); in ecap_pwm_config() 91 writel(duty_cycles, pc->mmio_base + CAP4); in ecap_pwm_config() 92 writel(period_cycles, pc->mmio_base + CAP3); in ecap_pwm_config() 96 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config() [all …]
|
D | pwm-bcm2835.c | 39 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_request() local 42 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_request() 45 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_request() 52 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_free() local 55 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_free() 57 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_free() 64 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_apply() local 84 max_period = DIV_ROUND_UP_ULL((u64)U32_MAX * NSEC_PER_SEC + NSEC_PER_SEC / 2, pc->rate) - 1; in bcm2835_pwm_apply() 90 period_cycles = DIV_ROUND_CLOSEST_ULL(state->period * pc->rate, NSEC_PER_SEC); in bcm2835_pwm_apply() 96 writel(period_cycles, pc->base + PERIOD(pwm->hwpwm)); in bcm2835_pwm_apply() [all …]
|
D | pwm-mediatek.c | 76 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_enable() local 79 ret = clk_prepare_enable(pc->clk_top); in pwm_mediatek_clk_enable() 83 ret = clk_prepare_enable(pc->clk_main); in pwm_mediatek_clk_enable() 87 ret = clk_prepare_enable(pc->clk_pwms[pwm->hwpwm]); in pwm_mediatek_clk_enable() 94 clk_disable_unprepare(pc->clk_main); in pwm_mediatek_clk_enable() 96 clk_disable_unprepare(pc->clk_top); in pwm_mediatek_clk_enable() 104 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_disable() local 106 clk_disable_unprepare(pc->clk_pwms[pwm->hwpwm]); in pwm_mediatek_clk_disable() 107 clk_disable_unprepare(pc->clk_main); in pwm_mediatek_clk_disable() 108 clk_disable_unprepare(pc->clk_top); in pwm_mediatek_clk_disable() [all …]
|
D | pwm-tegra.c | 84 static inline u32 pwm_readl(struct tegra_pwm_chip *pc, unsigned int offset) in pwm_readl() argument 86 return readl(pc->regs + (offset << 4)); in pwm_readl() 89 static inline void pwm_writel(struct tegra_pwm_chip *pc, unsigned int offset, u32 value) in pwm_writel() argument 91 writel(value, pc->regs + (offset << 4)); in pwm_writel() 97 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_config() local 116 if (period_ns < pc->min_period_ns) in tegra_pwm_config() 132 if (pc->soc->num_channels == 1) { in tegra_pwm_config() 147 if (required_clk_rate > clk_round_rate(pc->clk, required_clk_rate)) in tegra_pwm_config() 163 pc->clk_rate = clk_get_rate(pc->clk); in tegra_pwm_config() 167 rate = mul_u64_u64_div_u64(pc->clk_rate, period_ns, in tegra_pwm_config() [all …]
|
/linux-6.12.1/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 252 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg) in bcm2835_gpio_rd() argument 254 return readl(pc->base + reg); in bcm2835_gpio_rd() 257 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_wr() argument 260 writel(val, pc->base + reg); in bcm2835_gpio_wr() 263 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_get_bit() argument 267 return (bcm2835_gpio_rd(pc, reg) >> GPIO_REG_SHIFT(bit)) & 1; in bcm2835_gpio_get_bit() 271 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc, in bcm2835_gpio_set_bit() argument 275 bcm2835_gpio_wr(pc, reg, BIT(GPIO_REG_SHIFT(bit))); in bcm2835_gpio_set_bit() 279 struct bcm2835_pinctrl *pc, unsigned pin) in bcm2835_pinctrl_fsel_get() argument 281 u32 val = bcm2835_gpio_rd(pc, FSEL_REG(pin)); in bcm2835_pinctrl_fsel_get() [all …]
|
D | pinctrl-bcm63xx.c | 47 struct bcm63xx_pinctrl *pc) in bcm63xx_gpio_probe() argument 55 grc.regmap = pc->regs; in bcm63xx_gpio_probe() 69 struct bcm63xx_pinctrl *pc; in bcm63xx_pinctrl_probe() local 72 pc = devm_kzalloc(dev, sizeof(*pc), GFP_KERNEL); in bcm63xx_pinctrl_probe() 73 if (!pc) in bcm63xx_pinctrl_probe() 76 platform_set_drvdata(pdev, pc); in bcm63xx_pinctrl_probe() 78 pc->dev = dev; in bcm63xx_pinctrl_probe() 79 pc->driver_data = driver_data; in bcm63xx_pinctrl_probe() 81 pc->regs = syscon_node_to_regmap(dev->parent->of_node); in bcm63xx_pinctrl_probe() 82 if (IS_ERR(pc->regs)) in bcm63xx_pinctrl_probe() [all …]
|
/linux-6.12.1/drivers/ssb/ |
D | driver_pcicore.c | 19 static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address); 20 static void ssb_pcie_write(struct ssb_pcicore *pc, u32 address, u32 data); 21 static u16 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address); 22 static void ssb_pcie_mdio_write(struct ssb_pcicore *pc, u8 device, 26 u32 pcicore_read32(struct ssb_pcicore *pc, u16 offset) in pcicore_read32() argument 28 return ssb_read32(pc->dev, offset); in pcicore_read32() 32 void pcicore_write32(struct ssb_pcicore *pc, u16 offset, u32 value) in pcicore_write32() argument 34 ssb_write32(pc->dev, offset, value); in pcicore_write32() 38 u16 pcicore_read16(struct ssb_pcicore *pc, u16 offset) in pcicore_read16() argument 40 return ssb_read16(pc->dev, offset); in pcicore_read16() [all …]
|
/linux-6.12.1/drivers/dma/mediatek/ |
D | mtk-cqdma.c | 92 * channel (PC) 93 * @queue: Queue for the PDs issued to this PC 94 * @base: The mapped register I/O base of this PC 95 * @irq: The IRQ that this PC are using 96 * @refcnt: Track how many VCs are using this PC 97 * @tasklet: Tasklet for this PC 98 * @lock: Lock protect agaisting multiple VCs access PC 109 /* lock to protect PC */ 117 * @pc: The pointer to the underlying PC 123 struct mtk_cqdma_pchan *pc; member [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/imx/ |
D | imx8qxp-pixel-combiner.c | 64 struct imx8qxp_pc *pc; member 76 static inline u32 imx8qxp_pc_read(struct imx8qxp_pc *pc, unsigned int offset) in imx8qxp_pc_read() argument 78 return readl(pc->base + offset); in imx8qxp_pc_read() 82 imx8qxp_pc_write(struct imx8qxp_pc *pc, unsigned int offset, u32 value) in imx8qxp_pc_write() argument 84 writel(value, pc->base + offset); in imx8qxp_pc_write() 88 imx8qxp_pc_write_set(struct imx8qxp_pc *pc, unsigned int offset, u32 value) in imx8qxp_pc_write_set() argument 90 imx8qxp_pc_write(pc, offset + PC_REG_SET, value); in imx8qxp_pc_write_set() 94 imx8qxp_pc_write_clr(struct imx8qxp_pc *pc, unsigned int offset, u32 value) in imx8qxp_pc_write_clr() argument 96 imx8qxp_pc_write(pc, offset + PC_REG_CLR, value); in imx8qxp_pc_write_clr() 114 struct imx8qxp_pc *pc = ch->pc; in imx8qxp_pc_bridge_attach() local [all …]
|
/linux-6.12.1/sound/pci/asihpi/ |
D | hpicmn.c | 176 static unsigned int control_cache_alloc_check(struct hpi_control_cache *pC) in control_cache_alloc_check() argument 180 if (!pC) in control_cache_alloc_check() 183 if (pC->init) in control_cache_alloc_check() 184 return pC->init; in control_cache_alloc_check() 186 if (!pC->p_cache) in control_cache_alloc_check() 189 if (pC->control_count && pC->cache_size_in_bytes) { in control_cache_alloc_check() 193 p_master_cache = (char *)pC->p_cache; in control_cache_alloc_check() 195 pC->control_count); in control_cache_alloc_check() 196 for (i = 0; i < pC->control_count; i++) { in control_cache_alloc_check() 202 if (control_index >= pC->control_count) { in control_cache_alloc_check() [all …]
|
/linux-6.12.1/arch/csky/kernel/ |
D | stacktrace.c | 19 unsigned long fp, sp, pc; in walk_stackframe() local 24 pc = instruction_pointer(regs); in walk_stackframe() 29 pc = (unsigned long)walk_stackframe; in walk_stackframe() 34 pc = thread_saved_lr(task); in walk_stackframe() 41 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe() 53 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe() 63 unsigned long sp, pc; in walk_stackframe() local 68 pc = instruction_pointer(regs); in walk_stackframe() 71 pc = (unsigned long)walk_stackframe; in walk_stackframe() 75 pc = thread_saved_lr(task); in walk_stackframe() [all …]
|
/linux-6.12.1/arch/arm/probes/kprobes/ |
D | test-arm.c | 65 TEST_R( op s "vc r6, r",7, VAL1,", pc, lsl #3") \ in kprobe_arm_test_cases() 67 TEST_R( op s "vc r6, pc, r",7, VAL1,", asr #5") \ in kprobe_arm_test_cases() 78 TEST( op s " r4, pc" ", #0x00005a00") in kprobe_arm_test_cases() 92 TEST_R ( op "vs r",7, VAL1,", pc, lsl #3") \ in kprobe_arm_test_cases() 94 TEST_R( op "vs pc, r",7, VAL1,", asr #5") \ in kprobe_arm_test_cases() 114 TEST( op s "vs r7, pc, lsl #3") \ in kprobe_arm_test_cases() 150 TEST_SUPPORTED("mov pc, #0x1000"); in kprobe_arm_test_cases() 152 TEST_SUPPORTED("cmp pc, #0x1000"); in kprobe_arm_test_cases() 155 /* Data-processing with PC and a shift count in a register */ in kprobe_arm_test_cases() 156 TEST_UNSUPPORTED(__inst_arm(0xe15c0f1e) " @ cmp r12, r14, asl pc") in kprobe_arm_test_cases() [all …]
|
/linux-6.12.1/arch/microblaze/kernel/ |
D | unwind.c | 71 * initial PC is in). 72 * @pc : Program counter at which to begin the search 74 * Return - PC at which stack frame creation occurs 77 static unsigned long *find_frame_creation(unsigned long *pc) in find_frame_creation() argument 86 for (i = 0; i < 1000; i++, pc--) { in find_frame_creation() 90 if (!kernel_text_address((unsigned long) pc)) in find_frame_creation() 93 instr = *pc; in find_frame_creation() 102 frame_size, pc); in find_frame_creation() 106 pr_debug(" Found frame creation at 0x%p, size %d\n", pc, in find_frame_creation() 108 return pc; in find_frame_creation() [all …]
|
/linux-6.12.1/arch/riscv/kernel/ |
D | stacktrace.c | 34 unsigned long fp, sp, pc; in walk_stackframe() local 41 pc = instruction_pointer(regs); in walk_stackframe() 45 pc = (unsigned long)walk_stackframe; in walk_stackframe() 51 pc = task->thread.ra; in walk_stackframe() 57 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc)))) in walk_stackframe() 66 if (regs && (regs->epc == pc) && fp_is_valid(frame->ra, sp)) { in walk_stackframe() 69 pc = regs->ra; in walk_stackframe() 72 pc = ftrace_graph_ret_addr(current, &graph_idx, frame->ra, in walk_stackframe() 74 if (pc == (unsigned long)handle_exception) { in walk_stackframe() 75 if (unlikely(!__kernel_text_address(pc) || !fn(arg, pc))) in walk_stackframe() [all …]
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | stacktrace.c | 36 unsigned long pc = regs->pc; in xtensa_backtrace_user() local 43 frame.pc = pc; in xtensa_backtrace_user() 46 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 73 /* Get the PC from a0 and a1. */ in xtensa_backtrace_user() 74 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user() 81 frame.pc = pc; in xtensa_backtrace_user() 84 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 98 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user() 108 frame.pc = pc; in xtensa_backtrace_user() 111 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() [all …]
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | inst.c | 15 unsigned long pc = regs->csr_era; in simu_pc() local 19 if (pc & 3) { in simu_pc() 20 pr_warn("%s: invalid pc 0x%lx\n", __func__, pc); in simu_pc() 26 regs->regs[rd] = pc + sign_extend64(imm << 2, 21); in simu_pc() 29 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 32 regs->regs[rd] = pc + sign_extend64(imm << 18, 37); in simu_pc() 35 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 49 unsigned long pc = regs->csr_era; in simu_branch() local 51 if (pc & 3) { in simu_branch() 52 pr_warn("%s: invalid pc 0x%lx\n", __func__, pc); in simu_branch() [all …]
|
D | unwind_prologue.c | 65 static inline bool fix_exception(unsigned long pc) in fix_exception() argument 73 if (scan_handlers(pc - pcpu_handlers[cpu])) in fix_exception() 77 return scan_handlers(pc - eentry); in fix_exception() 82 * tracing. Prologue analysis will stop soon because PC is at entry. 84 static inline bool fix_ftrace(unsigned long pc) in fix_ftrace() argument 87 return pc == (unsigned long)ftrace_call + LOONGARCH_INSN_SIZE; in fix_ftrace() 95 if (!fix_exception(state->pc) && !fix_ftrace(state->pc)) in unwind_state_fixup() 114 unsigned long size, offset, pc; in unwind_by_prologue() local 126 state->pc = regs->csr_era; in unwind_by_prologue() 133 * When first is not set, the PC is a return address in the previous frame. in unwind_by_prologue() [all …]
|