Lines Matching refs:app_id
72 u8 app_id; member
87 u8 app_id; member
109 u8 app_id, u8 command, u16 offset, in mma9551_transfer() argument
126 req.app_id = app_id; in mma9551_transfer()
173 if (rsp.app_id != app_id) { in mma9551_transfer()
176 rsp.app_id, app_id); in mma9551_transfer()
216 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id, in mma9551_read_config_byte() argument
219 return mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_byte()
241 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id, in mma9551_write_config_byte() argument
244 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg, in mma9551_write_config_byte()
266 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id, in mma9551_read_status_byte() argument
269 return mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS, in mma9551_read_status_byte()
291 int mma9551_read_config_word(struct i2c_client *client, u8 app_id, in mma9551_read_config_word() argument
297 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_word()
325 int mma9551_write_config_word(struct i2c_client *client, u8 app_id, in mma9551_write_config_word() argument
330 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg, in mma9551_write_config_word()
352 int mma9551_read_status_word(struct i2c_client *client, u8 app_id, in mma9551_read_status_word() argument
358 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS, in mma9551_read_status_word()
385 int mma9551_read_config_words(struct i2c_client *client, u8 app_id, in mma9551_read_config_words() argument
396 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_words()
424 int mma9551_read_status_words(struct i2c_client *client, u8 app_id, in mma9551_read_status_words() argument
435 ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS, in mma9551_read_status_words()
463 int mma9551_write_config_words(struct i2c_client *client, u8 app_id, in mma9551_write_config_words() argument
477 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, in mma9551_write_config_words()
498 int mma9551_update_config_bits(struct i2c_client *client, u8 app_id, in mma9551_update_config_bits() argument
504 ret = mma9551_read_config_byte(client, app_id, reg, &orig); in mma9551_update_config_bits()
514 return mma9551_write_config_byte(client, app_id, reg, tmp); in mma9551_update_config_bits()
538 u8 app_id, u8 bitnum, int polarity) in mma9551_gpio_config() argument
555 reg, app_id); in mma9551_gpio_config()