Lines Matching refs:SupportedValue

793       uint16_t bestfit = opd->FORM.Enum.SupportedValue[0].u16;  in adjust_u16()
796 if (val == opd->FORM.Enum.SupportedValue[i].u16) { in adjust_u16()
800 if (opd->FORM.Enum.SupportedValue[i].u16 < val) { in adjust_u16()
801 bestfit = opd->FORM.Enum.SupportedValue[i].u16; in adjust_u16()
838 uint32_t bestfit = opd->FORM.Enum.SupportedValue[0].u32; in adjust_u32()
841 if (val == opd->FORM.Enum.SupportedValue[i].u32) { in adjust_u32()
845 if (opd->FORM.Enum.SupportedValue[i].u32 < val) { in adjust_u32()
846 bestfit = opd->FORM.Enum.SupportedValue[i].u32; in adjust_u32()
944 allowed_vals->i8vals[i] = opd.FORM.Enum.SupportedValue[i].i8; in LIBMTP_Get_Allowed_Property_Values()
947 allowed_vals->u8vals[i] = opd.FORM.Enum.SupportedValue[i].u8; in LIBMTP_Get_Allowed_Property_Values()
950 allowed_vals->i16vals[i] = opd.FORM.Enum.SupportedValue[i].i16; in LIBMTP_Get_Allowed_Property_Values()
953 allowed_vals->u16vals[i] = opd.FORM.Enum.SupportedValue[i].u16; in LIBMTP_Get_Allowed_Property_Values()
956 allowed_vals->i32vals[i] = opd.FORM.Enum.SupportedValue[i].i32; in LIBMTP_Get_Allowed_Property_Values()
959 allowed_vals->u32vals[i] = opd.FORM.Enum.SupportedValue[i].u32; in LIBMTP_Get_Allowed_Property_Values()
962 allowed_vals->i64vals[i] = opd.FORM.Enum.SupportedValue[i].i64; in LIBMTP_Get_Allowed_Property_Values()
965 allowed_vals->u64vals[i] = opd.FORM.Enum.SupportedValue[i].u64; in LIBMTP_Get_Allowed_Property_Values()
2969 printf("%d, ", opd.FORM.Enum.SupportedValue[k].i8); in LIBMTP_Dump_Device_Info()
2993 printf("%d, ", opd.FORM.Enum.SupportedValue[k].u8); in LIBMTP_Dump_Device_Info()
3017 printf("%d, ", opd.FORM.Enum.SupportedValue[k].i16); in LIBMTP_Dump_Device_Info()
3038 printf("%d, ", opd.FORM.Enum.SupportedValue[k].u16); in LIBMTP_Dump_Device_Info()
3059 printf("%d, ", opd.FORM.Enum.SupportedValue[k].i32); in LIBMTP_Dump_Device_Info()
3082 if (opd.FORM.Enum.SupportedValue[k].u32 == 0) { in LIBMTP_Dump_Device_Info()
3086 fourcc[0] = (opd.FORM.Enum.SupportedValue[k].u32 >> 24) & 0xFFU; in LIBMTP_Dump_Device_Info()
3087 fourcc[1] = (opd.FORM.Enum.SupportedValue[k].u32 >> 16) & 0xFFU; in LIBMTP_Dump_Device_Info()
3088 fourcc[2] = (opd.FORM.Enum.SupportedValue[k].u32 >> 8) & 0xFFU; in LIBMTP_Dump_Device_Info()
3089 fourcc[3] = opd.FORM.Enum.SupportedValue[k].u32 & 0xFFU; in LIBMTP_Dump_Device_Info()
3098 printf("%d, ", opd.FORM.Enum.SupportedValue[k].u32); in LIBMTP_Dump_Device_Info()
8112 retsam->filetype = map_ptp_type_to_libmtp_type(opd_format.FORM.Enum.SupportedValue[0].u16);
8139 retsam->filetype = map_ptp_type_to_libmtp_type(opd_format.FORM.Enum.SupportedValue[0].u16);