| /tools/include/linux/ |
| D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) argument 18 #define hash_long(val, bits) hash_64(val, bits) argument 60 static inline u32 __hash_32_generic(u32 val) in __hash_32_generic() 68 static inline u32 hash_32_generic(u32 val, unsigned int bits) in hash_32_generic() 77 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic() 96 unsigned long val = (unsigned long)ptr; in hash32_ptr() local
|
| /tools/include/tools/ |
| D | le_byteshift.h | 23 static inline void __put_unaligned_le16(uint16_t val, uint8_t *p) in __put_unaligned_le16() 29 static inline void __put_unaligned_le32(uint32_t val, uint8_t *p) in __put_unaligned_le32() 35 static inline void __put_unaligned_le64(uint64_t val, uint8_t *p) in __put_unaligned_le64() 56 static inline void put_unaligned_le16(uint16_t val, void *p) in put_unaligned_le16() 61 static inline void put_unaligned_le32(uint32_t val, void *p) in put_unaligned_le32() 66 static inline void put_unaligned_le64(uint64_t val, void *p) in put_unaligned_le64()
|
| D | be_byteshift.h | 23 static inline void __put_unaligned_be16(uint16_t val, uint8_t *p) in __put_unaligned_be16() 29 static inline void __put_unaligned_be32(uint32_t val, uint8_t *p) in __put_unaligned_be32() 35 static inline void __put_unaligned_be64(uint64_t val, uint8_t *p) in __put_unaligned_be64() 56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() 61 static inline void put_unaligned_be32(uint32_t val, void *p) in put_unaligned_be32() 66 static inline void put_unaligned_be64(uint64_t val, void *p) in put_unaligned_be64()
|
| D | config.h | 8 #define __take_second_arg(__ignored, val, ...) val argument 24 #define ___is_defined(val) ____is_defined(__ARG_PLACEHOLDER_##val) argument
|
| /tools/virtio/linux/ |
| D | virtio_config.h | 64 static inline u16 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) in virtio16_to_cpu() 69 static inline __virtio16 cpu_to_virtio16(struct virtio_device *vdev, u16 val) in cpu_to_virtio16() 74 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() 79 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() 84 static inline u64 virtio64_to_cpu(struct virtio_device *vdev, __virtio64 val) in virtio64_to_cpu() 89 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64()
|
| /tools/power/cpupower/utils/helpers/ |
| D | msr.c | 27 int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() 56 int write_msr(int cpu, unsigned int idx, unsigned long long val) in write_msr() 78 unsigned long long val; in msr_intel_get_perf_bias() local 90 int msr_intel_set_perf_bias(unsigned int cpu, unsigned int val) in msr_intel_set_perf_bias() 105 unsigned long long val; in msr_intel_get_turbo_ratio() local
|
| /tools/perf/scripts/python/ |
| D | stat-cpi.py | 23 def store(time, event, cpu, thread, val, ena, run): argument 35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument 38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument 41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument 44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument 47 def stat__cycles(cpu, thread, time, val, ena, run): argument 50 def stat__instructions(cpu, thread, time, val, ena, run): argument
|
| /tools/perf/util/ |
| D | perf_event_attr_fprintf.c | 73 #define p_hex(val) snprintf(buf, BUF_SIZE, "%#"PRIx64, (uint64_t)(val)) argument 74 #define p_unsigned(val) snprintf(buf, BUF_SIZE, "%"PRIu64, (uint64_t)(val)) argument 75 #define p_signed(val) snprintf(buf, BUF_SIZE, "%"PRId64, (int64_t)(val)) argument 76 #define p_sample_type(val) __p_sample_type(buf, BUF_SIZE, val) argument 77 #define p_branch_sample_type(val) __p_branch_sample_type(buf, BUF_SIZE, val) argument 78 #define p_read_format(val) __p_read_format(buf, BUF_SIZE, val) argument
|
| /tools/include/uapi/linux/ |
| D | lirc.h | 24 #define LIRC_SPACE(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_SPACE) argument 25 #define LIRC_PULSE(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_PULSE) argument 26 #define LIRC_FREQUENCY(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_FREQUENCY) argument 27 #define LIRC_TIMEOUT(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_TIMEOUT) argument 29 #define LIRC_VALUE(val) ((val)&LIRC_VALUE_MASK) argument 30 #define LIRC_MODE2(val) ((val)&LIRC_MODE2_MASK) argument 32 #define LIRC_IS_SPACE(val) (LIRC_MODE2(val) == LIRC_MODE2_SPACE) argument 33 #define LIRC_IS_PULSE(val) (LIRC_MODE2(val) == LIRC_MODE2_PULSE) argument 34 #define LIRC_IS_FREQUENCY(val) (LIRC_MODE2(val) == LIRC_MODE2_FREQUENCY) argument 35 #define LIRC_IS_TIMEOUT(val) (LIRC_MODE2(val) == LIRC_MODE2_TIMEOUT) argument
|
| /tools/power/pm-graph/ |
| D | bootgraph.py | 105 def setGraphFilter(self, val): argument 920 val = next(args) variable 926 val = next(args) variable 937 val = next(args) variable 950 val = next(args) variable 959 val = next(args) variable 972 val = next(args) variable 981 val = next(args) variable 987 val = next(args) variable 1001 val = next(args) variable
|
| /tools/testing/selftests/powerpc/dscr/ |
| D | dscr.h | 51 inline void set_dscr(unsigned long val) in set_dscr() 66 inline void set_dscr_usr(unsigned long val) in set_dscr_usr() 76 unsigned long val; in get_default_dscr() local 97 void set_default_dscr(unsigned long val) in set_default_dscr()
|
| D | dscr_sysfs_thread_test.c | 15 static int test_thread_dscr(unsigned long val) in test_thread_dscr() 36 static int check_cpu_dscr_thread(unsigned long val) in check_cpu_dscr_thread()
|
| /tools/testing/radix-tree/linux/ |
| D | percpu.h | 2 #define DECLARE_PER_CPU(type, val) extern type val argument 3 #define DEFINE_PER_CPU(type, val) type val argument 8 #define this_cpu_xchg(var, val) uatomic_xchg(&var, val) argument
|
| /tools/testing/selftests/futex/include/ |
| D | futextest.h | 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, in futex_wait_requeue_pi() 200 futex_cmp_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue_pi()
|
| /tools/testing/selftests/powerpc/ptrace/ |
| D | ptrace-gpr.h | 21 int validate_gpr(unsigned long *gpr, unsigned long val) in validate_gpr() 39 int validate_fpr(unsigned long *fpr, unsigned long val) in validate_fpr() 56 int validate_fpr_float(float *fpr, float val) in validate_fpr_float()
|
| /tools/perf/arch/x86/tests/ |
| D | insn-x86.c | 39 int val; in get_op() member 53 struct val_data *val; in get_op() local 72 int val; in get_branch() member 80 struct val_data *val; in get_branch() local
|
| /tools/lib/traceevent/plugins/ |
| D | plugin_sched_switch.c | 27 static void write_state(struct trace_seq *s, int val) in write_state() 73 unsigned long long val; in sched_wakeup_handler() local 102 unsigned long long val; in sched_switch_handler() local
|
| /tools/perf/bench/ |
| D | futex.h | 36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 44 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() 83 futex_cmp_requeue(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, int nr_wake, in futex_cmp_requeue()
|
| /tools/include/linux/unaligned/ |
| D | packed_struct.h | 29 static inline void __put_unaligned_cpu16(u16 val, void *p) in __put_unaligned_cpu16() 35 static inline void __put_unaligned_cpu32(u32 val, void *p) in __put_unaligned_cpu32() 41 static inline void __put_unaligned_cpu64(u64 val, void *p) in __put_unaligned_cpu64()
|
| /tools/iio/ |
| D | iio_utils.c | 655 static int _write_sysfs_int(const char *filename, const char *basedir, int val, in _write_sysfs_int() 732 int write_sysfs_int(const char *filename, const char *basedir, int val) in write_sysfs_int() 747 int val) in write_sysfs_int_and_verify() 753 const char *val, int verify) in _write_sysfs_string() 833 const char *val) in write_sysfs_string_and_verify() 847 const char *val) in write_sysfs_string() 907 int read_sysfs_float(const char *filename, const char *basedir, float *val) in read_sysfs_float()
|
| /tools/testing/selftests/powerpc/pmu/ebb/ |
| D | cycles_with_freeze_test.c | 26 uint64_t mask, val; in ebb_callee() local 56 uint64_t val; in cycles_with_freeze() local
|
| /tools/perf/tests/ |
| D | expr.c | 11 double val; in test() local 23 double val; in test__expr() local
|
| /tools/power/cpupower/utils/idle_monitor/ |
| D | hsw_ext_idle.c | 62 static int hsw_ext_get_count(enum intel_hsw_ext_id id, unsigned long long *val, in hsw_ext_get_count() 116 unsigned long long val; in hsw_ext_start() local 130 unsigned long long val; in hsw_ext_stop() local
|
| D | snb_idle.c | 60 static int snb_get_count(enum intel_snb_id id, unsigned long long *val, in snb_get_count() 114 unsigned long long val; in snb_start() local 128 unsigned long long val; in snb_stop() local
|
| /tools/usb/usbip/src/ |
| D | usbip_network.c | 204 const int val = 1; in usbip_net_set_reuseaddr() local 216 const int val = 1; in usbip_net_set_nodelay() local 228 const int val = 1; in usbip_net_set_keepalive() local 240 const int val = 1; in usbip_net_set_v6only() local
|