Searched refs:chip_api (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.0/drivers/sensor/lps2xdf/ |
D | lps2xdf_trigger.c | 35 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_trigger_set() local 37 return chip_api->trigger_set(dev, trig, handler); in lps2xdf_trigger_set() 72 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_thread() local 76 chip_api->handle_interrupt(dev); in lps2xdf_thread() 88 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_work_cb() local 90 chip_api->handle_interrupt(dev); in lps2xdf_work_cb()
|
D | lps2xdf.c | 39 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_odr_set() local 52 if (chip_api->mode_set_odr_raw(dev, odr)) { in lps2xdf_odr_set() 132 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_sample_fetch() local 136 return chip_api->sample_fetch(dev, chan); in lps2xdf_sample_fetch() 161 .chip_api = &name##_chip_api, \
|
D | lps2xdf.h | 98 const struct lps2xdf_chip_api *chip_api; member
|
/Zephyr-Core-3.6.0/drivers/gpio/ |
D | gpio_pcal64xxa.c | 109 const struct pcal64xxa_chip_api *chip_api; member 169 rc = drv_cfg->chip_api->pins_cfg_apply(&drv_cfg->i2c, &pins_cfg); in pcal64xxa_pin_configure() 191 rc = drv_cfg->chip_api->inputs_read(&drv_cfg->i2c, &int_sources, &input_port); in pcal64xxa_process_input() 298 rc = drv_cfg->chip_api->outputs_write(&drv_cfg->i2c, output); in pcal64xxa_port_set_raw() 379 rc = drv_cfg->chip_api->triggers_apply(&drv_cfg->i2c, &triggers); in pcal64xxa_pin_interrupt_configure() 800 rc = drv_cfg->chip_api->reset_state_apply(&drv_cfg->i2c); in pcal64xxa_init() 809 rc = drv_cfg->chip_api->pins_cfg_apply(&drv_cfg->i2c, &initial_pins_cfg); in pcal64xxa_init() 818 rc = drv_cfg->chip_api->inputs_read(&drv_cfg->i2c, &int_sources, in pcal64xxa_init() 826 rc = drv_cfg->chip_api->triggers_apply(&drv_cfg->i2c, &initial_triggers); in pcal64xxa_init() 899 .chip_api = &pcal6408a_chip_api, \ [all …]
|