Searched refs:pc (Results 1 - 25 of 741) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_pc.h11 int xe_guc_pc_init(struct xe_guc_pc *pc);
12 int xe_guc_pc_start(struct xe_guc_pc *pc);
13 int xe_guc_pc_stop(struct xe_guc_pc *pc);
14 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc);
16 u32 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc);
17 int xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq);
18 u32 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc);
19 u32 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc);
20 u32 xe_guc_pc_get_rpn_freq(struct xe_guc_pc *pc);
21 int xe_guc_pc_get_min_freq(struct xe_guc_pc *pc, u3
[all...]
H A Dxe_guc_pc.c70 pc_to_guc(struct xe_guc_pc *pc) argument
72 return container_of(pc, struct xe_guc, pc);
76 pc_to_xe(struct xe_guc_pc *pc) argument
78 struct xe_guc *guc = pc_to_guc(pc);
85 pc_to_gt(struct xe_guc_pc *pc) argument
87 return container_of(pc, struct xe_gt, uc.guc.pc);
91 pc_to_maps(struct xe_guc_pc *pc) argument
93 return &pc
108 wait_for_pc_state(struct xe_guc_pc *pc, enum slpc_global_state state) argument
130 pc_action_reset(struct xe_guc_pc *pc) argument
148 pc_action_shutdown(struct xe_guc_pc *pc) argument
167 pc_action_query_task_state(struct xe_guc_pc *pc) argument
190 pc_action_set_param(struct xe_guc_pc *pc, u8 id, u32 value) argument
212 pc_action_setup_gucrc(struct xe_guc_pc *pc, u32 mode) argument
240 pc_get_min_freq(struct xe_guc_pc *pc) argument
250 pc_set_manual_rp_ctrl(struct xe_guc_pc *pc, bool enable) argument
259 pc_set_cur_freq(struct xe_guc_pc *pc, u32 freq) argument
276 pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) argument
297 pc_get_max_freq(struct xe_guc_pc *pc) argument
307 pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) argument
322 mtl_update_rpe_value(struct xe_guc_pc *pc) argument
335 tgl_update_rpe_value(struct xe_guc_pc *pc) argument
354 pc_update_rp_values(struct xe_guc_pc *pc) argument
378 xe_guc_pc_get_act_freq(struct xe_guc_pc *pc) argument
410 xe_guc_pc_get_cur_freq(struct xe_guc_pc *pc, u32 *freq) argument
441 xe_guc_pc_get_rp0_freq(struct xe_guc_pc *pc) argument
452 xe_guc_pc_get_rpe_freq(struct xe_guc_pc *pc) argument
470 xe_guc_pc_get_rpn_freq(struct xe_guc_pc *pc) argument
483 xe_guc_pc_get_min_freq(struct xe_guc_pc *pc, u32 *freq) argument
527 xe_guc_pc_set_min_freq(struct xe_guc_pc *pc, u32 freq) argument
560 xe_guc_pc_get_max_freq(struct xe_guc_pc *pc, u32 *freq) argument
593 xe_guc_pc_set_max_freq(struct xe_guc_pc *pc, u32 freq) argument
621 xe_guc_pc_c_status(struct xe_guc_pc *pc) argument
652 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc) argument
668 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc) argument
680 mtl_init_fused_rp_values(struct xe_guc_pc *pc) argument
697 tgl_init_fused_rp_values(struct xe_guc_pc *pc) argument
713 pc_init_fused_rp_values(struct xe_guc_pc *pc) argument
729 xe_guc_pc_init_early(struct xe_guc_pc *pc) argument
738 pc_adjust_freq_bounds(struct xe_guc_pc *pc) argument
766 pc_adjust_requested_freq(struct xe_guc_pc *pc) argument
795 xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc) argument
823 pc_init_pcode_freq(struct xe_guc_pc *pc) argument
831 pc_init_freqs(struct xe_guc_pc *pc) argument
864 xe_guc_pc_start(struct xe_guc_pc *pc) argument
926 xe_guc_pc_stop(struct xe_guc_pc *pc) argument
964 struct xe_guc_pc *pc = arg; local
984 xe_guc_pc_init(struct xe_guc_pc *pc) argument
[all...]
/linux-master/drivers/bcma/
H A Ddriver_pci.c20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) argument
22 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address);
23 pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR);
24 return pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_DATA);
27 static void bcma_pcie_write(struct bcma_drv_pci *pc, u32 address, u32 data) argument
29 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address);
30 pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR);
31 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_DATA, data);
34 static void bcma_pcie_mdio_set_phy(struct bcma_drv_pci *pc, u16 phy) argument
47 pcicore_write32(pc, BCMA_CORE_PCI_MDIO_DAT
58 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u16 device, u8 address) argument
101 bcma_pcie_mdio_write(struct bcma_drv_pci *pc, u16 device, u8 address, u16 data) argument
140 bcma_pcie_mdio_writeread(struct bcma_drv_pci *pc, u16 device, u8 address, u16 data) argument
151 bcma_core_pci_fixcfg(struct bcma_drv_pci *pc) argument
173 bcma_core_pci_early_init(struct bcma_drv_pci *pc) argument
192 bcma_pcicore_polarity_workaround(struct bcma_drv_pci *pc) argument
204 bcma_pcicore_serdes_workaround(struct bcma_drv_pci *pc) argument
221 bcma_core_pci_config_fixup(struct bcma_drv_pci *pc) argument
240 bcma_core_pci_clientmode_init(struct bcma_drv_pci *pc) argument
246 bcma_core_pci_init(struct bcma_drv_pci *pc) argument
261 struct bcma_drv_pci *pc; local
285 bcma_core_pci_extend_L1timer(struct bcma_drv_pci *pc, bool extend) argument
298 bcma_core_pci_up(struct bcma_drv_pci *pc) argument
303 bcma_core_pci_down(struct bcma_drv_pci *pc) argument
[all...]
/linux-master/drivers/pinctrl/meson/
H A Dpinctrl-meson.c66 * @pc: the pinctrl instance
72 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, argument
77 for (i = 0; i < pc->data->num_banks; i++) {
78 if (pin >= pc->data->banks[i].first &&
79 pin <= pc->data->banks[i].last) {
80 *bank = &pc->data->banks[i];
110 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
112 return pc->data->num_groups;
118 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
120 return pc
126 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
151 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
160 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
170 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
179 meson_pinconf_set_gpio_bit(struct meson_pinctrl *pc, unsigned int pin, unsigned int reg_type, bool arg) argument
197 meson_pinconf_get_gpio_bit(struct meson_pinctrl *pc, unsigned int pin, unsigned int reg_type) argument
217 meson_pinconf_set_output(struct meson_pinctrl *pc, unsigned int pin, bool out) argument
224 meson_pinconf_get_output(struct meson_pinctrl *pc, unsigned int pin) argument
235 meson_pinconf_set_drive(struct meson_pinctrl *pc, unsigned int pin, bool high) argument
242 meson_pinconf_get_drive(struct meson_pinctrl *pc, unsigned int pin) argument
248 meson_pinconf_set_output_drive(struct meson_pinctrl *pc, unsigned int pin, bool high) argument
261 meson_pinconf_disable_bias(struct meson_pinctrl *pc, unsigned int pin) argument
280 meson_pinconf_enable_bias(struct meson_pinctrl *pc, unsigned int pin, bool pull_up) argument
307 meson_pinconf_set_drive_strength(struct meson_pinctrl *pc, unsigned int pin, u16 drive_strength_ua) argument
351 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
400 meson_pinconf_get_pull(struct meson_pinctrl *pc, unsigned int pin) argument
434 meson_pinconf_get_drive_strength(struct meson_pinctrl *pc, unsigned int pin, u16 *drive_strength_ua) argument
479 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
530 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
560 struct meson_pinctrl *pc = gpiochip_get_data(chip); local
589 struct meson_pinctrl *pc = gpiochip_get_data(chip); local
604 meson_gpiolib_register(struct meson_pinctrl *pc) argument
639 meson_map_resource(struct meson_pinctrl *pc, struct device_node *node, char *name) argument
664 meson_pinctrl_parse_dt(struct meson_pinctrl *pc) argument
714 meson8_aobus_parse_dt_extra(struct meson_pinctrl *pc) argument
725 meson_a1_parse_dt_extra(struct meson_pinctrl *pc) argument
738 struct meson_pinctrl *pc; local
[all...]
H A Dpinctrl-meson8-pmx.c24 * @pc: meson pin controller device
32 static void meson8_pmx_disable_other_groups(struct meson_pinctrl *pc, argument
39 for (i = 0; i < pc->data->num_groups; i++) {
40 group = &pc->data->groups[i];
48 regmap_update_bits(pc->reg_mux,
59 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
60 struct meson_pmx_func *func = &pc->data->funcs[func_num];
61 struct meson_pmx_group *group = &pc->data->groups[group_num];
66 dev_dbg(pc->dev, "enable function %s, group %s\n", func->name,
74 meson8_pmx_disable_other_groups(pc, grou
89 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); local
[all...]
/linux-master/arch/arm/include/asm/
H A Dinsn.h18 "10: sub " #reg ", pc, #8 \n\t" \
33 __arm_gen_branch(unsigned long pc, unsigned long addr, bool link, bool warn);
36 arm_gen_branch(unsigned long pc, unsigned long addr) argument
38 return __arm_gen_branch(pc, addr, false, true);
42 arm_gen_branch_link(unsigned long pc, unsigned long addr, bool warn) argument
44 return __arm_gen_branch(pc, addr, true, warn);
/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-bcm63xx.c47 struct bcm63xx_pinctrl *pc)
55 grc.regmap = pc->regs;
69 struct bcm63xx_pinctrl *pc; local
73 pc = devm_kzalloc(dev, sizeof(*pc), GFP_KERNEL);
74 if (!pc)
77 platform_set_drvdata(pdev, pc);
79 pc->dev = dev;
80 pc->driver_data = driver_data;
82 pc
45 bcm63xx_gpio_probe(struct device *dev, struct device_node *node, const struct bcm63xx_pinctrl_soc *soc, struct bcm63xx_pinctrl *pc) argument
[all...]
H A Dpinctrl-bcm2835.c247 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg) argument
249 return readl(pc->base + reg);
252 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg, argument
255 writel(val, pc->base + reg);
258 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg, argument
262 return (bcm2835_gpio_rd(pc, reg) >> GPIO_REG_SHIFT(bit)) & 1;
266 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc, argument
270 bcm2835_gpio_wr(pc, reg, BIT(GPIO_REG_SHIFT(bit)));
274 struct bcm2835_pinctrl *pc, unsigned pin)
276 u32 val = bcm2835_gpio_rd(pc, FSEL_RE
273 bcm2835_pinctrl_fsel_get( struct bcm2835_pinctrl *pc, unsigned pin) argument
285 bcm2835_pinctrl_fsel_set( struct bcm2835_pinctrl *pc, unsigned pin, enum bcm2835_fsel fsel) argument
326 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
334 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
341 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
356 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
364 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
417 bcm2835_gpio_irq_handle_bank(struct bcm2835_pinctrl *pc, unsigned int bank, u32 mask) argument
437 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
475 __bcm2835_gpio_irq_config(struct bcm2835_pinctrl *pc, unsigned reg, unsigned offset, bool enable) argument
489 bcm2835_gpio_irq_config(struct bcm2835_pinctrl *pc, unsigned offset, bool enable) argument
519 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
536 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
552 __bcm2835_gpio_irq_set_type_disabled(struct bcm2835_pinctrl *pc, unsigned offset, unsigned int type) argument
572 __bcm2835_gpio_irq_set_type_enabled(struct bcm2835_pinctrl *pc, unsigned offset, unsigned int type) argument
645 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
672 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
681 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); local
743 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
767 bcm2835_pctl_dt_node_to_map_func(struct bcm2835_pinctrl *pc, struct device_node *np, u32 pin, u32 fnum, struct pinctrl_map **maps) argument
786 bcm2835_pctl_dt_node_to_map_pull(struct bcm2835_pinctrl *pc, struct device_node *np, u32 pin, u32 pull, struct pinctrl_map **maps) argument
816 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
928 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
962 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
973 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
984 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
1010 bcm2835_pull_config_set(struct bcm2835_pinctrl *pc, unsigned int pin, unsigned int arg) argument
1035 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
1082 bcm2711_pull_config_set(struct bcm2835_pinctrl *pc, unsigned int pin, unsigned int arg) argument
1102 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); local
1222 struct bcm2835_pinctrl *pc; local
[all...]
/linux-master/arch/arm64/include/asm/
H A Dpreempt.h16 static inline void preempt_count_set(u64 pc) argument
19 WRITE_ONCE(current_thread_info()->preempt.count, pc); local
47 u32 pc = READ_ONCE(current_thread_info()->preempt.count); local
48 pc += val;
49 WRITE_ONCE(current_thread_info()->preempt.count, pc); local
54 u32 pc = READ_ONCE(current_thread_info()->preempt.count); local
55 pc -= val;
56 WRITE_ONCE(current_thread_info()->preempt.count, pc); local
62 u64 pc = READ_ONCE(ti->preempt_count); local
65 WRITE_ONCE(ti->preempt.count, --pc);
79 u64 pc = READ_ONCE(current_thread_info()->preempt_count); local
[all...]
/linux-master/arch/arm/mach-berlin/
H A Dheadsmp.S19 ldr pc, [pc, #140]
/linux-master/arch/mips/include/asm/
H A Damon.h11 int amon_cpu_start(int cpu, unsigned long pc, unsigned long sp,
/linux-master/arch/microblaze/kernel/
H A Dunwind.c72 * @pc : Program counter at which to begin the search
77 static unsigned long *find_frame_creation(unsigned long *pc) argument
86 for (i = 0; i < 1000; i++, pc--) {
90 if (!kernel_text_address((unsigned long) pc))
93 instr = *pc;
102 frame_size, pc);
106 pr_debug(" Found frame creation at 0x%p, size %d\n", pc,
108 return pc;
117 * @pc : Program counter within current function
125 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, argument
164 unwind_trap(struct task_struct *task, unsigned long pc, unsigned long fp, struct stack_trace *trace, const char *loglvl) argument
182 microblaze_unwind_inner(struct task_struct *task, unsigned long pc, unsigned long fp, unsigned long leaf_return, struct stack_trace *trace, const char *loglvl) argument
294 unsigned long pc, fp; local
[all...]
/linux-master/arch/x86/lib/
H A Dpc-conf-reg.c11 #include <asm/pc-conf-reg.h>
/linux-master/arch/openrisc/include/uapi/asm/
H A Dptrace.h30 unsigned long pc; member in struct:user_regs_struct
/linux-master/arch/arm64/include/asm/stacktrace/
H A Dnvhe.h24 * kvm_nvhe_unwind_init() - Start an unwind from the given nVHE HYP fp and pc
28 * @pc : program counter at which to start the unwinding.
32 unsigned long pc)
37 state->pc = pc;
30 kvm_nvhe_unwind_init(struct unwind_state *state, unsigned long fp, unsigned long pc) argument
/linux-master/drivers/ssb/
H A 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) argument
28 return ssb_read32(pc->dev, offset);
32 void pcicore_write32(struct ssb_pcicore *pc, u16 offset, u32 value) argument
34 ssb_write32(pc->dev, offset, value);
38 u16 pcicore_read16(struct ssb_pcicore *pc, u16 offset) argument
40 return ssb_read16(pc
44 pcicore_write16(struct ssb_pcicore *pc, u16 offset, u16 value) argument
71 get_cfgspace_addr(struct ssb_pcicore *pc, unsigned int bus, unsigned int dev, unsigned int func, unsigned int off) argument
110 ssb_extpci_read_config(struct ssb_pcicore *pc, unsigned int bus, unsigned int dev, unsigned int func, unsigned int off, void *buf, int len) argument
156 ssb_extpci_write_config(struct ssb_pcicore *pc, unsigned int bus, unsigned int dev, unsigned int func, unsigned int off, const void *buf, int len) argument
320 ssb_pcicore_init_hostmode(struct ssb_pcicore *pc) argument
397 pcicore_is_in_hostmode(struct ssb_pcicore *pc) argument
431 ssb_pcicore_fix_sprom_core_index(struct ssb_pcicore *pc) argument
441 ssb_pcicore_polarity_workaround(struct ssb_pcicore *pc) argument
446 ssb_pcicore_serdes_workaround(struct ssb_pcicore *pc) argument
459 ssb_pcicore_pci_setup_workarounds(struct ssb_pcicore *pc) argument
485 ssb_pcicore_pcie_setup_workarounds(struct ssb_pcicore *pc) argument
533 ssb_pcicore_init_clientmode(struct ssb_pcicore *pc) argument
552 ssb_pcicore_init(struct ssb_pcicore *pc) argument
570 ssb_pcie_read(struct ssb_pcicore *pc, u32 address) argument
576 ssb_pcie_write(struct ssb_pcicore *pc, u32 address, u32 data) argument
582 ssb_pcie_mdio_set_phy(struct ssb_pcicore *pc, u8 phy) argument
605 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address) argument
645 ssb_pcie_mdio_write(struct ssb_pcicore *pc, u8 device, u8 address, u16 data) argument
682 ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc, struct ssb_device *dev) argument
[all...]
/linux-master/drivers/pwm/
H A Dpwm-sti.c122 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, argument
125 struct sti_pwm_compat_data *cdata = pc->cdata;
130 clk_rate = clk_get_rate(pc->pwm_clk);
132 dev_err(pc->dev, "failed to get clock rate\n");
166 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
167 struct sti_pwm_compat_data *cdata = pc->cdata;
169 struct pwm_device *cur = pc->cur;
170 struct device *dev = pc->dev;
174 ncfg = hweight_long(pc->configured);
195 ret = clk_enable(pc
252 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
288 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
307 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
315 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
397 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
436 struct sti_pwm_chip *pc = data; local
505 sti_pwm_probe_dt(struct sti_pwm_chip *pc) argument
561 struct sti_pwm_chip *pc; local
682 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); local
[all...]
H A Dpwm-rockchip.c63 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); local
64 u32 enable_conf = pc->data->enable_conf;
70 ret = clk_enable(pc->pclk);
74 ret = clk_enable(pc->clk);
78 clk_rate = clk_get_rate(pc->clk);
80 tmp = readl_relaxed(pc->base + pc->data->regs.period);
81 tmp *= pc->data->prescaler * NSEC_PER_SEC;
84 tmp = readl_relaxed(pc->base + pc
105 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); local
160 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); local
189 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); local
299 struct rockchip_pwm_chip *pc; local
375 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); local
[all...]
H A Dpwm-tegra.c84 static inline u32 pwm_readl(struct tegra_pwm_chip *pc, unsigned int offset) argument
86 return readl(pc->regs + (offset << 4));
89 static inline void pwm_writel(struct tegra_pwm_chip *pc, unsigned int offset, u32 value) argument
91 writel(value, pc->regs + (offset << 4));
97 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); local
116 if (period_ns < pc->min_period_ns)
132 if (pc->soc->num_channels == 1) {
147 if (required_clk_rate > clk_round_rate(pc->clk, required_clk_rate))
163 pc->clk_rate = clk_get_rate(pc
213 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); local
230 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); local
273 struct tegra_pwm_chip *pc; local
353 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); local
365 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); local
382 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); local
[all...]
H A Dpwm-bcm2835.c39 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); local
42 value = readl(pc->base + PWM_CONTROL);
45 writel(value, pc->base + PWM_CONTROL);
52 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); local
55 value = readl(pc->base + PWM_CONTROL);
57 writel(value, pc->base + PWM_CONTROL);
64 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); local
84 max_period = DIV_ROUND_UP_ULL((u64)U32_MAX * NSEC_PER_SEC + NSEC_PER_SEC / 2, pc->rate) - 1;
90 period_cycles = DIV_ROUND_CLOSEST_ULL(state->period * pc->rate, NSEC_PER_SEC);
96 writel(period_cycles, pc
137 struct bcm2835_pwm *pc; local
184 struct bcm2835_pwm *pc = dev_get_drvdata(dev); local
193 struct bcm2835_pwm *pc = dev_get_drvdata(dev); local
[all...]
/linux-master/arch/riscv/kernel/
H A Dstacktrace.c24 unsigned long fp, sp, pc; local
30 pc = instruction_pointer(regs);
34 pc = (unsigned long)walk_stackframe;
40 pc = task->thread.ra;
47 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc))))
58 if (regs && (regs->epc == pc) && (frame->fp & 0x7)) {
60 pc = regs->ra;
63 pc = ftrace_graph_ret_addr(current, NULL, frame->ra,
65 if (pc
82 unsigned long sp, pc; local
110 print_trace_address(void *arg, unsigned long pc) argument
130 save_wchan(void *arg, unsigned long pc) argument
142 unsigned long pc = 0; local
[all...]
/linux-master/arch/csky/kernel/
H A Dstacktrace.c19 unsigned long fp, sp, pc; local
24 pc = instruction_pointer(regs);
29 pc = (unsigned long)walk_stackframe;
34 pc = thread_saved_lr(task);
41 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg)))
53 pc = ftrace_graph_ret_addr(current, NULL, frame->ra,
63 unsigned long sp, pc; local
68 pc = instruction_pointer(regs);
71 pc
90 print_trace_address(unsigned long pc, void *arg) argument
102 save_wchan(unsigned long pc, void *arg) argument
114 unsigned long pc = 0; local
121 __save_trace(unsigned long pc, void *arg, bool nosched) argument
136 save_trace(unsigned long pc, void *arg) argument
[all...]
/linux-master/arch/mips/kernel/
H A Dperf_event.c48 unsigned long pc = regs->cp0_epc; local
50 if (raw_show_trace || !__kernel_text_address(pc)) {
59 perf_callchain_store(entry, pc);
62 pc = unwind_stack(current, &sp, pc, &ra);
63 } while (pc);
/linux-master/arch/loongarch/kernel/
H A Dftrace_dyn.c15 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, bool validate) argument
20 if (larch_insn_read((void *)pc, &replaced))
27 if (larch_insn_patch_text((void *)pc, new))
34 static bool reachable_by_bl(unsigned long addr, unsigned long pc) argument
36 long offset = (long)addr - (long)pc;
65 unsigned long pc = rec->ip + LOONGARCH_INSN_SIZE; local
73 if (*addr != FTRACE_ADDR && *addr != FTRACE_REGS_ADDR && !reachable_by_bl(*addr, pc))
80 if (reachable_by_bl(*addr, pc))
94 mod = __module_text_address(pc);
121 unsigned long pc; local
141 unsigned long pc; local
173 unsigned long pc; local
185 unsigned long pc; local
201 unsigned long pc; local
253 unsigned long pc, func; local
[all...]
/linux-master/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pixel-combiner.c64 struct imx8qxp_pc *pc; member in struct:imx8qxp_pc_channel
76 static inline u32 imx8qxp_pc_read(struct imx8qxp_pc *pc, unsigned int offset) argument
78 return readl(pc->base + offset);
82 imx8qxp_pc_write(struct imx8qxp_pc *pc, unsigned int offset, u32 value) argument
84 writel(value, pc->base + offset);
88 imx8qxp_pc_write_set(struct imx8qxp_pc *pc, unsigned int offset, u32 value) argument
90 imx8qxp_pc_write(pc, offset + PC_REG_SET, value);
94 imx8qxp_pc_write_clr(struct imx8qxp_pc *pc, unsigned int offset, u32 value) argument
96 imx8qxp_pc_write(pc, offset + PC_REG_CLR, value);
114 struct imx8qxp_pc *pc local
138 struct imx8qxp_pc *pc = ch->pc; local
189 struct imx8qxp_pc *pc = ch->pc; local
277 struct imx8qxp_pc *pc; local
362 struct imx8qxp_pc *pc = platform_get_drvdata(pdev); local
382 struct imx8qxp_pc *pc = platform_get_drvdata(pdev); local
404 struct imx8qxp_pc *pc = platform_get_drvdata(pdev); local
[all...]

Completed in 415 milliseconds

1234567891011>>