/linux-master/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.h | 27 /* BPF iter that returns *value* *n* times in a row */ 29 s64 value; member in struct:bpf_iter_testmod_seq 50 int (*tramp_1)(int value); 51 int (*tramp_2)(int value); 52 int (*tramp_3)(int value); 53 int (*tramp_4)(int value); 54 int (*tramp_5)(int value); 55 int (*tramp_6)(int value); 56 int (*tramp_7)(int value); 57 int (*tramp_8)(int value); [all...] |
/linux-master/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_common.c | 12 int cxd2880_convert2s_complement(u32 value, u32 bitlen) argument 15 return (int)value; 17 if (value & (u32)(1 << (bitlen - 1))) 18 return (int)(GENMASK(31, bitlen) | value); 20 return (int)(GENMASK(bitlen - 1, 0) & value);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_test_kern6.c | 13 void *value = ctx->value; local 15 if (value == (void *)0) 19 value_sum += *(__u32 *)(value - 4);
|
H A D | sample_map_ret0.c | 8 __type(value, long); 15 __type(value, long); 24 long *value; local 26 value = bpf_map_lookup_elem(&htab, &key); 27 if (!value) 29 value = bpf_map_lookup_elem(&array, &key64); 30 if (!value)
|
H A D | test_sk_storage_trace_itself.c | 12 __type(value, int); 18 int *value; local 20 value = bpf_sk_storage_get(&sk_stg_map, sk, 0, 23 if (value) 24 *value = 1;
|
H A D | read_bpf_task_storage_busy.c | 19 __type(value, long); 25 int *value; local 33 value = bpf_this_cpu_ptr(&bpf_task_storage_busy); 34 if (value) 35 busy = *value;
|
/linux-master/drivers/usb/dwc3/ |
H A D | io.h | 21 u32 value; local 28 value = readl(base + offset - DWC3_GLOBALS_REGS_START); 35 trace_dwc3_readl(base - DWC3_GLOBALS_REGS_START, offset, value); 37 return value; 40 static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) argument 47 writel(value, base + offset - DWC3_GLOBALS_REGS_START); 54 trace_dwc3_writel(base - DWC3_GLOBALS_REGS_START, offset, value);
|
/linux-master/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-crypto.h | 31 #define write_octeon_64bit_hash_dword(value, index) \ 36 : [rt] "d" (cpu_to_be64(value))); \ 57 #define write_octeon_64bit_block_dword(value, index) \ 62 : [rt] "d" (cpu_to_be64(value))); \ 66 * The value is the final block dword (64-bit). 68 #define octeon_md5_start(value) \ 73 : [rt] "d" (cpu_to_be64(value))); \ 77 * The value is the final block dword (64-bit). 79 #define octeon_sha1_start(value) \ 84 : [rt] "d" (value)); \ [all...] |
/linux-master/drivers/gpu/drm/amd/display/include/ |
H A D | fixed31_32.h | 58 long long value; member in struct:fixed31_32 91 res.value = (long long) arg << FIXED31_32_BITS_PER_FRACTIONAL_PART; 109 res.value = -arg.value; 120 if (arg.value < 0) 137 return arg1.value < arg2.value; 146 return arg1.value <= arg2.value; 155 return arg1.value [all...] |
/linux-master/tools/perf/util/ |
H A D | color_config.c | 12 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty) argument 14 if (value) { 15 if (!strcasecmp(value, "never")) 17 if (!strcasecmp(value, "always")) 19 if (!strcasecmp(value, "auto")) 24 if (!perf_config_bool(var, value)) 27 /* any normal truth value defaults to 'auto' */ 39 int perf_color_default_config(const char *var, const char *value, argument 43 perf_use_color_default = perf_config_colorbool(var, value, -1);
|
/linux-master/include/linux/ |
H A D | int_log.h | 14 * intlog2 - computes log2 of a value; the result is shifted left by 24 bits 16 * @value: The value (must be != 0) 20 * intlog2(value) = intlog2(value * 2^x) - x * 2^24 31 * return: log2(value) * 2^24 33 extern unsigned int intlog2(u32 value); 36 * intlog10 - computes log10 of a value; the result is shifted left by 24 bits 38 * @value: The value (mus [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_getparam.c | 22 int value = 0; local 32 value = pdev->device; 35 value = pdev->revision; 38 value = to_gt(i915)->ggtt->num_fences; 41 value = !!i915->display.overlay; 44 value = !!intel_engine_lookup_user(i915, 48 value = !!intel_engine_lookup_user(i915, 52 value = !!intel_engine_lookup_user(i915, 56 value = !!intel_engine_lookup_user(i915, 60 value [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_opp_csc_v.c | 52 * value = UNDERLAY_SATURATION_MAX /UNDERLAY_SATURATION_DIVIDER 127 uint32_t value = 0; local 131 value, 137 value, 142 dm_write_reg(ctx, addr, value); 145 uint32_t value = 0; local 149 value, 155 value, 160 dm_write_reg(ctx, addr, value); 163 uint32_t value local 181 uint32_t value = 0; local 199 uint32_t value = 0; local 217 uint32_t value = 0; local 241 uint32_t value = 0; local 259 uint32_t value = 0; local 277 uint32_t value = 0; local 295 uint32_t value = 0; local 313 uint32_t value = 0; local 331 uint32_t value = 0; local 366 uint32_t value = dm_read_reg(ctx, addr); local 465 uint32_t value = dm_read_reg(xfm->ctx, mmDENORM_CLAMP_CONTROL); local 538 uint32_t value; local [all...] |
H A D | dce110_opp_regamma_v.c | 37 uint32_t value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); local 43 value, 49 value, 56 value, 62 value, 68 dm_write_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL, value); 71 value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); 72 if (get_reg_field_value(value, 75 get_reg_field_value(value, 86 uint32_t value; local 103 uint32_t value = 0; local 134 uint32_t value = 0; local 454 uint32_t value = 0; local 521 uint32_t value = dm_read_reg(xfm->ctx, mmDCFEV_MEM_PWR_CTRL); local [all...] |
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | evmcs.h | 271 static inline int evmcs_vmptrst(uint64_t *value) argument 273 *value = current_vp_assist->current_nested_vmcs & 279 static inline int evmcs_vmread(uint64_t encoding, uint64_t *value) argument 283 *value = current_evmcs->guest_rip; 286 *value = current_evmcs->guest_rsp; 289 *value = current_evmcs->guest_rflags; 292 *value = current_evmcs->host_ia32_pat; 295 *value = current_evmcs->host_ia32_efer; 298 *value = current_evmcs->host_cr0; 301 *value 678 evmcs_vmwrite(uint64_t encoding, uint64_t value) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | bw_fixed.h | 33 int64_t value; member in struct:bw_fixed 45 return (arg1.value <= arg2.value) ? arg1 : arg2; 51 return (arg2.value <= arg1.value) ? arg1 : arg2; 68 struct bw_fixed bw_int_to_fixed_nonconst(int64_t value); 69 static inline struct bw_fixed bw_int_to_fixed(int64_t value) argument 71 if (__builtin_constant_p(value)) { 73 BUILD_BUG_ON(value > BW_FIXED_MAX_I32 || value < BW_FIXED_MIN_I3 80 bw_fixed_to_int(struct bw_fixed value) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | bw_fixed.c | 49 struct bw_fixed bw_int_to_fixed_nonconst(int64_t value) argument 53 ASSERT(value < BW_FIXED_MAX_I32 && value > BW_FIXED_MIN_I32); 54 res.value = value << BW_FIXED_BITS_PER_FRACTIONAL_PART; 103 res.value = (int64_t)(res_value); 106 res.value = -res.value; 116 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | attr.h | 20 void *value; member in struct:xchk_xattr_buf
|
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_utils.c | 11 u32 value = csrrd32(ioaddr, offs); local 12 value |= bit_mask; 13 csrwr32(value, ioaddr, offs); 18 u32 value = csrrd32(ioaddr, offs); local 19 value &= ~bit_mask; 20 csrwr32(value, ioaddr, offs); 25 u32 value = csrrd32(ioaddr, offs); local 26 return (value & bit_mask) ? 1 : 0; 31 u32 value = csrrd32(ioaddr, offs); local 32 return (value [all...] |
/linux-master/tools/lib/api/fs/ |
H A D | fs.h | 45 int filename__read_int(const char *filename, int *value); 46 int filename__read_ull(const char *filename, unsigned long long *value); 47 int filename__read_xll(const char *filename, unsigned long long *value); 50 int filename__write_int(const char *filename, int value); 54 int sysctl__read_int(const char *sysctl, int *value); 55 int sysfs__read_int(const char *entry, int *value); 56 int sysfs__read_ull(const char *entry, unsigned long long *value); 57 int sysfs__read_xll(const char *entry, unsigned long long *value); 59 int sysfs__read_bool(const char *entry, bool *value); 61 int sysfs__write_int(const char *entry, int value); [all...] |
/linux-master/arch/csky/abiv1/inc/abi/ |
H A D | ckmmu.h | 12 static inline void write_mmu_index(int value) argument 14 cpwcr("cpcr0", value); 27 static inline void write_mmu_pagemask(int value) argument 29 cpwcr("cpcr6", value); 37 static inline void write_mmu_entryhi(int value) argument 39 cpwcr("cpcr4", value); 47 static inline void write_mmu_msa0(unsigned long value) argument 49 cpwcr("cpcr30", value); 57 static inline void write_mmu_msa1(unsigned long value) argument 59 cpwcr("cpcr31", value); [all...] |
/linux-master/arch/csky/abiv2/inc/abi/ |
H A D | ckmmu.h | 14 static inline void write_mmu_index(int value) argument 16 mtcr("cr<0, 15>", value); 29 static inline void write_mmu_pagemask(int value) argument 31 mtcr("cr<6, 15>", value); 39 static inline void write_mmu_entryhi(int value) argument 41 mtcr("cr<4, 15>", value); 49 static inline void write_mmu_msa0(unsigned long value) argument 51 mtcr("cr<30, 15>", value); 59 static inline void write_mmu_msa1(unsigned long value) argument 61 mtcr("cr<31, 15>", value); [all...] |
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.h | 389 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ 390 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0)) 391 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ 392 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8)) 393 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ 394 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16)) 395 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ 396 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0)) 405 #define FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, value) \ 406 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMAS [all...] |
/linux-master/arch/riscv/include/asm/ |
H A D | hwprobe.h | 37 return (pair->value & other_pair->value) == other_pair->value; 39 return pair->value == other_pair->value;
|
/linux-master/drivers/media/usb/stk1160/ |
H A D | stk1160-ac97.c | 24 u8 value; local 28 stk1160_read_reg(dev, STK1160_AC97CTL_0, &value); 30 if (!(value & (STK1160_AC97CTL_0_CR | STK1160_AC97CTL_0_CW))) 40 static void stk1160_write_ac97(struct stk1160 *dev, u16 reg, u16 value) argument 46 stk1160_write_reg(dev, STK1160_AC97_CMD, value & 0xff); 47 stk1160_write_reg(dev, STK1160_AC97_CMD + 1, (value & 0xff00) >> 8); 73 /* Retrieve register value */ 82 u16 value; local 84 value = stk1160_read_ac97(dev, 0x12); /* CD volume */ 85 stk1160_dbg("0x12 == 0x%04x", value); 109 u8 value; local 117 u8 value; local [all...] |