Home
last modified time | relevance | path

Searched defs:pc (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/linux/drivers/bcma/
H A Ddriver_pci.c20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read()
27 static void bcma_pcie_write(struct bcma_drv_pci *pc, u32 address, u32 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()
58 static u16 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u16 device, u8 address) in bcma_pcie_mdio_read()
101 static void bcma_pcie_mdio_write(struct bcma_drv_pci *pc, u16 device, in bcma_pcie_mdio_write()
140 static u16 bcma_pcie_mdio_writeread(struct bcma_drv_pci *pc, u16 device, in bcma_pcie_mdio_writeread()
151 static void bcma_core_pci_fixcfg(struct bcma_drv_pci *pc) in bcma_core_pci_fixcfg()
173 void bcma_core_pci_early_init(struct bcma_drv_pci *pc) in bcma_core_pci_early_init()
192 static u8 bcma_pcicore_polarity_workaround(struct bcma_drv_pci *pc) in bcma_pcicore_polarity_workaround()
204 static void bcma_pcicore_serdes_workaround(struct bcma_drv_pci *pc) in bcma_pcicore_serdes_workaround()
[all …]
H A Ddriver_pci_host.c28 bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc) 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()
51 static void bcma_pcie_write_config(struct bcma_drv_pci *pc, u32 address, in bcma_pcie_write_config()
59 static u32 bcma_get_cfgspace_addr(struct bcma_drv_pci *pc, unsigned int dev, in bcma_get_cfgspace_addr()
84 static int bcma_extpci_read_config(struct bcma_drv_pci *pc, unsigned int dev, in bcma_extpci_read_config()
148 static int bcma_extpci_write_config(struct bcma_drv_pci *pc, unsigned int dev, in bcma_extpci_write_config()
236 struct bcma_drv_pci *pc; in bcma_core_pci_hostmode_read_config() local
256 struct bcma_drv_pci *pc; in bcma_core_pci_hostmode_write_config() local
271 static u8 bcma_find_pci_capability(struct bcma_drv_pci *pc, unsigned int dev, in bcma_find_pci_capability()
340 static void bcma_core_pci_enable_crs(struct bcma_drv_pci *pc) in bcma_core_pci_enable_crs()
[all …]
H A Dbcma_private.h129 static inline void bcma_core_pci_early_init(struct bcma_drv_pci *pc) in bcma_core_pci_early_init()
133 static inline void bcma_core_pci_init(struct bcma_drv_pci *pc) in bcma_core_pci_init()
158 static inline bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc) in bcma_core_pci_is_in_hostmode()
162 static inline void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc) in bcma_core_pci_hostmode_init()
/linux/drivers/ssb/
H A Ddriver_pcicore.c26 u32 pcicore_read32(struct ssb_pcicore *pc, u16 offset) in pcicore_read32()
32 void pcicore_write32(struct ssb_pcicore *pc, u16 offset, u32 value) in pcicore_write32()
38 u16 pcicore_read16(struct ssb_pcicore *pc, u16 offset) in pcicore_read16()
44 void pcicore_write16(struct ssb_pcicore *pc, u16 offset, u16 value) in pcicore_write16()
71 static u32 get_cfgspace_addr(struct ssb_pcicore *pc, in get_cfgspace_addr()
110 static int ssb_extpci_read_config(struct ssb_pcicore *pc, in ssb_extpci_read_config()
156 static int ssb_extpci_write_config(struct ssb_pcicore *pc, in ssb_extpci_write_config()
320 static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc) in ssb_pcicore_init_hostmode()
397 static int pcicore_is_in_hostmode(struct ssb_pcicore *pc) in pcicore_is_in_hostmode()
431 static void ssb_pcicore_fix_sprom_core_index(struct ssb_pcicore *pc) in ssb_pcicore_fix_sprom_core_index()
[all …]
/linux/arch/sparc/kernel/
H A Dtraps_32.c36 static void instruction_dump(unsigned long *pc) in instruction_dump()
108 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction()
121 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction()
131 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_memaccess_unaligned()
157 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap()
199 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
302 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc,
310 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc,
322 void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc,
332 void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc,
[all …]
/linux/drivers/pwm/
H A Dpwm-tegra.c84 static inline u32 pwm_readl(struct tegra_pwm_chip *pc, unsigned int offset) in pwm_readl()
89 static inline void pwm_writel(struct tegra_pwm_chip *pc, unsigned int offset, u32 value) in pwm_writel()
97 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_config() local
213 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_enable() local
230 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_disable() local
273 struct tegra_pwm_chip *pc; in tegra_pwm_probe() local
353 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_remove() local
365 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_runtime_suspend() local
382 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_runtime_resume() local
H A Dpwm-bcm2835.c39 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_request() local
52 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_free() local
64 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_apply() local
131 struct bcm2835_pwm *pc; in bcm2835_pwm_probe() local
172 struct bcm2835_pwm *pc = dev_get_drvdata(dev); in bcm2835_pwm_suspend() local
181 struct bcm2835_pwm *pc = dev_get_drvdata(dev); in bcm2835_pwm_resume() local
H A Dpwm-sti.c116 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale()
159 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_config() local
244 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_enable() local
277 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_disable() local
290 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_free() local
298 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_capture() local
379 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_apply() local
417 struct sti_pwm_chip *pc = data; in sti_pwm_interrupt() local
486 static int sti_pwm_probe_regmap(struct sti_pwm_chip *pc) in sti_pwm_probe_regmap()
537 struct sti_pwm_chip *pc; in sti_pwm_probe() local
H A Dpwm-rockchip.c65 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_get_state() local
108 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_config() local
167 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_enable() local
196 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_apply() local
306 struct rockchip_pwm_chip *pc; in rockchip_pwm_probe() local
382 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_remove() local
H A Dpwm-intel-lgm.c56 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_enable() local
66 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_apply() local
91 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_get_state() local
111 static void lgm_pwm_init(struct lgm_pwm_chip *pc) in lgm_pwm_init()
171 struct lgm_pwm_chip *pc; in lgm_pwm_probe() local
/linux/arch/csky/kernel/
H A Dstacktrace.c19 unsigned long fp, sp, pc; in walk_stackframe() local
63 unsigned long sp, pc; in walk_stackframe() local
90 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address()
102 static bool save_wchan(unsigned long pc, void *arg) in save_wchan()
114 unsigned long pc = 0; in __get_wchan() local
121 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace()
136 static bool save_trace(unsigned long pc, void *arg) in save_trace()
/linux/drivers/clk/sifive/
H A Dsifive-prci.c180 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_wrpll_recalc_rate() local
189 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_wrpll_determine_rate() local
205 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_wrpll_set_rate() local
226 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_clk_is_enabled() local
241 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_clock_enable() local
258 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_clock_disable() local
277 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_tlclksel_recalc_rate() local
294 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_hfpclkplldiv_recalc_rate() local
455 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_pcie_aux_clock_is_enabled() local
469 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_pcie_aux_clock_enable() local
[all …]
/linux/arch/arm64/kernel/
H A Dftrace.c213 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code()
244 unsigned long pc; in ftrace_update_ftrace_func() local
279 static bool reachable_by_bl(unsigned long addr, unsigned long pc) in reachable_by_bl()
299 unsigned long pc = rec->ip; in ftrace_find_callable_addr() local
395 unsigned long pc = rec->ip; in ftrace_make_call() local
416 unsigned long pc = rec->ip; in ftrace_modify_call() local
462 unsigned long pc = rec->ip - AARCH64_INSN_SIZE; in ftrace_init_nop() local
484 unsigned long pc = rec->ip; in ftrace_make_nop() local
575 unsigned long pc = (unsigned long)&ftrace_graph_call; in ftrace_modify_graph_caller() local
/linux/arch/arm64/include/asm/
H A Dpreempt.h15 static inline void preempt_count_set(u64 pc) in preempt_count_set()
46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local
53 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub() local
61 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test() local
78 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched() local
/linux/drivers/dma/mediatek/
H A Dmtk-cqdma.c123 struct mtk_cqdma_pchan *pc; member
145 struct mtk_cqdma_pchan **pc; member
168 static u32 mtk_dma_read(struct mtk_cqdma_pchan *pc, u32 reg) in mtk_dma_read()
173 static void mtk_dma_write(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_write()
178 static void mtk_dma_rmw(struct mtk_cqdma_pchan *pc, u32 reg, in mtk_dma_rmw()
189 static void mtk_dma_set(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_set()
194 static void mtk_dma_clr(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_clr()
204 static int mtk_cqdma_poll_engine_done(struct mtk_cqdma_pchan *pc, bool atomic) in mtk_cqdma_poll_engine_done()
222 static int mtk_cqdma_hard_reset(struct mtk_cqdma_pchan *pc) in mtk_cqdma_hard_reset()
230 static void mtk_cqdma_start(struct mtk_cqdma_pchan *pc, in mtk_cqdma_start()
[all …]
/linux/arch/microblaze/kernel/
H A Dunwind.c77 static unsigned long *find_frame_creation(unsigned long *pc) in find_frame_creation()
125 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, in lookup_prev_stack_frame()
164 static inline void unwind_trap(struct task_struct *task, unsigned long pc, in unwind_trap()
183 unsigned long pc, unsigned long fp, in microblaze_unwind_inner()
294 unsigned long pc, fp; in microblaze_unwind() local
/linux/arch/loongarch/kernel/
H A Dunwind_prologue.c66 static inline bool fix_exception(unsigned long pc) in fix_exception()
85 static inline bool fix_ftrace(unsigned long pc) in fix_ftrace()
115 unsigned long size, offset, pc; in unwind_by_prologue() local
197 unsigned long pc; in next_frame() local
/linux/drivers/pinctrl/meson/
H A Dpinctrl-meson-axg-pmx.c28 static int meson_axg_pmx_get_bank(struct meson_pinctrl *pc, in meson_axg_pmx_get_bank()
59 static int meson_axg_pmx_update_function(struct meson_pinctrl *pc, in meson_axg_pmx_update_function()
84 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_set_mux() local
106 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_request_gpio() local
H A Dpinctrl-meson8-pmx.c32 static void meson8_pmx_disable_other_groups(struct meson_pinctrl *pc, in meson8_pmx_disable_other_groups()
59 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson8_pmx_set_mux() local
89 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson8_pmx_request_gpio() local
/linux/arch/riscv/kernel/
H A Dstacktrace.c51 unsigned long fp, sp, pc; in walk_stackframe() local
110 unsigned long sp, pc; in walk_stackframe() local
138 static bool print_trace_address(void *arg, unsigned long pc) in print_trace_address()
158 static bool save_wchan(void *arg, unsigned long pc) in save_wchan()
170 unsigned long pc = 0; in __get_wchan() local
/linux/arch/arm/probes/kprobes/
H A Dactions-thumb.c27 unsigned long pc = regs->ARM_pc; in t32_simulate_table_branch() local
56 unsigned long pc = regs->ARM_pc; in t32_simulate_cond_branch() local
81 unsigned long pc = regs->ARM_pc; in t32_simulate_branch() local
161 unsigned long pc = regs->ARM_pc & ~3; in t32_emulate_ldrdstrd() local
241 unsigned long pc = regs->ARM_pc; in t32_emulate_rd8pc16_noflags() local
309 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_bxblx() local
373 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_cbz() local
415 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_cond_branch() local
435 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_branch() local
486 unsigned long pc = regs->ARM_pc + 2; in t16_emulate_hiregs() local
/linux/tools/include/linux/
H A Drbtree_augmented.h150 #define __rb_parent(pc) ((struct rb_node *)(pc & ~3)) argument
152 #define __rb_color(pc) ((pc) & 1) argument
153 #define __rb_is_black(pc) __rb_color(pc) argument
154 #define __rb_is_red(pc) (!__rb_color(pc)) argument
193 unsigned long pc; in __rb_erase_augmented() local
[all...]
/linux/arch/arm/kernel/
H A Dinsn.c6 static unsigned long __arm_gen_branch_thumb2(unsigned long pc, in __arm_gen_branch_thumb2()
37 static unsigned long __arm_gen_branch_arm(unsigned long pc, unsigned long addr, in __arm_gen_branch_arm()
58 __arm_gen_branch(unsigned long pc, unsigned long addr, bool link, bool warn) in __arm_gen_branch()
/linux/include/linux/
H A Drbtree_augmented.h174 #define __rb_parent(pc) ((struct rb_node *)(pc & ~3)) argument
176 #define __rb_color(pc) ((pc) & 1) argument
177 #define __rb_is_black(pc) __rb_color(pc) argument
178 #define __rb_is_red(pc) (!__rb_color(pc)) argument
230 unsigned long pc; in __rb_erase_augmented() local
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_idle.c48 pc_to_xe(struct xe_guc_pc *pc) in pc_to_xe()
265 struct xe_guc_pc *pc = gtidle_to_pc(gtidle); in name_show() local
281 struct xe_guc_pc *pc = gtidle_to_pc(gtidle); in idle_status_show() local
294 struct xe_guc_pc *pc = gtidle_to_pc(gtidle); in xe_gt_idle_residency_msec() local
311 struct xe_guc_pc *pc = gtidle_to_pc(gtidle); in idle_residency_ms_show() local

12345678910>>...12