Home
last modified time | relevance | path

Searched refs:int_sources (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_pcal64xxa.c104 typedef int (*pcal64xxa_inputs_read)(const struct i2c_dt_spec *i2c, pcal64xxa_data_t *int_sources,
203 pcal64xxa_data_t int_sources; in pcal64xxa_process_input() local
208 rc = drv_cfg->chip_api->inputs_read(&drv_cfg->i2c, &int_sources, &input_port); in pcal64xxa_process_input()
227 int_sources |= ((input_port ^ drv_data->input_port_last) & ~drv_data->triggers.masked); in pcal64xxa_process_input()
231 if (int_sources) { in pcal64xxa_process_input()
238 fired_triggers |= (int_sources & dual_edge_triggers); in pcal64xxa_process_input()
243 fired_triggers |= ((input_port & int_sources) ^ falling_edge_triggers); in pcal64xxa_process_input()
518 static int pcal6408a_inputs_read(const struct i2c_dt_spec *i2c, pcal64xxa_data_t *int_sources, in pcal6408a_inputs_read() argument
529 *int_sources = value; in pcal6408a_inputs_read()
727 static int pcal6416a_inputs_read(const struct i2c_dt_spec *i2c, pcal64xxa_data_t *int_sources, in pcal6416a_inputs_read() argument
[all …]