Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_mcp230xx.c81 .reg_cache.iodir = 0xFFFF, .reg_cache.ipol = 0x0, .reg_cache.gpinten = 0x0, \
82 .reg_cache.defval = 0x0, .reg_cache.intcon = 0x0, .reg_cache.iocon = 0x0, \
83 .reg_cache.gppu = 0x0, .reg_cache.intf = 0x0, .reg_cache.intcap = 0x0, \
84 .reg_cache.gpio = 0x0, .reg_cache.olat = 0x0, \
Dgpio_mcp23sxx.c119 .reg_cache.iodir = 0xFFFF, .reg_cache.ipol = 0x0, .reg_cache.gpinten = 0x0, \
120 .reg_cache.defval = 0x0, .reg_cache.intcon = 0x0, .reg_cache.iocon = 0x0, \
121 .reg_cache.gppu = 0x0, .reg_cache.intf = 0x0, .reg_cache.intcap = 0x0, \
122 .reg_cache.gpio = 0x0, .reg_cache.olat = 0x0, \
Dgpio_fxl6408.c53 } reg_cache; member
121 &drv_data->reg_cache.input); in update_input_regs()
122 *buf = drv_data->reg_cache.input; in update_input_regs()
133 &drv_data->reg_cache.output, value); in update_output_regs()
142 &drv_data->reg_cache.high_z, value); in update_high_z_regs()
151 &drv_data->reg_cache.dir, value); in update_direction_regs()
160 &drv_data->reg_cache.pud_sel, value); in update_pul_sel_regs()
169 &drv_data->reg_cache.pud_en, value); in update_pul_en_regs()
176 uint8_t reg_dir = drv_data->reg_cache.dir; in setup_pin_dir()
177 uint8_t reg_out = drv_data->reg_cache.output; in setup_pin_dir()
[all …]
Dgpio_mcp23xxx.c94 drv_data->reg_cache.iocon = extended_value; in write_iocon()
111 uint16_t dir = drv_data->reg_cache.iodir; in setup_pin_dir()
112 uint16_t output = drv_data->reg_cache.gpio; in setup_pin_dir()
131 drv_data->reg_cache.gpio = output; in setup_pin_dir()
135 drv_data->reg_cache.iodir = dir; in setup_pin_dir()
155 port = drv_data->reg_cache.gppu; in setup_pin_pull()
165 drv_data->reg_cache.gppu = port; in setup_pin_pull()
239 buf = drv_data->reg_cache.gpio; in mcp23xxx_port_set_masked_raw()
244 drv_data->reg_cache.gpio = buf; in mcp23xxx_port_set_masked_raw()
273 buf = drv_data->reg_cache.gpio; in mcp23xxx_port_toggle_bits()
[all …]
Dgpio_pca95xx.c93 } reg_cache; member
263 &drv_data->reg_cache.input, buf); in update_input_reg()
272 &drv_data->reg_cache.input, buf); in update_input_regs()
282 &drv_data->reg_cache.output, value); in update_output_reg()
291 &drv_data->reg_cache.output, value); in update_output_regs()
301 &drv_data->reg_cache.dir, value); in update_direction_reg()
310 &drv_data->reg_cache.dir, value); in update_direction_regs()
320 &drv_data->reg_cache.pud_sel, value); in update_pul_sel_reg()
330 &drv_data->reg_cache.pud_en, value); in update_pul_en_reg()
341 write_port_reg(dev, REG_INPUT_LATCH_PORT0, pin, &drv_data->reg_cache.input_latch, ~value); in update_int_mask_reg()
[all …]
Dgpio_mcp23xxx.h96 } reg_cache; member