Searched refs:sensor (Results 1 - 22 of 22) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/sn9c102/
H A Dsn9c102.h103 struct sn9c102_sensor sensor; member in struct:sn9c102_device
144 const struct sn9c102_sensor* sensor)
146 memcpy(&cam->sensor, sensor, sizeof(struct sn9c102_sensor));
159 return &cam->sensor;
143 sn9c102_attach_sensor(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor) argument
H A Dsn9c102_sensor.h40 below. In the most general case, to support a sensor there are three steps
67 /* Return a pointer the sensor struct attached to the camera */
74 /* Attach a probed sensor to the camera. */
77 const struct sn9c102_sensor* sensor);
80 /* The "try" I2C I/O versions are used when probing the sensor */
88 These must be used if and only if the sensor doesn't implement the standard
93 data1, and places the n bytes read from the sensor register table in the
99 const struct sn9c102_sensor* sensor, u8 n,
103 const struct sn9c102_sensor* sensor,
106 /* To be used after the sensor struc
[all...]
H A Dsn9c102_core.c122 struct v4l2_pix_format* p = &(cam->sensor.pix_format);
123 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds);
306 const struct sn9c102_sensor* sensor)
316 if (sensor->frequency & SN9C102_I2C_400KHZ)
327 const struct sn9c102_sensor* sensor)
349 const struct sn9c102_sensor* sensor)
359 const struct sn9c102_sensor* sensor, u8 data0,
367 data[0] = ((sensor->interface == SN9C102_I2C_2WIRES) ? 0x80 : 0) |
368 ((sensor->frequency & SN9C102_I2C_400KHZ) ? 0x01 : 0) | 0x10;
377 err += sn9c102_i2c_wait(cam, sensor);
305 sn9c102_i2c_wait(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor) argument
326 sn9c102_i2c_detect_read_error(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor) argument
348 sn9c102_i2c_detect_write_error(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor) argument
358 sn9c102_i2c_try_raw_read(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor, u8 data0, u8 data1, u8 n, u8 buffer[]) argument
417 sn9c102_i2c_try_raw_write(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor, u8 n, u8 data0, u8 data1, u8 data2, u8 data3, u8 data4, u8 data5) argument
456 sn9c102_i2c_try_read(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor, u8 address) argument
465 sn9c102_i2c_try_write(struct sn9c102_device* cam, const struct sn9c102_sensor* sensor, u8 address, u8 value) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/zc0301/
H A Dzc0301.h106 struct zc0301_sensor sensor; member in struct:zc0301_device
141 zc0301_attach_sensor(struct zc0301_device* cam, struct zc0301_sensor* sensor) argument
143 memcpy(&cam->sensor, sensor, sizeof(struct zc0301_sensor));
H A Dzc0301_core.c125 struct v4l2_pix_format* p = &(cam->sensor.pix_format);
126 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds);
343 imagesize = (cam->sensor.pix_format.width *
344 cam->sensor.pix_format.height *
345 cam->sensor.pix_format.priv) / 8;
568 struct zc0301_sensor* s = &cam->sensor;
616 DBG(3, "Image sensor supports '%s' control",
1071 struct zc0301_sensor* s = &cam->sensor;
1093 struct zc0301_sensor* s = &cam->sensor;
1125 struct zc0301_sensor* s = &cam->sensor;
[all...]
H A Dzc0301_sensor.h52 zc0301_attach_sensor(struct zc0301_device* cam, struct zc0301_sensor* sensor);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/
H A Dphidgetkit.c307 int i, level, sensor; local
349 sensor = (buffer[0] & 1) ? 4 : 0;
352 if (level != kit->sensors[sensor]) {
353 kit->sensors[sensor] = level;
354 set_bit(sensor, &kit->sensor_events);
356 sensor++;
358 if (level != kit->sensors[sensor]) {
359 kit->sensors[sensor] = level;
360 set_bit(sensor, &kit->sensor_events);
362 sensor
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/et61x251/
H A Det61x251_core.c122 struct v4l2_pix_format* p = &(cam->sensor.pix_format);
123 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds);
248 et61x251_i2c_wait(struct et61x251_device* cam, struct et61x251_sensor* sensor) argument
253 if (sensor->interface == ET61X251_I2C_3WIRES) {
273 struct et61x251_sensor* sensor, u8 address)
280 data[1] = cam->sensor.i2c_slave_id;
281 data[2] = cam->sensor.rsta | 0x10;
288 err += et61x251_i2c_wait(cam, sensor);
296 DBG(3, "I2C read failed for %s image sensor", sensor
272 et61x251_i2c_try_read(struct et61x251_device* cam, struct et61x251_sensor* sensor, u8 address) argument
305 et61x251_i2c_try_write(struct et61x251_device* cam, struct et61x251_sensor* sensor, u8 address, u8 value) argument
[all...]
H A Det61x251.h142 struct et61x251_sensor sensor; member in struct:et61x251_device
180 struct et61x251_sensor* sensor)
182 memcpy(&cam->sensor, sensor, sizeof(struct et61x251_sensor));
179 et61x251_attach_sensor(struct et61x251_device* cam, struct et61x251_sensor* sensor) argument
H A Det61x251_sensor.h50 struct et61x251_sensor* sensor);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dov511.c147 MODULE_PARM_DESC(dump_sensor, "Dump the sensor registers");
207 * are getting "Failed to read sensor ID..." */
573 * always succeeds regardless of whether the sensor is present and working.
654 * always succeeds regardless of whether the sensor is present and working.
1104 /* This does an initial reset of an OmniVision sensor and ensures that I2C
1112 /* Reset the sensor */
1126 /* Reset the sensor */
1331 /* Sets sensor's contrast setting to "val" */
1343 switch (ov->sensor) {
1381 PDEBUG(3, "Unsupported with this sensor");
[all...]
H A Dcafe_ccic.c4 * sensor.
103 "If set, the sensor will be instructed to flip the image "
146 struct i2c_client *sensor; member in struct:cafe_camera
467 if (cam->sensor && addr != cam->sensor->addr) {
521 cam->sensor = client;
531 if (cam->sensor == client) {
534 cam_err(cam, "lost the sensor!\n");
535 cam->sensor = NULL; /* Bummer, no camera */
732 * Clock the sensor appropriatel
[all...]
H A Dw9968cf.h113 #define W9968CF_MONOCHROME 0 /* 0 not monochrome, 1 monochrome sensor */
128 #define W9968CF_DEF_CLOCKDIVISOR 0 /* default sensor clock divisor value */
251 /* Determined by the image sensor type: */
252 int sensor, /* type of image sensor chip (CC_*) */ member in struct:w9968cf_device
253 monochrome; /* image sensor is (probably) monochrome */
254 u16 maxwidth, /* maximum width supported by the image sensor */
255 maxheight, /* maximum height supported by the image sensor */
256 minwidth, /* minimum width supported by the image sensor */
257 minheight; /* minimum height supported by the image sensor */
[all...]
H A Dov511.h419 /* Determined by sensor type */
472 int sensor; /* Type of image sensor chip (SEN_*) */ member in struct:usb_ov511
497 unsigned char primary_i2c_slave; /* I2C write id of sensor */
H A Dw9968cf.c8 * - I2C interface to kernel, high-level image sensor control routines and *
210 "\nproduced by the CCD or CMOS image sensor, and the scaling"
288 "\n<0|1[,...]> Image sensor automatically changes brightness:"
294 "\n<0|1[,...]> Image sensor automatically changes exposure:"
338 "\n<0|1[,...]> Use image sensor as monochrome sensor:"
457 /* High-level image sensor control functions */
1871 /* Setup the window of the sensor */
1885 switch (cam->sensor) {
2142 * Image sensor contro
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Drtas-proc.c113 #define SENSOR_PREFIX "ibm,sensor-"
133 struct individual_sensor sensor[MAX_SENSORS]; member in struct:rtas_sensors
435 int get_sensor_state = rtas_token("get-sensor-state");
447 struct individual_sensor *p = &sensors.sensor[i];
455 /* A sensor may have multiple instances */
489 sensors.sensor[i].token = *utmp++;
490 sensors.sensor[i].quant = *utmp++;
529 * Builds a string out of what the sensor said
559 /* What kind of sensor do we have here? */
665 seq_printf(m, "Unknown sensor (typ
[all...]
H A Drtas.c545 int rtas_get_sensor(int sensor, int index, int *state) argument
547 int token = rtas_token("get-sensor-state");
554 rc = rtas_call(token, 2, 2, state, sensor, index);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Drtas.h168 extern int rtas_get_sensor(int sensor, int index, int *state);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Di8k.c233 static int i8k_get_temp(int sensor) argument
242 regs.ebx = sensor & 0xff;
250 * Sometimes the temperature sensor returns 0x99, which is out of range.
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/
H A Dit87.c237 u8 sensor; /* Register value */ member in struct:it87_data
440 u8 reg = data->sensor; /* In case the value is updated while we use it */
460 data->sensor &= ~(1 << nr);
461 data->sensor &= ~(8 << nr);
464 data->sensor |= 1 << nr;
466 data->sensor |= 8 << nr;
471 it87_write_value(client, IT87_REG_TEMP_ENABLE, data->sensor);
1234 data->sensor = tmp;
1358 data->sensor = it87_read_value(client, IT87_REG_TEMP_ENABLE);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pwc/
H A Dpwc.h305 extern int pwc_get_cmos_sensor(struct pwc_device *pdev, int *sensor);
H A Dpwc-ctrl.c1225 int pwc_get_cmos_sensor(struct pwc_device *pdev, int *sensor) argument
1241 *sensor = buf | 0x100;
1243 *sensor = buf;

Completed in 528 milliseconds