Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_litex.c40 int reg_size; member
67 regv = litex_read(config->reg_addr, config->reg_size); in set_bit()
69 litex_write(config->reg_addr, config->reg_size, new_regv); in set_bit()
74 int regv = litex_read(config->reg_addr, config->reg_size); in get_bit()
81 litex_write(config->reg_addr, config->reg_size, value); in set_port()
86 int regv = litex_read(config->reg_addr, config->reg_size); in get_port()
199 litex_read(gpio_config->ev_pending_addr, gpio_config->reg_size); in gpio_litex_irq_handler()
201 litex_read(gpio_config->ev_enable_addr, gpio_config->reg_size); in gpio_litex_irq_handler()
204 litex_write(gpio_config->ev_pending_addr, gpio_config->reg_size, in gpio_litex_irq_handler()
231 gpio_config->reg_size); in gpio_litex_pin_interrupt_configure()
[all …]
Dgpio_pca_series.c748 uint32_t reg_size = gpio_pca_series_reg_size(dev, reg_type); in gpio_pca_series_debug_dump() local
792 if (memcmp(reg_val, cache_val, reg_size)) { in gpio_pca_series_debug_dump()
/Zephyr-latest/drivers/syscon/
Dsyscon_common.h24 static inline int syscon_sanitize_reg(uint16_t *reg, size_t reg_size, uint8_t reg_width) in syscon_sanitize_reg() argument
30 if (*reg >= reg_size) { in syscon_sanitize_reg()
/Zephyr-latest/drivers/video/
Dmt9m114.c218 static int mt9m114_write_reg(const struct device *dev, uint16_t reg_addr, uint8_t reg_size, in mt9m114_write_reg() argument
223 switch (reg_size) { in mt9m114_write_reg()
236 return i2c_burst_write16_dt(&cfg->i2c, reg_addr, value, reg_size); in mt9m114_write_reg()
239 static int mt9m114_read_reg(const struct device *dev, uint16_t reg_addr, uint8_t reg_size, in mt9m114_read_reg() argument
245 if (reg_size > 4) { in mt9m114_read_reg()
249 err = i2c_burst_read16_dt(&cfg->i2c, reg_addr, value, reg_size); in mt9m114_read_reg()
254 switch (reg_size) { in mt9m114_read_reg()
271 uint8_t reg_size, const uint32_t mask, const uint32_t val) in mt9m114_modify_reg() argument
276 int ret = mt9m114_read_reg(dev, addr, reg_size, &oldVal); in mt9m114_modify_reg()
284 return mt9m114_write_reg(dev, addr, reg_size, &newVal); in mt9m114_modify_reg()
/Zephyr-latest/soc/nordic/common/
Ddmm.c77 uintptr_t reg_start, size_t reg_size) in is_buffer_within_region() argument
79 return ((start >= reg_start) && ((start + size) <= (reg_start + reg_size))); in is_buffer_within_region()
/Zephyr-latest/drivers/pcie/endpoint/
Dpcie_ep_iproc.h101 uint32_t reg_size; member
Dpcie_ep_iproc.c477 .reg_size = DT_INST_REG_SIZE(0),
/Zephyr-latest/drivers/adc/
Dadc_max1125x.c245 size_t reg_size) in max1125x_read_reg() argument
283 uint8_t *reg_val, size_t reg_size) in max1125x_write_reg() argument
290 {.buf = reg_val, .len = reg_size}}; in max1125x_write_reg()
/Zephyr-latest/drivers/can/
Dcan_rcar.c171 int reg_size; member
1192 .reg_size = DT_INST_REG_SIZE(n), \
/Zephyr-latest/drivers/mspi/
Dmspi_ambiq_ap3.c49 uint32_t reg_size; member
1424 .reg_size = DT_INST_REG_SIZE(n), \