Lines Matching refs:be_buf
397 __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()
483 be_buf[i] = cpu_to_be16(buf[i]); in mma9551_write_config_words()
486 reg, (u8 *)be_buf, len * sizeof(u16), NULL, 0); in mma9551_write_config_words()