Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/
Dinkern.c633 s64 raw64 = raw; in iio_convert_raw_to_processed_unlocked() local
658 raw64 += offset_val; in iio_convert_raw_to_processed_unlocked()
674 *processed = raw64 * scale_val * scale; in iio_convert_raw_to_processed_unlocked()
678 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
680 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
681 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
686 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
688 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
689 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
693 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked()
[all …]
/linux-6.1.9/tools/testing/selftests/net/
Dioam6_parser.c207 __u64 raw64; in check_ioam6_data() local
253 raw64 = __be64_to_cpu(*((__u64 *)*p)); in check_ioam6_data()
254 if (cnf.hlim != (raw64 >> 56) || in check_ioam6_data()
255 cnf.wide != (raw64 & 0xffffffffffffff)) in check_ioam6_data()
/linux-6.1.9/net/ipv6/
Dioam6.c641 u64 raw64; in __ioam6_fill_trace_data() local
750 raw64 = dev_net(skb_dst(skb)->dev)->ipv6.sysctl.ioam6_id_wide; in __ioam6_fill_trace_data()
752 *(__be64 *)data = cpu_to_be64(((u64)byte << 56) | raw64); in __ioam6_fill_trace_data()