Searched refs:sensorhub (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub_ring.c | 126 ret = cros_ec_cmd_xfer_status(sensorhub->ec->ec_dev, sensorhub->msg); in cros_ec_sensorhub_ring_fifo_enable() 357 *sensorhub, in cros_ec_sensor_ring_check_for_past_timestamp() 768 sensorhub->fifo_info; in cros_ec_sensorhub_ring_handler() 816 out = sensorhub->ring; in cros_ec_sensorhub_ring_handler() 959 sensorhub->fifo_info = devm_kzalloc(sensorhub->dev, fifo_info_length, in cros_ec_sensorhub_ring_allocate() 968 sensorhub->push_data = devm_kcalloc(sensorhub->dev, in cros_ec_sensorhub_ring_allocate() 976 sensorhub->ec, in cros_ec_sensorhub_ring_allocate() 980 sensorhub->batch_state = devm_kcalloc(sensorhub->dev, in cros_ec_sensorhub_ring_allocate() 1021 sensorhub->fifo_size = sensorhub->resp->fifo_info.size; in cros_ec_sensorhub_ring_add() 1022 sensorhub->ring = devm_kcalloc(sensorhub->dev, sensorhub->fifo_size, in cros_ec_sensorhub_ring_add() [all …]
|
H A D | cros_ec_sensorhub.c | 50 struct cros_ec_sensorhub *sensorhub) in cros_ec_sensorhub_register() argument 53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() 54 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register() 63 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register() 64 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register() 65 sensorhub->params->info.sensor_num = i; in cros_ec_sensorhub_register() 74 switch (sensorhub->resp->info.type) { in cros_ec_sensorhub_register() 98 sensorhub->resp->info.type); in cros_ec_sensorhub_register() 106 sensor_type[sensorhub->resp->info.type]++; in cros_ec_sensorhub_register() 228 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_suspend() [all …]
|
H A D | Makefile | 29 cros-ec-sensorhub-objs := cros_ec_sensorhub.o cros_ec_sensorhub_ring.o 30 obj-$(CONFIG_CROS_EC_SENSORHUB) += cros-ec-sensorhub.o
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | samsung,sensorhub-rinato.yaml | 4 $id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml# 19 - samsung,sensorhub-rinato 20 - samsung,sensorhub-thermostat 31 Application Processor to sensorhub line - used during communication 41 Reset the sensorhub. 62 sensorhub@0 { 63 compatible = "samsung,sensorhub-rinato";
|
/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_sensorhub.h | 180 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,
|
/openbmc/linux/drivers/iio/common/ssp_sensors/ |
H A D | Kconfig | 22 SSP driver for sensorhub. 23 If you say yes here you get ssp support for sensorhub. 25 module will be called sensorhub.
|
H A D | Makefile | 6 sensorhub-objs := ssp_dev.o ssp_spi.o 7 obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o
|