/linux-6.14.4/arch/riscv/include/asm/ |
D | mmio.h | 20 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 26 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() 32 static inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel() 39 static inline void __raw_writeq(u64 val, volatile void __iomem *addr) in __raw_writeq() 48 u8 val; in __raw_readb() local 57 u16 val; in __raw_readw() local 66 u32 val; in __raw_readl() local 76 u64 val; in __raw_readq() local 88 #define readb_cpu(c) ({ u8 __r = __raw_readb(c); __r; }) argument 89 #define readw_cpu(c) ({ u16 __r = le16_to_cpu((__force __le16)__raw_readw(c)); __r; }) argument [all …]
|
/linux-6.14.4/arch/arm/include/asm/ |
D | arch_gicv3.h | 82 static inline void gic_write_ctlr(u32 val) in gic_write_ctlr() 93 static inline void gic_write_grpen1(u32 val) in gic_write_grpen1() 99 static inline void gic_write_sgi1r(u64 val) in gic_write_sgi1r() 109 static inline void gic_write_sre(u32 val) in gic_write_sre() 115 static inline void gic_write_bpr1(u32 val) in gic_write_bpr1() 125 static inline void gic_write_pmr(u32 val) in gic_write_pmr() 144 static inline void __gic_writeq_nonatomic(u64 val, volatile void __iomem *addr) in __gic_writeq_nonatomic() 152 u64 val; in __gic_readq_nonatomic() local 165 #define gic_write_irouter(v, c) __gic_writeq_nonatomic(v, c) argument 170 #define gic_read_typer(c) __gic_readq_nonatomic(c) argument [all …]
|
D | io.h | 68 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() 77 u16 val; in __raw_readw() local 86 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 93 static inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel() 102 u8 val; in __raw_readb() local 112 u32 val; in __raw_readl() local 274 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) argument 275 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \ argument 277 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \ argument 280 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument [all …]
|
/linux-6.14.4/arch/arm64/include/asm/ |
D | arch_gicv3.h | 90 static inline void gic_write_ctlr(u32 val) in gic_write_ctlr() 101 static inline void gic_write_grpen1(u32 val) in gic_write_grpen1() 107 static inline void gic_write_sgi1r(u64 val) in gic_write_sgi1r() 117 static inline void gic_write_sre(u32 val) in gic_write_sre() 123 static inline void gic_write_bpr1(u32 val) in gic_write_bpr1() 133 static __always_inline void gic_write_pmr(u32 val) in gic_write_pmr() 143 #define gic_read_typer(c) readq_relaxed(c) argument 144 #define gic_write_irouter(v, c) writeq_relaxed(v, c) argument 145 #define gic_read_lpir(c) readq_relaxed(c) argument 146 #define gic_write_lpir(v, c) writeq_relaxed(v, c) argument [all …]
|
/linux-6.14.4/drivers/dma/lgm/ |
D | lgm-dma.c | 279 ldma_update_bits(struct ldma_dev *d, u32 mask, u32 val, u32 ofs) in ldma_update_bits() 305 static inline bool ldma_chan_tx(struct ldma_chan *c) in ldma_chan_tx() 310 static inline bool ldma_chan_is_hw_desc(struct ldma_chan *c) in ldma_chan_is_hw_desc() 329 u32 val = enable ? DMA_CTRL_PKTARB : 0; in ldma_dev_pkt_arb_cfg() local 340 u32 val = enable ? DMA_CTRL_DSRAM_PATH : 0; in ldma_dev_sram_desc_cfg() local 350 u32 mask, val; in ldma_dev_chan_flow_ctl_cfg() local 367 u32 val = DMA_CPOLL_EN; in ldma_dev_global_polling_enable() local 379 u32 mask, val; in ldma_dev_desc_fetch_on_demand_cfg() local 396 u32 val = enable ? DMA_CTRL_ENBE : 0; in ldma_dev_byte_enable_cfg() local 406 u32 val = 0; in ldma_dev_orrc_cfg() local [all …]
|
/linux-6.14.4/arch/x86/kernel/cpu/ |
D | amd.c | 50 static inline int wrmsrl_amd_safe(unsigned msr, unsigned long long val) in wrmsrl_amd_safe() 88 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() 107 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() 201 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7() 298 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 349 static void bsp_determine_snp(struct cpuinfo_x86 *c) in bsp_determine_snp() 376 static void bsp_init_amd(struct cpuinfo_x86 *c) in bsp_init_amd() 382 u64 val; in bsp_init_amd() local 489 static void early_detect_mem_encrypt(struct cpuinfo_x86 *c) in early_detect_mem_encrypt() 541 static void early_init_amd(struct cpuinfo_x86 *c) in early_init_amd() [all …]
|
/linux-6.14.4/tools/testing/selftests/kvm/include/arm64/ |
D | processor.h | 157 static __always_inline void __raw_writel(u32 val, volatile void *addr) in __raw_writel() 164 u32 val; in __raw_readl() local 169 static __always_inline void __raw_writeq(u64 val, volatile void *addr) in __raw_writeq() 176 u64 val; in __raw_readq() local 181 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument 182 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; }) argument 183 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) argument 184 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; }) argument 186 #define writel(v,c) ({ __iowmb(); writel_relaxed((v),(c));}) argument 187 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; }) argument [all …]
|
/linux-6.14.4/arch/powerpc/platforms/powernv/ |
D | opal-lpc.c | 73 static void opal_lpc_outb(u8 val, unsigned long port) in opal_lpc_outb() 80 static void __opal_lpc_outw(__le16 val, unsigned long port) in __opal_lpc_outw() 92 static void opal_lpc_outw(u16 val, unsigned long port) in opal_lpc_outw() 97 static void __opal_lpc_outl(__le32 val, unsigned long port) in __opal_lpc_outl() 111 static void opal_lpc_outl(u32 val, unsigned long port) in opal_lpc_outl() 116 static void opal_lpc_insb(unsigned long p, void *b, unsigned long c) in opal_lpc_insb() 124 static void opal_lpc_insw(unsigned long p, void *b, unsigned long c) in opal_lpc_insw() 132 static void opal_lpc_insl(unsigned long p, void *b, unsigned long c) in opal_lpc_insl() 140 static void opal_lpc_outsb(unsigned long p, const void *b, unsigned long c) in opal_lpc_outsb() 148 static void opal_lpc_outsw(unsigned long p, const void *b, unsigned long c) in opal_lpc_outsw() [all …]
|
/linux-6.14.4/arch/x86/kernel/cpu/mce/ |
D | intel.c | 141 u64 val; in cmci_set_threshold() local 176 static bool cmci_skip_bank(int bank, u64 *val) in cmci_skip_bank() 206 static u64 cmci_pick_threshold(u64 val, int *bios_zero_thresh) in cmci_pick_threshold() 230 static void cmci_claim_bank(int bank, u64 val, int bios_zero_thresh, int *bios_wrong_thresh) in cmci_claim_bank() 285 u64 val; in cmci_discover() local 323 u64 val; in __cmci_disable_bank() local 428 u64 val; in intel_init_lmce() local 441 u64 val; in intel_clear_lmce() local 455 static void intel_imc_init(struct cpuinfo_x86 *c) in intel_imc_init() 471 void mce_intel_feature_init(struct cpuinfo_x86 *c) in mce_intel_feature_init() [all …]
|
/linux-6.14.4/drivers/dma/ti/ |
D | omap-dma.c | 238 static inline struct omap_chan *to_omap_dma_chan(struct dma_chan *c) in to_omap_dma_chan() 310 static void omap_dma_write(uint32_t val, unsigned type, void __iomem *addr) in omap_dma_write() 330 unsigned val; in omap_dma_read() local 351 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write() 369 static void omap_dma_chan_write(struct omap_chan *c, unsigned reg, unsigned val) in omap_dma_chan_write() 376 static unsigned omap_dma_chan_read(struct omap_chan *c, unsigned reg) in omap_dma_chan_read() 383 static void omap_dma_clear_csr(struct omap_chan *c) in omap_dma_clear_csr() 391 static unsigned omap_dma_get_csr(struct omap_chan *c) in omap_dma_get_csr() 393 unsigned val = omap_dma_chan_read(c, CSR); in omap_dma_get_csr() local 403 struct omap_chan *c; in omap_dma_clear_lch() local [all …]
|
/linux-6.14.4/drivers/media/dvb-frontends/ |
D | mb86a20s.c | 249 u8 val; in mb86a20s_i2c_readreg() local 269 #define mb86a20s_writereg(state, reg, val) \ argument 284 int val; in mb86a20s_read_status() local 321 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mb86a20s_read_signal_strength() local 500 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mb86a20s_reset_frontend_cache() local 542 static u32 isdbt_layer_min_bitrate(struct dtv_frontend_properties *c, in isdbt_layer_min_bitrate() 608 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mb86a20s_get_frontend() local 731 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mb86a20s_reset_counters() local 732 int rc, val; in mb86a20s_reset_counters() local 797 int rc, val; in mb86a20s_get_pre_ber() local [all …]
|
D | cxd2820r_core.c | 17 unsigned int i, reg, mask, val; in cxd2820r_wr_reg_val_mask_tab() local 50 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_gpio() local 108 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_set_frontend() local 151 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_status() local 178 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_get_frontend() local 207 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_ber() local 221 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_signal_strength() local 237 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_snr() local 253 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_ucblocks() local 271 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_sleep() local [all …]
|
/linux-6.14.4/drivers/video/console/ |
D | mdacon.c | 108 static void write_mda_b(unsigned int val, unsigned char reg) in write_mda_b() 120 static void write_mda_w(unsigned int val, unsigned char reg) in write_mda_w() 133 static int test_mda_b(unsigned char val, unsigned char reg) in test_mda_b() 355 static void mdacon_init(struct vc_data *c, bool init) in mdacon_init() 372 static void mdacon_deinit(struct vc_data *c) in mdacon_deinit() 397 static u8 mdacon_build_attr(struct vc_data *c, u8 color, in mdacon_build_attr() 417 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region() 430 static void mdacon_putcs(struct vc_data *c, const u16 *s, unsigned int count, in mdacon_putcs() 440 static void mdacon_clear(struct vc_data *c, unsigned int y, unsigned int x, in mdacon_clear() 449 static bool mdacon_switch(struct vc_data *c) in mdacon_switch() [all …]
|
/linux-6.14.4/drivers/most/ |
D | core.c | 102 struct most_channel *c = mbo->context; in most_free_mbo_coherent() local 118 static void flush_channel_fifos(struct most_channel *c) in flush_channel_fifos() 152 static int flush_trash_fifo(struct most_channel *c) in flush_trash_fifo() 172 struct most_channel *c = to_channel(dev); in available_directions_show() local 188 struct most_channel *c = to_channel(dev); in available_datatypes_show() local 208 struct most_channel *c = to_channel(dev); in number_of_packet_buffers_show() local 219 struct most_channel *c = to_channel(dev); in number_of_stream_buffers_show() local 230 struct most_channel *c = to_channel(dev); in size_of_packet_buffer_show() local 241 struct most_channel *c = to_channel(dev); in size_of_stream_buffer_show() local 252 struct most_channel *c = to_channel(dev); in channel_starving_show() local [all …]
|
/linux-6.14.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_pingpong.c | 50 struct dpu_hw_blk_reg_map *c; in dpu_hw_pp_setup_dither() local 81 struct dpu_hw_blk_reg_map *c; in dpu_hw_pp_enable_te() local 127 u32 val = DPU_REG_READ(&pp->hw, PP_AUTOREFRESH_CONFIG); in dpu_hw_pp_get_autorefresh_config() local 135 struct dpu_hw_blk_reg_map *c; in dpu_hw_pp_disable_te() local 148 struct dpu_hw_blk_reg_map *c = &pp->hw; in dpu_hw_pp_connect_external_te() local 171 struct dpu_hw_blk_reg_map *c; in dpu_hw_pp_get_vsync_info() local 172 u32 val; in dpu_hw_pp_get_vsync_info() local 193 struct dpu_hw_blk_reg_map *c = &pp->hw; in dpu_hw_pp_get_line_count() local 262 struct dpu_hw_blk_reg_map *c = &pp->hw; in dpu_hw_pp_dsc_enable() local 270 struct dpu_hw_blk_reg_map *c = &pp->hw; in dpu_hw_pp_dsc_disable() local [all …]
|
/linux-6.14.4/arch/x86/kvm/ |
D | i8254.c | 54 static void pit_set_gate(struct kvm_pit *pit, int channel, u32 val) in pit_set_gate() 56 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_set_gate() local 106 static s64 kpit_elapsed(struct kvm_pit *pit, struct kvm_kpit_channel_state *c, in kpit_elapsed() 117 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_get_count() local 144 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_get_out() local 176 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_latch_count() local 186 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_latch_status() local 322 static void create_pit_timer(struct kvm_pit *pit, u32 val, int is_period) in create_pit_timer() 365 static void pit_load_count(struct kvm_pit *pit, int channel, u32 val) in pit_load_count() 403 void kvm_pit_load_count(struct kvm_pit *pit, int channel, u32 val, in kvm_pit_load_count() [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/i2c/ |
D | atomisp-mt9m114.c | 44 mt9m114_read_reg(struct i2c_client *client, u16 data_length, u32 reg, u32 *val) in mt9m114_read_reg() 96 mt9m114_write_reg(struct i2c_client *client, u16 data_length, u16 reg, u32 val) in mt9m114_write_reg() 180 u32 val; in misensor_rmw_reg() local 409 unsigned int val; in mt9m114_wait_state() local 631 struct i2c_client *c = v4l2_get_subdevdata(sd); in mt9m114_set_fmt() local 740 static int mt9m114_g_hflip(struct v4l2_subdev *sd, s32 *val) in mt9m114_g_hflip() 742 struct i2c_client *c = v4l2_get_subdevdata(sd); in mt9m114_g_hflip() local 755 static int mt9m114_g_vflip(struct v4l2_subdev *sd, s32 *val) in mt9m114_g_vflip() 757 struct i2c_client *c = v4l2_get_subdevdata(sd); in mt9m114_g_vflip() local 904 static int mt9m114_g_exposure_zone_num(struct v4l2_subdev *sd, s32 *val) in mt9m114_g_exposure_zone_num() [all …]
|
/linux-6.14.4/drivers/scsi/ |
D | atp870u.c | 48 static inline void atp_writeb_base(struct atp_unit *atp, u8 reg, u8 val) in atp_writeb_base() 53 static inline void atp_writew_base(struct atp_unit *atp, u8 reg, u16 val) in atp_writew_base() 58 static inline void atp_writeb_io(struct atp_unit *atp, u8 channel, u8 reg, u8 val) in atp_writeb_io() 63 static inline void atp_writew_io(struct atp_unit *atp, u8 channel, u8 reg, u16 val) in atp_writew_io() 68 static inline void atp_writeb_pci(struct atp_unit *atp, u8 channel, u8 reg, u8 val) in atp_writeb_pci() 73 static inline void atp_writel_pci(struct atp_unit *atp, u8 channel, u8 reg, u32 val) in atp_writel_pci() 123 unsigned char i, j, c, target_id, lun,cmdp; in atp870u_intr_handle() local 623 unsigned char c; in atp870u_queuecommand_lck() local 981 static unsigned char fun_scam(struct atp_unit *dev, unsigned short int *val) in fun_scam() 1019 unsigned short int m, assignid_map, val; in tscam() local [all …]
|
/linux-6.14.4/drivers/clk/ti/ |
D | autoidle.c | 85 struct clk_hw_omap *c = to_clk_hw_omap(hw); in omap2_clk_deny_idle() local 109 struct clk_hw_omap *c = to_clk_hw_omap(hw); in omap2_clk_allow_idle() local 119 u32 val; in _allow_autoidle() local 133 u32 val; in _deny_autoidle() local 153 struct clk_ti_autoidle *c; in _clk_generic_allow_autoidle_all() local 167 struct clk_ti_autoidle *c; in _clk_generic_deny_autoidle_all() local
|
/linux-6.14.4/arch/arm/mach-meson/ |
D | platsmp.c | 23 #define MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(c) (0x04 + ((c - 1) << 2)) argument 29 #define MESON_CPU_PWR_A9_CNTL0_M(c) (0x03 << ((c * 2) + 16)) argument 30 #define MESON_CPU_PWR_A9_CNTL1_M(c) (0x03 << ((c + 1) << 1)) argument 31 #define MESON_CPU_PWR_A9_MEM_PD0_M(c) (0x0f << (32 - (c * 4))) argument 32 #define MESON_CPU_PWR_A9_CNTL1_ST(c) (0x01 << (c + 16)) argument 47 u32 val = readl(sram_base + MESON_SMP_SRAM_CPU_CTRL_REG); in meson_smp_set_cpu_ctrl() local 216 u32 val; in meson8b_smp_boot_secondary() local
|
/linux-6.14.4/fs/ubifs/ |
D | debug.c | 90 const char *dbg_snprintf_key(const struct ubifs_info *c, in dbg_snprintf_key() 224 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode) in ubifs_dump_inode() 294 void ubifs_dump_node(const struct ubifs_info *c, const void *node, int node_len) in ubifs_dump_node() 612 void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi) in ubifs_dump_budg() 680 void ubifs_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp) in ubifs_dump_lprop() 771 void ubifs_dump_lprops(struct ubifs_info *c) in ubifs_dump_lprops() 793 void ubifs_dump_lpt_info(struct ubifs_info *c) in ubifs_dump_lpt_info() 831 void ubifs_dump_leb(const struct ubifs_info *c, int lnum) in ubifs_dump_leb() 868 void ubifs_dump_znode(const struct ubifs_info *c, in ubifs_dump_znode() 907 void ubifs_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat) in ubifs_dump_heap() [all …]
|
/linux-6.14.4/arch/powerpc/include/asm/ |
D | word-at-a-time.h | 21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() 37 static inline unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a… in has_zero() 60 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() 71 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask() 139 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() 146 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
|
/linux-6.14.4/tools/testing/selftests/powerpc/primitives/ |
D | word-at-a-time.h | 21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() 37 static inline unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a… in has_zero() 60 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() 71 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask() 139 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() 146 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
|
/linux-6.14.4/drivers/video/logo/ |
D | pnmtologo.c | 80 int c, val; in get_number() local 116 unsigned int val = get_number(fp); in get_number255() local 204 static inline int is_black(struct color c) in is_black() 209 static inline int is_white(struct color c) in is_white() 214 static inline int is_gray(struct color c) in is_gray() 280 unsigned char val, bit; in write_logo_mono() local 308 unsigned char val; in write_logo_vga16() local
|
/linux-6.14.4/include/asm-generic/ |
D | word-at-a-time.h | 18 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() 42 static inline unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a… in has_zero() 94 …inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) in has_zero() 101 …e unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
|