| /linux/drivers/bcma/ |
| H A 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 …]
|
| H 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 …]
|
| H A D | bcma_private.h | 129 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/pinctrl/meson/ |
| H A D | pinctrl-meson.c | 72 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, in meson_get_bank() 111 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count() local 119 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name() local 127 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins() local 152 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count() local 161 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name() local 171 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups() local 180 static int meson_pinconf_set_gpio_bit(struct meson_pinctrl *pc, in meson_pinconf_set_gpio_bit() 198 static int meson_pinconf_get_gpio_bit(struct meson_pinctrl *pc, in meson_pinconf_get_gpio_bit() 218 static int meson_pinconf_set_output(struct meson_pinctrl *pc, in meson_pinconf_set_output() [all …]
|
| H A D | pinctrl-meson-axg-pmx.c | 28 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 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/ |
| H 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() 431 static void ssb_pcicore_fix_sprom_core_index(struct ssb_pcicore *pc) in ssb_pcicore_fix_sprom_core_index() [all …]
|
| /linux/drivers/pinctrl/bcm/ |
| H A D | pinctrl-bcm2835.c | 252 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg) in bcm2835_gpio_rd() 257 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_wr() 263 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg, in bcm2835_gpio_get_bit() 271 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc, in bcm2835_gpio_set_bit() 279 struct bcm2835_pinctrl *pc, unsigned pin) in bcm2835_pinctrl_fsel_get() 291 struct bcm2835_pinctrl *pc, unsigned pin, in bcm2835_pinctrl_fsel_set() 331 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_direction_input() local 339 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get() local 346 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_get_direction() local 362 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_set() local [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | traps_32.c | 36 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/gpu/drm/xe/ |
| H A D | xe_gt_freq.c | 70 struct xe_guc_pc *pc = dev_to_pc(dev); in act_freq_show() local 84 struct xe_guc_pc *pc = dev_to_pc(dev); in cur_freq_show() local 101 struct xe_guc_pc *pc = dev_to_pc(dev); in rp0_freq_show() local 111 struct xe_guc_pc *pc = dev_to_pc(dev); in rpe_freq_show() local 125 struct xe_guc_pc *pc = dev_to_pc(dev); in rpa_freq_show() local 139 struct xe_guc_pc *pc = dev_to_pc(dev); in rpn_freq_show() local 149 struct xe_guc_pc *pc = dev_to_pc(dev); in min_freq_show() local 165 struct xe_guc_pc *pc = dev_to_pc(dev); in min_freq_store() local 186 struct xe_guc_pc *pc = dev_to_pc(dev); in max_freq_show() local 202 struct xe_guc_pc *pc = dev_to_pc(dev); in max_freq_store() local [all …]
|
| /linux/arch/csky/kernel/ |
| H A D | stacktrace.c | 19 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 D | sifive-prci.c | 180 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/drivers/pinctrl/ |
| H A D | pinctrl-eic7700.c | 290 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_get_groups_count() local 297 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_get_group_name() local 305 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_get_group_pins() local 326 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_pin_config_get() local 371 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_pin_config_set() local 442 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_pin_config_dbg_show() local 463 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_get_functions_count() local 470 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_get_function_name() local 478 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_get_function_groups() local 489 struct eic7700_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in eic7700_set_mux() local [all …]
|
| /linux/drivers/pwm/ |
| H A D | pwm-airoha.c | 160 static int airoha_pwm_get_bucket(struct airoha_pwm *pc, int bucket, in airoha_pwm_get_bucket() 195 static int airoha_pwm_get_generator(struct airoha_pwm *pc, u32 duty_ticks, in airoha_pwm_get_generator() 267 static void airoha_pwm_release_bucket_config(struct airoha_pwm *pc, in airoha_pwm_release_bucket_config() 280 static int airoha_pwm_apply_bucket_config(struct airoha_pwm *pc, unsigned int bucket, in airoha_pwm_apply_bucket_config() 318 static int airoha_pwm_consume_generator(struct airoha_pwm *pc, in airoha_pwm_consume_generator() 356 static int airoha_pwm_sipo_init(struct airoha_pwm *pc) in airoha_pwm_sipo_init() 420 static int airoha_pwm_config_flash_map(struct airoha_pwm *pc, in airoha_pwm_config_flash_map() 448 static int airoha_pwm_config(struct airoha_pwm *pc, struct pwm_device *pwm, in airoha_pwm_config() 489 static void airoha_pwm_disable(struct airoha_pwm *pc, struct pwm_device *pwm) in airoha_pwm_disable() 507 struct airoha_pwm *pc = pwmchip_get_drvdata(chip); in airoha_pwm_apply() local [all …]
|
| H A D | pwm-intel-lgm.c | 55 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_enable() local 65 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_apply() local 90 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_get_state() local 110 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
|
| H A D | pwm-spear.c | 78 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_config() local 137 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_enable() local 154 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_disable() local 196 struct spear_pwm_chip *pc; in spear_pwm_probe() local
|
| H A D | pwm-pxa.c | 70 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_config() local 105 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_apply() local 158 struct pxa_pwm_chip *pc; in pwm_probe() local
|
| /linux/drivers/dma/mediatek/ |
| H A D | mtk-cqdma.c | 123 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 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/arm/probes/kprobes/ |
| H A D | actions-thumb.c | 27 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 D | rbtree_augmented.h | 150 #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/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_context.c | 196 struct i915_gem_proto_context *pc) in proto_context_close() 213 struct i915_gem_proto_context *pc, in proto_context_set_persistence() 254 struct i915_gem_proto_context *pc, in proto_context_set_protected() 286 struct i915_gem_proto_context *pc, *err; in proto_context_create() local 317 struct i915_gem_proto_context *pc, in proto_context_register_locked() 340 struct i915_gem_proto_context *pc, in proto_context_register() 367 struct i915_gem_proto_context *pc, in set_proto_ctx_vm() 735 struct i915_gem_proto_context *pc, in set_proto_ctx_engines() 821 struct i915_gem_proto_context *pc, in set_proto_ctx_sseu() 885 struct i915_gem_proto_context *pc, in set_proto_ctx_param() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | insn.c | 6 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 D | rbtree_augmented.h | 174 #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/arch/arm/include/asm/ |
| H A D | insn.h | 36 arm_gen_branch(unsigned long pc, unsigned long addr) in arm_gen_branch() 42 arm_gen_branch_link(unsigned long pc, unsigned long addr, bool warn) in arm_gen_branch_link()
|