Lines Matching refs:be_buf
389 __be16 be_buf[MMA9551_MAX_MAILBOX_DATA_REGS / 2]; in mma9551_read_config_words() local
391 if (len > ARRAY_SIZE(be_buf)) { in mma9551_read_config_words()
397 reg, NULL, 0, (u8 *)be_buf, len * sizeof(u16)); in mma9551_read_config_words()
402 buf[i] = be16_to_cpu(be_buf[i]); in mma9551_read_config_words()
428 __be16 be_buf[MMA9551_MAX_MAILBOX_DATA_REGS / 2]; in mma9551_read_status_words() local
430 if (len > ARRAY_SIZE(be_buf)) { in mma9551_read_status_words()
436 reg, NULL, 0, (u8 *)be_buf, len * sizeof(u16)); in mma9551_read_status_words()
441 buf[i] = be16_to_cpu(be_buf[i]); in mma9551_read_status_words()
467 __be16 be_buf[(MMA9551_MAX_MAILBOX_DATA_REGS - 1) / 2]; in mma9551_write_config_words() local
469 if (len > ARRAY_SIZE(be_buf)) { in mma9551_write_config_words()
475 be_buf[i] = cpu_to_be16(buf[i]); in mma9551_write_config_words()
478 reg, (u8 *)be_buf, len * sizeof(u16), NULL, 0); in mma9551_write_config_words()