Searched refs:set_bit (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_litex.c | 34 static inline void set_bit(uint32_t addr, uint32_t bit, uint32_t val) in set_bit() function 57 set_bit(config->write_addr, SCL_BIT_POS, state); in i2c_litex_bitbang_set_scl() 65 set_bit(config->write_addr, SDA_DIR_BIT_POS, SDA_DIR_OUTPUT); in i2c_litex_bitbang_set_sda() 66 set_bit(config->write_addr, SDA_BIT_W_POS, state); in i2c_litex_bitbang_set_sda() 74 set_bit(config->write_addr, SDA_DIR_BIT_POS, SDA_DIR_INPUT); in i2c_litex_bitbang_get_sda()
|
/Zephyr-Core-3.5.0/drivers/gpio/ |
D | gpio_litex.c | 62 static inline void set_bit(const struct gpio_litex_cfg *config, in set_bit() function 117 set_bit(gpio_config, pin, GPIO_HIGH); in gpio_litex_configure() 119 set_bit(gpio_config, pin, GPIO_LOW); in gpio_litex_configure()
|