Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 132) sorted by relevance

123456

/tools/firewire/
Dnosy-dump.h15 uint32_t timestamp;
18 uint32_t zero:24;
19 uint32_t phy_id:6;
20 uint32_t identifier:2;
24 uint32_t zero:16;
25 uint32_t gap_count:6;
26 uint32_t set_gap_count:1;
27 uint32_t set_root:1;
28 uint32_t root_id:6;
29 uint32_t identifier:2;
[all …]
Ddecode-fcp.c136 uint32_t operand0:8;
137 uint32_t opcode:8;
138 uint32_t subunit_id:3;
139 uint32_t subunit_type:5;
140 uint32_t ctype:4;
141 uint32_t cts:4;
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.h119 uint32_t mask[INTEL_PT_BLK_TYPE_CNT];
121 uint32_t has_rflags:1;
122 uint32_t has_rip:1;
123 uint32_t has_rax:1;
124 uint32_t has_rcx:1;
125 uint32_t has_rdx:1;
126 uint32_t has_rbx:1;
127 uint32_t has_rsp:1;
128 uint32_t has_rbp:1;
129 uint32_t has_rsi:1;
[all …]
/tools/testing/selftests/powerpc/nx-gzip/include/
Dnxu.h75 uint32_t word[4];
89 uint32_t dde_count;
99 uint32_t ddebc; /* dde byte count */
106 uint32_t csb_v;
112 uint32_t csb_f;
115 uint32_t csb_cs;
118 uint32_t csb_cc;
121 uint32_t csb_ce;
125 uint32_t tpbc;
138 uint32_t reserved[3];
[all …]
/tools/testing/selftests/kvm/include/
Dkvm_util.h66 int vcpu_enable_cap(struct kvm_vm *vm, uint32_t vcpu_id,
68 void vm_enable_dirty_ring(struct kvm_vm *vm, uint32_t ring_size);
76 uint64_t first_page, uint32_t num_pages);
82 uint32_t data_memslot, uint32_t pgd_memslot);
102 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid,
109 uint64_t guest_paddr, uint32_t slot, uint64_t npages,
110 uint32_t flags);
112 void vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, unsigned long ioctl,
114 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, unsigned long ioctl,
117 void vm_mem_region_set_flags(struct kvm_vm *vm, uint32_t slot, uint32_t flags);
[all …]
/tools/power/cpupower/debug/i386/
Dpowernow-k8-decode.c27 static int get_fidvid(uint32_t cpu, uint32_t *fid, uint32_t *vid) in get_fidvid()
46 *fid = ((uint32_t )(msr & 0xffffffffull)) & MSR_S_LO_CURRENT_FID; in get_fidvid()
47 *vid = ((uint32_t )(msr>>32 & 0xffffffffull)) & MSR_S_HI_CURRENT_VID; in get_fidvid()
57 static uint32_t find_freq_from_fid(uint32_t fid) in find_freq_from_fid()
63 static uint32_t find_millivolts_from_vid(uint32_t vid) in find_millivolts_from_vid()
72 uint32_t fid, vid; in main()
/tools/perf/util/
Djitdump.h38 uint32_t magic; /* characters "jItD" */
39 uint32_t version; /* header version */
40 uint32_t total_size; /* total size of header */
41 uint32_t elf_mach; /* elf mach target */
42 uint32_t pad1; /* reserved */
43 uint32_t pid; /* JIT process id */
60 uint32_t id;
61 uint32_t total_size;
68 uint32_t pid;
69 uint32_t tid;
[all …]
/tools/testing/selftests/powerpc/cache_shape/
Dcache_shape.c31 static void print_size(const char *label, uint32_t val) in print_size()
36 static void print_geo(const char *label, uint32_t val) in print_geo()
64 print_size("L1I ", (uint32_t)p->a_un.a_val); in test_cache_shape()
70 print_geo("L1I ", (uint32_t)p->a_un.a_val); in test_cache_shape()
76 print_size("L1D ", (uint32_t)p->a_un.a_val); in test_cache_shape()
82 print_geo("L1D ", (uint32_t)p->a_un.a_val); in test_cache_shape()
88 print_size("L2 ", (uint32_t)p->a_un.a_val); in test_cache_shape()
94 print_geo("L2 ", (uint32_t)p->a_un.a_val); in test_cache_shape()
100 print_size("L3 ", (uint32_t)p->a_un.a_val); in test_cache_shape()
106 print_geo("L3 ", (uint32_t)p->a_un.a_val); in test_cache_shape()
/tools/usb/usbip/libsrc/
Dvhci_driver.h25 uint32_t status;
27 uint32_t devid;
55 int usbip_vhci_get_free_port(uint32_t speed);
56 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid,
57 uint32_t speed);
61 uint8_t devnum, uint32_t speed);
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h66 uint32_t base3;
67 uint32_t zero1;
83 uint32_t eax, edx; in rdtsc()
96 static inline uint64_t rdtscp(uint32_t *aux) in rdtscp()
98 uint32_t eax, edx; in rdtscp()
104 static inline uint64_t rdmsr(uint32_t msr) in rdmsr()
106 uint32_t a, d; in rdmsr()
113 static inline void wrmsr(uint32_t msr, uint64_t value) in wrmsr()
115 uint32_t a = value; in wrmsr()
116 uint32_t d = value >> 32; in wrmsr()
[all …]
/tools/testing/selftests/bpf/progs/
Dprofiler.h57 uint32_t ancestor_exec_ids[MAX_ANCESTORS];
59 uint32_t num_ancestors;
65 uint32_t exec_id;
69 uint32_t cpu_id;
101 uint32_t kill_count;
113 uint32_t parent_exec_id;
125 uint32_t parent_exec_id;
135 uint32_t src_device_id;
136 uint32_t dst_device_id;
150 uint32_t stale_info_secs;
Dtest_seg6_loop.c88 uint32_t new_pad, uint32_t old_pad, in update_tlv_pad()
89 uint32_t pad_off) in update_tlv_pad()
119 uint32_t *tlv_off, in is_valid_tlv_boundary()
120 uint32_t *pad_size, in is_valid_tlv_boundary()
121 uint32_t *pad_off) in is_valid_tlv_boundary()
123 uint32_t srh_off, cur_off; in is_valid_tlv_boundary()
180 struct ip6_srh_t *srh, uint32_t tlv_off, in add_tlv()
183 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv()
185 uint32_t pad_off = 0; in add_tlv()
186 uint32_t pad_size = 0; in add_tlv()
[all …]
Dtest_lwt_seg6local.c88 int update_tlv_pad(struct __sk_buff *skb, uint32_t new_pad, in update_tlv_pad()
89 uint32_t old_pad, uint32_t pad_off) in update_tlv_pad()
119 uint32_t *tlv_off, uint32_t *pad_size, in is_valid_tlv_boundary()
120 uint32_t *pad_off) in is_valid_tlv_boundary()
122 uint32_t srh_off, cur_off; in is_valid_tlv_boundary()
177 int add_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, uint32_t tlv_off, in add_tlv()
180 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv()
182 uint32_t pad_off = 0; in add_tlv()
183 uint32_t pad_size = 0; in add_tlv()
184 uint32_t partial_srh_len; in add_tlv()
[all …]
Dcore_reloc_types.h600 uint32_t u32_field;
613 uint32_t s32_field;
623 uint32_t u32_field;
712 uint32_t ub7: 7;
717 uint32_t u32;
725 uint32_t ub2: 20; /* 2 -> 20 */
749 uint32_t ub7;
750 uint32_t sb4;
751 uint32_t sb20;
752 uint32_t u32;
[all …]
/tools/usb/usbip/src/
Dusbip_network.h31 uint32_t status; /* op_code status (for reply) */
129 uint32_t key[4];
133 uint32_t __reserved;
147 uint32_t ndev;
163 uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num);
170 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status);
/tools/include/tools/
Dbe_byteshift.h12 static inline uint32_t __get_unaligned_be32(const uint8_t *p) in __get_unaligned_be32()
29 static inline void __put_unaligned_be32(uint32_t val, uint8_t *p) in __put_unaligned_be32()
46 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32()
61 static inline void put_unaligned_be32(uint32_t val, void *p) in put_unaligned_be32()
Dle_byteshift.h12 static inline uint32_t __get_unaligned_le32(const uint8_t *p) in __get_unaligned_le32()
29 static inline void __put_unaligned_le32(uint32_t val, uint8_t *p) in __put_unaligned_le32()
46 static inline uint32_t get_unaligned_le32(const void *p) in get_unaligned_le32()
61 static inline void put_unaligned_le32(uint32_t val, void *p) in put_unaligned_le32()
/tools/testing/selftests/net/
Dipv6_flowlabel.c33 #define FLOWLABEL_WILDCARD ((uint32_t) -1)
36 static uint32_t cfg_label = 1;
38 static void do_send(int fd, bool with_flowlabel, uint32_t flowlabel) in do_send()
58 *(uint32_t *)CMSG_DATA(cm) = htonl(flowlabel); in do_send()
74 static void do_recv(int fd, bool with_flowlabel, uint32_t expect) in do_recv()
81 uint32_t flowlabel; in do_recv()
114 flowlabel = ntohl(*(uint32_t *)CMSG_DATA(cm)); in do_recv()
147 static void flowlabel_get(int fd, uint32_t label, uint8_t share, uint16_t flags) in flowlabel_get()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c102 int vcpu_enable_cap(struct kvm_vm *vm, uint32_t vcpu_id, in vcpu_enable_cap()
319 uint64_t first_page, uint32_t num_pages) in kvm_vm_clear_dirty_log()
411 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_find()
604 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_userspace_mem_region_add()
605 uint32_t flags) in vm_userspace_mem_region_add()
744 memslot2region(struct kvm_vm *vm, uint32_t memslot) in memslot2region()
775 void vm_mem_region_set_flags(struct kvm_vm *vm, uint32_t slot, uint32_t flags) in vm_mem_region_set_flags()
805 void vm_mem_region_move(struct kvm_vm *vm, uint32_t slot, uint64_t new_gpa) in vm_mem_region_move()
834 void vm_mem_region_delete(struct kvm_vm *vm, uint32_t slot) in vm_mem_region_delete()
884 void vm_vcpu_add(struct kvm_vm *vm, uint32_t vcpuid) in vm_vcpu_add()
[all …]
Dkvm_util_internal.h28 uint32_t id;
57 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid);
111 memslot2region(struct kvm_vm *vm, uint32_t memslot);
/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h39 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t *addr) in get_reg()
47 static inline void set_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t val) in set_reg()
56 void aarch64_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid,
/tools/testing/selftests/powerpc/pmu/ebb/
Debb.h36 static inline uint32_t pmc_sample_period(uint32_t value) in pmc_sample_period()
60 int count_pmc(int pmc, uint32_t sample_period);
/tools/testing/selftests/bpf/
Dtest_tag.c91 static void tag_from_fdinfo(int fd_prog, uint8_t *tag, uint32_t len) in tag_from_fdinfo()
114 static void tag_from_alg(int insns, uint8_t *tag, uint32_t len) in tag_from_alg()
144 static void tag_dump(const char *prefix, uint8_t *tag, uint32_t len) in tag_dump()
155 uint8_t *atag, uint32_t len) in tag_exit_report()
165 static void do_test(uint32_t *tests, int start_insns, int fd_map, in do_test()
187 uint32_t tests = 0; in main()
/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c18 void virt_pgd_alloc(struct kvm_vm *vm, uint32_t memslot) in virt_pgd_alloc()
41 static uint64_t virt_alloc_region(struct kvm_vm *vm, int ri, uint32_t memslot) in virt_alloc_region()
55 uint32_t memslot) in virt_pg_map()
163 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages, in vm_create_default()
183 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default()
214 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set()
234 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump()
245 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception()
/tools/perf/Documentation/
Dperf.data-file-format.txt54 uint32_t len;
61 uint32_t nr;
113 uint32_t nr_cpus_available; /* CPUs not yet onlined */
114 uint32_t nr_cpus_online;
142 uint32_t nr; /* number of events */
143 uint32_t attr_size; /* size of each perf_event_attr */
146 uint32_t nr_ids;
171 uint32_t core_id;
172 uint32_t socket_id;
182 uint32_t die_id[nr_cpus_avail]; /* from previously processed HEADER_NR_CPUS, VLA */
[all …]

123456