Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_pca_series.c435 uint8_t cache_offset = gpio_pca_series_reg_cache_offset(dev, reg_type); in gpio_pca_series_reg_cache_reset() local
437 if (cache_offset == PCA_REG_INVALID) { in gpio_pca_series_reg_cache_reset()
458 ((uint8_t *)data->cache) + cache_offset); in gpio_pca_series_reg_cache_reset()
483 ((uint8_t *)data->cache) + cache_offset); in gpio_pca_series_reg_cache_reset()
839 uint8_t cache_offset = gpio_pca_series_reg_cache_offset(dev, reg_type); in gpio_pca_series_cache_test() local
842 if (cache_offset == PCA_REG_INVALID) { in gpio_pca_series_cache_test()
847 if (cache_offset != expected_offset) { in gpio_pca_series_cache_test()
849 reg_type, cache_offset, expected_offset); in gpio_pca_series_cache_test()
/Zephyr-latest/drivers/serial/
Duart_nrfx_uarte.c166 size_t cache_offset; member
894 size_t remaining = data->async->tx.len - data->async->tx.cache_offset; in setup_tx_cache()
904 memcpy(config->tx_cache, &data->async->tx.buf[data->async->tx.cache_offset], len); in setup_tx_cache()
943 data->async->tx.cache_offset = 0; in uarte_nrfx_tx()
1722 data->async->tx.cache_offset += amount; in txstopped_isr()
1731 amount = data->async->tx.cache_offset; in txstopped_isr()
1734 amount += data->async->tx.cache_offset; in txstopped_isr()