Searched refs:rbm_buf (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | mc3230.c | 305 u8 rbm_buf[MC32X0_DATA_LEN] = { 0 }; in MC32X0_ReadData_RBM() local 313 err = mc3230_read_block(client, addr, rbm_buf, 0x06); in MC32X0_ReadData_RBM() 315 data[MC32X0_AXIS_X] = (s16)((rbm_buf[0]) | (rbm_buf[1] << 8)); in MC32X0_ReadData_RBM() 316 data[MC32X0_AXIS_Y] = (s16)((rbm_buf[2]) | (rbm_buf[3] << 8)); in MC32X0_ReadData_RBM() 317 data[MC32X0_AXIS_Z] = (s16)((rbm_buf[4]) | (rbm_buf[5] << 8)); in MC32X0_ReadData_RBM() 319 GSE_LOG("rbm_buf<<<<<[%02x %02x %02x %02x %02x %02x]\n", rbm_buf[0], in MC32X0_ReadData_RBM() 320 rbm_buf[2], rbm_buf[2], rbm_buf[3], rbm_buf[4], rbm_buf[5]); in MC32X0_ReadData_RBM() 866 char rbm_buf[6]; in MC32X0_ReadData() local 883 memset(rbm_buf, 0, 3); in MC32X0_ReadData() 884 rbm_buf[0] = MC3230_REG_RBM_DATA; in MC32X0_ReadData() [all …]
|