Lines Matching refs:uint8_t

79 	uint8_t throttle_buf[128];
80 uint8_t outbuf[N_OUTBUF]; /* to implement write_room and chars_in_buffer */
82 uint8_t inbuf[HVSI_MAX_PACKET + HVSI_MAX_READ];
83 uint8_t *inbuf_end;
90 uint8_t state; /* HVSI protocol state */
91 uint8_t flags;
93 uint8_t sysrq;
158 static inline int len_packet(const uint8_t *packet) in len_packet()
163 static inline int is_header(const uint8_t *packet) in is_header()
169 static inline int got_packet(const struct hvsi_struct *hp, uint8_t *packet) in got_packet()
181 static void compact_inbuf(struct hvsi_struct *hp, uint8_t *read_to) in compact_inbuf()
201 static void dump_hex(const uint8_t *data, int len) in dump_hex()
219 static void dump_packet(uint8_t *packet) in dump_packet()
238 static void hvsi_recv_control(struct hvsi_struct *hp, uint8_t *packet, in hvsi_recv_control()
267 static void hvsi_recv_response(struct hvsi_struct *hp, uint8_t *packet) in hvsi_recv_response()
306 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_version_respond()
318 static void hvsi_recv_query(struct hvsi_struct *hp, uint8_t *packet) in hvsi_recv_query()
363 static bool hvsi_recv_data(struct hvsi_struct *hp, const uint8_t *packet) in hvsi_recv_data()
366 const uint8_t *data = packet + sizeof(struct hvsi_header); in hvsi_recv_data()
404 uint8_t *packet = hp->inbuf; in hvsi_load_chunk()
564 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_query()
611 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_set_mctrl()
624 uint8_t buf[HVSI_MAX_READ] __ALIGNED__; in hvsi_drain_input()
707 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_close_protocol()