| /lib/fixed_point/include/lib/ |
| A D | fixed_point_debug.h | 60 debug_mul_u32_u32(uint32_t a, uint32_t b, int a_shift, int b_shift, uint64_t ret) { in debug_mul_u32_u32() 66 (uint32_t)(ret >> 32), in debug_mul_u32_u32() 68 (uint32_t)ret, in debug_mul_u32_u32() 74 debug_u64_mul_u32_fp32_64(uint32_t a, struct fp_32_64 b, uint64_t res_0, uint32_t res_l32_32, uint6… in debug_u64_mul_u32_fp32_64() 79 (uint32_t)(res_0 >> 32), (uint32_t)res_0, res_l32_32); in debug_u64_mul_u32_fp32_64() 83 (uint32_t)(ret >> 32), (uint32_t)ret); in debug_u64_mul_u32_fp32_64() 92 (uint32_t)(a >> 32), (uint32_t)a, b.l0, b.l32, b.l64, in debug_u32_mul_u64_fp32_64() 93 (uint32_t)(res_l32 >> 32), (uint32_t)res_l32); in debug_u32_mul_u64_fp32_64() 106 (uint32_t)(a >> 32), (uint32_t)a, b.l0, b.l32, b.l64, in debug_u64_mul_u64_fp32_64() 107 (uint32_t)(res_0 >> 32), (uint32_t)res_0, res_l32_32); in debug_u64_mul_u64_fp32_64() [all …]
|
| A D | fixed_point.h | 26 fp_32_64_div_32_32(struct fp_32_64 *result, uint32_t dividend, uint32_t divisor) { in fp_32_64_div_32_32() 28 uint32_t rem; in fp_32_64_div_32_32() 39 mul_u32_u32(uint32_t a, uint32_t b, int a_shift, int b_shift) { in mul_u32_u32() 50 uint32_t res_l32_32; in u64_mul_u32_fp32_64() 56 res_l32 = (uint32_t)tmp; in u64_mul_u32_fp32_64() 67 static uint32_t 69 uint32_t a_r32 = a >> 32; in u32_mul_u64_fp32_64() 70 uint32_t a_0 = a; in u32_mul_u64_fp32_64() 72 uint32_t ret; in u32_mul_u64_fp32_64() 90 uint32_t a_0 = a; in u64_mul_u64_fp32_64() [all …]
|
| /lib/fs/ext2/ |
| A D | ext2_fs.h | 81 uint32_t bg_reserved[3]; 107 uint32_t i_atime; /* Access time */ 114 uint32_t i_flags; /* File flags */ 117 uint32_t l_i_reserved1; 120 uint32_t h_i_translator; 123 uint32_t m_i_reserved1; 128 uint32_t i_file_acl; /* File ACL */ 138 uint32_t l_i_reserved2; 146 uint32_t h_i_author; 152 uint32_t m_i_reserved2[2]; [all …]
|
| /lib/fs/fat/ |
| A D | fat_fs.h | 18 uint32_t bytes_per_sector = 0; 20 uint32_t bytes_per_cluster = 0; 21 uint32_t reserved_sectors = 0; 22 uint32_t fat_bits = 0; 23 uint32_t fat_count = 0; 24 uint32_t sectors_per_fat = 0; 25 uint32_t total_sectors = 0; 26 uint32_t active_fat = 0; 28 uint32_t total_clusters = 0; 29 uint32_t root_cluster = 0; [all …]
|
| A D | fat_priv.h | 25 uint32_t fat_next_cluster_in_chain(fat_fs *fat, uint32_t cluster); 26 uint32_t file_offset_to_cluster(fat_fs *fat, uint32_t start_cluster, off_t offset); 29 uint32_t fat_sector_for_cluster(fat_fs *fat, uint32_t cluster); 30 ssize_t fat_read_cluster(fat_fs *fat, void *buf, uint32_t cluster); 35 uint32_t length; 36 uint32_t start_cluster; 42 uint32_t starting_dir_cluster; 43 uint32_t dir_offset;
|
| A D | fat.cpp | 20 uint32_t fat_next_cluster_in_chain(fat_fs *fat, uint32_t cluster) { in fat_next_cluster_in_chain() 24 uint32_t fat_offset; in fat_next_cluster_in_chain() 34 const uint32_t fat_sector = fat_offset / fat->info().bytes_per_sector; in fat_next_cluster_in_chain() 35 uint32_t bnum = fat->info().reserved_sectors + fat_sector; in fat_next_cluster_in_chain() 36 const uint32_t fat_offset_in_sector = fat_offset % fat->info().bytes_per_sector; in fat_next_cluster_in_chain() 46 uint32_t next_cluster; in fat_next_cluster_in_chain() 48 const auto *table = (const uint32_t *)cache_ptr; in fat_next_cluster_in_chain() 113 uint32_t file_offset_to_cluster(fat_fs *fat, uint32_t start_cluster, off_t offset) { in file_offset_to_cluster() 124 uint32_t found_cluster = start_cluster; in file_offset_to_cluster() 138 uint32_t fat_sector_for_cluster(fat_fs *fat, uint32_t cluster) { in fat_sector_for_cluster() [all …]
|
| A D | file_iterator.h | 27 file_block_iterator(fat_fs *_fat, uint32_t starting_cluster); 40 status_t next_sectors(uint32_t sectors); 46 uint32_t get_sector_inc_count() const { return sector_inc_count; } in get_sector_inc_count() 55 uint32_t cluster; // current cluster we're on 56 uint32_t sector_offset; // sector number within cluster 57 … uint32_t sector_inc_count = 0; // number of sectors we have moved forward in the lifetime of this
|
| /lib/bootimage/include/lib/ |
| A D | bootimage_struct.h | 14 uint32_t kind; 15 uint32_t type; 16 uint32_t offset; /* byte offset from start of file */ 17 uint32_t length; /* length in bytes */ 23 uint32_t kind; 25 uint32_t u[15]; 31 uint32_t kind; 32 uint32_t version; /* bootimage version */ 33 uint32_t image_size; /* byte size of entire image */ 35 uint32_t reserved[12]; [all …]
|
| /lib/acpi_lite/include/lib/acpi_lite/ |
| A D | structs.h | 27 uint32_t rsdt_address; 30 uint32_t length; 45 uint32_t length; 51 uint32_t creator_id; 98 uint32_t flags; 116 uint32_t id; 143 uint32_t flags; 165 uint32_t flags; 180 uint32_t flags; 194 uint32_t flags; [all …]
|
| /lib/norfs/test/include/ |
| A D | norfs_test_helper.h | 16 uint32_t write_pointer; 17 uint32_t norfs_nvram_offset; 19 status_t find_free_block(uint32_t *ptr); 20 uint8_t block_num(uint32_t flash_pointer); 23 status_t collect_block(uint32_t garbage_block, uint32_t *garbage_write_ptr); 24 bool get_inode(uint32_t key, struct norfs_inode **inode);
|
| /lib/norfs/include/lib/ |
| A D | norfs.h | 17 status_t norfs_mount_fs(uint32_t offset); 27 status_t norfs_remove_obj(uint32_t key); 33 status_t norfs_put_obj_iovec(uint32_t key, const iovec_t *obj_iov, uint32_t iov_count, 40 status_t norfs_put_obj(uint32_t key, unsigned char *obj, uint16_t obj_len, 50 status_t norfs_read_obj_iovec(uint32_t key, iovec_t *obj_iov, uint32_t iov_count, 56 status_t norfs_read_obj(uint32_t key, unsigned char *buffer, uint16_t buffer_len,
|
| /lib/minip/ |
| A D | minip-internal.h | 32 uint32_t spa; 34 uint32_t tpa; 46 uint32_t src_addr; 47 uint32_t dst_addr; 94 typedef uint32_t ipv4_addr; 96 uint32_t u; 103 uint8_t *arp_cache_lookup(uint32_t addr); 105 int arp_send_request(uint32_t addr); 118 void tcp_input(pktbuf_t *p, uint32_t src_ip, uint32_t dst_ip); 119 void udp_input(pktbuf_t *p, uint32_t src_ip); [all …]
|
| A D | lk_console.c | 20 static uint32_t str_ip_to_int(const char *s, size_t len) { in str_ip_to_int() 54 uint32_t addr = str_ip_to_int(addr_s, strlen(addr_s)); in cmd_arp() 87 uint32_t count = 1; in cmd_minip() 88 uint32_t host = 0x0100000A; // 10.0.0.1 in cmd_minip() 89 uint32_t port = 1025; in cmd_minip() 122 uint32_t failures = 0; in cmd_minip() 123 for (uint32_t i = 0; i < count; i++) { in cmd_minip() 135 total_count, (uint32_t)t, total_count * 1000000 / t); in cmd_minip()
|
| /lib/bytes/ |
| A D | bytes.c | 21 uint32_t bytes_read_u24_be(const uint8_t *buf) { in bytes_read_u24_be() 22 uint32_t val; in bytes_read_u24_be() 29 uint32_t bytes_read_u32_be(const uint8_t *buf) { in bytes_read_u32_be() 30 uint32_t val; in bytes_read_u32_be() 44 uint8_t *bytes_write_u24_be(uint8_t *buf, uint32_t val) { in bytes_write_u24_be() 71 uint32_t bytes_read_u24_le(const uint8_t *buf) { in bytes_read_u24_le() 72 uint32_t val; in bytes_read_u24_le() 79 uint32_t bytes_read_u32_le(const uint8_t *buf) { in bytes_read_u32_le() 80 uint32_t val; in bytes_read_u32_le() 128 uint32_t bytes_swap_bits_u24(uint32_t val) { in bytes_swap_bits_u24() [all …]
|
| /lib/minip/include/lib/ |
| A D | minip.h | 32 void minip_start_static(uint32_t ip, uint32_t netmask, uint32_t gateway); 54 uint32_t minip_get_ipaddr(void); 55 void minip_set_ipaddr(const uint32_t addr); 56 uint32_t minip_get_netmask(void); 57 void minip_set_netmask(const uint32_t mask); 58 uint32_t minip_get_broadcast(void); // computed from ipaddr & netmask 59 uint32_t minip_get_gateway(void); 60 void minip_set_gateway(const uint32_t addr); 77 status_t tcp_connect(tcp_socket_t **handle, uint32_t addr, uint16_t port); 90 uint32_t minip_parse_ipaddr(const char *addr, size_t len); [all …]
|
| /lib/bytes/include/lib/ |
| A D | bytes.h | 34 uint32_t bytes_read_u24_be(const uint8_t *buf); 35 uint32_t bytes_read_u32_be(const uint8_t *buf); 38 uint8_t *bytes_write_u24_be(uint8_t *buf, uint32_t val); 39 uint8_t *bytes_write_u32_be(uint8_t *buf, uint32_t val); 43 uint32_t bytes_read_u24_le(const uint8_t *buf); 44 uint32_t bytes_read_u32_le(const uint8_t *buf); 47 uint8_t *bytes_write_u24_le(uint8_t *buf, uint32_t val); 48 uint8_t *bytes_write_u32_le(uint8_t *buf, uint32_t val); 53 uint32_t bytes_swap_bits_u24(uint32_t val); 54 uint32_t bytes_swap_bits_u32(uint32_t val);
|
| /lib/uefi/ |
| A D | variable_mem.h | 29 static constexpr uint32_t EFI_VARIABLE_NON_VOLATILE = 0x01; 30 static constexpr uint32_t EFI_VARIABLE_BOOTSERVICE_ACCESS = 0x02; 31 static constexpr uint32_t EFI_VARIABLE_RUNTIME_ACCESS = 0x04; 32 static constexpr uint32_t EFI_VARIABLE_HARDWARE_ERROR_RECORD = 0x08; 36 uint32_t *attribute, 41 uint32_t attribute,
|
| A D | debug_support.h | 39 uint32_t crc32; 43 uint32_t image_info_type; 49 uint32_t *image_info_type; 54 volatile uint32_t update_status; 55 uint32_t table_size; 60 EfiStatus efi_core_new_debug_image_info_entry(uint32_t image_info_type,
|
| /lib/uefi/include/uefi/protocols/ |
| A D | block_io_protocol.h | 30 EfiStatus (*read_blocks)(EfiBlockIoProtocol *self, uint32_t media_id, 32 EfiStatus (*write_blocks)(EfiBlockIoProtocol *self, uint32_t media_id, 40 uint32_t media_id; 46 uint32_t block_size; 47 uint32_t io_align; 52 uint32_t logical_blocks_per_physical_block; 55 uint32_t optimal_transfer_length_granularity;
|
| A D | dt_fixup_protocol.h | 30 constexpr uint32_t EFI_DT_APPLY_FIXUPS = 0x00000001; 33 constexpr uint32_t EFI_DT_RESERVE_MEMORY = 0x00000002; 35 constexpr uint32_t EFI_DT_INSTALL_TABLE = 0x00000004; 36 constexpr uint32_t EFI_DT_ALL = 42 size_t *buffer_size, uint32_t flags);
|
| A D | simple_network_protocol.h | 46 uint32_t addr[4]; 50 uint32_t state; 51 uint32_t hw_address_size; 52 uint32_t media_header_size; 53 uint32_t max_packet_size; 54 uint32_t nv_ram_size; 55 uint32_t nv_ram_access_size; 56 uint32_t receive_filter_mask; 57 uint32_t receive_filter_setting; 58 uint32_t max_m_cast_filter_count; [all …]
|
| A D | gbl_efi_os_configuration_protocol.h | 49 uint32_t source; 51 uint32_t type; 53 uint32_t id; 54 uint32_t rev; 55 uint32_t custom[4];
|
| A D | gbl_efi_ab_slot_protocol.h | 58 uint32_t suffix; 61 uint32_t unbootable_reason; 79 uint32_t version; 96 /* in */ uint32_t unbootable_reason); 100 /* out GblEfiBootMode */ uint32_t* mode); 102 /* in GblEfiBootMode */ uint32_t mode);
|
| /lib/buildsig/ |
| A D | buildsig.c | 19 #define MAGIC ((uint32_t)'BSIG') 21 #define MAGIC3 ((uint32_t)'BSG2') 24 uint32_t magic; 28 uint32_t magic2; 30 uint32_t buildtype; 31 uint32_t start; 32 uint32_t end; 33 uint32_t crc32; 35 uint32_t magic3; 51 .end = (uint32_t) &__rom_end, [all …]
|
| /lib/uefi/include/uefi/ |
| A D | runtime_service.h | 144 size_t MemoryMapSize, size_t DescriptorSize, uint32_t DescriptorVersion, 204 uint32_t *Attributes, size_t *DataSize, 287 EfiGuid *VendorGuid, uint32_t Attributes, 303 typedef EFI_STATUS (*EFI_GET_NEXT_HIGH_MONO_COUNT)(uint32_t *HighCount); 374 uint32_t HeaderSize; 380 uint32_t Flags; 384 uint32_t CapsuleImageSize; 486 uint32_t Attributes, uint64_t *MaximumVariableStorageSize,
|