Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/accel/
Dmma9551_core.c397 __be16 be_buf[MMA9551_MAX_MAILBOX_DATA_REGS / 2]; in mma9551_read_config_words() local
399 if (len > ARRAY_SIZE(be_buf)) { in mma9551_read_config_words()
405 reg, NULL, 0, (u8 *)be_buf, len * sizeof(u16)); in mma9551_read_config_words()
410 buf[i] = be16_to_cpu(be_buf[i]); in mma9551_read_config_words()
436 __be16 be_buf[MMA9551_MAX_MAILBOX_DATA_REGS / 2]; in mma9551_read_status_words() local
438 if (len > ARRAY_SIZE(be_buf)) { in mma9551_read_status_words()
444 reg, NULL, 0, (u8 *)be_buf, len * sizeof(u16)); in mma9551_read_status_words()
449 buf[i] = be16_to_cpu(be_buf[i]); in mma9551_read_status_words()
475 __be16 be_buf[(MMA9551_MAX_MAILBOX_DATA_REGS - 1) / 2]; in mma9551_write_config_words() local
477 if (len > ARRAY_SIZE(be_buf)) { in mma9551_write_config_words()
[all …]