Lines Matching defs:command
150 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command)
156 command = swab16(command);
161 msg[0].buf = (u8 *)&command;
182 u16 command, u16 data)
188 command = swab16(command);
191 memcpy(buf + 0, &command, 2);
209 u16 command, u16 mask, u16 set)
211 int val = __mt9t112_reg_read(client, command);
219 return __mt9t112_reg_write(client, command, val);
223 static int __mt9t112_mcu_read(const struct i2c_client *client, u16 command)
227 ret = __mt9t112_reg_write(client, 0x098E, command);
235 u16 command, u16 data)
239 ret = __mt9t112_reg_write(client, 0x098E, command);
247 u16 command, u16 mask, u16 set)
249 int val = __mt9t112_mcu_read(client, command);
257 return __mt9t112_mcu_write(client, command, val);