Lines Matching full:pack
53 uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num) in usbip_net_pack_uint32_t() argument
57 if (pack) in usbip_net_pack_uint32_t()
65 uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num) in usbip_net_pack_uint16_t() argument
69 if (pack) in usbip_net_pack_uint16_t()
77 void usbip_net_pack_usb_device(int pack, struct usbip_usb_device *udev) in usbip_net_pack_usb_device() argument
79 udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum); in usbip_net_pack_usb_device()
80 udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum); in usbip_net_pack_usb_device()
81 udev->speed = usbip_net_pack_uint32_t(pack, udev->speed); in usbip_net_pack_usb_device()
83 udev->idVendor = usbip_net_pack_uint16_t(pack, udev->idVendor); in usbip_net_pack_usb_device()
84 udev->idProduct = usbip_net_pack_uint16_t(pack, udev->idProduct); in usbip_net_pack_usb_device()
85 udev->bcdDevice = usbip_net_pack_uint16_t(pack, udev->bcdDevice); in usbip_net_pack_usb_device()
88 void usbip_net_pack_usb_interface(int pack __attribute__((unused)), in usbip_net_pack_usb_interface() argument
132 static inline void usbip_net_pack_op_common(int pack, in usbip_net_pack_op_common() argument
135 op_common->version = usbip_net_pack_uint16_t(pack, op_common->version); in usbip_net_pack_op_common()
136 op_common->code = usbip_net_pack_uint16_t(pack, op_common->code); in usbip_net_pack_op_common()
137 op_common->status = usbip_net_pack_uint32_t(pack, op_common->status); in usbip_net_pack_op_common()