Home
last modified time | relevance | path

Searched defs:id (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dinternal.h13 #define xhci_read_cap_reg32(id, offset) (__read4b(xhci_hc[id].vbase + (offset))) argument
14 #define xhci_get_ptr_cap_reg32(id, offset) ((uint32_t *)(xhci_hc[id].vbase + (offset))) argument
15 #define xhci_write_cap_reg32(id, offset, value) (__write4b(xhci_hc[id].vbase + (offset), (value))) argument
17 #define xhci_read_cap_reg64(id, offset) (__read8b(xhci_hc[id].vbase + (offset))) argument
18 #define xhci_get_ptr_reg64(id, offset) ((uint64_t *)(xhci_hc[id].vbase + (offset))) argument
19 #define xhci_write_cap_reg64(id, offset, value) (__write8b(xhci_hc[id].vbase + (offset), (value))) argument
21 #define xhci_read_op_reg8(id, offset) (*(uint8_t *)(xhci_hc[id].vbase_op + (offset))) argument
22 #define xhci_get_ptr_op_reg8(id, offset) ((uint8_t *)(xhci_hc[id].vbase_op + (offset))) argument
23 #define xhci_write_op_reg8(id, offset, value) (*(uint8_t *)(xhci_hc[id].vbase_op + (offset)) = (uin… argument
25 #define xhci_read_op_reg32(id, offset) (__read4b(xhci_hc[id].vbase_op + (offset))) argument
[all …]
Dxhci.c137 static __always_inline void __write_ep(int id, uint64_t slot_vaddr, int ep_num, struct xhci_ep_cont… in __write_ep()
150 static __always_inline void __read_from_ep(int id, uint64_t slot_vaddr, int ep_num, struct xhci_ep_… in __read_from_ep()
185 static __always_inline void __xhci_write_doorbell(const int id, const uint16_t slot_id, const uint3… in __xhci_write_doorbell()
223 static __always_inline uint64_t xhci_get_device_context_vaddr(const int id, const int port_id) in xhci_get_device_context_vaddr()
235 static int xhci_hc_stop(int id) in xhci_hc_stop()
262 static int xhci_hc_reset(int id) in xhci_hc_reset()
302 static int xhci_hc_stop_legacy(int id) in xhci_hc_stop_legacy()
350 static int xhci_hc_start_sched(int id) in xhci_hc_start_sched()
364 static int xhci_hc_stop_sched(int id) in xhci_hc_stop_sched()
382 static uint32_t xhci_hc_get_protocol_offset(int id, uint32_t list_off, const int version, uint32_t … in xhci_hc_get_protocol_offset()
[all …]
/DragonOS-0.1.2/kernel/src/libs/
Didr.c166 int64_t id = 0; in __idr_get_empty_slot() local
213 static __always_inline void __idr_mark_full(struct idr *idp, int id, struct idr_layer **stk, int ma… in __idr_mark_full()
248 static __always_inline int __idr_get_path(struct idr *idp, int id, struct idr_layer **stk) in __idr_get_path()
294 static __always_inline void __idr_erase_full(struct idr *idp, int id, struct idr_layer **stk, int m… in __idr_erase_full()
364 int64_t id = __idr_get_empty_slot(idp, stk); in __idr_get_new_above_int() local
383 int idr_alloc(struct idr *idp, void *ptr, int *id) in idr_alloc()
400 void *idr_remove(struct idr *idp, int id) in idr_remove()
444 int64_t id = __lowbit_id(cur_layer->bitmap); in __idr_remove_all_with_free() local
519 void *idr_find(struct idr *idp, int id) in idr_find()
671 int idr_replace_get_old(struct idr *idp, void *ptr, int id, void **old_ptr) in idr_replace_get_old()
[all …]
/DragonOS-0.1.2/kernel/src/ktest/
Dtest-idr.c42 int id = __lowbit_id(i), chk_id = -1; in ktest_idr_case0() local
91 int *id = idr_remove(&k_idr, a[i]); in ktest_idr_case1() local
100 int *id = idr_remove(&k_idr, a[i]); in ktest_idr_case1() local
126 int *id = idr_remove(&k_idr, a[i]); in ktest_idr_case1() local
135 int *id = idr_remove(&k_idr, a[i]); in ktest_idr_case1() local
/DragonOS-0.1.2/kernel/src/common/
Dcompletion.h39 int id; member
Didr.h111 #define for_each_idr_entry(idp, id, ptr) \ argument
120 #define for_each_idr_entry_continue(idp, id, ptr) \ argument
/DragonOS-0.1.2/kernel/src/libs/libUI/
Dscreen_manager.h45 uint16_t id; member
Dtextui.h96 uint32_t id; // 窗口id member