Lines Matching refs:addr_space
121 u8 addr_space; member
275 static int __mt9v111_addr_space_select(struct i2c_client *c, u16 addr_space) in __mt9v111_addr_space_select() argument
282 if (mt9v111->addr_space == addr_space) in __mt9v111_addr_space_select()
285 ret = __mt9v111_write(c, MT9V111_R01_ADDR_SPACE, addr_space); in __mt9v111_addr_space_select()
294 if (val != addr_space) in __mt9v111_addr_space_select()
297 mt9v111->addr_space = addr_space; in __mt9v111_addr_space_select()
302 static int mt9v111_read(struct i2c_client *c, u8 addr_space, u8 reg, u16 *val) in mt9v111_read() argument
307 ret = __mt9v111_addr_space_select(c, addr_space); in mt9v111_read()
318 static int mt9v111_write(struct i2c_client *c, u8 addr_space, u8 reg, u16 val) in mt9v111_write() argument
323 ret = __mt9v111_addr_space_select(c, addr_space); in mt9v111_write()
334 static int mt9v111_update(struct i2c_client *c, u8 addr_space, u8 reg, in mt9v111_update() argument
341 ret = __mt9v111_addr_space_select(c, addr_space); in mt9v111_update()
1201 mt9v111->addr_space = MT9V111_R01_IFP; in mt9v111_probe()