Searched refs:reg_width (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/reset/ |
D | reset_rpi_pico.c | 17 uint8_t reg_width; member 27 switch (config->reg_width) { in reset_rpi_read_register() 49 switch (config->reg_width) { in reset_rpi_write_register() 74 offset = id / (config->reg_width * CHAR_BIT); in reset_rpi_status() 75 regbit = id % (config->reg_width * CHAR_BIT); in reset_rpi_status() 95 offset = id / (config->reg_width * CHAR_BIT); in reset_rpi_update() 96 regbit = id % (config->reg_width * CHAR_BIT); in reset_rpi_update() 151 .reg_width = DT_INST_PROP_OR(idx, reg_width, 4), \
|
/Zephyr-latest/drivers/syscon/ |
D | syscon.c | 22 uint8_t reg_width; member 57 if (syscon_sanitize_reg(®, data->size, config->reg_width)) { in syscon_generic_read_reg() 63 switch (config->reg_width) { in syscon_generic_read_reg() 93 if (syscon_sanitize_reg(®, data->size, config->reg_width)) { in syscon_generic_write_reg() 99 switch (config->reg_width) { in syscon_generic_write_reg() 141 .reg_width = DT_INST_PROP_OR(inst, reg_io_width, 4), \
|
D | syscon_common.h | 24 static inline int syscon_sanitize_reg(uint16_t *reg, size_t reg_size, uint8_t reg_width) in syscon_sanitize_reg() argument 27 *reg = ROUND_DOWN(*reg, reg_width); in syscon_sanitize_reg()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_litex.c | 23 uint32_t reg_width; member 46 litex_write32(pulse_cycles, cfg->reg_width); in pwm_litex_set_cycles() 74 .reg_width = DT_INST_REG_ADDR_BY_NAME(n, width), \
|
/Zephyr-latest/drivers/sdhc/ |
D | rcar_mmc.c | 1191 uint32_t reg_width; in rcar_mmc_set_bus_width() local 1206 reg_width = RCAR_MMC_OPTION_WIDTH_1; in rcar_mmc_set_bus_width() 1210 reg_width = RCAR_MMC_OPTION_WIDTH_4; in rcar_mmc_set_bus_width() 1218 reg_width = RCAR_MMC_OPTION_WIDTH_8; in rcar_mmc_set_bus_width() 1240 mmc_option_reg |= reg_width; in rcar_mmc_set_bus_width()
|
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 3631 zassert_equal(DT_PROP_BY_PHANDLE_IDX(TEST_TEMP, resets, 1, reg_width), 4, ""); in ZTEST() 3660 zassert_equal(DT_INST_PROP_BY_PHANDLE_IDX(0, resets, 1, reg_width), 4, ""); in ZTEST()
|