Lines Matching refs:deviceproperties

772 			if (params->deviceproperties[i].desc.DevicePropertyCode == p)  in parse_9301_prop_tree()
775 …params->deviceproperties = realloc(params->deviceproperties,(i+1)*sizeof(params->deviceproperties[… in parse_9301_prop_tree()
776 memset(&params->deviceproperties[i],0,sizeof(params->deviceproperties[0])); in parse_9301_prop_tree()
779 ptp_free_devicepropdesc (&params->deviceproperties[i].desc); in parse_9301_prop_tree()
783 time( &params->deviceproperties[i].timestamp); in parse_9301_prop_tree()
784 params->deviceproperties[i].desc = dpd; in parse_9301_prop_tree()
1141 ptp_free_devicepropdesc (&params->deviceproperties[i].desc); in ptp_free_params()
1142 free (params->deviceproperties); in ptp_free_params()
2150 if (params->deviceproperties[i].desc.DevicePropertyCode == event->Param1) { in handle_event_internal()
2151 params->deviceproperties[i].timestamp = 0; in handle_event_internal()
2964 if (params->deviceproperties[i].desc.DevicePropertyCode == propcode) in ptp_sony_getalldevicepropdesc()
2972 if (params->deviceproperties[i].desc.CurrentValue.type != dpd.CurrentValue.type) \ in ptp_sony_getalldevicepropdesc()
2973 …sony_getalldevicepropdesc: %04x: value %d -> %d", propcode, params->deviceproperties[i].desc.Curre… in ptp_sony_getalldevicepropdesc()
2997 …params->deviceproperties = realloc(params->deviceproperties,(i+1)*sizeof(params->deviceproperties[… in ptp_sony_getalldevicepropdesc()
2998 memset(&params->deviceproperties[i],0,sizeof(params->deviceproperties[0])); in ptp_sony_getalldevicepropdesc()
3001 ptp_free_devicepropdesc (&params->deviceproperties[i].desc); in ptp_sony_getalldevicepropdesc()
3003 params->deviceproperties[i].desc = dpd; in ptp_sony_getalldevicepropdesc()
3130 if (params->deviceproperties[i].desc.DevicePropertyCode == propcode) in ptp_generic_getdevicepropdesc()
3133 …params->deviceproperties = realloc(params->deviceproperties,(i+1)*sizeof(params->deviceproperties[… in ptp_generic_getdevicepropdesc()
3134 memset(&params->deviceproperties[i],0,sizeof(params->deviceproperties[0])); in ptp_generic_getdevicepropdesc()
3138 if (params->deviceproperties[i].desc.DataType != PTP_DTC_UNDEF) { in ptp_generic_getdevicepropdesc()
3140 if (params->deviceproperties[i].timestamp + params->cachetime > now) { in ptp_generic_getdevicepropdesc()
3141 duplicate_DevicePropDesc(&params->deviceproperties[i].desc, dpd); in ptp_generic_getdevicepropdesc()
3145 ptp_free_devicepropdesc (&params->deviceproperties[i].desc); in ptp_generic_getdevicepropdesc()
3154 if (params->deviceproperties[i].desc.DevicePropertyCode == propcode) in ptp_generic_getdevicepropdesc()
3161 params->deviceproperties[i].timestamp = now; in ptp_generic_getdevicepropdesc()
3162 duplicate_DevicePropDesc(&params->deviceproperties[i].desc, dpd); in ptp_generic_getdevicepropdesc()
3168 CHECK_PTP_RC(ptp_sony_getdevicepropdesc (params, propcode, &params->deviceproperties[i].desc)); in ptp_generic_getdevicepropdesc()
3171 params->deviceproperties[i].timestamp = now; in ptp_generic_getdevicepropdesc()
3172 duplicate_DevicePropDesc(&params->deviceproperties[i].desc, dpd); in ptp_generic_getdevicepropdesc()
3178 CHECK_PTP_RC(ptp_getdevicepropdesc (params, propcode, &params->deviceproperties[i].desc)); in ptp_generic_getdevicepropdesc()
3181 params->deviceproperties[i].timestamp = now; in ptp_generic_getdevicepropdesc()
3182 duplicate_DevicePropDesc(&params->deviceproperties[i].desc, dpd); in ptp_generic_getdevicepropdesc()
3210 if (params->deviceproperties[i].desc.DevicePropertyCode == propcode) in ptp_generic_setdevicepropvalue()
3213 params->deviceproperties[i].timestamp = 0; in ptp_generic_setdevicepropvalue()