Lines Matching refs:send
410 static void correct_endian_basic(struct usbip_header_basic *base, int send) in correct_endian_basic() argument
412 if (send) { in correct_endian_basic()
428 int send) in correct_endian_cmd_submit() argument
430 if (send) { in correct_endian_cmd_submit()
448 int send) in correct_endian_ret_submit() argument
450 if (send) { in correct_endian_ret_submit()
466 int send) in correct_endian_cmd_unlink() argument
468 if (send) in correct_endian_cmd_unlink()
475 int send) in correct_endian_ret_unlink() argument
477 if (send) in correct_endian_ret_unlink()
483 void usbip_header_correct_endian(struct usbip_header *pdu, int send) in usbip_header_correct_endian() argument
487 if (send) in usbip_header_correct_endian()
490 correct_endian_basic(&pdu->base, send); in usbip_header_correct_endian()
492 if (!send) in usbip_header_correct_endian()
497 correct_endian_cmd_submit(&pdu->u.cmd_submit, send); in usbip_header_correct_endian()
500 correct_endian_ret_submit(&pdu->u.ret_submit, send); in usbip_header_correct_endian()
503 correct_endian_cmd_unlink(&pdu->u.cmd_unlink, send); in usbip_header_correct_endian()
506 correct_endian_ret_unlink(&pdu->u.ret_unlink, send); in usbip_header_correct_endian()
517 struct usbip_iso_packet_descriptor *iso, int send) in usbip_iso_packet_correct_endian() argument
520 if (send) { in usbip_iso_packet_correct_endian()