Searched refs:s5k4ecgx_i2c_write (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/media/i2c/ |
D | s5k4ecgx.c | 226 static int s5k4ecgx_i2c_write(struct i2c_client *client, u16 addr, u16 val) in s5k4ecgx_i2c_write() function 243 ret = s5k4ecgx_i2c_write(client, REG_CMDWR_ADDRH, high); in s5k4ecgx_write() 245 ret = s5k4ecgx_i2c_write(client, REG_CMDWR_ADDRL, low); in s5k4ecgx_write() 247 ret = s5k4ecgx_i2c_write(client, REG_CMDBUF0_ADDR, val); in s5k4ecgx_write() 257 ret = s5k4ecgx_i2c_write(client, REG_CMDRD_ADDRH, high); in s5k4ecgx_read() 259 ret = s5k4ecgx_i2c_write(client, REG_CMDRD_ADDRL, low); in s5k4ecgx_read() 293 ret = s5k4ecgx_i2c_write(client, AHB_MSB_ADDR_PTR, GEN_REG_OFFSH); in s5k4ecgx_set_ahb_address() 301 ret = s5k4ecgx_i2c_write(client, 0x0010, 0x0001); in s5k4ecgx_set_ahb_address() 305 ret = s5k4ecgx_i2c_write(client, 0x1030, 0x0000); in s5k4ecgx_set_ahb_address() 309 return s5k4ecgx_i2c_write(client, 0x0014, 0x0001); in s5k4ecgx_set_ahb_address() [all …]
|