Home
last modified time | relevance | path

Searched refs:sensorhub (Results 1 – 5 of 5) sorted by relevance

/drivers/platform/chrome/
A Dcros_ec_sensorhub_ring.c126 ret = cros_ec_cmd_xfer_status(sensorhub->ec->ec_dev, sensorhub->msg); in cros_ec_sensorhub_ring_fifo_enable()
385 *sensorhub, in cros_ec_sensor_ring_check_for_past_timestamp()
796 sensorhub->fifo_info; in cros_ec_sensorhub_ring_handler()
844 out = sensorhub->ring; in cros_ec_sensorhub_ring_handler()
987 sensorhub->fifo_info = devm_kzalloc(sensorhub->dev, fifo_info_length, in cros_ec_sensorhub_ring_allocate()
996 sensorhub->push_data = devm_kcalloc(sensorhub->dev, in cros_ec_sensorhub_ring_allocate()
1004 sensorhub->ec, in cros_ec_sensorhub_ring_allocate()
1008 sensorhub->batch_state = devm_kcalloc(sensorhub->dev, in cros_ec_sensorhub_ring_allocate()
1049 sensorhub->fifo_size = sensorhub->resp->fifo_info.size; in cros_ec_sensorhub_ring_add()
1050 sensorhub->ring = devm_kcalloc(sensorhub->dev, sensorhub->fifo_size, in cros_ec_sensorhub_ring_add()
[all …]
A Dcros_ec_sensorhub.c53 struct cros_ec_sensorhub *sensorhub) in cros_ec_sensorhub_register() argument
56 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
57 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register()
66 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register()
67 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register()
68 sensorhub->params->info.sensor_num = i; in cros_ec_sensorhub_register()
90 switch (sensorhub->resp->info.type) { in cros_ec_sensorhub_register()
114 sensorhub->resp->info.type); in cros_ec_sensorhub_register()
122 sensor_type[sensorhub->resp->info.type]++; in cros_ec_sensorhub_register()
244 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_suspend()
[all …]
A DMakefile35 cros-ec-sensorhub-objs := cros_ec_sensorhub.o cros_ec_sensorhub_ring.o
36 obj-$(CONFIG_CROS_EC_SENSORHUB) += cros-ec-sensorhub.o
/drivers/iio/common/ssp_sensors/
A DKconfig22 SSP driver for sensorhub.
23 If you say yes here you get ssp support for sensorhub.
25 module will be called sensorhub.
A DMakefile6 sensorhub-objs := ssp_dev.o ssp_spi.o
7 obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o

Completed in 12 milliseconds