/Zephyr-latest/drivers/sensor/ |
D | sensor_handlers.c | 11 enum sensor_channel chan, in z_vrfy_sensor_attr_set() 23 enum sensor_channel chan, in z_vrfy_sensor_attr_get() 42 enum sensor_channel type) in z_vrfy_sensor_sample_fetch_chan() 51 enum sensor_channel chan, in z_vrfy_sensor_channel_get() 78 K_OOPS(K_SYSCALL_MEMORY_READ(channels, sizeof(enum sensor_channel) * num_channels)); in z_vrfy_sensor_reconfigure_read_iodev()
|
/Zephyr-latest/samples/sensor/sensor_shell/src/ |
D | fake_sensor.c | 22 static int attr_set(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, in attr_set() 31 static int attr_get(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, in attr_get() 42 static int sample_fetch(const struct device *dev, enum sensor_channel chan) in sample_fetch() 49 static int channel_get(const struct device *dev, enum sensor_channel chan, struct sensor_value *val) in channel_get()
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a.h | 73 int tcn75a_attr_get(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, 76 int tcn75a_attr_set(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, 81 int tcn75a_sample_fetch(const struct device *dev, enum sensor_channel chan);
|
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_calibration/src/ |
D | mock_temp_nrf5.c | 23 enum sensor_channel chan) in mock_temp_nrf5_sample_fetch() 30 enum sensor_channel chan, in mock_temp_nrf5_channel_get()
|
/Zephyr-latest/doc/hardware/peripherals/sensor/ |
D | channels.rst | 6 :dfn:`Channels`, enumerated in :c:enum:`sensor_channel`, are quantities that 17 pair containing both the channel type (:c:enum:`sensor_channel`) and channel index. 18 At times only :c:enum:`sensor_channel` is used but this should be considered
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 61 enum sensor_channel { enum 296 enum sensor_channel chan; 390 enum sensor_channel chan, 401 enum sensor_channel chan, 421 enum sensor_channel chan); 429 enum sensor_channel chan, 730 enum sensor_channel chan, 735 enum sensor_channel chan, in z_impl_sensor_attr_set() 762 enum sensor_channel chan, 767 enum sensor_channel chan, in z_impl_sensor_attr_get() [all …]
|
/Zephyr-latest/drivers/sensor/st/iis2mdc/ |
D | iis2mdc.c | 57 enum sensor_channel chan, in iis2mdc_set_hard_iron() 73 enum sensor_channel chan, in iis2mdc_channel_get_mag() 116 enum sensor_channel chan, in iis2mdc_channel_get() 137 static int iis2mdc_config(const struct device *dev, enum sensor_channel chan, in iis2mdc_config() 157 enum sensor_channel chan, in iis2mdc_attr_set() 214 enum sensor_channel chan) in iis2mdc_sample_fetch()
|
/Zephyr-latest/drivers/sensor/st/iis2dh/ |
D | iis2dh.c | 117 enum sensor_channel chan, in iis2dh_channel_get_acc() 146 enum sensor_channel chan, in iis2dh_channel_get() 164 static int iis2dh_config(const struct device *dev, enum sensor_channel chan, in iis2dh_config() 185 static int iis2dh_attr_set(const struct device *dev, enum sensor_channel chan, in iis2dh_attr_set() 204 enum sensor_channel chan) in iis2dh_sample_fetch()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c.c | 31 int akm09918c_start_measurement(const struct device *dev, enum sensor_channel chan) in akm09918c_start_measurement() 85 static int akm09918c_sample_fetch(const struct device *dev, enum sensor_channel chan) in akm09918c_sample_fetch() 109 static int akm09918c_channel_get(const struct device *dev, enum sensor_channel chan, in akm09918c_channel_get() 132 static int akm09918c_attr_get(const struct device *dev, enum sensor_channel chan, in akm09918c_attr_get() 155 static int akm09918c_attr_set(const struct device *dev, enum sensor_channel chan, in akm09918c_attr_set()
|
/Zephyr-latest/drivers/sensor/infineon/xmc4xxx_temp/ |
D | xmc4xxx_temp.c | 23 static int xmc4xxx_temp_sample_fetch(const struct device *dev, enum sensor_channel chan) in xmc4xxx_temp_sample_fetch() 48 static int xmc4xxx_temp_channel_get(const struct device *dev, enum sensor_channel chan, in xmc4xxx_temp_channel_get()
|
/Zephyr-latest/tests/drivers/sensor/generic/src/ |
D | dummy_sensor.c | 24 enum sensor_channel chan) in dummy_sensor_sample_fetch() 34 enum sensor_channel chan, in dummy_sensor_channel_get() 106 enum sensor_channel chan, in dummy_sensor_attr_set() 123 enum sensor_channel chan, in dummy_sensor_attr_get()
|
/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/ |
D | npm2100_vbat.c | 85 const enum sensor_channel chan; 99 enum sensor_channel chan; 113 {(enum sensor_channel)SENSOR_CHAN_NPM2100_DPS_COUNT, SENSOR_ATTR_UPPER_THRESH, 115 {(enum sensor_channel)SENSOR_CHAN_NPM2100_DPS_TIMER, SENSOR_ATTR_UPPER_THRESH, 119 static struct adc_config *adc_cfg_get(const struct device *dev, enum sensor_channel chan) in adc_cfg_get() 132 int npm2100_vbat_channel_get(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_channel_get() 194 int npm2100_vbat_sample_fetch(const struct device *dev, enum sensor_channel chan) in npm2100_vbat_sample_fetch() 258 static int npm2100_vbat_attr_get(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_attr_get() 343 static int npm2100_vbat_attr_set(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_attr_set() 540 {.chan = (enum sensor_channel)SENSOR_CHAN_NPM2100_VOLT_DROOP, \
|
/Zephyr-latest/samples/shields/npm1300_ek/src/ |
D | main.c | 89 sensor_channel_get(charger, (enum sensor_channel)SENSOR_CHAN_NPM1300_CHARGER_STATUS, in read_sensors() 91 sensor_channel_get(charger, (enum sensor_channel)SENSOR_CHAN_NPM1300_CHARGER_ERROR, &error); in read_sensors() 92 sensor_attr_get(charger, (enum sensor_channel)SENSOR_CHAN_NPM1300_CHARGER_VBUS_STATUS, in read_sensors()
|
/Zephyr-latest/drivers/sensor/st/i3g4250d/ |
D | i3g4250d.c | 26 enum sensor_channel chan) in i3g4250d_sample_fetch() 59 static void i3g4250d_channel_convert(enum sensor_channel chan, in i3g4250d_channel_convert() 87 enum sensor_channel chan, in i3g4250d_channel_get() 146 static int i3g4250d_attr_set(const struct device *dev, enum sensor_channel chan, in i3g4250d_attr_set()
|
/Zephyr-latest/drivers/sensor/st/iis3dhhc/ |
D | iis3dhhc.c | 24 enum sensor_channel chan) in iis3dhhc_sample_fetch() 51 enum sensor_channel chan, in iis3dhhc_channel_get_acc() 80 enum sensor_channel chan, in iis3dhhc_channel_get() 124 enum sensor_channel chan, in iis3dhhc_attr_set()
|
/Zephyr-latest/drivers/sensor/ti/tmp114/ |
D | tmp114.c | 81 enum sensor_channel chan) in tmp114_sample_fetch() 120 enum sensor_channel chan, in tmp114_channel_get() 141 static int tmp114_attr_get(const struct device *dev, enum sensor_channel chan, in tmp114_attr_get() 169 enum sensor_channel chan, in tmp114_attr_set()
|
/Zephyr-latest/drivers/sensor/maxim/max31790/ |
D | max31790_fan_fault.c | 18 static int max31790_fan_fault_sample_fetch(const struct device *dev, enum sensor_channel chan) in max31790_fan_fault_sample_fetch() 37 static int max31790_fan_fault_channel_get(const struct device *dev, enum sensor_channel chan, in max31790_fan_fault_channel_get()
|
/Zephyr-latest/drivers/sensor/rohm/bd8lb600fs/ |
D | bd8lb600fs_diagnostics.c | 18 static int bd8lb600fs_diagnostics_sample_fetch(const struct device *dev, enum sensor_channel chan) in bd8lb600fs_diagnostics_sample_fetch() 28 static int bd8lb600fs_diagnostics_channel_get(const struct device *dev, enum sensor_channel chan, in bd8lb600fs_diagnostics_channel_get()
|
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/ |
D | sm351lt.c | 105 enum sensor_channel chan) in sm351lt_sample_fetch() 120 enum sensor_channel chan, in sm351lt_channel_get() 137 enum sensor_channel chan, in sm351lt_attr_set() 158 enum sensor_channel chan, in sm351lt_attr_get()
|
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/ |
D | wsen_hids_2525020210002.c | 26 static int hids_2525020210002_sample_fetch(const struct device *dev, enum sensor_channel chan) in hids_2525020210002_sample_fetch() 76 static int hids_2525020210002_channel_get(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_channel_get() 132 static int hids_2525020210002_attr_set(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_attr_set() 154 static int hids_2525020210002_attr_get(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_attr_get()
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | iis2iclx.h | 102 int iis2iclx_shub_get_idx(const struct device *dev, enum sensor_channel type); 103 int iis2iclx_shub_config(const struct device *dev, enum sensor_channel chan,
|
/Zephyr-latest/drivers/sensor/ams/ams_as5600/ |
D | ams_as5600.c | 33 static int as5600_fetch(const struct device *dev, enum sensor_channel chan) in as5600_fetch() 55 static int as5600_get(const struct device *dev, enum sensor_channel chan, in as5600_get()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl.c | 221 enum sensor_channel chan, in lsm6dsl_accel_config() 284 enum sensor_channel chan, in lsm6dsl_gyro_config() 306 enum sensor_channel chan, in lsm6dsl_attr_set() 427 enum sensor_channel chan) in lsm6dsl_sample_fetch() 483 static inline int lsm6dsl_accel_get_channel(enum sensor_channel chan, in lsm6dsl_accel_get_channel() 512 static int lsm6dsl_accel_channel_get(enum sensor_channel chan, in lsm6dsl_accel_channel_get() 531 static inline int lsm6dsl_gyro_get_channel(enum sensor_channel chan, in lsm6dsl_gyro_get_channel() 558 static int lsm6dsl_gyro_channel_get(enum sensor_channel chan, in lsm6dsl_gyro_channel_get() 588 static inline int lsm6dsl_magn_get_channel(enum sensor_channel chan, in lsm6dsl_magn_get_channel() 626 static int lsm6dsl_magn_channel_get(enum sensor_channel chan, in lsm6dsl_magn_channel_get() [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2de12/ |
D | lis2de12.c | 133 enum sensor_channel chan, in lis2de12_accel_config() 149 enum sensor_channel chan, in lis2de12_attr_set() 193 enum sensor_channel chan) in lis2de12_sample_fetch() 230 static inline int lis2de12_accel_get_channel(enum sensor_channel chan, in lis2de12_accel_get_channel() 259 static int lis2de12_accel_channel_get(enum sensor_channel chan, in lis2de12_accel_channel_get() 282 enum sensor_channel chan, in lis2de12_channel_get()
|
/Zephyr-latest/drivers/sensor/st/lis2du12/ |
D | lis2du12.c | 167 enum sensor_channel chan, in lis2du12_accel_config() 185 enum sensor_channel chan, in lis2du12_attr_set() 222 enum sensor_channel chan) in lis2du12_sample_fetch() 251 static inline int lis2du12_accel_get_channel(enum sensor_channel chan, in lis2du12_accel_get_channel() 280 static int lis2du12_accel_channel_get(enum sensor_channel chan, in lis2du12_accel_channel_get() 288 enum sensor_channel chan, in lis2du12_channel_get()
|