Lines Matching refs:mma9551_transfer
108 static int mma9551_transfer(struct i2c_client *client, in mma9551_transfer() function
219 return mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_byte()
244 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg, in mma9551_write_config_byte()
269 return mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS, in mma9551_read_status_byte()
297 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_word()
330 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg, in mma9551_write_config_word()
358 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS, in mma9551_read_status_word()
396 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_words()
435 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS, in mma9551_read_status_words()
477 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, in mma9551_write_config_words()
614 ret = mma9551_transfer(client, MMA9551_APPID_VERSION, 0x00, 0x00, in mma9551_read_version()