Searched refs:packet (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.2/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 281 int ps2_mouse_get_packet(void *packet) in ps2_mouse_get_packet() argument 294 ((struct ps2_mouse_packet_3bytes *)packet)->byte0 = (unsigned char)code; in ps2_mouse_get_packet() 300 ((struct ps2_mouse_packet_3bytes *)packet)->movement_x = (char)code; in ps2_mouse_get_packet() 306 ((struct ps2_mouse_packet_3bytes *)packet)->movement_y = (char)code; in ps2_mouse_get_packet() 319 ((struct ps2_mouse_packet_4bytes *)packet)->byte0 = (unsigned char)code; in ps2_mouse_get_packet() 325 ((struct ps2_mouse_packet_4bytes *)packet)->movement_x = (char)code; in ps2_mouse_get_packet() 331 ((struct ps2_mouse_packet_4bytes *)packet)->movement_y = (char)code; in ps2_mouse_get_packet() 337 ((struct ps2_mouse_packet_4bytes *)packet)->byte3 = (char)code; in ps2_mouse_get_packet()
|
D | ps2_mouse.h | 107 int ps2_mouse_get_packet(void *packet);
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 49 static int xhci_control_in(const int id, struct usb_request_packet_t *packet, void *target, const i… 51 static int xhci_control_out(const int id, struct usb_request_packet_t *packet, void *target, const … 53 static int xhci_setup_stage(struct xhci_ep_info_t *ep, const struct usb_request_packet_t *packet, 1063 static int xhci_setup_stage(struct xhci_ep_info_t *ep, const struct usb_request_packet_t *packet, in xhci_setup_stage() argument 1068 trb.bmRequestType = packet->request_type; in xhci_setup_stage() 1069 trb.bRequest = packet->request; in xhci_setup_stage() 1070 trb.wValue = packet->value; in xhci_setup_stage() 1071 trb.wIndex = packet->index; in xhci_setup_stage() 1072 trb.wLength = packet->length; in xhci_setup_stage() 1237 static int xhci_control_in(const int id, struct usb_request_packet_t *packet, void *target, const i… in xhci_control_in() argument [all …]
|