Home
last modified time | relevance | path

Searched refs:adjust_u16 (Results 1 – 1 of 1) sorted by relevance

/external/libmtp/src/
Dlibmtp.c170 static uint16_t adjust_u16(uint16_t val, PTPObjectPropDesc *opd);
851 static uint16_t adjust_u16(uint16_t val, PTPObjectPropDesc *opd) in adjust_u16() function
6494 prop->propval.u16 = adjust_u16(metadata->tracknumber, &opd);
6517 prop->propval.u16 = adjust_u16(metadata->nochannels, &opd);
6538 prop->propval.u16 = adjust_u16(metadata->bitratetype, &opd);
6548 prop->propval.u16 = adjust_u16(metadata->rating, &opd);
6654 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_Track, adjust_u16(metadata->tracknumber, &…
6687 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_NumberOfChannels, adjust_u16(metadata->noc…
6717 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_BitRateType, adjust_u16(metadata->bitratet…
6728 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_Rating, adjust_u16(metadata->rating, &opd)…