Home
last modified time | relevance | path

Searched refs:uint16_t (Results 1 – 25 of 31) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.h27 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 …]
Dmsi.h39 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
Dpci_irq.h4 uint16_t c_irq_install(ul irq_num,void (*pci_irq_handler)(ul irq_num, ul parameter, struct pt_regs …
Dpci_irq.c28 uint16_t c_irq_install(ul irq_num,void (*pci_irq_handler)(ul irq_num, ul parameter, struct pt_regs … in c_irq_install()
Dmsi.c49 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.8/kernel/src/driver/multiboot2/
Dmultiboot2.h122 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.8/kernel/src/libs/libUI/
Dtextui.h128 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();
Dtextui-render.c22 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()
Dtextui.c36 static int __textui_init_window(struct textui_window_t *window, uint8_t flags, uint16_t vlines_num,… in __textui_init_window()
37 uint16_t cperline) in __textui_init_window()
119 uint16_t __textui_get_actual_lines() in __textui_get_actual_lines()
141 static int __textui_new_line(struct textui_window_t *window, uint16_t vline_id) in __textui_new_line()
177 static int __textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRc… in __textui_putchar_window()
214 int textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRcolor, uin… in textui_putchar_window()
254 uint16_t tmp = window->vlines.chromatic[window->vline_operating].index; in textui_putchar_window()
303 int textui_putchar(uint16_t character, uint32_t FRcolor, uint32_t BKcolor) in textui_putchar()
340 uint16_t chars_per_vline = textui_framework.buf->width / TEXTUI_CHAR_WIDTH; in textui_init()
341 uint16_t total_vlines = textui_framework.buf->height / TEXTUI_CHAR_HEIGHT; in textui_init()
Dscreen_manager.h45 uint16_t id;
/DragonOS-0.1.8/kernel/src/libs/
Dcrc16.c8 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.8/user/libs/libc/src/include/export/
Dlibm.h17 uint16_t se;
28 uint16_t top;
29 uint16_t se;
43 uint16_t se;
44 uint16_t top;
Dstdint.h61 typedef __uint16_t uint16_t; typedef
/DragonOS-0.1.8/kernel/src/common/math/
Dlibm.h13 uint16_t se;
24 uint16_t top;
25 uint16_t se;
39 uint16_t se;
40 uint16_t top;
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.h15 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.8/kernel/src/common/
Dcrc16.h12 uint16_t crc16(uint16_t crc, const uint8_t *buffer, size_t len);
Dblk_types.h68 uint16_t bd_partno; // 在磁盘上的分区号
81 uint16_t part_cnt; // 磁盘分区计数
82 uint16_t flags;
Dcompiler_attributes.h21 typedef uint16_t __attribute__((__may_alias__)) __u16_alias_t;
Delf.h9 typedef uint16_t Elf32_Half;
16 typedef uint16_t Elf64_Half;
/DragonOS-0.1.8/kernel/src/arch/x86_64/include/asm/
Dcmpxchg.h41 volatile uint16_t *__ptr = (volatile uint16_t *)(_ptr); \
/DragonOS-0.1.8/kernel/src/driver/acpi/
Dacpi.h86 uint16_t pci_vendor_id; // PCI Vendor ID of 1st Timer Block
95uint16_t minimum_tick; // The minimum clock ticks can be set without lost interrupts while the cou…
/DragonOS-0.1.8/kernel/src/exception/
Dgate.h35 uint16_t size;
41 uint16_t size;
/DragonOS-0.1.8/user/libs/libc/src/include/export/sys/
Dtypes.h28 typedef uint16_t mode_t;
/DragonOS-0.1.8/kernel/src/common/sys/
Dtypes.h28 typedef uint16_t mode_t;
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahci.h175 uint16_t tc; // Transfer count
296 uint16_t prdtl; // Physical region descriptor table length in entries

12