Home
last modified time | relevance | path

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

12

/DragonOS-0.1.5/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
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.5/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.5/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.c33 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()
Dscreen_manager.h45 uint16_t id;
/DragonOS-0.1.5/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.5/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.5/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.5/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;
/DragonOS-0.1.5/kernel/src/driver/usb/
Dusb.h43 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/
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.5/kernel/src/driver/usb/xhci/
Dxhci.h74 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 …]
Dxhci.c35 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/
Dcmpxchg.h41 volatile uint16_t *__ptr = (volatile uint16_t *)(_ptr); \
/DragonOS-0.1.5/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.5/kernel/src/exception/
Dgate.h35 uint16_t size;
41 uint16_t size;
/DragonOS-0.1.5/user/libs/libc/src/include/export/sys/
Dtypes.h28 typedef uint16_t mode_t;
/DragonOS-0.1.5/kernel/src/common/sys/
Dtypes.h28 typedef uint16_t mode_t;
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci.h175 uint16_t tc; // Transfer count
296 uint16_t prdtl; // Physical region descriptor table length in entries

12