Home
last modified time | relevance | path

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

/linux/drivers/platform/chrome/
H 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()
243 struct cros_ec_sensorhub *sensorhub = dev_get_drvdata(dev); in cros_ec_sensorhub_suspend() local
[all …]
H 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
/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h180 int cros_ec_sensorhub_register_push_data(struct cros_ec_sensorhub *sensorhub,
185 void cros_ec_sensorhub_unregister_push_data(struct cros_ec_sensorhub *sensorhub,
188 int cros_ec_sensorhub_ring_allocate(struct cros_ec_sensorhub *sensorhub);
189 int cros_ec_sensorhub_ring_add(struct cros_ec_sensorhub *sensorhub);
191 int cros_ec_sensorhub_ring_fifo_enable(struct cros_ec_sensorhub *sensorhub,
/linux/drivers/iio/common/ssp_sensors/
H A DKconfig22 SSP driver for sensorhub.
23 If you say yes here you get ssp support for sensorhub.
25 module will be called sensorhub.
H A DMakefile6 sensorhub-objs := ssp_dev.o ssp_spi.o
7 obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o