Searched refs:chip_api (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/sensor/st/lps2xdf/ |
D | lps2xdf_trigger.c | 33 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_config_int() local 35 return chip_api->config_interrupt(dev); in lps2xdf_config_int() 43 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_trigger_set() local 45 return chip_api->trigger_set(dev, trig, handler); in lps2xdf_trigger_set() 80 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_thread() local 84 chip_api->handle_interrupt(dev); in lps2xdf_thread() 96 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_work_cb() local 98 chip_api->handle_interrupt(dev); in lps2xdf_work_cb()
|
D | lps2xdf.c | 44 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_odr_set() local 57 if (chip_api->mode_set_odr_raw(dev, odr)) { in lps2xdf_odr_set() 137 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_sample_fetch() local 141 return chip_api->sample_fetch(dev, chan); in lps2xdf_sample_fetch() 166 .chip_api = &name##_chip_api, \
|
D | lps2xdf.h | 106 const struct lps2xdf_chip_api *chip_api; member
|
/Zephyr-latest/drivers/sensor/st/lis2dux12/ |
D | lis2dux12_trigger.c | 41 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_thread() local 45 chip_api->handle_interrupt(dev); in lis2dux12_thread() 56 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_work_cb() local 58 chip_api->handle_interrupt(dev); in lis2dux12_work_cb() 112 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_trigger_set() local 138 chip_api->sample_fetch_accel(dev); in lis2dux12_trigger_set() 142 ret = chip_api->init_interrupt(dev); in lis2dux12_trigger_set()
|
D | lis2dux12.c | 75 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_set_fs() local 95 ret = chip_api->set_range(dev, range); in lis2dux12_set_fs() 110 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_accel_config() local 124 return chip_api->set_odr_raw(dev, odr_val); in lis2dux12_accel_config() 150 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_sample_fetch() local 155 ret = chip_api->sample_fetch_accel(dev); in lis2dux12_sample_fetch() 159 ret = chip_api->sample_fetch_temp(dev); in lis2dux12_sample_fetch() 163 ret = chip_api->sample_fetch_accel(dev); in lis2dux12_sample_fetch() 167 ret = chip_api->sample_fetch_temp(dev); in lis2dux12_sample_fetch() 255 .chip_api = &name##_chip_api, \
|
D | lis2dux12.h | 83 const struct lis2dux12_chip_api *chip_api; member
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_pcal64xxa.c | 125 const struct pcal64xxa_chip_api *chip_api; member 186 rc = drv_cfg->chip_api->pins_cfg_apply(&drv_cfg->i2c, &pins_cfg); in pcal64xxa_pin_configure() 208 rc = drv_cfg->chip_api->inputs_read(&drv_cfg->i2c, &int_sources, &input_port); in pcal64xxa_process_input() 318 rc = drv_cfg->chip_api->outputs_write(&drv_cfg->i2c, output); in pcal64xxa_port_set_raw() 399 rc = drv_cfg->chip_api->triggers_apply(&drv_cfg->i2c, &triggers); in pcal64xxa_pin_interrupt_configure() 900 rc = drv_cfg->chip_api->reset_state_apply(&drv_cfg->i2c); in pcal64xxa_apply_initial_state() 909 rc = drv_cfg->chip_api->pins_cfg_apply(&drv_cfg->i2c, &initial_pins_cfg); in pcal64xxa_apply_initial_state() 929 rc = drv_cfg->chip_api->pins_cfg_read(&drv_cfg->i2c, &drv_data->pins_cfg); in pcal64xxa_read_state_from_registers() 948 rc = drv_cfg->chip_api->triggers_apply(&drv_cfg->i2c, &initial_triggers); in pcal64xxa_apply_initial_triggers() 967 rc = drv_cfg->chip_api->inputs_read(&drv_cfg->i2c, &int_sources, in pcal64xxa_read_initial_inputs() [all …]
|