/Zephyr-latest/include/zephyr/arch/common/ |
D | sys_bitops.h | 24 static ALWAYS_INLINE void sys_set_bit(mem_addr_t addr, unsigned int bit) in sys_set_bit() function 65 sys_set_bit(addr + ((bit >> 5) << 2), bit & 0x1F); in sys_bitfield_set_bit() 86 sys_set_bit(addr, bit); in sys_test_and_set_bit()
|
/Zephyr-latest/drivers/counter/ |
D | counter_dw_timer.c | 103 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_INTR_MASK_BIT); in counter_dw_timer_irq_handler() 124 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_INTR_MASK_BIT); in counter_dw_timer_start() 128 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_CONTROL_ENABLE_BIT); in counter_dw_timer_start() 191 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_INTR_MASK_BIT); in counter_dw_timer_set_top_value() 204 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_MODE_BIT); in counter_dw_timer_set_top_value() 208 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_CONTROL_ENABLE_BIT); in counter_dw_timer_set_top_value() 257 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_MODE_BIT); in counter_dw_timer_set_alarm() 261 sys_set_bit(reg_base + CONTROLREG_OFST, TIMER_CONTROL_ENABLE_BIT); in counter_dw_timer_set_alarm()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_stellaris.c | 95 sys_set_bit(GPIO_REG_ADDR(base, GPIO_DIR_OFFSET), pin); in gpio_stellaris_configure() 97 sys_set_bit(GPIO_REG_ADDR(base, GPIO_DEN_OFFSET), pin); in gpio_stellaris_configure() 101 sys_set_bit(GPIO_REG_ADDR(base, GPIO_DEN_OFFSET), pin); in gpio_stellaris_configure() 208 sys_set_bit(GPIO_REG_ADDR(base, GPIO_IM_OFFSET), pin); in gpio_stellaris_pin_interrupt_configure() 213 sys_set_bit(GPIO_REG_ADDR(base, GPIO_IS_OFFSET), pin); in gpio_stellaris_pin_interrupt_configure() 217 sys_set_bit(GPIO_REG_ADDR(base, GPIO_IBE_OFFSET), pin); in gpio_stellaris_pin_interrupt_configure() 219 sys_set_bit(GPIO_REG_ADDR(base, GPIO_IEV_OFFSET), pin); in gpio_stellaris_pin_interrupt_configure()
|
D | gpio_iproc.c | 54 sys_set_bit(base + IPROC_GPIO_OUT_EN_OFFSET, pin); in gpio_iproc_configure() 134 sys_set_bit(base + IPROC_GPIO_INT_TYPE_OFFSET, pin); in gpio_iproc_pin_interrupt_configure() 139 sys_set_bit(base + IPROC_GPIO_INT_DE_OFFSET, pin); in gpio_iproc_pin_interrupt_configure() 143 sys_set_bit(base + IPROC_GPIO_INT_EDGE_OFFSET, pin); in gpio_iproc_pin_interrupt_configure() 153 sys_set_bit(base + IPROC_GPIO_INT_MSK_OFFSET, pin); in gpio_iproc_pin_interrupt_configure()
|
D | gpio_rp1.c | 94 sys_set_bit(RIO_OE_SET(data->rio_base), pin); in gpio_rp1_pin_configure() 99 sys_set_bit(RIO_OUT_SET(data->rio_base), pin); in gpio_rp1_pin_configure() 102 sys_set_bit(RIO_OUT_CLR(data->rio_base), pin); in gpio_rp1_pin_configure() 106 sys_set_bit(RIO_OE_CLR(data->rio_base), pin); in gpio_rp1_pin_configure()
|
D | gpio_brcmstb.c | 44 sys_set_bit(data->base + GIO_IODIR, pin); in gpio_brcmstb_pin_configure() 49 sys_set_bit(data->base + GIO_DATA, pin); in gpio_brcmstb_pin_configure()
|
/Zephyr-latest/drivers/reset/ |
D | reset_stm32.c | 37 sys_set_bit(config->base + STM32_RESET_SET_OFFSET(id), in reset_stm32_line_assert() 48 sys_set_bit(config->base + STM32_RESET_CLR_OFFSET(id), in reset_stm32_line_deassert()
|
D | reset_gd32.c | 38 sys_set_bit(config->base + GD32_RESET_ID_OFFSET(id), in reset_gd32_line_assert()
|
D | reset_numaker.c | 39 sys_set_bit(config->base + NUMAKER_RESET_IP_OFFSET(id), NUMAKER_RESET_IP_BIT(id)); in reset_numaker_line_assert()
|
D | reset_intel_socfpga.c | 53 sys_set_bit(base_address + offset, regbit); in reset_intel_soc_update()
|
/Zephyr-latest/drivers/ipm/ |
D | ipm_xlnx_ipi.c | 110 sys_set_bit(config->host_ipi_reg + IPI_ISR, remote_ipi_ch_bit); in xlnx_mailbox_rx_isr() 137 sys_set_bit(config->host_ipi_reg + IPI_TRIG, config->remote_ipi_ch_bit); in xlnx_ipi_send() 172 sys_set_bit(config->host_ipi_reg + IPI_IER, config->remote_ipi_ch_bit); in xlnx_ipi_set_enabled() 174 sys_set_bit(config->host_ipi_reg + IPI_IDR, config->remote_ipi_ch_bit); in xlnx_ipi_set_enabled()
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_silabs_dbus.c | 32 sys_set_bit(enable_reg, pins[i].en_bit); in pinctrl_configure_pins()
|
/Zephyr-latest/drivers/spi/ |
D | spi_sifive.c | 56 sys_set_bit(SPI_REG(dev, REG_SCKMODE), SF_SCKMODE_POL); in spi_config() 68 sys_set_bit(SPI_REG(dev, REG_SCKMODE), SF_SCKMODE_PHA); in spi_config() 96 sys_set_bit(SPI_REG(dev, REG_FMT), SF_FMT_ENDIAN); in spi_config()
|
D | spi_gecko_usart.c | 151 sys_set_bit(ctrl_reg, _USART_CTRL_CSINV_SHIFT); in spi_config() 165 sys_set_bit(ctrl_reg, _USART_CTRL_MSBF_SHIFT); in spi_config()
|
D | spi_cc13xx_cc26xx.c | 124 sys_set_bit(cfg->base + SSI_O_CR1, 0); in spi_cc13xx_cc26xx_configure()
|
D | spi_dw.h | 126 sys_set_bit(addr + off, bit); in reg_set_bit()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_sifive.c | 87 sys_set_bit(PWM_REG(config, REG_PWMCFG), SF_PWMZEROCMP); in pwm_sifive_init() 90 sys_set_bit(PWM_REG(config, REG_PWMCFG), SF_PWMENALWAYS); in pwm_sifive_init()
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | arch.h | 155 static ALWAYS_INLINE void sys_set_bit(mem_addr_t addr, unsigned int bit) in sys_set_bit() function 208 #define sys_bitfield_set_bit sys_set_bit
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_dw.h | 135 #define Z_REG_SET_BIT sys_set_bit
|
/Zephyr-latest/tests/kernel/common/src/ |
D | bitfield.c | 47 sys_set_bit((mem_addr_t)&b1, bit); in ZTEST()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_gicv3.c | 315 sys_set_bit(rdist + GICR_PWRR, GICR_PWRR_RDAG); in gicv3_rdist_enable() 474 sys_set_bit(GICD_CTLR, GICD_CTRL_NS); in gicv3_dist_init() 531 sys_set_bit(GICD_CTLR, GICD_CTLR_ENABLE_G1S); in gicv3_dist_init()
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_gd32.c | 76 sys_set_bit(config->base + GD32_CLOCK_ID_OFFSET(id), in clock_control_gd32_on()
|
/Zephyr-latest/drivers/pcie/endpoint/ |
D | pcie_ep_iproc_msi.c | 234 sys_set_bit(PBA_OFFSET(msix_num), PENDING_BIT(msix_num)); in iproc_pcie_generate_msix()
|
/Zephyr-latest/drivers/sdhc/ |
D | sdhc_cdns_ll.c | 403 sys_set_bit(cdns_params.reg_base + SDHC_CDNS_SRS10, WIDTH_BIT4); in sdhc_cdns_set_ios() 406 sys_set_bit(cdns_params.reg_base + SDHC_CDNS_SRS10, WIDTH_BIT8); in sdhc_cdns_set_ios() 537 sys_set_bit(cdns_params.reg_base + SDHC_CDNS_HRS00, CDNS_HRS00_SWR); in sdhc_cdns_reset()
|
/Zephyr-latest/drivers/flash/ |
D | flash_cadence_nand_ll.c | 305 sys_set_bit(CNF_MINICTRL(base_address, DLL_PHY_CTRL), CNF_DLL_PHY_RST_N); in cdns_nand_set_opr_mode() 379 sys_set_bit(CNF_DI(base_address, CONTROL), CNF_DI_PAR_EN); in cdns_nand_init() 385 sys_set_bit(CNF_DI(base_address, CONTROL), CNF_DI_CRC_EN); in cdns_nand_init() 433 sys_set_bit((base_address + INTERRUPT_STATUS_REG), GINTR_ENABLE); in cdns_nand_init() 939 sys_set_bit((base_address + INTR_STATUS), SDMA_TRIGG); in cdns_wait_sdma()
|