/linux/drivers/bcma/ |
A D | driver_pci.c | 20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read() 34 static void bcma_pcie_mdio_set_phy(struct bcma_drv_pci *pc, u16 phy) in bcma_pcie_mdio_set_phy() 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() 221 static void bcma_core_pci_config_fixup(struct bcma_drv_pci *pc) in bcma_core_pci_config_fixup() 240 static void bcma_core_pci_clientmode_init(struct bcma_drv_pci *pc) in bcma_core_pci_clientmode_init() 246 void bcma_core_pci_init(struct bcma_drv_pci *pc) in bcma_core_pci_init() 261 struct bcma_drv_pci *pc; in bcma_core_pci_power_save() local 298 void bcma_core_pci_up(struct bcma_drv_pci *pc) in bcma_core_pci_up() [all …]
|
A 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() 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 …]
|
/linux/drivers/pinctrl/meson/ |
A D | pinctrl-meson.c | 110 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count() local 118 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name() local 126 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins() local 151 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count() local 160 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name() local 170 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups() local 560 struct meson_pinctrl *pc = gpiochip_get_data(chip); in meson_gpio_get_direction() local 589 struct meson_pinctrl *pc = gpiochip_get_data(chip); in meson_gpio_get() local 720 int meson8_aobus_parse_dt_extra(struct meson_pinctrl *pc) in meson8_aobus_parse_dt_extra() 731 int meson_a1_parse_dt_extra(struct meson_pinctrl *pc) in meson_a1_parse_dt_extra() [all …]
|
A D | pinctrl-meson-axg-pmx.c | 29 static int meson_axg_pmx_get_bank(struct meson_pinctrl *pc, in meson_axg_pmx_get_bank() 60 static int meson_axg_pmx_update_function(struct meson_pinctrl *pc, in meson_axg_pmx_update_function() 85 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_set_mux() local 107 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_request_gpio() local
|
A D | pinctrl-meson8-pmx.c | 32 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/drivers/ssb/ |
A D | driver_pcicore.c | 26 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() 552 void ssb_pcicore_init(struct ssb_pcicore *pc) in ssb_pcicore_init() [all …]
|
/linux/arch/sparc/kernel/ |
A D | traps_32.c | 35 static void instruction_dump(unsigned long *pc) in instruction_dump() 109 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() 122 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() 158 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap() 200 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, 303 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, 311 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, 323 void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, 333 void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, 339 void handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc, [all …]
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-bcm2835.c | 272 struct bcm2835_pinctrl *pc, unsigned pin) in bcm2835_pinctrl_fsel_get() 284 struct bcm2835_pinctrl *pc, unsigned pin, in bcm2835_pinctrl_fsel_set() 321 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get() local 328 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get_direction() local 343 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_set() local 407 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_irq_handler() local 489 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_irq_enable() local 504 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_irq_disable() local 611 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_irq_set_type() local 638 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_irq_ack() local [all …]
|
/linux/drivers/pwm/ |
A D | pwm-tiecap.c | 53 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_config() local 111 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_set_polarity() local 134 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_enable() local 153 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_disable() local 221 struct ecap_pwm_chip *pc; in ecap_pwm_probe() local 276 static void ecap_pwm_save_context(struct ecap_pwm_chip *pc) in ecap_pwm_save_context() 285 static void ecap_pwm_restore_context(struct ecap_pwm_chip *pc) in ecap_pwm_restore_context() 294 struct ecap_pwm_chip *pc = dev_get_drvdata(dev); in ecap_pwm_suspend() local 308 struct ecap_pwm_chip *pc = dev_get_drvdata(dev); in ecap_pwm_resume() local
|
A D | pwm-tiehrpwm.c | 181 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan) in configure_polarity() 221 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_config() local 311 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_set_polarity() local 321 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_enable() local 359 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_disable() local 393 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_free() local 423 struct ehrpwm_pwm_chip *pc; in ehrpwm_pwm_probe() local 486 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev); in ehrpwm_pwm_remove() local 498 static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_save_context() 528 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev); in ehrpwm_pwm_suspend() local [all …]
|
A D | pwm-bcm2835.c | 40 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_request() local 53 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_free() local 65 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_apply() local 137 struct bcm2835_pwm *pc; in bcm2835_pwm_probe() local 178 struct bcm2835_pwm *pc = platform_get_drvdata(pdev); in bcm2835_pwm_remove() local
|
A D | pwm-pxa.c | 63 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_config() local 106 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_enable() local 113 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_disable() local 152 pxa_pwm_of_xlate(struct pwm_chip *pc, const struct of_phandle_args *args) in pxa_pwm_of_xlate() 168 struct pxa_pwm_chip *pc; in pwm_probe() local
|
A D | pwm-sti.c | 122 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale() 166 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_config() local 252 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_enable() local 288 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_disable() local 307 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_free() local 315 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_capture() local 405 struct sti_pwm_chip *pc = data; in sti_pwm_interrupt() local 474 static int sti_pwm_probe_dt(struct sti_pwm_chip *pc) in sti_pwm_probe_dt() 541 struct sti_pwm_chip *pc; in sti_pwm_probe() local 651 struct sti_pwm_chip *pc = platform_get_drvdata(pdev); in sti_pwm_remove() local
|
A D | pwm-mediatek.c | 75 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_enable() local 103 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_disable() local 120 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_config() local 174 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_enable() local 191 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_disable() local 210 struct pwm_mediatek_chip *pc; in pwm_mediatek_probe() local
|
A D | pwm-rockchip.c | 64 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_get_state() local 104 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_config() local 159 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_enable() local 188 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_apply() local 299 struct rockchip_pwm_chip *pc; in rockchip_pwm_probe() local 385 struct rockchip_pwm_chip *pc = platform_get_drvdata(pdev); in rockchip_pwm_remove() local
|
A D | pwm-intel-lgm.c | 57 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_enable() local 67 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_apply() local 92 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() 170 struct lgm_pwm_chip *pc; in lgm_pwm_probe() local
|
A D | pwm-spear.c | 80 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_config() local 139 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_enable() local 156 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_disable() local 198 struct spear_pwm_chip *pc; in spear_pwm_probe() local 252 struct spear_pwm_chip *pc = platform_get_drvdata(pdev); in spear_pwm_remove() local
|
/linux/arch/csky/kernel/ |
A D | stacktrace.c | 19 unsigned long fp, sp, pc; in walk_stackframe() local 64 unsigned long sp, pc; in walk_stackframe() local 92 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address() 104 static bool save_wchan(unsigned long pc, void *arg) in save_wchan() 116 unsigned long pc = 0; in __get_wchan() local 123 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace() 138 static bool save_trace(unsigned long pc, void *arg) in save_trace()
|
/linux/arch/arm64/kernel/ |
A D | ftrace.c | 25 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() 56 unsigned long pc; in ftrace_update_ftrace_func() local 85 unsigned long pc = rec->ip; in ftrace_make_call() local 132 unsigned long pc = rec->ip; in ftrace_modify_call() local 166 unsigned long pc = rec->ip - AARCH64_INSN_SIZE; in ftrace_init_nop() local 183 unsigned long pc = rec->ip; in ftrace_make_nop() local 277 unsigned long pc = (unsigned long)&ftrace_graph_call; in ftrace_modify_graph_caller() local
|
/linux/drivers/clk/sifive/ |
A D | sifive-prci.c | 185 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_wrpll_recalc_rate() local 195 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_wrpll_round_rate() local 209 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_wrpll_set_rate() local 230 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_clk_is_enabled() local 245 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_clock_enable() local 262 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_clock_disable() local 281 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_tlclksel_recalc_rate() local 298 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_hfpclkplldiv_recalc_rate() local 459 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_pcie_aux_clock_is_enabled() local 473 struct __prci_clock *pc = clk_hw_to_prci_clock(hw); in sifive_prci_pcie_aux_clock_enable() local [all …]
|
/linux/arch/arm64/include/asm/ |
A D | preempt.h | 15 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/arch/microblaze/kernel/ |
A D | unwind.c | 77 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/riscv/kernel/ |
A D | stacktrace.c | 24 unsigned long fp, sp, pc; in walk_stackframe() local 73 unsigned long sp, pc; in walk_stackframe() local 101 static bool print_trace_address(void *arg, unsigned long pc) in print_trace_address() 121 static bool save_wchan(void *arg, unsigned long pc) in save_wchan() 133 unsigned long pc = 0; in __get_wchan() local
|
/linux/drivers/dma/mediatek/ |
A D | mtk-cqdma.c | 124 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() 179 static void mtk_dma_rmw(struct mtk_cqdma_pchan *pc, u32 reg, in mtk_dma_rmw() 190 static void mtk_dma_set(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_set() 223 static int mtk_cqdma_hard_reset(struct mtk_cqdma_pchan *pc) in mtk_cqdma_hard_reset() 231 static void mtk_cqdma_start(struct mtk_cqdma_pchan *pc, in mtk_cqdma_start() 269 struct mtk_cqdma_pchan *pc = cvc->pc; in mtk_cqdma_issue_vchan_pending() local 314 *mtk_cqdma_consume_work_queue(struct mtk_cqdma_pchan *pc) in mtk_cqdma_consume_work_queue() 361 struct mtk_cqdma_pchan *pc = from_tasklet(pc, t, tasklet); in mtk_cqdma_tasklet_cb() local [all …]
|
/linux/arch/nds32/kernel/ |
A D | ftrace.c | 123 static int __ftrace_modify_code(unsigned long pc, unsigned long *old_insn, in __ftrace_modify_code() 142 static int ftrace_modify_code(unsigned long pc, unsigned long *old_insn, in ftrace_modify_code() 158 unsigned long pc = (unsigned long)&ftrace_call; in ftrace_update_ftrace_func() local 170 unsigned long pc = rec->ip; in ftrace_make_call() local 182 unsigned long pc = rec->ip; in ftrace_make_nop() local 243 unsigned long pc = (unsigned long)&ftrace_graph_call; in ftrace_modify_graph_caller() local
|