/linux-6.14.4/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() 60 #define mips_busprobe32(val, addr) get_dbe((val), ((u32 *)(addr))) argument 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() 116 u32 addr, val; in ssb_extpci_read_config() local 156 static int ssb_extpci_write_config(struct ssb_pcicore *pc, in ssb_extpci_write_config() 162 u32 addr, val = 0; in ssb_extpci_write_config() local [all …]
|
/linux-6.14.4/drivers/pinctrl/meson/ |
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() 203 unsigned int reg, bit, val; in meson_pinconf_get_gpio_bit() local [all …]
|
/linux-6.14.4/drivers/bcma/ |
D | driver_pci_host.c | 22 #define mips_busprobe32(val, addr) get_dbe((val), ((u32 *)(addr))) argument 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() 89 u32 addr, val; in bcma_extpci_read_config() local 148 static int bcma_extpci_write_config(struct bcma_drv_pci *pc, unsigned int dev, in bcma_extpci_write_config() 153 u32 addr, val; in bcma_extpci_write_config() local 232 int reg, int size, u32 *val) in bcma_core_pci_hostmode_read_config() [all …]
|
/linux-6.14.4/drivers/pwm/ |
D | pwm-tegra.c | 84 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 100 u32 val = 0; in tegra_pwm_config() local 213 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_enable() local 215 u32 val; in tegra_pwm_enable() local 230 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_disable() local 231 u32 val; 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 [all …]
|
D | pwm-spear.c | 70 unsigned long val) in spear_pwm_writel() 78 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_config() local 79 u64 val, div, clk_rate; in spear_pwm_config() local 137 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_enable() local 139 u32 val; in spear_pwm_enable() local 154 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_disable() local 155 u32 val; in spear_pwm_disable() local 196 struct spear_pwm_chip *pc; in spear_pwm_probe() local 198 u32 val; in spear_pwm_probe() local
|
D | pwm-intel-lgm.c | 56 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 67 u32 duty_cycle, val; in lgm_pwm_apply() local 91 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_get_state() local 92 u32 duty, val; 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
|
D | pwm-rockchip.c | 63 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_get_state() local 67 u32 val; in rockchip_pwm_get_state() local 105 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_config() local 160 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_enable() local 163 u32 val; in rockchip_pwm_enable() local 189 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 375 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_remove() local
|
D | pwm-bcm2835.c | 39 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 68 u32 val; 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
|
D | pwm-tiehrpwm.c | 135 unsigned short val; in ehrpwm_modify() local 180 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan) in configure_polarity() 220 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_config() local 310 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_set_polarity() local 320 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_enable() local 358 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_disable() local 392 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_free() local 451 struct ehrpwm_pwm_chip *pc; in ehrpwm_pwm_probe() local 515 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_remove() local 526 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_save_context() local [all …]
|
/linux-6.14.4/arch/arm64/include/asm/ |
D | preempt.h | 16 static inline void preempt_count_set(u64 pc) in preempt_count_set() 45 static inline void __preempt_count_add(int val) in __preempt_count_add() 47 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local 52 static inline void __preempt_count_sub(int val) in __preempt_count_sub() 54 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub() local 62 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test() local 79 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched() local
|
/linux-6.14.4/drivers/pinctrl/bcm/ |
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() 258 u32 val) 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() 281 u32 val = bcm2835_gpio_rd(pc, FSEL_REG(pin)); in bcm2835_pinctrl_fsel_get() local 291 struct bcm2835_pinctrl *pc, unsigned pin, in bcm2835_pinctrl_fsel_set() 294 u32 val; in bcm2835_pinctrl_fsel_set() local 331 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip); in bcm2835_gpio_direction_input() local [all …]
|
D | pinctrl-bcm6318.c | 388 static inline void bcm6318_rmw_mux(struct bcm63xx_pinctrl *pc, unsigned pin, in bcm6318_rmw_mux() 402 static inline void bcm6318_set_pad(struct bcm63xx_pinctrl *pc, unsigned pin, in bcm6318_set_pad() 403 uint8_t val) in bcm6318_set_pad() 413 struct bcm63xx_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in bcm6318_pinctrl_set_mux() local 426 struct bcm63xx_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); in bcm6318_gpio_request_enable() local
|
/linux-6.14.4/drivers/dma/mediatek/ |
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() 181 u32 val; in mtk_dma_rmw() local 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() [all …]
|
D | mtk-hsdma.c | 239 struct mtk_hsdma_pchan *pc; member 273 static void mtk_dma_write(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_write() 281 u32 val; in mtk_dma_rmw() local 289 static void mtk_dma_set(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_set() 294 static void mtk_dma_clr(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_clr() 315 struct mtk_hsdma_pchan *pc) in mtk_hsdma_alloc_pchan() 388 struct mtk_hsdma_pchan *pc) in mtk_hsdma_free_pchan() 412 struct mtk_hsdma_pchan *pc, in mtk_hsdma_issue_pending_vdesc() 537 struct mtk_hsdma_pchan *pc; in mtk_hsdma_free_rooms_in_ring() local
|
/linux-6.14.4/drivers/pinctrl/ |
D | pinctrl-st.c | 133 #define ST_PINCONF_PACK(conf, val, param) (conf |=\ argument 192 #define ST_PINCONF_PACK_RT_CLK(conf, val) ST_PINCONF_PACK(conf, val, RT_CLK) argument 198 #define ST_PINCONF_PACK_RT_DELAY(conf, val) \ argument 208 #define pc_to_bank(pc) \ argument 320 struct st_pio_control pc; member 387 static void st_pinconf_set_config(struct st_pio_control *pc, in st_pinconf_set_config() 421 static void st_pctl_set_function(struct st_pio_control *pc, in st_pctl_set_function() 425 unsigned int val; in st_pctl_set_function() local 438 static unsigned int st_pctl_get_pin_function(struct st_pio_control *pc, int pin) in st_pctl_get_pin_function() 441 unsigned int val; in st_pctl_get_pin_function() local [all …]
|
/linux-6.14.4/drivers/gpu/drm/bridge/imx/ |
D | imx8qxp-pixel-combiner.c | 64 struct imx8qxp_pc *pc; member 76 static inline u32 imx8qxp_pc_read(struct imx8qxp_pc *pc, unsigned int offset) in imx8qxp_pc_read() 82 imx8qxp_pc_write(struct imx8qxp_pc *pc, unsigned int offset, u32 value) in imx8qxp_pc_write() 88 imx8qxp_pc_write_set(struct imx8qxp_pc *pc, unsigned int offset, u32 value) in imx8qxp_pc_write_set() 94 imx8qxp_pc_write_clr(struct imx8qxp_pc *pc, unsigned int offset, u32 value) in imx8qxp_pc_write_clr() 114 struct imx8qxp_pc *pc = ch->pc; in imx8qxp_pc_bridge_attach() local 133 struct imx8qxp_pc *pc = ch->pc; in imx8qxp_pc_bridge_mode_set() local 134 u32 val; in imx8qxp_pc_bridge_mode_set() local 184 struct imx8qxp_pc *pc = ch->pc; in imx8qxp_pc_bridge_atomic_disable() local 272 struct imx8qxp_pc *pc; in imx8qxp_pc_bridge_probe() local [all …]
|
/linux-6.14.4/arch/loongarch/kernel/ |
D | inst.c | 15 unsigned long pc = regs->csr_era; in simu_pc() local 49 unsigned long pc = regs->csr_era; in simu_branch() local 184 u32 val; in larch_insn_read() local 226 u32 larch_insn_gen_b(unsigned long pc, unsigned long dest) in larch_insn_gen_b() 241 u32 larch_insn_gen_bl(unsigned long pc, unsigned long dest) in larch_insn_gen_bl()
|
D | traps.c | 156 static void show_code(unsigned int *pc, bool user) in show_code() 173 static void print_bool_fragment(const char *key, unsigned long val, bool first) in print_bool_fragment() 179 static void print_plv_fragment(const char *key, int val) in print_plv_fragment() 185 static void print_memory_type_fragment(const char *key, unsigned long val) in print_memory_type_fragment() 208 static void print_intr_fragment(const char *key, unsigned long val) in print_intr_fragment() 556 unsigned int *pc; in do_ale() local 806 unsigned long pc = instruction_pointer(regs); in do_watch() local
|
/linux-6.14.4/arch/riscv/kernel/ |
D | traps.c | 40 static int copy_code(struct pt_regs *regs, u16 *val, const u16 *insns) in copy_code() 59 u16 val; in dump_instr() local 249 static inline unsigned long get_break_insn_length(unsigned long pc) in get_break_insn_length() 394 int is_valid_bugaddr(unsigned long pc) in is_valid_bugaddr()
|
/linux-6.14.4/arch/arm64/kernel/ |
D | module-plts.c | 13 static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc, in __get_adrp_add_pair() 26 struct plt_entry get_plt_entry(u64 dst, void *pc) in get_plt_entry() 78 u64 val = sym->st_value + rela->r_addend; in module_emit_plt_entry() local 102 void *loc, u64 val) in module_emit_veneer_for_adrp()
|
/linux-6.14.4/include/asm-generic/ |
D | preempt.h | 19 static __always_inline void preempt_count_set(int pc) in preempt_count_set() 52 static __always_inline void __preempt_count_add(int val) in __preempt_count_add() 57 static __always_inline void __preempt_count_sub(int val) in __preempt_count_sub()
|
/linux-6.14.4/arch/s390/include/asm/ |
D | preempt.h | 29 static __always_inline void preempt_count_set(int pc) in preempt_count_set() 63 static __always_inline void __preempt_count_add(int val) in __preempt_count_add() 78 static __always_inline void __preempt_count_sub(int val) in __preempt_count_sub()
|
/linux-6.14.4/arch/x86/coco/sev/ |
D | shared.c | 123 u64 val = GHCB_MSR_TERM_REQ; in sev_es_terminate() local 141 u64 val; in get_hv_features() local 159 u64 val; in snp_register_ghcb_early() local 174 u64 val; in sev_es_negotiate_protocol() local 308 u64 val, resp; in svsm_perform_msr_protocol() local 395 u64 val; in __sev_cpuid_hv() local 1244 static void svsm_pval_terminate(struct svsm_pvalidate_call *pc, int ret, u64 svsm_ret) in svsm_pval_terminate() 1259 struct svsm_pvalidate_call *pc; in svsm_pval_4k_page() local 1349 struct svsm_pvalidate_call *pc) in svsm_build_ca_from_pfn_range() 1377 struct svsm_pvalidate_call *pc) in svsm_build_ca_from_psc_desc() [all …]
|
/linux-6.14.4/arch/x86/include/asm/ |
D | preempt.h | 29 static __always_inline void preempt_count_set(int pc) in preempt_count_set() 77 static __always_inline void __preempt_count_add(int val) in __preempt_count_add() 82 static __always_inline void __preempt_count_sub(int val) in __preempt_count_sub()
|
/linux-6.14.4/drivers/ras/amd/atl/ |
D | umc.c | 53 static u16 bitwise_xor_bits(u16 val) in bitwise_xor_bits() 79 struct xor_bits pc; member 93 u8 pc; member 239 u16 i, col, row, bank, pc, sid; in convert_dram_to_norm_addr_mi300() local
|