Searched refs:mtp_device (Results 1 – 1 of 1) sorted by relevance
1834 LIBMTP_mtpdevice_t *mtp_device; in LIBMTP_Open_Raw_Device_Uncached() local1842 mtp_device = (LIBMTP_mtpdevice_t *) malloc(sizeof(LIBMTP_mtpdevice_t)); in LIBMTP_Open_Raw_Device_Uncached()1844 if(mtp_device == NULL) { in LIBMTP_Open_Raw_Device_Uncached()1855 memset(mtp_device, 0, sizeof(LIBMTP_mtpdevice_t)); in LIBMTP_Open_Raw_Device_Uncached()1857 mtp_device->cached = 0; in LIBMTP_Open_Raw_Device_Uncached()1862 free(mtp_device); in LIBMTP_Open_Raw_Device_Uncached()1887 free(mtp_device); in LIBMTP_Open_Raw_Device_Uncached()1890 mtp_device->params = current_params; in LIBMTP_Open_Raw_Device_Uncached()1895 &mtp_device->usbinfo); in LIBMTP_Open_Raw_Device_Uncached()1898 free(mtp_device); in LIBMTP_Open_Raw_Device_Uncached()[all …]