/Zephyr-Core-2.7.6/include/sys/ |
D | byteorder.h | 172 #define sys_le16_to_cpu(val) (val) argument 173 #define sys_cpu_to_le16(val) (val) argument 174 #define sys_le24_to_cpu(val) (val) argument 175 #define sys_cpu_to_le24(val) (val) argument 176 #define sys_le32_to_cpu(val) (val) argument 177 #define sys_cpu_to_le32(val) (val) argument 178 #define sys_le48_to_cpu(val) (val) argument 179 #define sys_cpu_to_le48(val) (val) argument 180 #define sys_le64_to_cpu(val) (val) argument 181 #define sys_cpu_to_le64(val) (val) argument [all …]
|
/Zephyr-Core-2.7.6/tests/kernel/common/src/ |
D | byteorder.c | 79 uint64_t val = 0xf0e1d2c3b4a59687, tmp; in test_sys_get_be64() local 98 uint64_t val = 0xf0e1d2c3b4a59687; in test_sys_put_be64() local 118 uint64_t val = 0xf0e1d2c3b4a5, tmp; in test_sys_get_be48() local 137 uint64_t val = 0xf0e1d2c3b4a5; in test_sys_put_be48() local 156 uint32_t val = 0xf0e1d2c3, tmp; in test_sys_get_be32() local 175 uint64_t val = 0xf0e1d2c3; in test_sys_put_be32() local 195 uint32_t val = 0xf0e1d2, tmp; in test_sys_get_be24() local 214 uint64_t val = 0xf0e1d2; in test_sys_put_be24() local 234 uint32_t val = 0xf0e1, tmp; in test_sys_get_be16() local 253 uint64_t val = 0xf0e1; in test_sys_put_be16() local [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/ |
D | heartbeat.h | 7 static inline uint16_t bt_mesh_hb_pwr2(uint8_t val) in bt_mesh_hb_pwr2() 18 static inline uint8_t bt_mesh_hb_log(uint32_t val) in bt_mesh_hb_log()
|
/Zephyr-Core-2.7.6/drivers/sensor/tmp007/ |
D | tmp007.c | 24 uint8_t reg, uint16_t *val) in tmp007_reg_read() 37 int tmp007_reg_write(struct tmp007_data *drv_data, uint8_t reg, uint16_t val) in tmp007_reg_write() 46 uint16_t mask, uint16_t val) in tmp007_reg_update() 65 uint16_t val; in tmp007_sample_fetch() local 84 struct sensor_value *val) in tmp007_channel_get()
|
/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_ops.h | 87 static inline bool z_flag_insert_mode_set(const struct shell *shell, bool val) in z_flag_insert_mode_set() 100 static inline bool z_flag_use_colors_set(const struct shell *shell, bool val) in z_flag_use_colors_set() 113 static inline bool z_flag_echo_set(const struct shell *shell, bool val) in z_flag_echo_set() 126 static inline bool z_flag_obscure_set(const struct shell *shell, bool val) in z_flag_obscure_set() 139 static inline bool z_flag_processing_set(const struct shell *shell, bool val) in z_flag_processing_set() 152 static inline bool z_flag_tx_rdy_set(const struct shell *shell, bool val) in z_flag_tx_rdy_set() 165 static inline bool z_flag_mode_delete_set(const struct shell *shell, bool val) in z_flag_mode_delete_set() 178 static inline bool z_flag_history_exit_set(const struct shell *shell, bool val) in z_flag_history_exit_set() 191 static inline bool z_flag_cmd_ctx_set(const struct shell *shell, bool val) in z_flag_cmd_ctx_set() 204 static inline void z_flag_last_nl_set(const struct shell *shell, uint8_t val) in z_flag_last_nl_set() [all …]
|
/Zephyr-Core-2.7.6/include/arch/arm64/ |
D | sys_io.h | 38 uint8_t val; in sys_read8() local 54 uint16_t val; in sys_read16() local 70 uint32_t val; in sys_read32() local 86 uint64_t val; in sys_read64() local
|
/Zephyr-Core-2.7.6/soc/xtensa/intel_adsp/common/include/adsp/ |
D | io.h | 22 static inline void io_reg_write(uint32_t reg, uint32_t val) in io_reg_write() 39 static inline void io_reg_write16(uint32_t reg, uint16_t val) in io_reg_write16() 50 static inline void shim_write(uint32_t reg, uint32_t val) in shim_write() 60 static inline void shim_write64(uint32_t reg, uint64_t val) in shim_write64()
|
/Zephyr-Core-2.7.6/subsys/net/ |
D | buf.c | 774 uint8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, uint8_t val) in net_buf_simple_add_u8() 786 void net_buf_simple_add_le16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_le16() 793 void net_buf_simple_add_be16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_be16() 800 void net_buf_simple_add_le24(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_le24() 807 void net_buf_simple_add_be24(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_be24() 814 void net_buf_simple_add_le32(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_le32() 821 void net_buf_simple_add_be32(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_be32() 828 void net_buf_simple_add_le48(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_le48() 835 void net_buf_simple_add_be48(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_be48() 842 void net_buf_simple_add_le64(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_le64() [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/ |
D | sensor_handlers.c | 13 const struct sensor_value *val) in z_vrfy_sensor_attr_set() 25 struct sensor_value *val) in z_vrfy_sensor_attr_get() 52 struct sensor_value *val) in z_vrfy_sensor_channel_get()
|
/Zephyr-Core-2.7.6/include/arch/arm/aarch32/cortex_a_r/ |
D | sys_io.h | 29 uint8_t val = *(volatile uint8_t *)addr; in sys_read8() local 43 uint16_t val = *(volatile uint16_t *)addr; in sys_read16() local 57 uint32_t val = *(volatile uint32_t *)addr; in sys_read32() local
|
/Zephyr-Core-2.7.6/drivers/sensor/ism330dhcx/ |
D | ism330dhcx.c | 186 const struct sensor_value *val) in ism330dhcx_accel_config() 240 const struct sensor_value *val) in ism330dhcx_gyro_config() 258 const struct sensor_value *val) in ism330dhcx_attr_set() 377 static inline void ism330dhcx_accel_convert(struct sensor_value *val, int raw_val, in ism330dhcx_accel_convert() 391 struct sensor_value *val, in ism330dhcx_accel_get_channel() 420 struct sensor_value *val, in ism330dhcx_accel_channel_get() 426 static inline void ism330dhcx_gyro_convert(struct sensor_value *val, int raw_val, in ism330dhcx_gyro_convert() 439 struct sensor_value *val, in ism330dhcx_gyro_get_channel() 468 struct sensor_value *val, in ism330dhcx_gyro_channel_get() 475 static void ism330dhcx_gyro_channel_get_temp(struct sensor_value *val, in ism330dhcx_gyro_channel_get_temp() [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/icm42605/ |
D | icm42605.c | 27 static void icm42605_convert_accel(struct sensor_value *val, in icm42605_convert_accel() 39 static void icm42605_convert_gyro(struct sensor_value *val, in icm42605_convert_gyro() 52 static inline void icm42605_convert_temp(struct sensor_value *val, in icm42605_convert_temp() 69 struct sensor_value *val) in icm42605_channel_get() 254 const struct sensor_value *val) in icm42605_attr_set() 321 struct sensor_value *val) in icm42605_attr_get()
|
/Zephyr-Core-2.7.6/drivers/sensor/lsm9ds0_mfd/ |
D | lsm9ds0_mfd.c | 74 const struct sensor_value *val) in lsm9ds0_mfd_accel_set_odr() 120 static int lsm9ds0_mfd_accel_set_fs(const struct device *dev, int val) in lsm9ds0_mfd_accel_set_fs() 161 const struct sensor_value *val) in lsm9ds0_mfd_magn_set_odr() 207 const struct sensor_value *val) in lsm9ds0_mfd_magn_set_fs() 395 static inline void lsm9ds0_mfd_convert_accel(struct sensor_value *val, in lsm9ds0_mfd_convert_accel() 407 struct sensor_value *val, in lsm9ds0_mfd_get_accel_channel() 435 struct sensor_value *val) in lsm9ds0_mfd_get_accel() 481 static inline void lsm9ds0_mfd_convert_magn(struct sensor_value *val, in lsm9ds0_mfd_convert_magn() 493 struct sensor_value *val, in lsm9ds0_mfd_get_magn_channel() 521 struct sensor_value *val) in lsm9ds0_mfd_get_magn() [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/iis3dhhc/ |
D | iis3dhhc.c | 40 static inline void iis3dhhc_convert(struct sensor_value *val, in iis3dhhc_convert() 53 struct sensor_value *val) in iis3dhhc_channel_get_acc() 82 struct sensor_value *val) in iis3dhhc_channel_get() 100 const struct sensor_value *val) in iis3dhhc_odr_set() 127 const struct sensor_value *val) in iis3dhhc_attr_set()
|
/Zephyr-Core-2.7.6/drivers/sensor/max44009/ |
D | max44009.c | 21 uint8_t *val, bool send_stop) in max44009_reg_read() 48 uint8_t val) in max44009_reg_write() 57 uint8_t mask, uint8_t val) in max44009_reg_update() 75 const struct sensor_value *val) in max44009_attr_set() 143 struct sensor_value *val) in max44009_channel_get()
|
/Zephyr-Core-2.7.6/drivers/sensor/tmp112/ |
D | tmp112.c | 41 uint8_t reg, uint16_t *val) in tmp112_reg_read() 55 uint8_t reg, uint16_t val) in tmp112_reg_write() 63 uint16_t mask, uint16_t val) in tmp112_reg_update() 81 const struct sensor_value *val) in tmp112_attr_set() 159 uint16_t val; in tmp112_sample_fetch() local 178 struct sensor_value *val) in tmp112_channel_get()
|
/Zephyr-Core-2.7.6/drivers/sensor/mpu6050/ |
D | mpu6050.c | 20 static void mpu6050_convert_accel(struct sensor_value *val, int16_t raw_val, in mpu6050_convert_accel() 31 static void mpu6050_convert_gyro(struct sensor_value *val, int16_t raw_val, in mpu6050_convert_gyro() 43 static inline void mpu6050_convert_temp(struct sensor_value *val, in mpu6050_convert_temp() 60 struct sensor_value *val) in mpu6050_channel_get()
|
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/ke1xf/ |
D | soc.c | 18 #define ASSERT_WITHIN_RANGE(val, min, max, str) \ argument 21 #define ASSERT_ASYNC_CLK_DIV_VALID(val, str) \ argument 25 #define TO_SYS_CLK_DIV(val) _DO_CONCAT(kSCG_SysClkDivBy, val) argument 28 #define TO_ASYNC_CLK_DIV(val) _DO_CONCAT(kSCG_AsyncClkDivBy, val) argument
|
/Zephyr-Core-2.7.6/drivers/sensor/iis2dh/ |
D | iis2dh.c | 96 iis2dh_odr_t val; in iis2dh_set_odr() local 104 static inline void iis2dh_convert(struct sensor_value *val, int raw_val, in iis2dh_convert() 118 struct sensor_value *val) in iis2dh_channel_get_acc() 147 struct sensor_value *val) in iis2dh_channel_get() 166 const struct sensor_value *val) in iis2dh_config() 187 const struct sensor_value *val) in iis2dh_attr_set()
|
/Zephyr-Core-2.7.6/drivers/sensor/iis2mdc/ |
D | iis2mdc.c | 27 const struct sensor_value *val) in iis2mdc_set_odr() 59 const struct sensor_value *val) in iis2mdc_set_hard_iron() 75 struct sensor_value *val) in iis2mdc_channel_get_mag() 108 struct sensor_value *val) in iis2mdc_channel_get_temp() 118 struct sensor_value *val) in iis2mdc_channel_get() 140 const struct sensor_value *val) in iis2mdc_config() 160 const struct sensor_value *val) in iis2mdc_attr_set()
|
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dsl/ |
D | lsm6dsl.c | 220 const struct sensor_value *val) in lsm6dsl_accel_config() 283 const struct sensor_value *val) in lsm6dsl_gyro_config() 305 const struct sensor_value *val) in lsm6dsl_attr_set() 469 static inline void lsm6dsl_accel_convert(struct sensor_value *val, int raw_val, in lsm6dsl_accel_convert() 483 struct sensor_value *val, in lsm6dsl_accel_get_channel() 512 struct sensor_value *val, in lsm6dsl_accel_channel_get() 519 static inline void lsm6dsl_gyro_convert(struct sensor_value *val, int raw_val, in lsm6dsl_gyro_convert() 532 struct sensor_value *val, in lsm6dsl_gyro_get_channel() 559 struct sensor_value *val, in lsm6dsl_gyro_channel_get() 567 static void lsm6dsl_gyro_channel_get_temp(struct sensor_value *val, in lsm6dsl_gyro_channel_get_temp() [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dso/ |
D | lsm6dso.c | 203 const struct sensor_value *val) in lsm6dso_accel_config() 265 const struct sensor_value *val) in lsm6dso_gyro_config() 287 const struct sensor_value *val) in lsm6dso_attr_set() 424 static inline void lsm6dso_accel_convert(struct sensor_value *val, int raw_val, in lsm6dso_accel_convert() 438 struct sensor_value *val, in lsm6dso_accel_get_channel() 467 struct sensor_value *val, in lsm6dso_accel_channel_get() 473 static inline void lsm6dso_gyro_convert(struct sensor_value *val, int raw_val, in lsm6dso_gyro_convert() 486 struct sensor_value *val, in lsm6dso_gyro_get_channel() 515 struct sensor_value *val, in lsm6dso_gyro_channel_get() 523 static void lsm6dso_gyro_channel_get_temp(struct sensor_value *val, in lsm6dso_gyro_channel_get_temp() [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/iis2iclx/ |
D | iis2iclx.c | 150 const struct sensor_value *val) in iis2iclx_accel_config() 168 const struct sensor_value *val) in iis2iclx_attr_set() 276 static inline void iis2iclx_accel_convert(struct sensor_value *val, int raw_val, in iis2iclx_accel_convert() 290 struct sensor_value *val, in iis2iclx_accel_get_channel() 316 struct sensor_value *val, in iis2iclx_accel_channel_get() 323 static void iis2iclx_temp_channel_get(struct sensor_value *val, in iis2iclx_temp_channel_get() 333 static inline void iis2iclx_magn_convert(struct sensor_value *val, int raw_val, in iis2iclx_magn_convert() 345 struct sensor_value *val, in iis2iclx_magn_get_channel() 387 static inline void iis2iclx_hum_convert(struct sensor_value *val, in iis2iclx_hum_convert() 413 static inline void iis2iclx_press_convert(struct sensor_value *val, in iis2iclx_press_convert() [all …]
|
/Zephyr-Core-2.7.6/tests/drivers/clock_control/nrf_clock_calibration/src/ |
D | mock_temp_nrf5.c | 16 void mock_temp_nrf5_value_set(struct sensor_value *val) in mock_temp_nrf5_value_set() 35 struct sensor_value *val) in mock_temp_nrf5_channel_get()
|
/Zephyr-Core-2.7.6/drivers/adc/ |
D | adc_mcux_lpadc.c | 359 #define ASSERT_LPADC_CLK_SOURCE_VALID(val, str) \ argument 362 #define ASSERT_LPADC_CLK_DIV_VALID(val, str) \ argument 365 #define ASSERT_LPADC_CALIBRATION_AVERAGE_VALID(val, str) \ argument 369 #define ASSERT_WITHIN_RANGE(val, min, max, str) \ argument 373 #define TO_LPADC_CLOCK_SOURCE(val) 0 argument 375 #define TO_LPADC_CLOCK_SOURCE(val) \ argument 379 #define TO_LPADC_REFERENCE_VOLTAGE(val) \ argument 384 #define TO_LPADC_CALIBRATION_AVERAGE(val) \ argument 387 #define TO_LPADC_CALIBRATION_AVERAGE(val) 0 argument 390 #define TO_LPADC_POWER_LEVEL(val) \ argument
|