/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/ |
D | meminit_utils.h | 33 #define MCEIL(num,den) ((uint8_t)((num+den-1)/den)) 51 void set_rcvn(uint8_t channel, uint8_t rank, uint8_t byte_lane, uint32_t pi_count); 52 void set_rdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane, uint32_t pi_count); 53 void set_wdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane, uint32_t pi_count); 54 void set_wdq(uint8_t channel, uint8_t rank, uint8_t byte_lane, uint32_t pi_count); 55 void set_wcmd(uint8_t channel, uint32_t pi_count); 56 void set_wclk(uint8_t channel, uint8_t grp, uint32_t pi_count); 57 void set_wctl(uint8_t channel, uint8_t rank, uint32_t pi_count); 58 void set_vref(uint8_t channel, uint8_t byte_lane, uint32_t setting); 59 uint32_t get_rcvn(uint8_t channel, uint8_t rank, uint8_t byte_lane); [all …]
|
D | lprint.c | 51 uint8_t mgetc(void) in mgetc() 56 uint8_t mgetch(void) in mgetch() 86 uint8_t mgetc(void) in mgetc() 94 uint8_t c; in mgetc() 96 while ((*(volatile uint8_t*) (UartMmioBase + R_UART_LSR) & B_UART_LSR_RXRDY) == 0); in mgetc() 97 c = *(volatile uint8_t*) (UartMmioBase + R_UART_BAUD_THR); in mgetc() 104 uint8_t mgetch(void) in mgetch() 109 uint8_t c = 0; in mgetch() 111 if((*(volatile uint8_t*) (UartMmioBase + R_UART_LSR) & B_UART_LSR_RXRDY) != 0) in mgetch() 113 c = *(volatile uint8_t*) (UartMmioBase + R_UART_BAUD_THR); in mgetch() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/ |
D | ufs.h | 253 uint8_t resp_code : 7; 254 uint8_t valid : 1; 255 uint8_t reserved0; 256 uint8_t sense_key : 4; 257 uint8_t reserved1 : 1; 258 uint8_t ili : 1; 259 uint8_t eom : 1; 260 uint8_t file_mark : 1; 261 uint8_t info[4]; 262 uint8_t asl; [all …]
|
/device/google/bonito/sdm710/kernel-headers/linux/ |
D | ipa_qmi_service_v01.h | 89 uint8_t platform_type_valid; 91 uint8_t hdr_tbl_info_valid; 93 uint8_t v4_route_tbl_info_valid; 95 uint8_t v6_route_tbl_info_valid; 97 uint8_t v4_filter_tbl_start_addr_valid; 99 uint8_t v6_filter_tbl_start_addr_valid; 101 uint8_t modem_mem_info_valid; 103 uint8_t ctrl_comm_dest_end_pt_valid; 105 uint8_t is_ssr_bootup_valid; 106 uint8_t is_ssr_bootup; [all …]
|
/device/google/bonito/sdm710/original-kernel-headers/linux/ |
D | ipa_qmi_service_v01.h | 191 uint8_t platform_type_valid; 198 uint8_t hdr_tbl_info_valid; 205 uint8_t v4_route_tbl_info_valid; 212 uint8_t v6_route_tbl_info_valid; 219 uint8_t v4_filter_tbl_start_addr_valid; 229 uint8_t v6_filter_tbl_start_addr_valid; 239 uint8_t modem_mem_info_valid; 249 uint8_t ctrl_comm_dest_end_pt_valid; 260 uint8_t is_ssr_bootup_valid; 262 uint8_t is_ssr_bootup; [all …]
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | ipa_qmi_service_v01.h | 191 uint8_t platform_type_valid; 198 uint8_t hdr_tbl_info_valid; 205 uint8_t v4_route_tbl_info_valid; 212 uint8_t v6_route_tbl_info_valid; 219 uint8_t v4_filter_tbl_start_addr_valid; 229 uint8_t v6_filter_tbl_start_addr_valid; 239 uint8_t modem_mem_info_valid; 249 uint8_t ctrl_comm_dest_end_pt_valid; 260 uint8_t is_ssr_bootup_valid; 262 uint8_t is_ssr_bootup; [all …]
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | ipa_qmi_service_v01.h | 89 uint8_t platform_type_valid; 91 uint8_t hdr_tbl_info_valid; 93 uint8_t v4_route_tbl_info_valid; 95 uint8_t v6_route_tbl_info_valid; 97 uint8_t v4_filter_tbl_start_addr_valid; 99 uint8_t v6_filter_tbl_start_addr_valid; 101 uint8_t modem_mem_info_valid; 103 uint8_t ctrl_comm_dest_end_pt_valid; 105 uint8_t is_ssr_bootup_valid; 106 uint8_t is_ssr_bootup; [all …]
|
/device/google/cuttlefish_common/common/libs/usbforward/ |
D | protocol.h | 106 uint8_t dev_class; 107 uint8_t dev_subclass; 108 uint8_t dev_protocol; 109 uint8_t bus_id; 110 uint8_t dev_id; 111 uint8_t speed; 112 uint8_t num_configurations; 113 uint8_t num_interfaces; 114 uint8_t cur_configuration; 119 uint8_t if_class; [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
D | dig64.h | 35 uint8_t addr_space; 36 uint8_t bit_width; 37 uint8_t bit_offset; 38 uint8_t _reserved_; 48 uint8_t type; 51 uint8_t databits; 52 uint8_t parity; 53 uint8_t stopbits; 54 uint8_t pci_segment; 55 uint8_t pci_bus; [all …]
|
/device/google/cuttlefish_common/guest/hals/camera/ |
D | Converters.cpp | 28 static void _YUV420SToRGB565(const uint8_t* Y, const uint8_t* U, in _YUV420SToRGB565() 29 const uint8_t* V, int dUV, uint16_t* rgb, in _YUV420SToRGB565() 31 const uint8_t* U_pos = U; in _YUV420SToRGB565() 32 const uint8_t* V_pos = V; in _YUV420SToRGB565() 36 const uint8_t nU = *U; in _YUV420SToRGB565() 37 const uint8_t nV = *V; in _YUV420SToRGB565() 55 static void _YUV420SToRGB32(const uint8_t* Y, const uint8_t* U, in _YUV420SToRGB32() 56 const uint8_t* V, int dUV, uint32_t* rgb, int width, in _YUV420SToRGB32() 58 const uint8_t* U_pos = U; in _YUV420SToRGB32() 59 const uint8_t* V_pos = V; in _YUV420SToRGB32() [all …]
|
D | Converters.h | 82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5) 83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5) 84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11) 87 static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2)) 89 static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9)) 91 static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14)) 93 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8) 94 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff) 95 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff) 104 #define R16(rgb) static_cast<uint8_t>((rgb & kRed5) >> 11) [all …]
|
/device/generic/goldfish/dhcp/common/ |
D | message.h | 28 Message(const uint8_t* data, size_t size); 29 static Message discover(const uint8_t (&sourceMac)[ETH_ALEN]); 30 static Message request(const uint8_t (&sourceMac)[ETH_ALEN], 50 bool isValidDhcpMessage(uint8_t expectedOp) const; 53 bool isValidDhcpMessage(uint8_t expectedOp, uint32_t expectedXid) const; 55 const uint8_t* data() const { in data() 56 return reinterpret_cast<const uint8_t*>(&dhcpData); in data() 58 uint8_t* data() { in data() 59 return reinterpret_cast<uint8_t*>(&dhcpData); in data() 61 const uint8_t* end() const { return data() + mSize; } in end() [all …]
|
D | message.cpp | 32 static const uint8_t kRequestParameters[] = { OPT_SUBNET_MASK, 46 Message::Message(const uint8_t* data, size_t size) { in Message() 56 Message Message::discover(const uint8_t (&sourceMac)[ETH_ALEN]) { in discover() 59 static_cast<uint8_t>(DHCPDISCOVER)); in discover() 67 Message Message::request(const uint8_t (&sourceMac)[ETH_ALEN], in request() 73 static_cast<uint8_t>(DHCPREQUEST)); in request() 91 uint8_t macAddress[ETH_ALEN]; in offer() 93 Message message(OP_BOOTREPLY, macAddress, static_cast<uint8_t>(DHCPOFFER)); in offer() 120 uint8_t macAddress[ETH_ALEN]; in ack() 122 Message message(OP_BOOTREPLY, macAddress, static_cast<uint8_t>(DHCPACK)); in ack() [all …]
|
/device/generic/goldfish/camera/ |
D | Converters.cpp | 30 static void _YUV420SToRGB565(const uint8_t* Y, in _YUV420SToRGB565() 31 const uint8_t* U, in _YUV420SToRGB565() 32 const uint8_t* V, in _YUV420SToRGB565() 40 const uint8_t* Y_pos = Y; in _YUV420SToRGB565() 41 const uint8_t* U_pos = U; in _YUV420SToRGB565() 42 const uint8_t* V_pos = V; in _YUV420SToRGB565() 49 const uint8_t nU = *U; in _YUV420SToRGB565() 50 const uint8_t nV = *V; in _YUV420SToRGB565() 59 static void _YUV420SToRGB32(const uint8_t* Y, in _YUV420SToRGB32() 60 const uint8_t* U, in _YUV420SToRGB32() [all …]
|
D | Converters.h | 82 #define R16(rgb) static_cast<uint8_t>((rgb) & kRed5) 83 #define G16(rgb) static_cast<uint8_t>(((rgb) & kGreen6) >> 5) 84 #define B16(rgb) static_cast<uint8_t>(((rgb) & kBlue5) >> 11) 86 #define R16_32(rgb) static_cast<uint8_t>((((rgb) & kRed5) << 3) | (((rgb) & kRed5) >> 2)) 87 #define G16_32(rgb) static_cast<uint8_t>((((rgb) & kGreen6) >> 3) | (((rgb) & kGreen6) >> 9)) 88 #define B16_32(rgb) static_cast<uint8_t>((((rgb) & kBlue5) >> 8) | (((rgb) & kBlue5) >> 14)) 90 #define R32(rgb) static_cast<uint8_t>((rgb) & kRed8) 91 #define G32(rgb) static_cast<uint8_t>((((rgb) & kGreen8) >> 8) & 0xff) 92 #define B32(rgb) static_cast<uint8_t>((((rgb) & kBlue8) >> 16) & 0xff) 99 #define R16(rgb) static_cast<uint8_t>(((rgb) & kRed5) >> 11) [all …]
|
/device/google/contexthub/util/stm32_flash/ |
D | stm32_bl.h | 33 uint8_t cmd_erase; 34 uint8_t cmd_read_memory; 35 uint8_t cmd_write_memory; 36 uint8_t no_extra_sync; 38 uint8_t (*write_data)(struct handle *, uint8_t *buffer, int length); 39 uint8_t (*write_cmd)(struct handle *, uint8_t cmd); 40 uint8_t (*read_data)(struct handle *, uint8_t *buffer, int length); 41 uint8_t (*read_ack)(struct handle *); 44 uint8_t checksum(handle_t *handle, uint8_t *bytes, int length); 45 uint8_t erase_sector(handle_t *handle, uint16_t sector); [all …]
|
D | stm32_bl.c | 26 uint8_t checksum(__attribute__((unused)) handle_t *handle, uint8_t *bytes, int length) in checksum() 29 uint8_t csum; in checksum() 43 static uint8_t write_len(handle_t *handle, int len) in write_len() 45 uint8_t buffer[sizeof(uint8_t)+1]; in write_len() 49 return handle->write_data(handle, buffer, sizeof(uint8_t)); in write_len() 52 static uint8_t write_cnt(handle_t *handle, uint16_t cnt) in write_cnt() 54 uint8_t buffer[sizeof(uint16_t)+1]; in write_cnt() 62 static uint8_t write_addr(handle_t *handle, uint32_t addr) in write_addr() 64 uint8_t buffer[sizeof(uint32_t)+1]; in write_addr() 75 static uint8_t write_len_data(handle_t *handle, int len, uint8_t *data) in write_len_data() [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/files/ |
D | Stream.cpp | 20 void Stream::putByte(uint8_t value) { in putByte() 24 uint8_t Stream::getByte() { in getByte() 25 uint8_t value[1] = { 0 }; in getByte() 31 uint8_t b[2] = { (uint8_t)(value >> 8), (uint8_t)value }; in putBe16() 36 uint8_t b[2] = { 0, 0 }; in getBe16() 42 uint8_t b[4] = { in putBe32() 43 (uint8_t)(value >> 24), in putBe32() 44 (uint8_t)(value >> 16), in putBe32() 45 (uint8_t)(value >> 8), in putBe32() 46 (uint8_t)value }; in putBe32() [all …]
|
/device/google/bonito/sdm710/original-kernel-headers/media/ |
D | cam_sensor.h | 117 uint8_t i2c_freq_mode; 118 uint8_t cmd_type; 177 uint8_t i2c_freq_mode; 178 uint8_t cmd_type; 179 uint8_t ois_fw_flag; 180 uint8_t is_ois_calib; 201 uint8_t data_type; 202 uint8_t addr_type; 203 uint8_t op_code; 204 uint8_t cmd_type; [all …]
|
/device/google/crosshatch/sdm845/original-kernel-headers/media/ |
D | cam_sensor.h | 117 uint8_t i2c_freq_mode; 118 uint8_t cmd_type; 177 uint8_t i2c_freq_mode; 178 uint8_t cmd_type; 179 uint8_t ois_fw_flag; 180 uint8_t is_ois_calib; 201 uint8_t data_type; 202 uint8_t addr_type; 203 uint8_t op_code; 204 uint8_t cmd_type; [all …]
|
/device/google/bonito/sdm710/kernel-headers/media/ |
D | cam_sensor.h | 75 uint8_t i2c_freq_mode; 76 uint8_t cmd_type; 97 uint8_t i2c_freq_mode; 98 uint8_t cmd_type; 99 uint8_t ois_fw_flag; 100 uint8_t is_ois_calib; 105 uint8_t data_type; 106 uint8_t addr_type; 107 uint8_t op_code; 108 uint8_t cmd_type; [all …]
|
/device/google/crosshatch/sdm845/kernel-headers/media/ |
D | cam_sensor.h | 75 uint8_t i2c_freq_mode; 76 uint8_t cmd_type; 97 uint8_t i2c_freq_mode; 98 uint8_t cmd_type; 99 uint8_t ois_fw_flag; 100 uint8_t is_ois_calib; 105 uint8_t data_type; 106 uint8_t addr_type; 107 uint8_t op_code; 108 uint8_t cmd_type; [all …]
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.h | 28 uint8_t numSamples; 29 uint8_t numFlushes; 30 uint8_t biasCurrent : 1; 31 uint8_t biasPresent : 1; 32 uint8_t biasSample : 6; 33 uint8_t interrupt; 98 const std::vector<uint8_t>& buffer); 107 virtual uint8_t GetNumSamples() const = 0; 115 uint8_t GetNumSamples() const override; 117 uint64_t GetSampleTime(uint8_t index) const; [all …]
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 86 uint8_t *yv12_y0 = (uint8_t *)dest; in rgb565_to_yv12() 87 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb565_to_yv12() 90 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb565_to_yv12() 91 uint8_t *yv12_v = yv12_v0 + (j/2) * cStride; in rgb565_to_yv12() 92 uint8_t *yv12_u = yv12_v + cSize; in rgb565_to_yv12() 96 uint8_t r = ((rgb_ptr[i]) >> 11) & 0x01f; in rgb565_to_yv12() 97 uint8_t g = ((rgb_ptr[i]) >> 5) & 0x03f; in rgb565_to_yv12() 98 uint8_t b = (rgb_ptr[i]) & 0x01f; in rgb565_to_yv12() 101 uint8_t R = (r * 527 + 23) >> 6; in rgb565_to_yv12() 102 uint8_t G = (g * 259 + 33) >> 6; in rgb565_to_yv12() [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | endian.h | 204 uint8_t *p = (uint8_t *)buf; in be16enc() 206 p[0] = (uint8_t)(((unsigned)u >> 8) & 0xff); in be16enc() 207 p[1] = (uint8_t)(u & 0xff); in be16enc() 213 uint8_t *p = (uint8_t *)buf; in le16enc() 215 p[0] = (uint8_t)(u & 0xff); in le16enc() 216 p[1] = (uint8_t)(((unsigned)u >> 8) & 0xff); in le16enc() 222 const uint8_t *p = (const uint8_t *)buf; in be16dec() 230 const uint8_t *p = (const uint8_t *)buf; in le16dec() 238 uint8_t *p = (uint8_t *)buf; in be32enc() 240 p[0] = (uint8_t)((u >> 24) & 0xff); in be32enc() [all …]
|