Searched full:sensorhub (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.1/drivers/platform/chrome/ |
D | cros_ec_sensorhub_ring.c | 39 cros_sensorhub_send_sample(struct cros_ec_sensorhub *sensorhub, in cros_sensorhub_send_sample() argument 46 if (id >= sensorhub->sensor_num) in cros_sensorhub_send_sample() 49 cb = sensorhub->push_data[id].push_data_cb; in cros_sensorhub_send_sample() 53 indio_dev = sensorhub->push_data[id].indio_dev; in cros_sensorhub_send_sample() 64 * @sensorhub : Sensor Hub object 75 int cros_ec_sensorhub_register_push_data(struct cros_ec_sensorhub *sensorhub, in cros_ec_sensorhub_register_push_data() argument 80 if (sensor_num >= sensorhub->sensor_num) in cros_ec_sensorhub_register_push_data() 82 if (sensorhub->push_data[sensor_num].indio_dev) in cros_ec_sensorhub_register_push_data() 85 sensorhub->push_data[sensor_num].indio_dev = indio_dev; in cros_ec_sensorhub_register_push_data() 86 sensorhub->push_data[sensor_num].push_data_cb = cb; in cros_ec_sensorhub_register_push_data() [all …]
|
D | cros_ec_sensorhub.c | 19 #define DRV_NAME "cros-ec-sensorhub" 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() [all …]
|
D | Makefile | 27 cros-ec-sensorhub-objs := cros_ec_sensorhub.o cros_ec_sensorhub_ring.o 28 obj-$(CONFIG_CROS_EC_SENSORHUB) += cros-ec-sensorhub.o
|
D | cros_ec_sensorhub_trace.h | 3 * Trace events for the ChromeOS Sensorhub kernel module
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/ |
D | samsung,sensorhub-rinato.yaml | 4 $id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml# 7 title: Samsung Sensorhub driver 13 Sensorhub is a MCU which manages several sensors and also plays the role 19 - samsung,sensorhub-rinato 20 - samsung,sensorhub-thermostat 31 Application Processor to sensorhub line - used during communication 36 Sensorhub to Application Processor - used during communication 41 Reset the sensorhub. 62 sensorhub@0 { 63 compatible = "samsung,sensorhub-rinato";
|
/Linux-v6.1/drivers/iio/common/ssp_sensors/ |
D | Kconfig | 18 tristate "Samsung Sensorhub driver" 22 SSP driver for sensorhub. 23 If you say yes here you get ssp support for sensorhub. 25 module will be called sensorhub.
|
D | Makefile | 6 sensorhub-objs := ssp_dev.o ssp_spi.o 7 obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o
|
D | ssp_dev.c | 199 * @data: sensorhub structure 212 * @data: sensorhub structure 274 * @data: sensorhub structure 306 * @data: sensorhub structure 395 * sensorhub can request its reinitialization as some brutal and rare error 431 .compatible = "samsung,sensorhub-rinato", 434 .compatible = "samsung,sensorhub-thermostat", 658 .name = "sensorhub" 664 MODULE_DESCRIPTION("ssp sensorhub driver");
|
D | ssp.h | 144 * @sensorhub_info: info about sensorhub board specific features 157 * @available_sensors: available sensors seen by sensorhub (bit array)
|
D | ssp_iio.c | 97 MODULE_DESCRIPTION("Samsung sensorhub commons");
|
/Linux-v6.1/include/linux/platform_data/ |
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,
|
/Linux-v6.1/drivers/iio/accel/ |
D | ssp_accel_sensor.c | 142 MODULE_DESCRIPTION("Samsung sensorhub accelerometers driver");
|
/Linux-v6.1/drivers/iio/gyro/ |
D | ssp_gyro_sensor.c | 142 MODULE_DESCRIPTION("Samsung sensorhub gyroscopes driver");
|
/Linux-v6.1/drivers/mfd/ |
D | cros_ec_dev.c | 88 { .name = "cros-ec-sensorhub", },
|