Lines Matching refs:SupportedValue

870       uint16_t bestfit = opd->FORM.Enum.SupportedValue[0].u16;  in adjust_u16()
873 if (val == opd->FORM.Enum.SupportedValue[i].u16) { in adjust_u16()
877 if (opd->FORM.Enum.SupportedValue[i].u16 < val) { in adjust_u16()
878 bestfit = opd->FORM.Enum.SupportedValue[i].u16; in adjust_u16()
915 uint32_t bestfit = opd->FORM.Enum.SupportedValue[0].u32; in adjust_u32()
918 if (val == opd->FORM.Enum.SupportedValue[i].u32) { in adjust_u32()
922 if (opd->FORM.Enum.SupportedValue[i].u32 < val) { in adjust_u32()
923 bestfit = opd->FORM.Enum.SupportedValue[i].u32; in adjust_u32()
1021 allowed_vals->i8vals[i] = opd.FORM.Enum.SupportedValue[i].i8; in LIBMTP_Get_Allowed_Property_Values()
1024 allowed_vals->u8vals[i] = opd.FORM.Enum.SupportedValue[i].u8; in LIBMTP_Get_Allowed_Property_Values()
1027 allowed_vals->i16vals[i] = opd.FORM.Enum.SupportedValue[i].i16; in LIBMTP_Get_Allowed_Property_Values()
1030 allowed_vals->u16vals[i] = opd.FORM.Enum.SupportedValue[i].u16; in LIBMTP_Get_Allowed_Property_Values()
1033 allowed_vals->i32vals[i] = opd.FORM.Enum.SupportedValue[i].i32; in LIBMTP_Get_Allowed_Property_Values()
1036 allowed_vals->u32vals[i] = opd.FORM.Enum.SupportedValue[i].u32; in LIBMTP_Get_Allowed_Property_Values()
1039 allowed_vals->i64vals[i] = opd.FORM.Enum.SupportedValue[i].i64; in LIBMTP_Get_Allowed_Property_Values()
1042 allowed_vals->u64vals[i] = opd.FORM.Enum.SupportedValue[i].u64; in LIBMTP_Get_Allowed_Property_Values()
3290 printf("%d, ", opd.FORM.Enum.SupportedValue[k].i8); in LIBMTP_Dump_Device_Info()
3314 printf("%d, ", opd.FORM.Enum.SupportedValue[k].u8); in LIBMTP_Dump_Device_Info()
3338 printf("%d, ", opd.FORM.Enum.SupportedValue[k].i16); in LIBMTP_Dump_Device_Info()
3359 printf("%d, ", opd.FORM.Enum.SupportedValue[k].u16); in LIBMTP_Dump_Device_Info()
3380 printf("%d, ", opd.FORM.Enum.SupportedValue[k].i32); in LIBMTP_Dump_Device_Info()
3403 if (opd.FORM.Enum.SupportedValue[k].u32 == 0) { in LIBMTP_Dump_Device_Info()
3407 fourcc[0] = (opd.FORM.Enum.SupportedValue[k].u32 >> 24) & 0xFFU; in LIBMTP_Dump_Device_Info()
3408 fourcc[1] = (opd.FORM.Enum.SupportedValue[k].u32 >> 16) & 0xFFU; in LIBMTP_Dump_Device_Info()
3409 fourcc[2] = (opd.FORM.Enum.SupportedValue[k].u32 >> 8) & 0xFFU; in LIBMTP_Dump_Device_Info()
3410 fourcc[3] = opd.FORM.Enum.SupportedValue[k].u32 & 0xFFU; in LIBMTP_Dump_Device_Info()
3419 printf("%d, ", opd.FORM.Enum.SupportedValue[k].u32); in LIBMTP_Dump_Device_Info()
8767 retsam->filetype = map_ptp_type_to_libmtp_type(opd_format.FORM.Enum.SupportedValue[0].u16);
8794 retsam->filetype = map_ptp_type_to_libmtp_type(opd_format.FORM.Enum.SupportedValue[0].u16);