Searched refs:sensorhub (Results 1 – 7 of 7) sorted by relevance
36 cros_sensorhub_send_sample(struct cros_ec_sensorhub *sensorhub, in cros_sensorhub_send_sample() argument43 if (id >= sensorhub->sensor_num) in cros_sensorhub_send_sample()46 cb = sensorhub->push_data[id].push_data_cb; in cros_sensorhub_send_sample()50 indio_dev = sensorhub->push_data[id].indio_dev; in cros_sensorhub_send_sample()72 int cros_ec_sensorhub_register_push_data(struct cros_ec_sensorhub *sensorhub, in cros_ec_sensorhub_register_push_data() argument77 if (sensor_num >= sensorhub->sensor_num) in cros_ec_sensorhub_register_push_data()79 if (sensorhub->push_data[sensor_num].indio_dev) in cros_ec_sensorhub_register_push_data()82 sensorhub->push_data[sensor_num].indio_dev = indio_dev; in cros_ec_sensorhub_register_push_data()83 sensorhub->push_data[sensor_num].push_data_cb = cb; in cros_ec_sensorhub_register_push_data()89 void cros_ec_sensorhub_unregister_push_data(struct cros_ec_sensorhub *sensorhub, in cros_ec_sensorhub_unregister_push_data() argument[all …]
50 struct cros_ec_sensorhub *sensorhub) in cros_ec_sensorhub_register() argument53 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_sensorhub *sensorhub = platform_get_drvdata(pdev); in cros_ec_sensorhub_suspend() local[all …]
23 cros-ec-sensorhub-objs := cros_ec_sensorhub.o cros_ec_sensorhub_ring.o24 obj-$(CONFIG_CROS_EC_SENSORHUB) += cros-ec-sensorhub.o
7 - compatible: "samsung,sensorhub-rinato" or "samsung,sensorhub-thermostat"10 - ap-mcu-gpios: [out] ap to sensorhub line - used during communication11 - mcu-ap-gpios: [in] sensorhub to ap - used during communication12 - mcu-reset-gpios: [out] sensorhub reset17 compatible = "samsung,sensorhub-rinato";
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,
22 SSP driver for sensorhub.23 If you say yes here you get ssp support for sensorhub.25 module will be called sensorhub.
6 sensorhub-objs := ssp_dev.o ssp_spi.o7 obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o