/linux-6.14.4/arch/arm64/kvm/ |
D | vgic-sys-reg-v3.c | 13 static int set_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_ctlr() 14 u64 val) in set_gic_ctlr() 59 static int get_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_ctlr() 64 u64 val; in get_gic_ctlr() local 87 static int set_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_pmr() 88 u64 val) in set_gic_pmr() 99 static int get_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_pmr() 100 u64 *val) in get_gic_pmr() 110 static int set_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr0() 111 u64 val) in set_gic_bpr0() [all …]
|
D | sys_regs.c | 52 const struct sys_reg_desc *r) in undef_access() 60 const struct sys_reg_desc *r, in bad_trap() 70 const struct sys_reg_desc *r) in read_from_write_only() 78 const struct sys_reg_desc *r) in write_to_read_only() 153 u64 val = 0x8badf00d8badf00d; in vcpu_read_sys_reg() local 213 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg() 332 static int set_ccsidr(struct kvm_vcpu *vcpu, u32 csselr, u32 val) in set_ccsidr() 363 const struct sys_reg_desc *r) in access_rw() 378 const struct sys_reg_desc *r) in access_dcsw() 398 const struct sys_reg_desc *r) in access_dcgsw() [all …]
|
/linux-6.14.4/lib/ |
D | linear_ranges.c | 27 unsigned int linear_range_values_in_range(const struct linear_range *r) in linear_range_values_in_range() 46 unsigned int linear_range_values_in_range_array(const struct linear_range *r, in linear_range_values_in_range_array() 70 unsigned int linear_range_get_max_value(const struct linear_range *r) in linear_range_get_max_value() 87 int linear_range_get_value(const struct linear_range *r, unsigned int selector, in linear_range_get_value() 88 unsigned int *val) in linear_range_get_value() 111 int linear_range_get_value_array(const struct linear_range *r, int ranges, in linear_range_get_value_array() 112 unsigned int selector, unsigned int *val) in linear_range_get_value_array() 138 int linear_range_get_selector_low(const struct linear_range *r, in linear_range_get_selector_low() 139 unsigned int val, unsigned int *selector, in linear_range_get_selector_low() 182 int linear_range_get_selector_low_array(const struct linear_range *r, in linear_range_get_selector_low_array() [all …]
|
D | refcount.c | 13 void refcount_warn_saturate(refcount_t *r, enum refcount_saturation_type t) in refcount_warn_saturate() 55 bool refcount_dec_if_one(refcount_t *r) in refcount_dec_if_one() 57 int val = 1; in refcount_dec_if_one() local 74 bool refcount_dec_not_one(refcount_t *r) in refcount_dec_not_one() 76 unsigned int new, val = atomic_read(&r->refs); in refcount_dec_not_one() local 113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock() 144 bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) in refcount_dec_and_lock() 172 bool refcount_dec_and_lock_irqsave(refcount_t *r, spinlock_t *lock, in refcount_dec_and_lock_irqsave()
|
/linux-6.14.4/include/math-emu/ |
D | quad.h | 80 #define FP_UNPACK_RAW_Q(X,val) _FP_UNPACK_RAW_4(Q,X,val) argument 81 #define FP_UNPACK_RAW_QP(X,val) _FP_UNPACK_RAW_4_P(Q,X,val) argument 82 #define FP_PACK_RAW_Q(val,X) _FP_PACK_RAW_4(Q,val,X) argument 83 #define FP_PACK_RAW_QP(val,X) \ argument 89 #define FP_UNPACK_Q(X,val) \ argument 95 #define FP_UNPACK_QP(X,val) \ argument 101 #define FP_PACK_Q(val,X) \ argument 107 #define FP_PACK_QP(val,X) \ argument 123 #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,4,r,X,Y,un) argument 124 #define FP_CMP_EQ_Q(r,X,Y) _FP_CMP_EQ(Q,4,r,X,Y) argument [all …]
|
D | double.h | 74 #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_2(D,X,val) argument 75 #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_2_P(D,X,val) argument 76 #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_2(D,val,X) argument 77 #define FP_PACK_RAW_DP(val,X) \ argument 83 #define FP_UNPACK_D(X,val) \ argument 89 #define FP_UNPACK_DP(X,val) \ argument 95 #define FP_PACK_D(val,X) \ argument 101 #define FP_PACK_DP(val,X) \ argument 117 #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,2,r,X,Y,un) argument 118 #define FP_CMP_EQ_D(r,X,Y) _FP_CMP_EQ(D,2,r,X,Y) argument [all …]
|
D | single.h | 63 #define FP_UNPACK_RAW_S(X,val) _FP_UNPACK_RAW_1(S,X,val) argument 64 #define FP_UNPACK_RAW_SP(X,val) _FP_UNPACK_RAW_1_P(S,X,val) argument 65 #define FP_PACK_RAW_S(val,X) _FP_PACK_RAW_1(S,val,X) argument 66 #define FP_PACK_RAW_SP(val,X) \ argument 72 #define FP_UNPACK_S(X,val) \ argument 78 #define FP_UNPACK_SP(X,val) \ argument 84 #define FP_PACK_S(val,X) \ argument 90 #define FP_PACK_SP(val,X) \ argument 106 #define FP_CMP_S(r,X,Y,un) _FP_CMP(S,1,r,X,Y,un) argument 107 #define FP_CMP_EQ_S(r,X,Y) _FP_CMP_EQ(S,1,r,X,Y) argument [all …]
|
/linux-6.14.4/drivers/media/radio/ |
D | radio-wl1273.c | 100 int i, r = 0; in wl1273_fm_write_fw() local 135 u16 val; in wl1273_fm_rds() local 152 int r; in wl1273_fm_rds() local 223 int r; in wl1273_fm_irq_thread_handler() local 337 int r = 0; in wl1273_fm_set_tx_freq() local 397 int r, f; in wl1273_fm_set_rx_freq() local 458 int r; in wl1273_fm_get_freq() local 497 int r; in wl1273_fm_upload_firmware_patch() local 535 int r = core->write(core, WL1273_POWER_SET, in wl1273_fm_stop() local 541 int r = core->write(core, WL1273_PUPD_SET, in wl1273_fm_stop() local [all …]
|
/linux-6.14.4/tools/include/linux/ |
D | refcount.h | 58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() 63 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() 76 bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() 78 unsigned int old, new, val = atomic_read(&r->refs); in refcount_inc_not_zero() local 107 static inline void refcount_inc(refcount_t *r) in refcount_inc() 121 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test() 123 unsigned int old, new, val = atomic_read(&r->refs); in refcount_sub_and_test() local 146 bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
|
/linux-6.14.4/arch/powerpc/kvm/ |
D | powerpc.c | 81 int r; in kvmppc_prepare_to_enter() local 165 int r; in kvmppc_kvm_pv() local 255 int r = false; in kvmppc_sanity_check() local 285 int r; in kvmppc_emulate_mmio() local 353 int r = -EINVAL; in kvmppc_st() local 443 int r; in kvm_arch_init_vm() local 504 int r; in kvm_vm_ioctl_check_extension() local 917 union kvmppc_one_reg val; in kvmppc_set_vsr_dword() local 936 union kvmppc_one_reg val; in kvmppc_set_vsr_dword_dump() local 953 union kvmppc_one_reg val; in kvmppc_set_vsr_word_dump() local [all …]
|
D | e500mc.c | 61 u32 val; in kvmppc_e500_tlbil_one() local 178 int r; in kvmppc_e500mc_check_processor_compat() local 278 union kvmppc_one_reg *val) in kvmppc_get_one_reg_e500mc() 280 int r = 0; in kvmppc_get_one_reg_e500mc() local 294 union kvmppc_one_reg *val) in kvmppc_set_one_reg_e500mc() 296 int r = 0; in kvmppc_set_one_reg_e500mc() local 394 int r; in kvmppc_e500mc_init() local
|
/linux-6.14.4/drivers/video/fbdev/savage/ |
D | savagefb-i2c.c | 45 static void savage4_gpio_setscl(void *data, int val) in savage4_gpio_setscl() 48 unsigned int r; in savage4_gpio_setscl() local 59 static void savage4_gpio_setsda(void *data, int val) in savage4_gpio_setsda() 63 unsigned int r; in savage4_gpio_setsda() local 87 static void prosavage_gpio_setscl(void* data, int val) in prosavage_gpio_setscl() 90 u32 r; in prosavage_gpio_setscl() local 103 static void prosavage_gpio_setsda(void* data, int val) in prosavage_gpio_setsda() 106 unsigned int r; in prosavage_gpio_setsda() local
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-reg.c | 35 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_get_direction() local 44 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_direction_output() local 55 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_direction_input() local 62 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_set() local 64 u32 val, mask = BIT(offset); in gpio_reg_set() local 79 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_get() local 80 u32 val, mask = BIT(offset); in gpio_reg_get() local 98 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_set_multiple() local 109 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_to_irq() local 143 struct gpio_reg *r; in gpio_reg_init() local [all …]
|
/linux-6.14.4/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_rf_uw2453.c | 22 #define UW2453_REGWRITE(reg, val) ((((reg) & 0xf) << 20) | ((val) & 0xfffff)) argument 245 int r; in uw2453_synth_set_channel() local 247 u32 val; in uw2453_synth_set_channel() local 266 u32 val = 0x40000 | value; in uw2453_write_vco_cfg() local 298 int i, r; in uw2453_init_hw() local 430 int r; in uw2453_set_channel() local 471 int r; in uw2453_switch_radio_on() local 490 int r; in uw2453_switch_radio_off() local
|
/linux-6.14.4/drivers/hwmon/ |
D | gl520sm.c | 113 int val, i; in gl520_update_device() local 197 #define VDD_FROM_REG(val) DIV_ROUND_CLOSEST((val) * 95, 4) argument 198 #define VDD_CLAMP(val) clamp_val(val, 0, 255 * 95 / 4) argument 199 #define VDD_TO_REG(val) DIV_ROUND_CLOSEST(VDD_CLAMP(val) * 4, 95) argument 201 #define IN_FROM_REG(val) ((val) * 19) argument 202 #define IN_CLAMP(val) clamp_val(val, 0, 255 * 19) argument 203 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) argument 210 u8 r = data->in_input[n]; in in_input_show() local 223 u8 r = data->in_min[n]; in in_min_show() local 236 u8 r = data->in_max[n]; in in_max_show() local [all …]
|
/linux-6.14.4/drivers/phy/renesas/ |
D | phy-rcar-gen3-usb3.c | 57 static void write_clkset1_for_usb_extal(struct rcar_gen3_usb3 *r, bool reset) in write_clkset1_for_usb_extal() 59 u16 val = CLKSET1_USB30_PLL_MULTI_USB_EXTAL | in write_clkset1_for_usb_extal() local 68 static void rcar_gen3_phy_usb3_enable_ssc(struct rcar_gen3_usb3 *r) in rcar_gen3_phy_usb3_enable_ssc() 70 u16 val = SSC_SET_SSC_EN; in rcar_gen3_phy_usb3_enable_ssc() local 91 static void rcar_gen3_phy_usb3_select_usb_extal(struct rcar_gen3_usb3 *r) in rcar_gen3_phy_usb3_select_usb_extal() 106 struct rcar_gen3_usb3 *r = phy_get_drvdata(p); in rcar_gen3_phy_usb3_init() local 134 struct rcar_gen3_usb3 *r; in rcar_gen3_phy_usb3_probe() local
|
/linux-6.14.4/fs/debugfs/ |
D | file.c | 306 int r; in open_proxy_open() local 412 __poll_t r = 0; in full_proxy_poll() local 429 int r = 0; in full_proxy_release() local 449 int r; in full_proxy_open_regular() local 506 int r; in full_proxy_open_short() local 589 static int debugfs_u8_set(void *data, u64 val) in debugfs_u8_set() 594 static int debugfs_u8_get(void *data, u64 *val) in debugfs_u8_get() 625 static int debugfs_u16_set(void *data, u64 val) in debugfs_u16_set() 630 static int debugfs_u16_get(void *data, u64 *val) in debugfs_u16_get() 661 static int debugfs_u32_set(void *data, u64 val) in debugfs_u32_set() [all …]
|
/linux-6.14.4/drivers/acpi/riscv/ |
D | cppc.c | 21 #define FFH_CPPC_TYPE(r) (((r) & GENMASK_ULL(63, 60)) >> 60) argument 22 #define FFH_CPPC_SBI_REG(r) ((r) & GENMASK(31, 0)) argument 23 #define FFH_CPPC_CSR_NUM(r) ((r) & GENMASK(11, 0)) argument 29 u64 val; member 99 int cpc_read_ffh(int cpu, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() 130 int cpc_write_ffh(int cpu, struct cpc_reg *reg, u64 val) in cpc_write_ffh()
|
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_debugfs.c | 77 int r; in amdgpu_debugfs_process_reg_op() local 235 int r; in amdgpu_debugfs_regs2_op() local 324 int r; in amdgpu_debugfs_regs2_ioctl() local 402 int r; in amdgpu_debugfs_gprwave_read() local 482 int r = 0; in amdgpu_debugfs_gprwave_ioctl() local 523 int r; in amdgpu_debugfs_regs_pcie_read() local 583 int r; in amdgpu_debugfs_regs_pcie_write() local 643 int r; in amdgpu_debugfs_regs_didt_read() local 702 int r; in amdgpu_debugfs_regs_didt_write() local 762 int r; in amdgpu_debugfs_regs_smc_read() local [all …]
|
/linux-6.14.4/tools/testing/selftests/kvm/x86/ |
D | vmx_pmu_caps_test.c | 54 static void guest_test_perf_capabilities_gp(uint64_t val) in guest_test_perf_capabilities_gp() 86 int r, i; in KVM_ONE_VCPU_TEST() local 153 union perf_capabilities val = host_cap; in KVM_ONE_VCPU_TEST() local 154 int r, bit; in KVM_ONE_VCPU_TEST() local 196 int r; in KVM_ONE_VCPU_TEST() local 212 uint64_t val; in KVM_ONE_VCPU_TEST() local 213 int i, r; in KVM_ONE_VCPU_TEST() local
|
/linux-6.14.4/drivers/gpu/drm/gma500/ |
D | oaktrail_lvds_i2c.c | 63 #define LPC_READ_REG(chan, r) inl((chan)->reg + (r)) argument 64 #define LPC_WRITE_REG(chan, r, val) outl((val), (chan)->reg + (r)) argument 69 u32 val; in get_clock() local 83 u32 val; in get_data() local 97 u32 val; in set_clock() local 116 u32 val; in set_data() local
|
/linux-6.14.4/arch/powerpc/platforms/chrp/ |
D | pci.c | 35 int len, u32 *val) in gg2_read_config() 62 int len, u32 val) in gg2_write_config() 98 int len, u32 *val) in rtas_read_config() 113 int len, u32 val) in rtas_write_config() 137 struct resource r; in hydra_init() local 167 u32 val; in setup_python() local 168 struct resource r; in setup_python() local 217 struct resource r; in chrp_find_bridges() local
|
/linux-6.14.4/drivers/base/regmap/ |
D | regmap-raw-ram.c | 21 const u16 *r = reg; in decode_reg() local 31 const void *val, size_t val_len) in regmap_raw_ram_gather_write() 34 unsigned int r; in regmap_raw_ram_gather_write() local 65 void *val, size_t val_len) in regmap_raw_ram_read() 68 unsigned int r; in regmap_raw_ram_read() local
|
/linux-6.14.4/tools/testing/selftests/kvm/arm64/ |
D | no-vgic-v3.c | 12 #define __check_sr_read(r) \ argument 22 #define __check_sr_write(r) \ argument 31 #define check_sr_read(r) \ argument 37 #define check_sr_write(r) \ argument 43 #define check_sr_rw(r) \ argument 51 uint64_t val; in guest_code() local
|
/linux-6.14.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dss.c | 59 #define REG_FLD_MOD(idx, val, start, end) \ argument 114 static inline void dss_write_reg(const struct dss_reg idx, u32 val) in dss_write_reg() 170 unsigned val; in dss_ctrl_pll_enable() local 199 unsigned shift, val; in dss_ctrl_pll_set_control_mux() local 375 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(r)) in dss_dump_regs() argument 557 int r; in dss_set_fck_rate() local 584 int r; in dss_setup_default_clock() local 663 int val; in dss_dpi_select_source_omap4() local 683 int val; in dss_dpi_select_source_omap5() local 767 int r; in dss_runtime_get() local [all …]
|