/AliOS-Things-master/components/drivers/core/base/core/ |
A D | u_driver.c | 25 int u_driver_dump(struct u_driver *drv) { in u_driver_dump() 50 int _bus_find_driver(struct u_driver *drv) { in _bus_find_driver() 71 int u_driver_initialize(struct u_driver *drv) { in u_driver_initialize() 97 int u_driver_deinitialize(struct u_driver *drv) { in u_driver_deinitialize() 111 int u_driver_add(struct u_driver *drv) { in u_driver_add() 148 int u_driver_del(struct u_driver *drv) { in u_driver_del() 169 int u_driver_register(struct u_driver *drv) { in u_driver_register() 184 int u_driver_unregister(struct u_driver *drv) { in u_driver_unregister()
|
A D | u_bus.c | 61 u_driver_t *drv = NULL; in u_bus_dump() local 160 static int u_driver_bind_device(struct u_driver *drv, struct u_device *dev) { in u_driver_bind_device() 196 static int u_driver_init_device(struct u_driver *drv, struct u_device *dev) in u_driver_init_device() 244 static int u_driver_match_device(struct u_driver *drv, struct u_device *dev) in u_driver_match_device() 271 u_driver_t *drv = NULL; in u_bus_try_init_device() local 311 int u_bus_add_driver(struct u_driver *drv) { in u_bus_add_driver() 329 int u_bus_attach_driver(struct u_driver *drv) { in u_bus_attach_driver() 545 int u_bus_del_driver(struct u_driver *drv) { in u_bus_del_driver() 569 static int u_driver_deinit_device(struct u_driver *drv, struct u_device *dev) in u_driver_deinit_device() 617 int u_bus_detach_driver(struct u_driver *drv) { in u_bus_detach_driver() [all …]
|
/AliOS-Things-master/components/drivers/core/base/platform/ |
A D | u_platform_bus.c | 57 struct u_platform_driver *drv = NULL; in u_platform_bus_init() local 91 struct u_platform_driver *drv = NULL; in u_platform_bus_deinit() local 116 struct u_platform_driver *drv = NULL; in u_platform_bus_pm() local 145 static int u_platform_bus_match(struct u_device *dev, struct u_driver *drv) { in u_platform_bus_match() 196 int u_platform_driver_register(u_platform_driver_t *drv) { in u_platform_driver_register() 246 int u_platform_driver_unregister(u_platform_driver_t *drv) { in u_platform_driver_unregister()
|
/AliOS-Things-master/components/sensor/drv/ |
A D | drv_mag_rohm_bm1422a.c | 129 static int drv_mag_rohm_bm1422a_soft_reset(i2c_dev_t* drv) in drv_mag_rohm_bm1422a_soft_reset() 140 UNUSED static int drv_mag_rohm_bm1422a_selftest(i2c_dev_t* drv) in drv_mag_rohm_bm1422a_selftest() 152 UNUSED static int drv_mag_rohm_bm1422a_reboot(i2c_dev_t* drv) in drv_mag_rohm_bm1422a_reboot() 163 static int drv_mag_rohm_bm1422a_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_mag_rohm_bm1422a_validate_id() 214 static int drv_mag_rohm_bm1422a_set_odr(i2c_dev_t* drv, uint8_t odr) in drv_mag_rohm_bm1422a_set_odr() 271 static int drv_mag_rohm_bm1422a_set_cntl1(i2c_dev_t* drv, uint8_t value) in drv_mag_rohm_bm1422a_set_cntl1() 283 static int drv_mag_rohm_bm1422a_set_step1(i2c_dev_t* drv, uint16_t value) in drv_mag_rohm_bm1422a_set_step1() 301 static int drv_mag_rohm_bm1422a_set_step2(i2c_dev_t* drv, uint8_t value) in drv_mag_rohm_bm1422a_set_step2() 315 static int drv_mag_rohm_bm1422a_set_step4(i2c_dev_t* drv, uint8_t value) in drv_mag_rohm_bm1422a_set_step4() 331 static int drv_mag_rohm_bm1422a_set_x_offset(i2c_dev_t* drv, uint16_t value) in drv_mag_rohm_bm1422a_set_x_offset() [all …]
|
A D | drv_mag_st_lis2mdl.c | 105 UNUSED static int drv_mag_st_lis2mdl_soft_reset(i2c_dev_t* drv) in drv_mag_st_lis2mdl_soft_reset() 117 UNUSED static int drv_mag_st_lis2mdl_selftest(i2c_dev_t* drv) in drv_mag_st_lis2mdl_selftest() 129 UNUSED static int drv_mag_st_lis2mdl_reboot(i2c_dev_t* drv) in drv_mag_st_lis2mdl_reboot() 191 static int drv_mag_st_lis2mdl_set_odr(i2c_dev_t* drv, uint8_t odr) in drv_mag_st_lis2mdl_set_odr() 210 static int drv_mag_st_lis2mdl_enable_off_canc(i2c_dev_t* drv) in drv_mag_st_lis2mdl_enable_off_canc() 227 static int drv_mag_st_lis2mdl_enable_temp(i2c_dev_t* drv) in drv_mag_st_lis2mdl_enable_temp() 278 static int drv_mag_st_lis2mdl_set_ble(i2c_dev_t* drv, uint8_t ble) in drv_mag_st_lis2mdl_set_ble() 305 static int drv_mag_st_lis2mdl_set_bdu(i2c_dev_t* drv, uint8_t bdu) in drv_mag_st_lis2mdl_set_bdu() 332 static int drv_mag_st_lis2mdl_set_default_config(i2c_dev_t* drv) in drv_mag_st_lis2mdl_set_default_config() 359 static int drv_mag_st_lis2mdl_st_discard(i2c_dev_t* drv) in drv_mag_st_lis2mdl_st_discard() [all …]
|
A D | drv_ecg_adi_adpd188gg.c | 77 static int drv_ecg_adi_adpd188gg_validate_id(i2c_dev_t* drv, uint16_t id_value) in drv_ecg_adi_adpd188gg_validate_id() 98 static int drv_ecg_adi_adpd188gg_soft_reset(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_soft_reset() 110 static int drv_ecg_adi_adpd188gg_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_ecg_adi_adpd188gg_set_power_mode() 144 static int drv_ecg_adi_adpd188gg_set_odr(i2c_dev_t* drv, uint16_t odr) in drv_ecg_adi_adpd188gg_set_odr() 173 static int drv_ecg_adi_adpd188gg_set_offset(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_set_offset() 236 static int drv_ecg_adi_adpd188gg_set_led_coarse(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_set_led_coarse() 268 static int drv_ecg_adi_adpd188gg_set_led(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_set_led() 306 static int drv_ecg_adi_adpd188gg_set_afe_tia(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_set_afe_tia() 367 static int drv_ecg_adi_adpd188gg_set_flt(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_set_flt() 399 static int drv_ecg_adi_adpd188gg_set_program(i2c_dev_t* drv) in drv_ecg_adi_adpd188gg_set_program()
|
A D | drv_mag_st_lis3mdl.c | 114 static int drv_mag_st_lis3mdl_soft_reset(i2c_dev_t *drv) in drv_mag_st_lis3mdl_soft_reset() 126 UNUSED static int drv_mag_st_lis3mdl_selftest(i2c_dev_t *drv) in drv_mag_st_lis3mdl_selftest() 138 UNUSED static int drv_mag_st_lis3mdl_reboot(i2c_dev_t *drv) in drv_mag_st_lis3mdl_reboot() 150 static int drv_mag_st_lis3mdl_validate_id(i2c_dev_t *drv, uint8_t id_value) in drv_mag_st_lis3mdl_validate_id() 172 static int drv_mag_st_lis3mdl_set_power_mode(i2c_dev_t * drv, in drv_mag_st_lis3mdl_set_power_mode() 201 static int drv_mag_st_lis3mdl_set_odr(i2c_dev_t *drv, uint8_t odr) in drv_mag_st_lis3mdl_set_odr() 307 UNUSED static int drv_mag_st_lis3mdl_lowpower_mode(i2c_dev_t *drv, in drv_mag_st_lis3mdl_lowpower_mode() 336 static int drv_mag_st_lis3mdl_set_range(i2c_dev_t *drv, uint32_t range) in drv_mag_st_lis3mdl_set_range() 381 static int drv_mag_st_lis3mdl_set_ble(i2c_dev_t *drv, uint8_t ble) in drv_mag_st_lis3mdl_set_ble() 408 static int drv_mag_st_lis3mdl_set_bdu(i2c_dev_t *drv, uint8_t bdu) in drv_mag_st_lis3mdl_set_bdu() [all …]
|
A D | drv_acc_mag_st_lsm303agr.c | 315 static int drv_acc_st_lsm303agr_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_acc_st_lsm303agr_set_odr() 382 static int drv_acc_st_lsm303agr_set_bdu(i2c_dev_t* drv) in drv_acc_st_lsm303agr_set_bdu() 400 static int drv_acc_st_lsm303agr_st_discard(i2c_dev_t* drv) in drv_acc_st_lsm303agr_st_discard() 433 static int drv_acc_st_lsm303agr_st_data(i2c_dev_t* drv,int32_t* data) in drv_acc_st_lsm303agr_st_data() 771 static int drv_mag_st_lsm303agr_soft_reset(i2c_dev_t* drv) in drv_mag_st_lsm303agr_soft_reset() 783 UNUSED static int drv_mag_st_lsm303agr_selftest(i2c_dev_t* drv) in drv_mag_st_lsm303agr_selftest() 795 UNUSED static int drv_mag_st_lsm303agr_reboot(i2c_dev_t* drv) in drv_mag_st_lsm303agr_reboot() 876 static int drv_mag_st_lsm303agr_enable_off_canc(i2c_dev_t* drv) in drv_mag_st_lsm303agr_enable_off_canc() 893 static int drv_mag_st_lsm303agr_enable_temp(i2c_dev_t* drv) in drv_mag_st_lsm303agr_enable_temp() 998 static int drv_mag_st_lsm303agr_set_default_config(i2c_dev_t* drv) in drv_mag_st_lsm303agr_set_default_config() [all …]
|
A D | drv_mag_senodia_st350.c | 95 UNUSED static int drv_mag_sen_st350_soft_reset(i2c_dev_t* drv) in drv_mag_sen_st350_soft_reset() 107 static int drv_mag_sen_st350_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_mag_sen_st350_validate_id() 129 static int drv_mag_sen_st350_set_operation_types(i2c_dev_t* drv, st350mc_operation_types_e types) in drv_mag_sen_st350_set_operation_types() 195 static int drv_mag_sen_st350_set_operation_mode(i2c_dev_t* drv, st350_operation_mode_e mode) in drv_mag_sen_st350_set_operation_mode() 250 static int drv_mag_sen_st350_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_mag_sen_st350_set_power_mode() 265 UNUSED static int drv_mag_sen_st350_set_odr(i2c_dev_t* drv, uint8_t odr) in drv_mag_sen_st350_set_odr() 271 UNUSED static int drv_mag_sen_st350_lowpower_mode(i2c_dev_t* drv, uint8_t lowpower_mode) in drv_mag_sen_st350_lowpower_mode() 283 UNUSED static int drv_mag_sen_st350_set_range(i2c_dev_t* drv, uint32_t range) in drv_mag_sen_st350_set_range() 289 static int drv_mag_sen_st350_set_default_config(i2c_dev_t* drv) in drv_mag_sen_st350_set_default_config()
|
A D | drv_gyro_st_a3g4250d.c | 75 UNUSED static int drv_gyro_st_a3g4250d_soft_reset(i2c_dev_t* drv) in drv_gyro_st_a3g4250d_soft_reset() 80 static int drv_gyro_st_a3g4250d_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_gyro_st_a3g4250d_validate_id() 101 static int drv_gyro_st_a3g4250d_set_bdu(i2c_dev_t* drv) in drv_gyro_st_a3g4250d_set_bdu() 106 static int drv_gyro_st_a3g4250d_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_gyro_st_a3g4250d_set_power_mode() 163 static int drv_gyro_st_a3g4250d_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_gyro_st_a3g4250d_set_odr() 175 static int drv_gyro_st_a3g4250d_set_range(i2c_dev_t* drv, uint32_t range) in drv_gyro_st_a3g4250d_set_range()
|
A D | drv_gyro_st_i3g4250d.c | 81 UNUSED static int drv_gyro_st_i3g4250d_soft_reset(i2c_dev_t* drv) in drv_gyro_st_i3g4250d_soft_reset() 86 static int drv_gyro_st_i3g4250d_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_gyro_st_i3g4250d_validate_id() 107 static int drv_gyro_st_i3g4250d_set_bdu(i2c_dev_t* drv) in drv_gyro_st_i3g4250d_set_bdu() 112 static int drv_gyro_st_i3g4250d_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_gyro_st_i3g4250d_set_power_mode() 169 static int drv_gyro_st_i3g4250d_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_gyro_st_i3g4250d_set_odr() 181 static int drv_gyro_st_i3g4250d_set_range(i2c_dev_t* drv, uint32_t range) in drv_gyro_st_i3g4250d_set_range()
|
A D | drv_tvoc_ams_ccs811.c | 74 static int drv_voc_ams_ccs811_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_voc_ams_ccs811_validate_id() 95 UNUSED static int drv_voc_ams_ccs811_soft_reset(i2c_dev_t* drv) in drv_voc_ams_ccs811_soft_reset() 114 static int drv_voc_ams_ccs811_app_start(i2c_dev_t* drv) in drv_voc_ams_ccs811_app_start() 137 static int drv_voc_ams_ccs811_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_voc_ams_ccs811_set_power_mode() 165 static int drv_voc_ams_ccs811_set_default_config(i2c_dev_t* drv) in drv_voc_ams_ccs811_set_default_config() 184 UNUSED static int drv_voc_ams_ccs811_set_work_mode(i2c_dev_t* drv,uint8_t mode) in drv_voc_ams_ccs811_set_work_mode()
|
A D | drv_co2_sensirion_scd30.c | 103 static int drv_scd30_cmd_write(i2c_dev_t* drv, uint8_t* cmd, uint8_t len) in drv_scd30_cmd_write() 108 static int drv_scd30_result_read(i2c_dev_t* drv, uint8_t *data, uint16_t size) in drv_scd30_result_read() 116 static int scd30_check_data_ready(i2c_dev_t* drv) in scd30_check_data_ready() 135 static int drv_scd30_read_raw_data(i2c_dev_t *drv, integer_data_t *pdata) in drv_scd30_read_raw_data() 158 static int drv_scd30_init_sensor(i2c_dev_t* drv) in drv_scd30_init_sensor()
|
A D | drv_acc_gyro_st_lsm6dsoq.c | 194 static int drv_acc_gyro_st_lsm6dsoq_soft_reset(i2c_dev_t* drv) in drv_acc_gyro_st_lsm6dsoq_soft_reset() 277 static int drv_acc_gyro_st_lsm6dsoq_set_bdu(i2c_dev_t* drv) in drv_acc_gyro_st_lsm6dsoq_set_bdu() 327 static int drv_acc_st_lsm6dsoq_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_acc_st_lsm6dsoq_set_odr() 347 static int drv_acc_st_lsm6dsoq_set_range(i2c_dev_t* drv, uint32_t range) in drv_acc_st_lsm6dsoq_set_range() 391 static int drv_acc_st_lsm6dsoq_st_discard(i2c_dev_t* drv) in drv_acc_st_lsm6dsoq_st_discard() 424 static int drv_acc_st_lsm6dsoq_st_data(i2c_dev_t* drv,int32_t* data) in drv_acc_st_lsm6dsoq_st_data() 481 static int drv_acc_st_lsm6dsoq_self_test(i2c_dev_t* drv,int32_t* data) in drv_acc_st_lsm6dsoq_self_test() 823 static int drv_gyro_st_lsm6dsoq_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_gyro_st_lsm6dsoq_set_odr() 887 static int drv_gyro_st_lsm6dsoq_st_discard(i2c_dev_t* drv) in drv_gyro_st_lsm6dsoq_st_discard() 920 static int drv_gyro_st_lsm6dsoq_st_data(i2c_dev_t* drv,int32_t* data) in drv_gyro_st_lsm6dsoq_st_data() [all …]
|
A D | drv_acc_gyro_senodia_sh200l.c | 164 static int drv_acc_gyro_senodia_sh200l_hw_init(i2c_dev_t* drv) in drv_acc_gyro_senodia_sh200l_hw_init() 249 static int drv_acc_gyro_senodia_sh200l_soft_reset(i2c_dev_t* drv) in drv_acc_gyro_senodia_sh200l_soft_reset() 280 static int drv_acc_gyro_senodia_sh200l_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_acc_gyro_senodia_sh200l_validate_id() 301 static int drv_acc_senodia_sh200l_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_acc_senodia_sh200l_set_power_mode() 414 static int drv_acc_senodia_sh200l_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_acc_senodia_sh200l_set_odr() 461 static int drv_acc_senodia_sh200l_set_range(i2c_dev_t* drv, uint32_t range) in drv_acc_senodia_sh200l_set_range() 680 static int drv_gyro_senodia_sh200l_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_gyro_senodia_sh200l_set_power_mode() 745 static int drv_gyro_senodia_sh200l_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_gyro_senodia_sh200l_set_odr() 765 static int drv_gyro_senodia_sh200l_set_range(i2c_dev_t* drv, uint32_t range) in drv_gyro_senodia_sh200l_set_range() 899 UNUSED static int drv_acc_gyro_senodia_sh200l_self_test(i2c_dev_t* drv, int32_t* diff) in drv_acc_gyro_senodia_sh200l_self_test()
|
A D | drv_acc_gyro_senodia_sh200q.c | 164 static int drv_acc_gyro_senodia_sh200q_hw_init(i2c_dev_t* drv) in drv_acc_gyro_senodia_sh200q_hw_init() 249 static int drv_acc_gyro_senodia_sh200q_soft_reset(i2c_dev_t* drv) in drv_acc_gyro_senodia_sh200q_soft_reset() 280 static int drv_acc_gyro_senodia_sh200q_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_acc_gyro_senodia_sh200q_validate_id() 300 static int drv_acc_senodia_sh200q_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_acc_senodia_sh200q_set_power_mode() 414 static int drv_acc_senodia_sh200q_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_acc_senodia_sh200q_set_odr() 460 static int drv_acc_senodia_sh200q_set_range(i2c_dev_t* drv, uint32_t range) in drv_acc_senodia_sh200q_set_range() 679 static int drv_gyro_senodia_sh200q_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_gyro_senodia_sh200q_set_power_mode() 744 static int drv_gyro_senodia_sh200q_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_gyro_senodia_sh200q_set_odr() 764 static int drv_gyro_senodia_sh200q_set_range(i2c_dev_t* drv, uint32_t range) in drv_gyro_senodia_sh200q_set_range() 898 UNUSED static int drv_acc_gyro_senodia_sh200q_self_test(i2c_dev_t* drv, int32_t* diff) in drv_acc_gyro_senodia_sh200q_self_test()
|
A D | drv_mag_senodia_st480.c | 95 static int drv_mag_sen_st480_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_mag_sen_st480_validate_id() 132 static int drv_mag_sen_st480_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_mag_sen_st480_set_power_mode() 139 static int drv_mag_sen_st480_set_odr(i2c_dev_t* drv, uint8_t odr) in drv_mag_sen_st480_set_odr() 148 static int drv_mag_sen_st480_set_range(i2c_dev_t* drv, uint32_t range) in drv_mag_sen_st480_set_range() 156 static int drv_mag_sen_st480_set_default_config(i2c_dev_t* drv) in drv_mag_sen_st480_set_default_config()
|
A D | drv_temp_humi_sensirion_shtc1.c | 80 static int drv_shtc1_cmd_write(i2c_dev_t *drv, CMD_SHTC1_ENUM cmd) in drv_shtc1_cmd_write() 91 static int drv_shtc1_result_read(i2c_dev_t *drv, uint8_t *data, uint16_t size) in drv_shtc1_result_read() 101 static int drv_shtc1_read_raw_data(i2c_dev_t *drv, uint8_t *data) in drv_shtc1_read_raw_data() 136 static int drv_shtc1_read_temp_and_humi(i2c_dev_t *drv, int32_t *temperature, in drv_shtc1_read_temp_and_humi() 166 static int drv_shtc1_update_data(i2c_dev_t *drv) in drv_shtc1_update_data() 185 static int drv_temp_humi_sensirion_shtc1_validate_id(i2c_dev_t *drv, in drv_temp_humi_sensirion_shtc1_validate_id()
|
A D | drv_acc_st_lis2hh12.c | 96 static int drv_acc_st_lis2hh12_soft_reset(i2c_dev_t* drv) in drv_acc_st_lis2hh12_soft_reset() 107 static int drv_acc_st_lis2hh12_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_acc_st_lis2hh12_validate_id() 130 static int drv_acc_st_lis2hh12_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_acc_st_lis2hh12_set_power_mode() 188 static int drv_acc_st_lis2hh12_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_acc_st_lis2hh12_set_odr() 208 static int drv_acc_st_lis2hh12_set_range(i2c_dev_t* drv, uint32_t range) in drv_acc_st_lis2hh12_set_range() 252 static int drv_acc_st_lis2hh12_set_bdu(i2c_dev_t* drv) in drv_acc_st_lis2hh12_set_bdu()
|
A D | drv_gyro_st_l3gd20h.c | 91 UNUSED static int drv_gyro_st_l3gd20h_soft_reset(i2c_dev_t* drv) in drv_gyro_st_l3gd20h_soft_reset() 110 static int drv_gyro_st_l3gd20h_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_gyro_st_l3gd20h_validate_id() 131 static int drv_gyro_st_l3gd20h_set_bdu(i2c_dev_t* drv) in drv_gyro_st_l3gd20h_set_bdu() 153 static int drv_gyro_st_l3gd20h_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_gyro_st_l3gd20h_set_power_mode() 216 static int drv_gyro_st_l3gd20h_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_gyro_st_l3gd20h_set_odr() 255 static int drv_gyro_st_l3gd20h_set_range(i2c_dev_t* drv, uint32_t range) in drv_gyro_st_l3gd20h_set_range()
|
A D | drv_tvoc_sensirion_sgp30.c | 82 static int drv_sgp30_cmd_write(i2c_dev_t* drv, CMD_SGP30_ENUM cmd) in drv_sgp30_cmd_write() 90 static int drv_sgp30_result_read(i2c_dev_t* drv, uint8_t *data, uint16_t size) in drv_sgp30_result_read() 98 static int drv_sgp30_read_raw_data(i2c_dev_t *drv, integer_data_t *pdata) in drv_sgp30_read_raw_data() 126 static int drv_sgp30_init_sensor(i2c_dev_t* drv) in drv_sgp30_init_sensor()
|
A D | drv_acc_st_n2dm.c | 140 static int drv_acc_st_n2dm_validate_id(i2c_dev_t* drv, uint8_t id_value) in drv_acc_st_n2dm_validate_id() 161 static int drv_acc_st_n2dm_set_power_mode(i2c_dev_t* drv, dev_power_mode_e mode) in drv_acc_st_n2dm_set_power_mode() 227 static int drv_acc_st_n2dm_set_odr(i2c_dev_t* drv, uint32_t hz) in drv_acc_st_n2dm_set_odr() 247 static int drv_acc_st_n2dm_set_range(i2c_dev_t* drv, uint32_t range) in drv_acc_st_n2dm_set_range() 294 static int drv_acc_st_n2dm_set_bdu(i2c_dev_t* drv) in drv_acc_st_n2dm_set_bdu() 312 static int drv_acc_st_n2dm_st_discard(i2c_dev_t* drv) in drv_acc_st_n2dm_st_discard() 345 static int drv_acc_st_n2dm_st_data(i2c_dev_t* drv,int32_t* data) in drv_acc_st_n2dm_st_data() 402 static int drv_acc_st_n2dm_self_test(i2c_dev_t* drv,int32_t* data) in drv_acc_st_n2dm_self_test()
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_fs.c | 69 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_is_ready() local 165 lv_fs_drv_t * drv = NULL; in lv_fs_remove() local 328 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_rename() local 446 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_free_space() local 474 void lv_fs_drv_init(lv_fs_drv_t * drv) in lv_fs_drv_init() 502 lv_fs_drv_t * drv; in lv_fs_get_drv() local 520 lv_fs_drv_t * drv; in lv_fs_get_letters() local
|
/AliOS-Things-master/components/netmgr/src/ |
A D | netmgr_nbiot.c | 40 netdev_driver_t *drv = dev->drv; in netmgr_nbiot_info() local 81 netdev_driver_t *drv = dev->drv; in netmgr_nbiot_service() local 104 netdev_driver_t *drv = dev->drv; in netmgr_nbiot_reset() local
|
A D | netmgr_gprs.c | 26 netdev_driver_t *drv = dev->drv; in netmgr_gprs_provision() local 55 netdev_driver_t *drv = dev->drv; in netmgr_gprs_reset() local 70 netdev_driver_t *drv = dev->drv; in netmgr_gprs_info() local
|