Home
last modified time | relevance | path

Searched refs:sys_set_bits (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_rp1.c84 sys_set_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_OEOVER_PERI); in gpio_rp1_pin_configure()
87 sys_set_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_OUTOVER_PERI); in gpio_rp1_pin_configure()
90 sys_set_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_FUNCSEL_RIO); in gpio_rp1_pin_configure()
107 sys_set_bits(PADS_CTRL(data->pads_base, pin), in gpio_rp1_pin_configure()
116 sys_set_bits(PADS_CTRL(data->pads_base, pin), PADS_PULL_UP_ENABLE); in gpio_rp1_pin_configure()
118 sys_set_bits(PADS_CTRL(data->pads_base, pin), PADS_PULL_DOWN_ENABLE); in gpio_rp1_pin_configure()
139 sys_set_bits(RIO_OUT_CLR(data->rio_base), mask); in gpio_rp1_port_set_masked_raw()
142 sys_set_bits(RIO_OUT_SET(data->rio_base), (value & mask)); in gpio_rp1_port_set_masked_raw()
152 sys_set_bits(RIO_OUT_SET(data->rio_base), pins); in gpio_rp1_port_set_bits_raw()
162 sys_set_bits(RIO_OUT_CLR(data->rio_base), pins); in gpio_rp1_port_clear_bits_raw()
[all …]
Dgpio_brcmstb.c73 sys_set_bits(data->base + GIO_DATA, (value & mask)); in gpio_brcmstb_port_set_masked_raw()
82 sys_set_bits(data->base + GIO_DATA, pins); in gpio_brcmstb_port_set_bits_raw()
Dgpio_altera_pio.c96 sys_set_bits(addr, BIT(pin)); in gpio_altera_configure()
148 sys_set_bits(addr, mask); in gpio_altera_port_set_bits_raw()
236 sys_set_bits(addr, BIT(pin)); in gpio_altera_pin_interrupt_configure()
/Zephyr-latest/drivers/sdhc/
Dsdhc_cdns_ll.c382 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_HRS09, CDNS_HRS09_RDCMD_EN_BIT | in sdhc_cdns_host_set_clk()
519 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_HRS09, CDNS_HRS09_RDCMD_EN_BIT | in sdhc_cdns_set_clk()
607 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS10, SRS10_VAL_SW); in sdhc_cdns_send_cmd()
608 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS11, SRS11_VAL_GEN); in sdhc_cdns_send_cmd()
609 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS15, SRS15_VAL_GEN); in sdhc_cdns_send_cmd()
615 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS10, SRS10_VAL_READ); in sdhc_cdns_send_cmd()
616 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS11, SRS11_VAL_GEN); in sdhc_cdns_send_cmd()
617 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS15, SRS15_VAL_RD_WR); in sdhc_cdns_send_cmd()
624 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS10, SRS10_VAL_READ); in sdhc_cdns_send_cmd()
625 sys_set_bits(cdns_params.reg_base + SDHC_CDNS_SRS11, SRS11_VAL_GEN); in sdhc_cdns_send_cmd()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_cyclonev.c83 sys_set_bits(RSTMGR_PERMODRST_ADDR, Rstmgr_Permodrst_Emac_Set_Msk[instance]); in eth_cyclonev_reset()
180 sys_set_bits(EMAC_DMAGRP_BUS_MODE_ADDR(p->base_addr), EMAC_DMA_MODE_SWR_SET_MSK); in eth_cyclonev_software_reset()
335 sys_set_bits(EMAC_GMACGRP_MAC_FRAME_FILTER_ADDR(p->base_addr), in eth_cyclonev_set_config()
484 sys_set_bits(EMAC_DMAGRP_OPERATION_MODE_ADDR( in eth_cyclonev_send()
488 sys_set_bits(EMAC_DMAGRP_OPERATION_MODE_ADDR( in eth_cyclonev_send()
962 sys_set_bits(EMAC_DMA_INT_EN_ADDR(p->base_addr), interrupt_mask); in eth_cyclonev_probe()
1025 sys_set_bits(EMAC_GMAC_INT_MSK_ADDR(p->base_addr), in eth_cyclonev_probe()
1064 sys_set_bits(EMAC_DMAGRP_OPERATION_MODE_ADDR(p->base_addr), in eth_cyclonev_start()
1066 sys_set_bits(EMAC_DMAGRP_OPERATION_MODE_ADDR(p->base_addr), in eth_cyclonev_start()
1070 sys_set_bits(GMACGRP_MAC_CONFIG_ADDR(p->base_addr), in eth_cyclonev_start()
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_stm32_mco.c47 sys_set_bits( in stm32_mco_init()
58 sys_set_bits( in stm32_mco_init()
Dclock_agilex_ll.c21 #define mmio_setbits_32(addr, mask) sys_set_bits((addr), (mask))
Dclock_stm32_ll_wb0.c222 sys_set_bits(reg, pclken->enr); in stm32_clock_control_on()
269 sys_set_bits(reg, STM32_CLOCK_VAL_GET(pclken->enr) << shift); in stm32_clock_control_configure()
Dclock_stm32_ll_wba.c78 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus, in stm32_clock_control_on()
125 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + STM32_CLOCK_REG_GET(pclken->enr), in stm32_clock_control_configure()
Dclock_stm32_ll_common.c265 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus, in stm32_clock_control_on()
319 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + STM32_CLOCK_REG_GET(pclken->enr), in stm32_clock_control_configure()
Dclock_stm32_ll_h5.c160 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus, in stm32_clock_control_on()
203 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + STM32_CLOCK_REG_GET(pclken->enr), in stm32_clock_control_configure()
Dclock_stm32_ll_u5.c166 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + pclken->bus, in stm32_clock_control_on()
211 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + STM32_CLOCK_REG_GET(pclken->enr), in stm32_clock_control_configure()
Dclock_stm32_ll_h7.c399 sys_set_bits(STM32H7_BUS_CLK_REG + pclken->bus, pclken->enr);
452 sys_set_bits(DT_REG_ADDR(DT_NODELABEL(rcc)) + STM32_CLOCK_REG_GET(pclken->enr),
/Zephyr-latest/drivers/spi/
Dspi_andes_atcspi200.c67 sys_set_bits(SPI_TIMIN(cfg->base), sclk_div); in spi_config()
78 sys_set_bits(SPI_TFMAT(cfg->base), (data_len << TFMAT_DATA_LEN_OFFSET)); in spi_config()
82 sys_set_bits(SPI_TFMAT(cfg->base), TFMAT_CPHA_MSK); in spi_config()
88 sys_set_bits(SPI_TFMAT(cfg->base), TFMAT_CPOL_MSK); in spi_config()
95 sys_set_bits(SPI_TFMAT(cfg->base), TFMAT_LSB_MSK); in spi_config()
104 sys_set_bits(SPI_CTRL(cfg->base), TX_FIFO_THRESHOLD << CTRL_TX_THRES_OFFSET); in spi_config()
105 sys_set_bits(SPI_CTRL(cfg->base), RX_FIFO_THRESHOLD << CTRL_RX_THRES_OFFSET); in spi_config()
203 sys_set_bits(SPI_CTRL(cfg->base), CTRL_TX_DMA_EN_MSK); in spi_tx_dma_enable()
217 sys_set_bits(SPI_CTRL(cfg->base), CTRL_RX_DMA_EN_MSK); in spi_rx_dma_enable()
622 sys_set_bits(SPI_CTRL(cfg->base), CTRL_TX_FIFO_RST_MSK); in transceive()
[all …]
/Zephyr-latest/include/zephyr/arch/common/
Dsys_bitops.h45 static ALWAYS_INLINE void sys_set_bits(mem_addr_t addr, unsigned int mask) in sys_set_bits() function
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2_vendor_quirks.h68 sys_set_bits(ggpio_reg, USB_DWC2_GGPIO_STM32_PWRDWN | USB_DWC2_GGPIO_STM32_VBDEN); in stm32f4_fsotg_enable_phy()
271 sys_set_bits((mem_addr_t)&base->pcgcctl, USB_DWC2_PCGCCTL_GATEHCLK); in usbhs_post_hibernation_entry()
Dudc_dwc2.c325 sys_set_bits(reg, epmsk); in dwc2_set_epint()
1004 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_PMUACTV); in dwc2_enter_hibernation()
1008 sys_set_bits(pcgcctl_reg, USB_DWC2_PCGCCTL_STOPPCLK); in dwc2_enter_hibernation()
1012 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_PMUINTSEL); in dwc2_enter_hibernation()
1016 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_LINESTAGECHANGEMSK | in dwc2_enter_hibernation()
1023 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_PWRDNCLMP); in dwc2_enter_hibernation()
1027 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_PWRDNSWTCH); in dwc2_enter_hibernation()
1056 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_RESTORE); in dwc2_exit_hibernation()
1071 sys_set_bits(gpwrdn_reg, USB_DWC2_GPWRDN_PWRDNRST_N); in dwc2_exit_hibernation()
1105 sys_set_bits((mem_addr_t)&base->dctl, USB_DWC2_DCTL_PWRONPRGDONE); in dwc2_exit_hibernation()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_andes_qspi.c703 sys_set_bits(QSPI_TIMIN(base), TIMIN_SCLK_DIV_MSK); in qspi_andes_configure()
713 sys_set_bits(QSPI_TFMAT(base), (7 << TFMAT_DATA_LEN_OFFSET)); in qspi_andes_configure()
719 sys_set_bits(QSPI_CTRL(base), TX_FIFO_THRESHOLD); in qspi_andes_configure()
720 sys_set_bits(QSPI_CTRL(base), RX_FIFO_THRESHOLD); in qspi_andes_configure()
Dflash_cadence_qspi_nor_ll.c39 sys_set_bits(cad_params->reg_base + CAD_QSPI_CFG, CAD_QSPI_CFG_BAUDDIV(div)); in cad_qspi_set_baudrate_div()
408 sys_set_bits(cad_params->reg_base + CAD_QSPI_CFG, CAD_QSPI_CFG_ENABLE); in cad_qspi_enable()
Dflash_cadence_nand_ll.c258 sys_set_bits(CNF_MINICTRL(base_address, CMN_SETTINGS), in cdns_nand_set_opr_mode()
/Zephyr-latest/drivers/dai/intel/alh/
Dalh.c87 sys_set_bits(ADSP_DSPALHO_ADDRESS, DSPALHO_ASO_FLAG | DSPALHO_CSO_FLAG); in alh_claim_ownership()