Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 812) sorted by relevance

12345678910>>...33

/kernel/linux/linux-5.10/drivers/pinctrl/meson/
Dpinctrl-meson.c72 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()
110 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count() local
112 return pc->data->num_groups; in meson_get_groups_count()
118 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name() local
120 return pc->data->groups[selector].name; in meson_get_group_name()
126 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins() local
[all …]
/kernel/linux/linux-5.10/drivers/bcma/
Ddriver_pci.c20 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 …]
Ddriver_pci_host.c28 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 …]
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-sti.c122 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale() argument
125 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_get_prescale()
130 clk_rate = clk_get_rate(pc->pwm_clk); in sti_pwm_get_prescale()
132 dev_err(pc->dev, "failed to get clock rate\n"); in sti_pwm_get_prescale()
166 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_config() local
167 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_config()
169 struct pwm_device *cur = pc->cur; in sti_pwm_config()
170 struct device *dev = pc->dev; in sti_pwm_config()
174 ncfg = hweight_long(pc->configured); in sti_pwm_config()
195 ret = clk_enable(pc->pwm_clk); in sti_pwm_config()
[all …]
Dpwm-rockchip.c64 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_get_state() local
65 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_get_state()
71 ret = clk_enable(pc->pclk); in rockchip_pwm_get_state()
75 clk_rate = clk_get_rate(pc->clk); in rockchip_pwm_get_state()
77 tmp = readl_relaxed(pc->base + pc->data->regs.period); in rockchip_pwm_get_state()
78 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state()
81 tmp = readl_relaxed(pc->base + pc->data->regs.duty); in rockchip_pwm_get_state()
82 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state()
85 val = readl_relaxed(pc->base + pc->data->regs.ctrl); in rockchip_pwm_get_state()
88 if (pc->data->supports_polarity && !(val & PWM_DUTY_POSITIVE)) in rockchip_pwm_get_state()
[all …]
Dpwm-tiecap.c53 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_config() local
61 c = pc->clk_rate; in ecap_pwm_config()
70 c = pc->clk_rate; in ecap_pwm_config()
76 pm_runtime_get_sync(pc->chip.dev); in ecap_pwm_config()
78 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
83 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
87 writel(duty_cycles, pc->mmio_base + CAP2); in ecap_pwm_config()
88 writel(period_cycles, pc->mmio_base + CAP1); in ecap_pwm_config()
95 writel(duty_cycles, pc->mmio_base + CAP4); in ecap_pwm_config()
96 writel(period_cycles, pc->mmio_base + CAP3); in ecap_pwm_config()
[all …]
Dpwm-tiehrpwm.c181 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan) in configure_polarity() argument
196 if (pc->polarity[chan] == PWM_POLARITY_INVERSED) in configure_polarity()
204 if (pc->polarity[chan] == PWM_POLARITY_INVERSED) in configure_polarity()
211 ehrpwm_modify(pc->mmio_base, aqctl_reg, aqctl_mask, aqctl_val); in configure_polarity()
221 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_config() local
230 c = pc->clk_rate; in ehrpwm_pwm_config()
239 c = pc->clk_rate; in ehrpwm_pwm_config()
250 if (pc->period_cycles[i] && in ehrpwm_pwm_config()
251 (pc->period_cycles[i] != period_cycles)) { in ehrpwm_pwm_config()
266 pc->period_cycles[pwm->hwpwm] = period_cycles; in ehrpwm_pwm_config()
[all …]
Dpwm-bcm2835.c40 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_request() local
43 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_request()
46 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_request()
53 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_free() local
56 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_free()
58 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_free()
64 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_config() local
65 unsigned long rate = clk_get_rate(pc->clk); in bcm2835_pwm_config()
70 dev_err(pc->dev, "failed to get clock rate\n"); in bcm2835_pwm_config()
81 pc->base + DUTY(pwm->hwpwm)); in bcm2835_pwm_config()
[all …]
Dpwm-mediatek.c73 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_enable() local
76 ret = clk_prepare_enable(pc->clk_top); in pwm_mediatek_clk_enable()
80 ret = clk_prepare_enable(pc->clk_main); in pwm_mediatek_clk_enable()
84 ret = clk_prepare_enable(pc->clk_pwms[pwm->hwpwm]); in pwm_mediatek_clk_enable()
91 clk_disable_unprepare(pc->clk_main); in pwm_mediatek_clk_enable()
93 clk_disable_unprepare(pc->clk_top); in pwm_mediatek_clk_enable()
101 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_disable() local
103 clk_disable_unprepare(pc->clk_pwms[pwm->hwpwm]); in pwm_mediatek_clk_disable()
104 clk_disable_unprepare(pc->clk_main); in pwm_mediatek_clk_disable()
105 clk_disable_unprepare(pc->clk_top); in pwm_mediatek_clk_disable()
[all …]
Dpwm-spear.c80 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_config() local
95 clk_rate = clk_get_rate(pc->clk); in spear_pwm_config()
124 ret = clk_enable(pc->clk); in spear_pwm_config()
128 spear_pwm_writel(pc, pwm->hwpwm, PWMCR, in spear_pwm_config()
130 spear_pwm_writel(pc, pwm->hwpwm, PWMDCR, dc); in spear_pwm_config()
131 spear_pwm_writel(pc, pwm->hwpwm, PWMPCR, pv); in spear_pwm_config()
132 clk_disable(pc->clk); in spear_pwm_config()
139 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_enable() local
143 rc = clk_enable(pc->clk); in spear_pwm_enable()
147 val = spear_pwm_readl(pc, pwm->hwpwm, PWMCR); in spear_pwm_enable()
[all …]
/kernel/linux/linux-5.10/drivers/ssb/
Ddriver_pcicore.c19 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 …]
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c244 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg) in bcm2835_gpio_rd() argument
246 return readl(pc->base + reg); in bcm2835_gpio_rd()
249 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_wr() argument
252 writel(val, pc->base + reg); in bcm2835_gpio_wr()
255 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_get_bit() argument
259 return (bcm2835_gpio_rd(pc, reg) >> GPIO_REG_SHIFT(bit)) & 1; in bcm2835_gpio_get_bit()
263 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc, in bcm2835_gpio_set_bit() argument
267 bcm2835_gpio_wr(pc, reg, BIT(GPIO_REG_SHIFT(bit))); in bcm2835_gpio_set_bit()
271 struct bcm2835_pinctrl *pc, unsigned pin) in bcm2835_pinctrl_fsel_get() argument
273 u32 val = bcm2835_gpio_rd(pc, FSEL_REG(pin)); in bcm2835_pinctrl_fsel_get()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dunwind.c77 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()
125 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, in lookup_prev_stack_frame() argument
133 if (pc != (unsigned long) &_switch_to) in lookup_prev_stack_frame()
134 prologue = find_frame_creation((unsigned long *)pc); in lookup_prev_stack_frame()
[all …]
/kernel/linux/linux-5.10/drivers/dma/mediatek/
Dmtk-cqdma.c124 struct mtk_cqdma_pchan *pc; member
146 struct mtk_cqdma_pchan **pc; member
169 static u32 mtk_dma_read(struct mtk_cqdma_pchan *pc, u32 reg) in mtk_dma_read() argument
171 return readl(pc->base + reg); in mtk_dma_read()
174 static void mtk_dma_write(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_write() argument
176 writel_relaxed(val, pc->base + reg); in mtk_dma_write()
179 static void mtk_dma_rmw(struct mtk_cqdma_pchan *pc, u32 reg, in mtk_dma_rmw() argument
184 val = mtk_dma_read(pc, reg); in mtk_dma_rmw()
187 mtk_dma_write(pc, reg, val); in mtk_dma_rmw()
190 static void mtk_dma_set(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_set() argument
[all …]
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dstacktrace.c27 unsigned long fp, sp, pc; in walk_stackframe() local
32 pc = instruction_pointer(regs); in walk_stackframe()
37 pc = (unsigned long)walk_stackframe; in walk_stackframe()
42 pc = task->thread.ra; in walk_stackframe()
49 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe()
60 if (regs && (regs->epc == pc) && (frame->fp & 0x7)) { in walk_stackframe()
62 pc = regs->ra; in walk_stackframe()
65 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
77 unsigned long sp, pc; in walk_stackframe() local
82 pc = instruction_pointer(regs); in walk_stackframe()
[all …]
/kernel/liteos_a/fs/vfs/
Dpath_cache.c44 #define TRACE_HIT_CACHE(pc) do { pc->hit++; g_totalPathCacheHit++; } while (0) argument
55 #define TRACE_HIT_CACHE(pc) argument
70 struct PathCache *pc = NULL; in PathCacheDump() local
73 LOS_DL_LIST_FOR_EACH_ENTRY(pc, nhead, struct PathCache, hashEntry) { in PathCacheDump()
75 pc->name, pc->parentVnode, pc->childVnode, pc->nameLen); in PathCacheDump()
114 struct PathCache *pc = NULL; in PathCacheAlloc() local
123 pc = (struct PathCache*)zalloc(pathCacheSize); in PathCacheAlloc()
124 if (pc == NULL) { in PathCacheAlloc()
129 ret = strncpy_s(pc->name, len + 1, name, len); in PathCacheAlloc()
131 free(pc); in PathCacheAlloc()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-floppy.c67 struct ide_atapi_pc *pc = drive->pc; in ide_floppy_callback() local
68 struct request *rq = pc->rq; in ide_floppy_callback()
69 int uptodate = pc->error ? 0 : 1; in ide_floppy_callback()
73 if (drive->failed_pc == pc) in ide_floppy_callback()
76 if (pc->c[0] == GPCMD_READ_10 || pc->c[0] == GPCMD_WRITE_10 || in ide_floppy_callback()
79 else if (pc->c[0] == GPCMD_REQUEST_SENSE) { in ide_floppy_callback()
83 if (!pc->error) { in ide_floppy_callback()
109 struct ide_atapi_pc *pc) in ide_floppy_report_error() argument
119 floppy->drive->name, pc->c[0], floppy->sense_key, in ide_floppy_report_error()
126 struct ide_atapi_pc *pc) in ide_floppy_issue_pc() argument
[all …]
Dide-floppy_ioctl.c39 struct ide_atapi_pc *pc, in ide_floppy_get_format_capacities() argument
53 ide_floppy_create_read_capacity_cmd(pc); in ide_floppy_get_format_capacities()
55 if (ide_queue_pc_tail(drive, floppy->disk, pc, pc_buf, pc->req_xfer)) { in ide_floppy_get_format_capacities()
99 static void ide_floppy_create_format_unit_cmd(struct ide_atapi_pc *pc, in ide_floppy_create_format_unit_cmd() argument
103 ide_init_pc(pc); in ide_floppy_create_format_unit_cmd()
104 pc->c[0] = GPCMD_FORMAT_UNIT; in ide_floppy_create_format_unit_cmd()
105 pc->c[1] = 0x17; in ide_floppy_create_format_unit_cmd()
117 pc->req_xfer = 12; in ide_floppy_create_format_unit_cmd()
118 pc->flags |= PC_FLAG_WRITING; in ide_floppy_create_format_unit_cmd()
121 static int ide_floppy_get_sfrp_bit(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_floppy_get_sfrp_bit() argument
[all …]
Dide-tape.c272 struct ide_atapi_pc *pc = drive->failed_pc; in idetape_analyze_error() local
285 if (pc->flags & PC_FLAG_DMA_ERROR) in idetape_analyze_error()
293 if ((pc->c[0] == READ_6 || pc->c[0] == WRITE_6) in idetape_analyze_error()
295 && pc->c[4] == 0 && pc->c[3] == 0 && pc->c[2] == 0) { in idetape_analyze_error()
298 pc->error = 0; in idetape_analyze_error()
300 pc->flags |= PC_FLAG_ABORT; in idetape_analyze_error()
303 if (pc->c[0] == READ_6 && (sense[2] & 0x80)) { in idetape_analyze_error()
304 pc->error = IDE_DRV_ERROR_FILEMARK; in idetape_analyze_error()
305 pc->flags |= PC_FLAG_ABORT; in idetape_analyze_error()
307 if (pc->c[0] == WRITE_6) { in idetape_analyze_error()
[all …]
Dide-atapi.c80 void ide_init_pc(struct ide_atapi_pc *pc) in ide_init_pc() argument
82 memset(pc, 0, sizeof(*pc)); in ide_init_pc()
91 struct ide_atapi_pc *pc, void *buf, unsigned int bufflen) in ide_queue_pc_tail() argument
98 ide_req(rq)->special = pc; in ide_queue_pc_tail()
107 memcpy(scsi_req(rq)->cmd, pc->c, 12); in ide_queue_pc_tail()
120 struct ide_atapi_pc pc; in ide_do_test_unit_ready() local
122 ide_init_pc(&pc); in ide_do_test_unit_ready()
123 pc.c[0] = TEST_UNIT_READY; in ide_do_test_unit_ready()
125 return ide_queue_pc_tail(drive, disk, &pc, NULL, 0); in ide_do_test_unit_ready()
131 struct ide_atapi_pc pc; in ide_do_start_stop() local
[all …]
/kernel/linux/linux-5.10/arch/csky/kernel/
Dstacktrace.c19 unsigned long fp, sp, pc; in walk_stackframe() local
24 pc = instruction_pointer(regs); in walk_stackframe()
30 pc = (unsigned long)walk_stackframe; in walk_stackframe()
35 pc = thread_saved_lr(task); in walk_stackframe()
42 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe()
54 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
64 unsigned long sp, pc; in walk_stackframe() local
69 pc = instruction_pointer(regs); in walk_stackframe()
73 pc = (unsigned long)walk_stackframe; in walk_stackframe()
77 pc = thread_saved_lr(task); in walk_stackframe()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dftrace.c24 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() argument
38 if (aarch64_insn_read((void *)pc, &replaced)) in ftrace_modify_code()
44 if (aarch64_insn_patch_text_nosync((void *)pc, new)) in ftrace_modify_code()
55 unsigned long pc; in ftrace_update_ftrace_func() local
58 pc = (unsigned long)function_nocfi(ftrace_call); in ftrace_update_ftrace_func()
59 new = aarch64_insn_gen_branch_imm(pc, (unsigned long)func, in ftrace_update_ftrace_func()
62 return ftrace_modify_code(pc, 0, new, false); in ftrace_update_ftrace_func()
92 unsigned long pc = rec->ip; in ftrace_find_callable_addr() local
93 long offset = (long)*addr - (long)pc; in ftrace_find_callable_addr()
122 mod = __module_text_address(pc); in ftrace_find_callable_addr()
[all …]
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dstacktrace.c34 unsigned long pc = regs->pc; in xtensa_backtrace_user() local
41 frame.pc = pc; in xtensa_backtrace_user()
44 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
72 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user()
79 frame.pc = pc; in xtensa_backtrace_user()
82 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
96 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user()
106 frame.pc = pc; in xtensa_backtrace_user()
109 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
120 unsigned long pc = regs->depc > VALID_DOUBLE_EXCEPTION_ADDRESS ? in xtensa_backtrace_kernel() local
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dtraps_32.c35 static void instruction_dump(unsigned long *pc) in instruction_dump() argument
39 if((((unsigned long) pc) & 3)) in instruction_dump()
43 printk("%c%08lx%c",i?' ':'<',pc[i],i?' ':'>'); in instruction_dump()
88 instruction_dump ((unsigned long *) regs->pc); in die_if_kernel()
106 (void __user *)regs->pc, type - 0x80); in do_hw_interrupt()
109 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() argument
116 regs->pc, *(unsigned long *)regs->pc); in do_illegal_instruction()
119 send_sig_fault(SIGILL, ILL_ILLOPC, (void __user *)pc, 0, current); in do_illegal_instruction()
122 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument
127 send_sig_fault(SIGILL, ILL_PRVOPC, (void __user *)pc, 0, current); in do_priv_instruction()
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpreempt.h15 static inline void preempt_count_set(u64 pc) in preempt_count_set() argument
18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set()
46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local
47 pc += val; in __preempt_count_add()
48 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add()
53 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub() local
54 pc -= val; in __preempt_count_sub()
55 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub()
61 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test() local
64 WRITE_ONCE(ti->preempt.count, --pc); in __preempt_count_dec_and_test()
[all …]

12345678910>>...33