Lines Matching refs:tmpval
221 u8 tmpval = 0; in stk_sensor_outb() local
230 if (stk_camera_read_reg(dev, STK_IIC_STAT, &tmpval)) in stk_sensor_outb()
233 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_outb()
234 if (tmpval != STK_IIC_STAT_TX_OK) { in stk_sensor_outb()
235 if (tmpval) in stk_sensor_outb()
237 tmpval); in stk_sensor_outb()
246 u8 tmpval = 0; in stk_sensor_inb() local
253 if (stk_camera_read_reg(dev, STK_IIC_STAT, &tmpval)) in stk_sensor_inb()
256 } while (tmpval == 0 && i < MAX_RETRIES); in stk_sensor_inb()
257 if (tmpval != STK_IIC_STAT_RX_OK) { in stk_sensor_inb()
258 if (tmpval) in stk_sensor_inb()
260 tmpval); in stk_sensor_inb()
264 if (stk_camera_read_reg(dev, STK_IIC_RX_VALUE, &tmpval)) in stk_sensor_inb()
267 *val = tmpval; in stk_sensor_inb()