Home
last modified time | relevance | path

Searched refs:scr_msg_header (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dccid-card-passthru.c81 VSCMsgHeader scr_msg_header; in DECLARE_INSTANCE_CHECKER() local
83 scr_msg_header.type = htonl(type); in DECLARE_INSTANCE_CHECKER()
84 scr_msg_header.reader_id = htonl(reader_id); in DECLARE_INSTANCE_CHECKER()
85 scr_msg_header.length = htonl(length); in DECLARE_INSTANCE_CHECKER()
88 qemu_chr_fe_write_all(&s->cs, (uint8_t *)&scr_msg_header, in DECLARE_INSTANCE_CHECKER()
209 VSCMsgHeader *scr_msg_header) in ccid_card_vscard_handle_message() argument
211 uint8_t *data = (uint8_t *)&scr_msg_header[1]; in ccid_card_vscard_handle_message()
213 switch (scr_msg_header->type) { in ccid_card_vscard_handle_message()
215 DPRINTF(card, D_INFO, "VSC_ATR %d\n", scr_msg_header->length); in ccid_card_vscard_handle_message()
216 if (scr_msg_header->length > MAX_ATR_SIZE) { in ccid_card_vscard_handle_message()
[all …]