Lines Matching refs:tmpval
231 int tmpval = 0; in stk_sensor_outb() local
240 if (stk_camera_read_reg(dev, STK_IIC_STAT, &tmpval)) in stk_sensor_outb()
243 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_outb()
244 if (tmpval != STK_IIC_STAT_TX_OK) { in stk_sensor_outb()
245 if (tmpval) in stk_sensor_outb()
247 tmpval); in stk_sensor_outb()
256 int tmpval = 0; in stk_sensor_inb() local
263 if (stk_camera_read_reg(dev, STK_IIC_STAT, &tmpval)) in stk_sensor_inb()
266 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_inb()
267 if (tmpval != STK_IIC_STAT_RX_OK) { in stk_sensor_inb()
268 if (tmpval) in stk_sensor_inb()
270 tmpval); in stk_sensor_inb()
274 if (stk_camera_read_reg(dev, STK_IIC_RX_VALUE, &tmpval)) in stk_sensor_inb()
277 *val = (u8) tmpval; in stk_sensor_inb()