Lines Matching refs:sensor
83 if (sd->sensor->i2c_len == 2) { in stv06xx_write_sensor()
127 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_write_sensor_bytes()
160 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_write_sensor_words()
180 err = stv06xx_write_bridge(sd, STV_I2C_FLUSH, sd->sensor->i2c_flush); in stv06xx_read_sensor()
188 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_read_sensor()
203 0x04, 0xc0, 0x1410, 0, buf, sd->sensor->i2c_len, in stv06xx_read_sensor()
205 if (sd->sensor->i2c_len == 2) in stv06xx_read_sensor()
260 err = sd->sensor->init(sd); in stv06xx_init()
262 if (dump_sensor && sd->sensor->dump) in stv06xx_init()
263 sd->sensor->dump(sd); in stv06xx_init()
276 return sd->sensor->init_controls(sd); in stv06xx_init_controls()
303 err = sd->sensor->start(sd); in stv06xx_start()
337 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
354 min_packet_size = sd->sensor->min_packet_size[gspca_dev->curr_mode]; in stv06xx_isoc_nego()
380 err = sd->sensor->stop(sd); in stv06xx_stopN()
580 sd->sensor = &stv06xx_sensor_st6422; in stv06xx_config()
581 if (!sd->sensor->probe(sd)) in stv06xx_config()
584 sd->sensor = &stv06xx_sensor_vv6410; in stv06xx_config()
585 if (!sd->sensor->probe(sd)) in stv06xx_config()
588 sd->sensor = &stv06xx_sensor_hdcs1x00; in stv06xx_config()
589 if (!sd->sensor->probe(sd)) in stv06xx_config()
592 sd->sensor = &stv06xx_sensor_hdcs1020; in stv06xx_config()
593 if (!sd->sensor->probe(sd)) in stv06xx_config()
596 sd->sensor = &stv06xx_sensor_pb0100; in stv06xx_config()
597 if (!sd->sensor->probe(sd)) in stv06xx_config()
600 sd->sensor = NULL; in stv06xx_config()
633 sd->sensor = NULL; in sd_disconnect()