Lines Matching full:transferred
57 int ret, transferred; in iwmbt_send_fragment() local
71 &transferred, in iwmbt_send_fragment()
74 if (ret < 0 || transferred != (int)IWMBT_HCI_CMD_SIZE(cmd)) { in iwmbt_send_fragment()
85 &transferred, in iwmbt_send_fragment()
99 void *event, int size, int *transferred, int timeout) in iwmbt_hci_command() argument
129 transferred, in iwmbt_hci_command()
140 if (*transferred < in iwmbt_hci_command()
166 int ret, transferred; in iwmbt_patch_fwfile() local
281 &transferred, in iwmbt_patch_fwfile()
290 if ((int)evt_length + 2 != transferred || in iwmbt_patch_fwfile()
358 int ret, transferred; in iwmbt_load_fwfile() local
390 &transferred, in iwmbt_load_fwfile()
393 if (ret < 0 || transferred < (int)sizeof(struct iwmbt_hci_event) + 1) { in iwmbt_load_fwfile()
397 transferred); in iwmbt_load_fwfile()
414 int ret, transferred; in iwmbt_enter_manufacturer() local
426 &transferred, in iwmbt_enter_manufacturer()
432 transferred); in iwmbt_enter_manufacturer()
442 int ret, transferred; in iwmbt_exit_manufacturer() local
466 &transferred, in iwmbt_exit_manufacturer()
472 transferred); in iwmbt_exit_manufacturer()
483 int ret, transferred; in iwmbt_get_version() local
497 &transferred, in iwmbt_get_version()
500 if (ret < 0 || transferred != sizeof(buf)) { in iwmbt_get_version()
503 transferred); in iwmbt_get_version()
517 int ret, transferred; in iwmbt_get_version_tlv() local
534 &transferred, in iwmbt_get_version_tlv()
537 if (ret < 0 || transferred < (int)IWMBT_HCI_EVT_COMPL_SIZE(uint16_t)) { in iwmbt_get_version_tlv()
540 transferred); in iwmbt_get_version_tlv()
651 int ret, transferred = 0; in iwmbt_get_boot_params() local
665 &transferred, in iwmbt_get_boot_params()
668 if (ret < 0 || transferred != sizeof(buf)) { in iwmbt_get_boot_params()
671 transferred); in iwmbt_get_boot_params()
684 int ret, transferred = 0; in iwmbt_intel_reset() local
700 &transferred, in iwmbt_intel_reset()
703 if (ret < 0 || transferred < (int)sizeof(struct iwmbt_hci_event) + 1) { in iwmbt_intel_reset()
706 transferred); in iwmbt_intel_reset()
725 int ret, transferred; in iwmbt_load_ddc() local
752 &transferred, in iwmbt_load_ddc()
767 int ret, transferred = 0; in iwmbt_set_event_mask() local
779 &transferred, in iwmbt_set_event_mask()