Lines Matching defs:hdl

231 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path,
304 ret = iwmbt_load_rsa_header(hdl, &fw);
306 ret = iwmbt_load_ecdsa_header(hdl, &fw);
311 ret = iwmbt_load_fwfile(hdl, &fw, boot_param, header_len);
321 iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path)
335 ret = iwmbt_load_ddc(hdl, &ddc);
387 handle_7260(libusb_device_handle *hdl, char *firmware_dir)
394 r = iwmbt_get_version(hdl, &ver);
420 r = iwmbt_enter_manufacturer(hdl);
428 r = iwmbt_patch_fwfile(hdl, &fw);
432 (void)iwmbt_exit_manufacturer(hdl, IWMBT_MM_EXIT_COLD_RESET);
438 r = iwmbt_exit_manufacturer(hdl,
448 r = iwmbt_get_version(hdl, &ver);
452 if (iwmbt_enter_manufacturer(hdl) < 0)
454 r = iwmbt_set_event_mask(hdl);
457 (void)iwmbt_exit_manufacturer(hdl, IWMBT_MM_EXIT_ONLY);
467 handle_8260(libusb_device_handle *hdl, char *firmware_dir)
475 r = iwmbt_get_version(hdl, &ver);
494 r = iwmbt_get_boot_params(hdl, &params);
514 r = iwmbt_init_firmware(hdl, firmware_path, &boot_param, 0, 0);
521 r = iwmbt_intel_reset(hdl, boot_param);
532 r = iwmbt_get_version(hdl, &ver);
540 r = iwmbt_init_ddc(hdl, firmware_path);
546 r = iwmbt_set_event_mask(hdl);
555 handle_9260(libusb_device_handle *hdl, char *firmware_dir)
563 r = iwmbt_get_version_tlv(hdl, &vt);
601 r = iwmbt_init_firmware(hdl, firmware_path, &boot_param,
609 r = iwmbt_intel_reset(hdl, boot_param);
619 r = iwmbt_get_version(hdl, &vl);
627 r = iwmbt_init_ddc(hdl, firmware_path);
633 r = iwmbt_set_event_mask(hdl);
646 libusb_device_handle *hdl = NULL;
713 r = libusb_open(dev, &hdl);
720 r = libusb_kernel_driver_active(hdl, 0);
733 retcode = handle_7260(hdl, firmware_dir);
736 retcode = handle_8260(hdl, firmware_dir);
739 retcode = handle_9260(hdl, firmware_dir);
748 r = libusb_reset_device(hdl);
755 if (hdl != NULL)
756 libusb_close(hdl);