Lines Matching refs:command
148 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) in __mt9t112_reg_read() argument
154 command = swab16(command); in __mt9t112_reg_read()
159 msg[0].buf = (u8 *)&command; in __mt9t112_reg_read()
180 u16 command, u16 data) in __mt9t112_reg_write() argument
186 command = swab16(command); in __mt9t112_reg_write()
189 memcpy(buf + 0, &command, 2); in __mt9t112_reg_write()
209 u16 command, in __mt9t112_reg_mask_set() argument
213 int val = __mt9t112_reg_read(client, command); in __mt9t112_reg_mask_set()
220 return __mt9t112_reg_write(client, command, val); in __mt9t112_reg_mask_set()
224 static int __mt9t112_mcu_read(const struct i2c_client *client, u16 command) in __mt9t112_mcu_read() argument
228 ret = __mt9t112_reg_write(client, 0x098E, command); in __mt9t112_mcu_read()
236 u16 command, u16 data) in __mt9t112_mcu_write() argument
240 ret = __mt9t112_reg_write(client, 0x098E, command); in __mt9t112_mcu_write()
248 u16 command, in __mt9t112_mcu_mask_set() argument
252 int val = __mt9t112_mcu_read(client, command); in __mt9t112_mcu_mask_set()
259 return __mt9t112_mcu_write(client, command, val); in __mt9t112_mcu_mask_set()