Home
last modified time | relevance | path

Searched refs:sensor_num (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/platform/chrome/
A Dcros_ec_sensorhub.c30 int sensor_num) in cros_ec_sensorhub_allocate_sensor() argument
33 .sensor_num = sensor_num, in cros_ec_sensorhub_allocate_sensor()
65 sensorhub->params->info.sensor_num = i; in cros_ec_sensorhub_register()
130 int ret, i, sensor_num; in cros_ec_sensorhub_probe() local
157 if (sensor_num < 0) { in cros_ec_sensorhub_probe()
160 sensor_num); in cros_ec_sensorhub_probe()
161 return sensor_num; in cros_ec_sensorhub_probe()
163 if (sensor_num == 0) { in cros_ec_sensorhub_probe()
167 data->sensor_num = sensor_num; in cros_ec_sensorhub_probe()
206 data->sensor_num = 2; in cros_ec_sensorhub_probe()
[all …]
A Dcros_ec_sensorhub_ring.c45 if (id >= sensorhub->sensor_num) in cros_sensorhub_send_sample()
75 u8 sensor_num, in cros_ec_sensorhub_register_push_data() argument
79 if (sensor_num >= sensorhub->sensor_num) in cros_ec_sensorhub_register_push_data()
92 u8 sensor_num) in cros_ec_sensorhub_unregister_push_data() argument
453 out->sensor_id = in->sensor_num; in cros_ec_sensor_ring_process_event()
470 out->sensor_id = in->sensor_num; in cros_ec_sensor_ring_process_event()
781 sizeof(u16) * sensorhub->sensor_num; in cros_ec_sensorhub_ring_handler()
955 sizeof(u16) * sensorhub->sensor_num; in cros_ec_sensorhub_ring_allocate()
968 sensorhub->sensor_num, in cros_ec_sensorhub_ring_allocate()
980 sensorhub->sensor_num, in cros_ec_sensorhub_ring_allocate()
[all …]
/linux/drivers/thermal/
A Dsun8i_thermal.c70 int sensor_num; member
157 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun8i_h3_irq_ack()
175 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun50i_h6_irq_ack()
208 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun8i_h3_ths_calibrate()
545 .sensor_num = 3,
556 .sensor_num = 1,
569 .sensor_num = 2,
582 .sensor_num = 3,
595 .sensor_num = 3,
608 .sensor_num = 2,
[all …]
/linux/drivers/iio/accel/
A Dcros_ec_accel_legacy.c47 u8 sensor_num; in cros_ec_accel_legacy_read_cmd() local
53 sensor_num = st->param.info.sensor_num; in cros_ec_accel_legacy_read_cmd()
59 st->param.info.sensor_num = sensor_num; in cros_ec_accel_legacy_read_cmd()
66 *data = st->resp->dump.sensor[sensor_num].data[i] * in cros_ec_accel_legacy_read_cmd()
/linux/include/linux/platform_data/
A Dcros_ec_sensorhub.h23 u8 sensor_num; member
150 int sensor_num; member
181 u8 sensor_num,
186 u8 sensor_num);
A Dcros_ec_commands.h2406 uint8_t sensor_num; member
2452 uint8_t sensor_num; member
2535 uint8_t sensor_num; member
2544 uint8_t sensor_num; member
2557 uint8_t sensor_num; member
2586 uint8_t sensor_num; member
3044 uint32_t sensor_num; member
3053 uint32_t sensor_num; member
/linux/drivers/iio/common/cros_ec_sensors/
A Dcros_ec_sensors_core.c230 u8 sensor_num = st->param.info.sensor_num; in cros_ec_sensors_core_clean() local
232 cros_ec_sensorhub_unregister_push_data(sensor_hub, sensor_num); in cros_ec_sensors_core_clean()
291 state->param.info.sensor_num = sensor_platform->sensor_num; in cros_ec_sensors_core_init()
343 sensor_hub, sensor_platform->sensor_num, in cros_ec_sensors_core_init()
443 return snprintf(buf, PAGE_SIZE, "%d\n", st->param.info.sensor_num); in cros_ec_sensors_id()
492 (1 + idx + st->param.info.sensor_num * in cros_ec_sensors_idx_to_reg()
/linux/drivers/input/touchscreen/
A Dgoodix_fwupload.c264 u8 have_key, driver_num, sensor_num; in goodix_prepare_bak_ref() local
276 sensor_num = (ts->config[GOODIX_CFG_LOC_SENS_NUM] & 0x0f) + in goodix_prepare_bak_ref()
280 driver_num, sensor_num, have_key); in goodix_prepare_bak_ref()
282 ts->bak_ref_len = (driver_num * (sensor_num - 2) + 2) * 2; in goodix_prepare_bak_ref()
/linux/drivers/staging/media/atomisp/include/linux/
A Datomisp_platform.h154 int sensor_num; member
/linux/arch/ia64/include/asm/
A Dsal.h498 sensor_num : 1, member
511 u8 sensor_num; member
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_v4l2.c1049 int sensor_num, i; in atomisp_subdev_probe() local
1110 sensor_num = isp->inputs[isp->input_cnt] in atomisp_subdev_probe()
1111 .camera_caps->sensor_num; in atomisp_subdev_probe()
1113 for (i = 1; i < sensor_num; i++) { in atomisp_subdev_probe()
A Datomisp_gmin_platform.c142 .sensor_num = 1, in atomisp_get_default_camera_caps()
/linux/drivers/scsi/mpi3mr/mpi/
A Dmpi30_ioc.h306 u8 sensor_num; member

Completed in 63 milliseconds