Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v4.19/drivers/bcma/
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 …]
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 …]
/Linux-v4.19/drivers/isdn/hisax/
Dl3ni1.c113 { struct l3_process *pc = st->l3.proc; /* start of processes */ in l3ni1_search_dummy_proc() local
133 struct l3_process *pc = NULL; in l3ni1_dummy_return_result() local
166 struct l3_process *pc = NULL; in l3ni1_dummy_error_return() local
220 l3ni1_parse_facility(struct PStack *st, struct l3_process *pc, in l3ni1_parse_facility()
428 l3ni1_message(struct l3_process *pc, u_char mt) in l3ni1_message()
441 l3ni1_message_plus_chid(struct l3_process *pc, u_char mt) in l3ni1_message_plus_chid()
462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3ni1_message_cause()
483 l3ni1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3ni1_status_send()
509 l3ni1_msg_without_setup(struct l3_process *pc, u_char pr, void *arg) in l3ni1_msg_without_setup()
646 ie_in_set(struct l3_process *pc, u_char ie, int *checklist) { in ie_in_set()
[all …]
Dl3_1tr6.c31 l3_1TR6_message(struct l3_process *pc, u_char mt, u_char pd) in l3_1TR6_message()
44 l3_1tr6_release_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_release_req()
53 l3_1tr6_invalid(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_invalid()
62 l3_1tr6_error(struct l3_process *pc, u_char *msg, struct sk_buff *skb) in l3_1tr6_error()
71 l3_1tr6_setup_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_req()
161 l3_1tr6_setup(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup()
228 l3_1tr6_setup_ack(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_ack()
256 l3_1tr6_call_sent(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_call_sent()
288 l3_1tr6_alert(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_alert()
299 l3_1tr6_info(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_info()
[all …]
Dl3dss1.c114 { struct l3_process *pc = st->l3.proc; /* start of processes */ in l3dss1_search_dummy_proc() local
134 struct l3_process *pc = NULL; in l3dss1_dummy_return_result() local
167 struct l3_process *pc = NULL; in l3dss1_dummy_error_return() local
221 l3dss1_parse_facility(struct PStack *st, struct l3_process *pc, in l3dss1_parse_facility()
499 l3dss1_message(struct l3_process *pc, u_char mt) in l3dss1_message()
512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3dss1_message_cause()
533 l3dss1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3dss1_status_send()
559 l3dss1_msg_without_setup(struct l3_process *pc, u_char pr, void *arg) in l3dss1_msg_without_setup()
696 ie_in_set(struct l3_process *pc, u_char ie, int *checklist) { in ie_in_set()
713 check_infoelements(struct l3_process *pc, struct sk_buff *skb, int *checklist) in check_infoelements()
[all …]
/Linux-v4.19/drivers/ssb/
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()
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 …]
/Linux-v4.19/drivers/pinctrl/meson/
Dpinctrl-meson.c71 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, in meson_get_bank()
108 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count() local
116 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name() local
124 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins() local
149 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count() local
157 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name() local
166 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups() local
177 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_set() local
240 static int meson_pinconf_get_pull(struct meson_pinctrl *pc, unsigned int pin) in meson_pinconf_get_pull()
277 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_get() local
[all …]
Dpinctrl-meson-axg-pmx.c29 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
/Linux-v4.19/arch/sparc/kernel/
Dtraps_32.c35 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 …]
/Linux-v4.19/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c238 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg) in bcm2835_gpio_rd()
243 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_wr()
249 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_get_bit()
257 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc, in bcm2835_gpio_set_bit()
265 struct bcm2835_pinctrl *pc, unsigned pin) in bcm2835_pinctrl_fsel_get()
277 struct bcm2835_pinctrl *pc, unsigned pin, in bcm2835_pinctrl_fsel_set()
314 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get() local
321 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get_direction() local
333 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_set() local
360 static void bcm2835_gpio_irq_handle_bank(struct bcm2835_pinctrl *pc, in bcm2835_gpio_irq_handle_bank()
[all …]
/Linux-v4.19/drivers/pwm/
Dpwm-tiecap.c66 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_config() local
127 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_set_polarity() local
150 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_enable() local
169 struct ecap_pwm_chip *pc = to_ecap_pwm_chip(chip); in ecap_pwm_disable() local
211 struct ecap_pwm_chip *pc; in ecap_pwm_probe() local
265 struct ecap_pwm_chip *pc = platform_get_drvdata(pdev); in ecap_pwm_remove() local
273 static void ecap_pwm_save_context(struct ecap_pwm_chip *pc) in ecap_pwm_save_context()
282 static void ecap_pwm_restore_context(struct ecap_pwm_chip *pc) in ecap_pwm_restore_context()
291 struct ecap_pwm_chip *pc = dev_get_drvdata(dev); in ecap_pwm_suspend() local
305 struct ecap_pwm_chip *pc = dev_get_drvdata(dev); in ecap_pwm_resume() local
Dpwm-bcm2835.c43 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_request() local
56 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_free() local
67 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_config() local
92 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_enable() local
104 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_pwm_disable() local
115 struct bcm2835_pwm *pc = to_bcm2835_pwm(chip); in bcm2835_set_polarity() local
142 struct bcm2835_pwm *pc; in bcm2835_pwm_probe() local
188 struct bcm2835_pwm *pc = platform_get_drvdata(pdev); in bcm2835_pwm_remove() local
Dpwm-tiehrpwm.c194 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan) in configure_polarity()
234 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_config() local
324 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_set_polarity() local
334 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_enable() local
372 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_disable() local
404 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_free() local
434 struct ehrpwm_pwm_chip *pc; in ehrpwm_pwm_probe() local
506 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev); in ehrpwm_pwm_remove() local
516 static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_save_context()
532 static void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_restore_context()
[all …]
Dpwm-mediatek.c87 struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); in mtk_pwm_clk_enable() local
117 struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); in mtk_pwm_clk_disable() local
143 struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); in mtk_pwm_config() local
193 struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); in mtk_pwm_enable() local
210 struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); in mtk_pwm_disable() local
230 struct mtk_pwm_chip *pc; in mtk_pwm_probe() local
276 struct mtk_pwm_chip *pc = platform_get_drvdata(pdev); in mtk_pwm_remove() local
Dpwm-sti.c126 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale()
170 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_config() local
256 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_enable() local
292 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_disable() local
311 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_free() local
319 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_capture() local
409 struct sti_pwm_chip *pc = data; in sti_pwm_interrupt() local
478 static int sti_pwm_probe_dt(struct sti_pwm_chip *pc) in sti_pwm_probe_dt()
546 struct sti_pwm_chip *pc; in sti_pwm_probe() local
666 struct sti_pwm_chip *pc = platform_get_drvdata(pdev); in sti_pwm_remove() local
/Linux-v4.19/drivers/ide/
Dide-floppy.c66 struct ide_atapi_pc *pc = drive->pc; in ide_floppy_callback() local
108 struct ide_atapi_pc *pc) in ide_floppy_report_error()
125 struct ide_atapi_pc *pc) in ide_floppy_issue_pc()
158 void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *pc) in ide_floppy_create_read_capacity_cmd()
168 void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *pc, u8 page_code) in ide_floppy_create_mode_sense_cmd()
192 struct ide_atapi_pc *pc, struct request *rq, in idefloppy_create_rw_cmd()
217 struct ide_atapi_pc *pc, struct request *rq) in idefloppy_blockpc_cmd()
234 struct ide_atapi_pc *pc; in ide_floppy_do_request() local
316 struct ide_atapi_pc *pc) in ide_floppy_get_flexible_disk_page()
382 struct ide_atapi_pc pc; in ide_floppy_get_capacity() local
Dide-floppy_ioctl.c38 struct ide_atapi_pc *pc, in ide_floppy_get_format_capacities()
98 static void ide_floppy_create_format_unit_cmd(struct ide_atapi_pc *pc, in ide_floppy_create_format_unit_cmd()
120 static int ide_floppy_get_sfrp_bit(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_floppy_get_sfrp_bit()
139 static int ide_floppy_format_unit(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_format_unit()
199 struct ide_atapi_pc *pc, in ide_floppy_get_format_progress()
236 static int ide_floppy_lockdoor(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_lockdoor()
254 static int ide_floppy_format_ioctl(ide_drive_t *drive, struct ide_atapi_pc *pc, in ide_floppy_format_ioctl()
277 struct ide_atapi_pc pc; in ide_floppy_ioctl() local
Dide-atapi.c79 void ide_init_pc(struct ide_atapi_pc *pc) in ide_init_pc()
90 struct ide_atapi_pc *pc, void *buf, unsigned int bufflen) in ide_queue_pc_tail()
119 struct ide_atapi_pc pc; in ide_do_test_unit_ready() local
130 struct ide_atapi_pc pc; in ide_do_start_stop() local
145 struct ide_atapi_pc pc; in ide_set_media_lock() local
158 void ide_create_request_sense_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc) in ide_create_request_sense_cmd()
255 struct ide_atapi_pc *pc = &drive->request_sense_pc; in ide_retry_pc() local
401 struct ide_atapi_pc *pc = drive->pc; in ide_pc_intr() local
682 struct ide_atapi_pc *pc; in ide_issue_pc() local
Dide-tape.c271 struct ide_atapi_pc *pc = drive->failed_pc; in idetape_analyze_error() local
329 struct ide_atapi_pc *pc = drive->pc; in ide_tape_callback() local
441 struct ide_atapi_pc *pc) in ide_tape_issue_pc()
489 static void idetape_create_mode_sense_cmd(struct ide_atapi_pc *pc, u8 page_code) in idetape_create_mode_sense_cmd()
519 struct ide_atapi_pc *pc = drive->pc; in idetape_media_access_finished() local
544 struct ide_atapi_pc *pc, struct request *rq, in ide_tape_create_rw_cmd()
571 struct ide_atapi_pc *pc = NULL; in idetape_do_request() local
675 struct ide_atapi_pc *pc, int write_filemark) in idetape_create_write_filemark_cmd()
714 struct ide_atapi_pc pc; in idetape_flush_tape_buffers() local
728 struct ide_atapi_pc pc; in ide_tape_read_position() local
[all …]
/Linux-v4.19/arch/riscv/kernel/
Dstacktrace.c33 unsigned long fp, sp, pc; in walk_stackframe() local
81 unsigned long sp, pc; in walk_stackframe() local
111 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address()
124 static bool save_wchan(unsigned long pc, void *arg) in save_wchan()
136 unsigned long pc = 0; in get_wchan() local
146 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace()
161 static bool save_trace(unsigned long pc, void *arg) in save_trace()
/Linux-v4.19/arch/microblaze/kernel/
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()
170 static inline void unwind_trap(struct task_struct *task, unsigned long pc, in unwind_trap()
189 unsigned long pc, unsigned long fp, in microblaze_unwind_inner()
305 unsigned long pc, fp; in microblaze_unwind() local
/Linux-v4.19/kernel/trace/
Dtrace_irqsoff.c44 preempt_trace(int pc) in preempt_trace()
49 # define preempt_trace(pc) (0) argument
180 int pc; in irqsoff_graph_entry() local
209 int pc; in irqsoff_graph_return() local
262 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
450 int pc = preempt_count(); in stop_critical_timings() local
[all …]
/Linux-v4.19/drivers/oprofile/
Dcpu_buffer.c238 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()
/Linux-v4.19/arch/arm64/kernel/
Dftrace.c27 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code()
58 unsigned long pc; in ftrace_update_ftrace_func() local
73 unsigned long pc = rec->ip; in ftrace_make_call() local
142 unsigned long pc = rec->ip; in ftrace_make_nop() local
254 unsigned long pc = (unsigned long)&ftrace_graph_call; in ftrace_modify_graph_caller() local
/Linux-v4.19/tools/include/linux/
Drbtree_augmented.h103 #define __rb_parent(pc) ((struct rb_node *)(pc & ~3)) argument
105 #define __rb_color(pc) ((pc) & 1) argument
106 #define __rb_is_black(pc) __rb_color(pc) argument
107 #define __rb_is_red(pc) (!__rb_color(pc)) argument
145 unsigned long pc; in __rb_erase_augmented() local

12345678910>>...13