/kernel/linux/linux-5.10/drivers/bcma/ |
D | driver_pci.c | 20 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 …]
|
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 …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/meson/ |
D | pinctrl-meson.c | 72 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, in meson_get_bank() 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 159 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name() local 168 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups() local 176 static int meson_pinconf_set_gpio_bit(struct meson_pinctrl *pc, in meson_pinconf_set_gpio_bit() 194 static int meson_pinconf_get_gpio_bit(struct meson_pinctrl *pc, in meson_pinconf_get_gpio_bit() 214 static int meson_pinconf_set_output(struct meson_pinctrl *pc, in meson_pinconf_set_output() [all …]
|
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
|
/kernel/linux/linux-5.10/drivers/ssb/ |
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() 70 static u32 get_cfgspace_addr(struct ssb_pcicore *pc, in get_cfgspace_addr() 109 static int ssb_extpci_read_config(struct ssb_pcicore *pc, in ssb_extpci_read_config() 155 static int ssb_extpci_write_config(struct ssb_pcicore *pc, in ssb_extpci_write_config() 318 static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc) in ssb_pcicore_init_hostmode() 393 static int pcicore_is_in_hostmode(struct ssb_pcicore *pc) in pcicore_is_in_hostmode() 426 static void ssb_pcicore_fix_sprom_core_index(struct ssb_pcicore *pc) in ssb_pcicore_fix_sprom_core_index() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
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() 132 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_memaccess_unaligned() 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, [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 244 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg) in bcm2835_gpio_rd() 249 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_wr() 255 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_get_bit() 263 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc, in bcm2835_gpio_set_bit() 271 struct bcm2835_pinctrl *pc, unsigned pin) in bcm2835_pinctrl_fsel_get() 283 struct bcm2835_pinctrl *pc, unsigned pin, in bcm2835_pinctrl_fsel_set() 320 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get() local 327 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get_direction() local 342 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_set() local 386 static void bcm2835_gpio_irq_handle_bank(struct bcm2835_pinctrl *pc, in bcm2835_gpio_irq_handle_bank() [all …]
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-tiecap.c | 53 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_config() local 114 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_set_polarity() local 137 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_enable() local 156 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_disable() local 198 struct ecap_pwm_chip *pc; in ecap_pwm_probe() local 252 struct ecap_pwm_chip *pc = platform_get_drvdata(pdev); in ecap_pwm_remove() local 260 static void ecap_pwm_save_context(struct ecap_pwm_chip *pc) in ecap_pwm_save_context() 269 static void ecap_pwm_restore_context(struct ecap_pwm_chip *pc) in ecap_pwm_restore_context() 278 struct ecap_pwm_chip *pc = dev_get_drvdata(dev); in ecap_pwm_suspend() local 292 struct ecap_pwm_chip *pc = dev_get_drvdata(dev); in ecap_pwm_resume() local
|
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 64 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_config() local 89 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_enable() local 101 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_disable() local 112 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_set_polarity() local 139 struct bcm2835_pwm *pc; in bcm2835_pwm_probe() local 185 struct bcm2835_pwm *pc = platform_get_drvdata(pdev); in bcm2835_pwm_remove() local
|
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 495 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev); in ehrpwm_pwm_remove() local 505 static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_save_context() 521 static void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_restore_context() [all …]
|
D | pwm-mediatek.c | 73 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_enable() local 101 struct pwm_mediatek_chip *pc = to_pwm_mediatek_chip(chip); in pwm_mediatek_clk_disable() local 124 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 276 struct pwm_mediatek_chip *pc = platform_get_drvdata(pdev); in pwm_mediatek_remove() local
|
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() 542 struct sti_pwm_chip *pc; in sti_pwm_probe() local 660 struct sti_pwm_chip *pc = platform_get_drvdata(pdev); in sti_pwm_remove() local
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-floppy.c | 67 struct ide_atapi_pc *pc = drive->pc; in ide_floppy_callback() local 109 struct ide_atapi_pc *pc) in ide_floppy_report_error() 126 struct ide_atapi_pc *pc) in ide_floppy_issue_pc() 159 void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *pc) in ide_floppy_create_read_capacity_cmd() 169 void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *pc, u8 page_code) in ide_floppy_create_mode_sense_cmd() 193 struct ide_atapi_pc *pc, struct request *rq, in idefloppy_create_rw_cmd() 218 struct ide_atapi_pc *pc, struct request *rq) in idefloppy_blockpc_cmd() 235 struct ide_atapi_pc *pc; in ide_floppy_do_request() local 317 struct ide_atapi_pc *pc) in ide_floppy_get_flexible_disk_page() 383 struct ide_atapi_pc pc; in ide_floppy_get_capacity() local
|
D | ide-floppy_ioctl.c | 39 struct ide_atapi_pc *pc, 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() 121 static int ide_floppy_get_sfrp_bit(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_floppy_get_sfrp_bit() 140 static int ide_floppy_format_unit(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_format_unit() 200 struct ide_atapi_pc *pc, in ide_floppy_get_format_progress() 237 static int ide_floppy_lockdoor(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_lockdoor() 255 static int ide_floppy_format_ioctl(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_format_ioctl() 278 struct ide_atapi_pc pc; in ide_floppy_ioctl() local 311 struct ide_atapi_pc pc; in ide_floppy_compat_ioctl() local
|
D | ide-atapi.c | 80 void ide_init_pc(struct ide_atapi_pc *pc) in ide_init_pc() 91 struct ide_atapi_pc *pc, void *buf, unsigned int bufflen) in ide_queue_pc_tail() 120 struct ide_atapi_pc pc; in ide_do_test_unit_ready() local 131 struct ide_atapi_pc pc; in ide_do_start_stop() local 146 struct ide_atapi_pc pc; in ide_set_media_lock() local 159 void ide_create_request_sense_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_create_request_sense_cmd() 273 struct ide_atapi_pc *pc = &drive->request_sense_pc; in ide_retry_pc() local 417 struct ide_atapi_pc *pc = drive->pc; in ide_pc_intr() local 611 struct ide_atapi_pc *pc; in ide_transfer_pc() local 698 struct ide_atapi_pc *pc; in ide_issue_pc() local
|
D | ide-tape.c | 272 struct ide_atapi_pc *pc = drive->failed_pc; in idetape_analyze_error() local 330 struct ide_atapi_pc *pc = drive->pc; in ide_tape_callback() local 442 struct ide_atapi_pc *pc) in ide_tape_issue_pc() 490 static void idetape_create_mode_sense_cmd(struct ide_atapi_pc *pc, u8 page_code) in idetape_create_mode_sense_cmd() 520 struct ide_atapi_pc *pc = drive->pc; in idetape_media_access_finished() local 545 struct ide_atapi_pc *pc, struct request *rq, in ide_tape_create_rw_cmd() 572 struct ide_atapi_pc *pc = NULL; in idetape_do_request() local 676 struct ide_atapi_pc *pc, int write_filemark) in idetape_create_write_filemark_cmd() 715 struct ide_atapi_pc pc; in idetape_flush_tape_buffers() local 729 struct ide_atapi_pc pc; in ide_tape_read_position() local [all …]
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
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 124 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace() 139 static bool save_trace(unsigned long pc, void *arg) in save_trace()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | stacktrace.c | 27 unsigned long fp, sp, pc; in walk_stackframe() local 71 unsigned long sp, pc; in walk_stackframe() local 100 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address() 114 static bool save_wchan(unsigned long pc, void *arg) in save_wchan() 126 unsigned long pc = 0; in get_wchan() local 136 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace() 151 static bool save_trace(unsigned long pc, void *arg) in save_trace()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
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
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | ftrace.c | 24 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() 55 unsigned long pc; in ftrace_update_ftrace_func() local 84 unsigned long pc = rec->ip; in ftrace_make_call() local 131 unsigned long pc = rec->ip; in ftrace_modify_call() local 165 unsigned long pc = rec->ip - AARCH64_INSN_SIZE; in ftrace_init_nop() local 182 unsigned long pc = rec->ip; in ftrace_make_nop() local 281 unsigned long pc = (unsigned long)&ftrace_graph_call; in ftrace_modify_graph_caller() local
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
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() 165 static inline void unwind_trap(struct task_struct *task, unsigned long pc, in unwind_trap() 172 static inline void unwind_trap(struct task_struct *task, unsigned long pc, in unwind_trap() 193 unsigned long pc, unsigned long fp, in microblaze_unwind_inner() 313 unsigned long pc, fp; in microblaze_unwind() local
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_irqsoff.c | 45 preempt_trace(int pc) in preempt_trace() 50 # define preempt_trace(pc) (0) argument 181 int pc; in irqsoff_graph_entry() local 210 int pc; in irqsoff_graph_return() local 270 unsigned long flags, int pc) in __trace_function() 325 int pc; in check_critical_timing() local 370 start_critical_timing(unsigned long ip, unsigned long parent_ip, int pc) in start_critical_timing() 406 stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc) in stop_critical_timing() 441 int pc = preempt_count(); in start_critical_timings() local 451 int pc = preempt_count(); in stop_critical_timings() local [all …]
|
/kernel/linux/linux-5.10/drivers/oprofile/ |
D | cpu_buffer.c | 238 unsigned long pc, unsigned long event) in op_add_sample() 262 log_sample(struct oprofile_cpu_buffer *cpu_buf, unsigned long pc, in log_sample() 298 __oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, in __oprofile_add_ext_sample() 321 void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs, in oprofile_add_ext_hw_sample() 328 void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, in oprofile_add_ext_sample() 337 unsigned long pc; in oprofile_add_sample() local 358 unsigned long pc, int code, int size) in oprofile_write_reserve() 415 void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event) in oprofile_add_pc() 421 void oprofile_add_trace(unsigned long pc) in oprofile_add_trace()
|
/kernel/liteos_a/fs/vfs/ |
D | path_cache.c | 44 #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 114 struct PathCache *pc = NULL; in PathCacheAlloc() local 147 int PathCacheFree(struct PathCache *pc) in PathCacheFree() 164 struct PathCache *pc = NULL; in PathCacheLookup() local
|
/kernel/linux/linux-5.10/drivers/dma/mediatek/ |
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() 174 static void mtk_dma_write(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_write() 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() 195 static void mtk_dma_clr(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_clr() 205 static int mtk_cqdma_poll_engine_done(struct mtk_cqdma_pchan *pc, bool atomic) in mtk_cqdma_poll_engine_done() 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() [all …]
|