/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.h | 27 uint16_t msix_table_size; // msix表的表项数量 34 uint16_t Vendor_ID; // 供应商ID 0xffff是一个无效值,在读取访问不存在的设备的配置空间寄存器时返回 35 uint16_t Device_ID; // 设备ID,标志特定设备 37 uint16_t Command; // 提供对设备生成和响应pci周期的能力的控制 向该寄存器写入0时,设备与pci总线断开除配置空间访问以外的所有连接 38 uint16_t Status; // 用于记录pci总线相关时间的状态信息寄存器 70 uint16_t Subsystem_Vendor_ID; 71 uint16_t Subsystem_ID; 77 uint16_t reserved1; 105 uint16_t Secondary_Status; 107 uint16_t Memory_Base; [all …]
|
D | msi.h | 39 uint16_t msg_ctrl; 44 uint16_t msg_data; 45 uint16_t Rsvd; 59 uint16_t msg_ctrl; 73 uint16_t irq_num; // 中断向量号 74 uint16_t processor; // 定向投递的处理器 75 uint16_t edge_trigger; // 是否边缘触发 76 uint16_t assert; // 是否高电平触发 79 uint16_t msi_index; // msi描述符的index
|
D | msi.c | 49 uint16_t msg_data_off = 0xc; in __msi_read_cap_list() 127 …s_inline void __msix_clear_entry(struct pci_device_structure_header_t *pci_dev, uint16_t msi_index) in __msix_clear_entry() 151 uint16_t message_control; in pci_enable_msi()
|
/DragonOS-0.1.5/kernel/src/driver/multiboot2/ |
D | multiboot2.h | 122 uint16_t type; 123 uint16_t flags; 128 uint16_t type; 129 uint16_t flags; 136 uint16_t type; 137 uint16_t flags; 148 uint16_t type; 149 uint16_t flags; 157 uint16_t type; 158 uint16_t flags; [all …]
|
/DragonOS-0.1.5/kernel/src/libs/libUI/ |
D | textui.h | 128 int textui_refresh_vline(struct textui_window_t *window, uint16_t vline_id); 130 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count); 141 …tui_refresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, uint16_t… 152 int textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRcolor, uin… 162 int textui_putchar(uint16_t character, uint32_t FRcolor, uint32_t BKcolor); 169 uint16_t __textui_get_actual_lines();
|
D | textui-render.c | 22 static void __textui_render_chromatic(uint16_t actual_line, uint16_t index, struct textui_char_chro… 31 int textui_refresh_vline(struct textui_window_t *window, uint16_t vline_id) in textui_refresh_vline() 39 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count) in textui_refresh_vlines() 73 …tui_refresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, uint16_t… in textui_refresh_characters() 110 static void __textui_render_chromatic(uint16_t actual_line, uint16_t index, struct textui_char_chro… in __textui_render_chromatic()
|
D | textui.c | 33 static int __textui_init_window(struct textui_window_t *window, uint8_t flags, uint16_t vlines_num,… in __textui_init_window() 34 uint16_t cperline) in __textui_init_window() 113 uint16_t __textui_get_actual_lines() in __textui_get_actual_lines() 135 static int __textui_new_line(struct textui_window_t *window, uint16_t vline_id) in __textui_new_line() 171 static int __textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRc… in __textui_putchar_window() 208 int textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRcolor, uin… in textui_putchar_window() 241 uint16_t tmp = window->vlines.chromatic[window->vline_operating].index; in textui_putchar_window() 290 int textui_putchar(uint16_t character, uint32_t FRcolor, uint32_t BKcolor) in textui_putchar() 327 uint16_t chars_per_vline = textui_framework.buf->width / TEXTUI_CHAR_WIDTH; in textui_init() 328 uint16_t total_vlines = textui_framework.buf->height / TEXTUI_CHAR_HEIGHT; in textui_init()
|
D | screen_manager.h | 45 uint16_t id;
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | crc16.c | 8 uint16_t const crc16_table[256] = { 34 uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len) in crc16()
|
/DragonOS-0.1.5/kernel/src/driver/uart/ |
D | uart.h | 15 extern int c_uart_init(uint16_t port, uint32_t baud_rate); 16 extern void c_uart_send(uint16_t port, char c); 17 extern void c_uart_send_str(uint16_t port, const char *str);
|
/DragonOS-0.1.5/kernel/src/common/math/ |
D | libm.h | 13 uint16_t se; 24 uint16_t top; 25 uint16_t se; 39 uint16_t se; 40 uint16_t top;
|
/DragonOS-0.1.5/user/libs/libc/src/include/export/ |
D | libm.h | 17 uint16_t se; 28 uint16_t top; 29 uint16_t se; 43 uint16_t se; 44 uint16_t top;
|
/DragonOS-0.1.5/kernel/src/driver/usb/ |
D | usb.h | 43 uint16_t usb_version; 49 uint16_t vendor_id; 50 uint16_t product_id; 51 uint16_t device_rel; 67 uint16_t total_len; /* 130 uint16_t max_packet; 145 uint16_t value; 147 uint16_t index; 148 uint16_t length; 296 uint16_t bcdHID; // 标识HIDClass规范版本的数字表达式。 [all …]
|
/DragonOS-0.1.5/kernel/src/common/ |
D | crc16.h | 12 uint16_t crc16(uint16_t crc, const uint8_t *buffer, size_t len);
|
D | blk_types.h | 68 uint16_t bd_partno; // 在磁盘上的分区号 81 uint16_t part_cnt; // 磁盘分区计数 82 uint16_t flags;
|
D | compiler_attributes.h | 21 typedef uint16_t __attribute__((__may_alias__)) __u16_alias_t;
|
D | elf.h | 9 typedef uint16_t Elf32_Half; 16 typedef uint16_t Elf64_Half;
|
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/ |
D | xhci.h | 74 uint16_t u2_device_exit_latency; // 0~2047ms 94 uint16_t xECP; // xhci extended capabilities pointer 157 uint16_t page_size; // The actual pagesize is ((this field)<<12) 158 uint16_t reserved; 163 uint16_t value; 164 uint16_t reserved; 224 uint16_t Reserved; // 保留且置为0 231 uint16_t wValue; 233 uint16_t wIndex; 234 uint16_t wLength; [all …]
|
D | xhci.c | 35 uint32_t *count, uint16_t *protocol_flag); 59 static inline int xhci_get_desc(const int id, const int port_id, void *target, const uint16_t desc_… 60 … const uint8_t desc_index, const uint16_t lang_id, const uint16_t length); 185 static __always_inline void __xhci_write_doorbell(const int id, const uint16_t slot_id, const uint3… in __xhci_write_doorbell() 383 uint32_t *count, uint16_t *protocol_flag) in xhci_hc_get_protocol_offset() 404 *protocol_flag = (uint16_t)((dw2 >> 16) & 0x0fff); in xhci_hc_get_protocol_offset() 437 uint16_t protocol_flags = 0; in xhci_hc_pair_ports() 1378 static inline int xhci_get_desc(const int id, const int port_id, void *target, const uint16_t desc_… in xhci_get_desc() 1379 … const uint8_t desc_index, const uint16_t lang_id, const uint16_t length) in xhci_get_desc() 1761 trb.Reserved |= (((uint16_t)xhci_hc[id].ports[port_id].slot_id) << 8) & 0xffff; in xhci_configure_endpoint() [all …]
|
/DragonOS-0.1.5/kernel/src/arch/x86_64/include/asm/ |
D | cmpxchg.h | 41 volatile uint16_t *__ptr = (volatile uint16_t *)(_ptr); \
|
/DragonOS-0.1.5/kernel/src/driver/acpi/ |
D | acpi.h | 86 uint16_t pci_vendor_id; // PCI Vendor ID of 1st Timer Block 95 …uint16_t minimum_tick; // The minimum clock ticks can be set without lost interrupts while the cou…
|
/DragonOS-0.1.5/kernel/src/exception/ |
D | gate.h | 35 uint16_t size; 41 uint16_t size;
|
/DragonOS-0.1.5/user/libs/libc/src/include/export/sys/ |
D | types.h | 28 typedef uint16_t mode_t;
|
/DragonOS-0.1.5/kernel/src/common/sys/ |
D | types.h | 28 typedef uint16_t mode_t;
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | ahci.h | 175 uint16_t tc; // Transfer count 296 uint16_t prdtl; // Physical region descriptor table length in entries
|