Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c373 u16 xy1y2[3]; in yas537_measure() local
402 xy1y2[0] = FIELD_GET(GENMASK(13, 0), get_unaligned_be16(&data[2])); in yas537_measure()
403 xy1y2[1] = get_unaligned_be16(&data[4]); in yas537_measure()
404 xy1y2[2] = get_unaligned_be16(&data[6]); in yas537_measure()
409 s[i] = xy1y2[i] - BIT(13); in yas537_measure()
415 xy1y2[i] = h[i] + BIT(13); in yas537_measure()
419 *x = xy1y2[0]; in yas537_measure()
420 *y1 = xy1y2[1]; in yas537_measure()
421 *y2 = xy1y2[2]; in yas537_measure()