/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_andes_qspi.h | 30 #define QSPI_TFMAT(base) (base + 0x10) argument 31 #define QSPI_TCTRL(base) (base + 0x20) argument 32 #define QSPI_CMD(base) (base + 0x24) argument 33 #define QSPI_ADDR(base) (base + 0x28) argument 34 #define QSPI_DATA(base) (base + 0x2c) argument 35 #define QSPI_CTRL(base) (base + 0x30) argument 36 #define QSPI_STAT(base) (base + 0x34) argument 37 #define QSPI_INTEN(base) (base + 0x38) argument 38 #define QSPI_INTST(base) (base + 0x3c) argument 39 #define QSPI_TIMIN(base) (base + 0x40) argument [all …]
|
/Zephyr-Core-3.7.0/drivers/spi/ |
D | spi_andes_atcspi200.h | 29 #define SPI_TFMAT(base) (base + REG_TFMAT) argument 30 #define SPI_TCTRL(base) (base + REG_TCTRL) argument 31 #define SPI_CMD(base) (base + REG_CMD) argument 32 #define SPI_DATA(base) (base + REG_DATA) argument 33 #define SPI_CTRL(base) (base + REG_CTRL) argument 34 #define SPI_STAT(base) (base + REG_STAT) argument 35 #define SPI_INTEN(base) (base + REG_INTEN) argument 36 #define SPI_INTST(base) (base + REG_INTST) argument 37 #define SPI_TIMIN(base) (base + REG_TIMIN) argument 38 #define SPI_CONFIG(base) (base + REG_CONFIG) argument [all …]
|
/Zephyr-Core-3.7.0/drivers/watchdog/ |
D | wdt_dw.h | 305 static inline void dw_wdt_enable(const uint32_t base) in dw_wdt_enable() argument 307 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_enable() 310 sys_write32(control, base + WDT_CR); in dw_wdt_enable() 325 static inline void dw_wdt_response_mode_set(const uint32_t base, const bool mode) in dw_wdt_response_mode_set() argument 327 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_response_mode_set() 334 sys_write32(control, base + WDT_CR); in dw_wdt_response_mode_set() 343 static inline void dw_wdt_reset_pulse_length_set(const uint32_t base, const uint32_t pclk_cycles) in dw_wdt_reset_pulse_length_set() argument 345 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_reset_pulse_length_set() 350 sys_write32(control, base + WDT_CR); in dw_wdt_reset_pulse_length_set() 359 static inline void dw_wdt_timeout_period_set(const uint32_t base, const uint32_t timeout_period) in dw_wdt_timeout_period_set() argument [all …]
|
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/common/include/ |
D | intel_adsp_hda.h | 36 #define HDA_ADDR(base, regblock_size, stream) ((base) + (stream)*(regblock_size)) argument 39 #define DGCS(base, regblock_size, stream) \ argument 40 ((volatile uint32_t *)HDA_ADDR(base, regblock_size, stream)) 57 #define DGBBA(base, regblock_size, stream) \ argument 58 ((volatile uint32_t *)(HDA_ADDR(base, regblock_size, stream) + 0x04)) 61 #define DGBS(base, regblock_size, stream) \ argument 62 ((volatile uint32_t *)(HDA_ADDR(base, regblock_size, stream) + 0x08)) 65 #define DGBFPI(base, regblock_size, stream) \ argument 66 ((volatile uint32_t *)(HDA_ADDR(base, regblock_size, stream) + 0x0c)) 69 #define DGBRP(base, regblock_size, stream) \ argument [all …]
|
/Zephyr-Core-3.7.0/drivers/ipm/ |
D | ipm_imx.c | 24 #define MU(config) ((MU_Type *)config->base) 33 MU_Type *base; member 53 static inline bool MU_IsRxFull(MU_Type *base, uint32_t index) in MU_IsRxFull() argument 57 return (bool)(MU_GetStatusFlags(base) & kMU_Rx0FullFlag); in MU_IsRxFull() 59 return (bool)(MU_GetStatusFlags(base) & kMU_Rx1FullFlag); in MU_IsRxFull() 61 return (bool)(MU_GetStatusFlags(base) & kMU_Rx2FullFlag); in MU_IsRxFull() 63 return (bool)(MU_GetStatusFlags(base) & kMU_Rx3FullFlag); in MU_IsRxFull() 81 static inline bool MU_IsTxEmpty(MU_Type *base, uint32_t index) in MU_IsTxEmpty() argument 85 return (bool)(MU_GetStatusFlags(base) & kMU_Tx0EmptyFlag); in MU_IsTxEmpty() 87 return (bool)(MU_GetStatusFlags(base) & kMU_Tx1EmptyFlag); in MU_IsTxEmpty() [all …]
|
/Zephyr-Core-3.7.0/drivers/interrupt_controller/ |
D | intc_gic_common_priv.h | 25 #define IGROUPR(base, n) (base + GIC_DIST_IGROUPR + (n) * 4) argument 26 #define ISENABLER(base, n) (base + GIC_DIST_ISENABLER + (n) * 4) argument 27 #define ICENABLER(base, n) (base + GIC_DIST_ICENABLER + (n) * 4) argument 28 #define ISPENDR(base, n) (base + GIC_DIST_ISPENDR + (n) * 4) argument 29 #define ICPENDR(base, n) (base + GIC_DIST_ICPENDR + (n) * 4) argument 30 #define IPRIORITYR(base, n) (base + GIC_DIST_IPRIORITYR + n) argument 31 #define ITARGETSR(base, n) (base + GIC_DIST_ITARGETSR + (n) * 4) argument 32 #define ICFGR(base, n) (base + GIC_DIST_ICFGR + (n) * 4) argument 33 #define IGROUPMODR(base, n) (base + GIC_DIST_IGROUPMODR + (n) * 4) argument
|
/Zephyr-Core-3.7.0/drivers/counter/ |
D | counter_imx_epit.c | 18 EPIT_Type *base; member 35 EPIT_Type *base = get_epit_config(dev)->base; in imx_epit_isr() local 38 EPIT_ClearStatusFlag(base); in imx_epit_isr() 49 EPIT_Type *base = config->base; in imx_epit_init() local 59 config->info.freq = get_epit_clock_freq(base)/(config->prescaler + 1U); in imx_epit_init() 61 EPIT_Init(base, &epit_config); in imx_epit_init() 66 EPIT_Type *base = get_epit_config(dev)->base; in imx_epit_start() local 69 EPIT_SetClockSource(base, epitClockSourcePeriph); in imx_epit_start() 72 EPIT_SetPrescaler(base, get_epit_config(dev)->prescaler); in imx_epit_start() 75 EPIT_Enable(base); in imx_epit_start() [all …]
|
D | counter_mcux_snvs.c | 30 SNVS_Type *base; member 64 tmp = (config->base->HPRTCMR << 17U); in mcux_snvs_get_value() 65 tmp |= (config->base->HPRTCLR >> 15U); in mcux_snvs_get_value() 100 config->base->HPCR &= ~SNVS_HPCR_HPTA_EN_MASK; in mcux_snvs_set_alarm() 101 while ((config->base->HPCR & SNVS_HPCR_HPTA_EN_MASK) != 0U) { in mcux_snvs_set_alarm() 105 config->base->HPTAMR = (uint32_t)(ticks >> 17U); in mcux_snvs_set_alarm() 106 config->base->HPTALR = (uint32_t)(ticks << 15U); in mcux_snvs_set_alarm() 109 config->base->HPCR |= SNVS_HPCR_HPTA_EN_MASK; in mcux_snvs_set_alarm() 119 config->base->LPCR &= ~SNVS_LPCR_LPTA_EN_MASK; in mcux_snvs_set_alarm() 120 while ((config->base->LPCR & SNVS_LPCR_LPTA_EN_MASK) != 0U) { in mcux_snvs_set_alarm() [all …]
|
/Zephyr-Core-3.7.0/drivers/ethernet/ |
D | eth_cyclonev_priv.h | 123 #define EMAC_DMAGRP_BUS_MODE_ADDR(base) (uint32_t)((base) + EMAC_DMA_MODE_OFST) /* Bus Mode */ argument 124 #define EMAC_DMA_RX_DESC_LIST_ADDR(base) (uint32_t)((base) + EMAC_DMA_RX_DESC_LIST_OFST) argument 126 #define EMAC_DMA_TX_DESC_LIST_ADDR(base) (uint32_t)((base) + EMAC_DMA_TX_DESC_LIST_OFST) argument 128 #define EMAC_DMAGRP_OPERATION_MODE_ADDR(base) (uint32_t)((base) + EMAC_DMAGRP_OPERATION_MODE_OFST) argument 130 #define EMAC_DMAGRP_STATUS_ADDR(base) (uint32_t)((base) + EMAC_DMAGRP_STATUS_OFST) /* Status */ argument 131 #define EMAC_DMAGRP_DEBUG_ADDR(base) (uint32_t)((base) + EMAC_DMAGRP_DEBUG_OFST) /* Debug */ argument 132 #define EMAC_DMA_INT_EN_ADDR(base) (uint32_t)((base) + EMAC_DMA_INT_EN_OFST) argument 134 #define EMAC_DMAGRP_AXI_BUS_MODE_ADDR(base) (uint32_t)((base) + EMAC_DMAGRP_AXI_BUS_MODE_OFST) argument 136 #define EMAC_DMAGRP_AHB_OR_AXI_STATUS_ADDR(base) \ argument 137 (uint32_t)((base) + EMAC_DMAGRP_AHB_OR_AXI_STATUS_OFST) [all …]
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_rzt2m.h | 14 #define RDR(base) ((volatile uint32_t *)(base)) argument 15 #define TDR(base) ((volatile uint32_t *)(base + 0x04)) argument 16 #define CCR0(base) ((volatile uint32_t *)(base + 0x08)) argument 17 #define CCR1(base) ((volatile uint32_t *)(base + 0x0c)) argument 18 #define CCR2(base) ((volatile uint32_t *)(base + 0x10)) argument 19 #define CCR3(base) ((volatile uint32_t *)(base + 0x14)) argument 20 #define CCR4(base) ((volatile uint32_t *)(base + 0x18)) argument 21 #define FCR(base) ((volatile uint32_t *)(base + 0x24)) argument 22 #define CSR(base) ((volatile uint32_t *)(base + 0x48)) argument 23 #define FRSR(base) ((volatile uint32_t *)(base + 0x50)) argument [all …]
|
D | uart_rzt2m.c | 23 mm_reg_t base; member 48 if (FRSR_R(*FRSR(config->base)) == 0) { in rzt2m_poll_in() 52 *c = *RDR(config->base) & RDR_MASK_RDAT; in rzt2m_poll_in() 53 *CFCLR(config->base) |= CFCLR_MASK_RDRFC; in rzt2m_poll_in() 55 if (FRSR_R(*FRSR(config->base)) == 0) { in rzt2m_poll_in() 56 *FFCLR(config->base) |= FFCLR_MASK_DRC; in rzt2m_poll_in() 74 int fifo_count = FTSR_T(*FTSR(config->base)); in rzt2m_poll_out() 77 fifo_count = FTSR_T(*FTSR(config->base)); in rzt2m_poll_out() 80 *TDR(config->base) = c; in rzt2m_poll_out() 83 *CFCLR(config->base) |= CFCLR_MASK_TDREC; in rzt2m_poll_out() [all …]
|
/Zephyr-Core-3.7.0/drivers/i3c/ |
D | i3c_mcux.c | 73 I3C_Type *base; member 226 static uint32_t mcux_i3c_interrupt_disable(I3C_Type *base) in mcux_i3c_interrupt_disable() argument 228 uint32_t intmask = base->MINTSET; in mcux_i3c_interrupt_disable() 230 base->MINTCLR = intmask; in mcux_i3c_interrupt_disable() 242 static void mcux_i3c_interrupt_enable(I3C_Type *base, uint32_t mask) in mcux_i3c_interrupt_enable() argument 244 base->MINTSET = mask; in mcux_i3c_interrupt_enable() 255 static bool mcux_i3c_has_error(I3C_Type *base) in mcux_i3c_has_error() argument 259 mstatus = base->MSTATUS; in mcux_i3c_has_error() 261 merrwarn = base->MERRWARN; in mcux_i3c_has_error() 284 static inline bool mcux_i3c_error_is_timeout(I3C_Type *base) in mcux_i3c_error_is_timeout() argument [all …]
|
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt6xx/cm33/ |
D | flash_clock_setup.c | 17 static void flash_deinit(FLEXSPI_Type *base) in flash_deinit() argument 20 while (!((base->STS0 & FLEXSPI_STS0_ARBIDLE_MASK) && in flash_deinit() 21 (base->STS0 & FLEXSPI_STS0_SEQIDLE_MASK))) { in flash_deinit() 24 base->MCR0 |= FLEXSPI_MCR0_MDIS_MASK; in flash_deinit() 27 static void flash_init(FLEXSPI_Type *base) in flash_init() argument 35 base->MCR0 &= ~FLEXSPI_MCR0_MDIS_MASK; in flash_init() 37 base->MCR0 |= FLEXSPI_MCR0_SWRESET_MASK; in flash_init() 38 while (base->MCR0 & FLEXSPI_MCR0_SWRESET_MASK) { in flash_init() 42 if (0U != (base->DLLCR[0] & FLEXSPI_DLLCR_DLLEN_MASK)) { in flash_init() 43 lastStatus = base->STS2; in flash_init() [all …]
|
/Zephyr-Core-3.7.0/drivers/usb/device/ |
D | usb_dc_dw.c | 63 #define USB_DW_EP_FIFO(base, idx) \ argument 64 (*(uint32_t *)(POINTER_TO_UINT(base) + 0x1000 * (idx + 1))) 67 struct usb_dwc2_reg *const base; member 71 int (*pwr_on_func)(struct usb_dwc2_reg *const base); 169 .base = (struct usb_dwc2_reg *)DT_INST_REG_ADDR(n), \ 185 struct usb_dwc2_reg *const base = usb_dw_cfg.base; in usb_dw_reg_dump() local 189 "0x%x", base->gotgctl, base->gotgint, base->gahbcfg); in usb_dw_reg_dump() 191 base->gusbcfg, base->gintsts, base->gintmsk); in usb_dw_reg_dump() 193 base->dcfg, base->dctl, base->dsts); in usb_dw_reg_dump() 195 base->diepmsk, base->doepmsk, base->daint); in usb_dw_reg_dump() [all …]
|
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | gpio_iproc.c | 33 mem_addr_t base; member 49 mem_addr_t base = cfg->base; in gpio_iproc_configure() local 54 sys_set_bit(base + IPROC_GPIO_OUT_EN_OFFSET, pin); in gpio_iproc_configure() 57 sys_clear_bit(base + IPROC_GPIO_OUT_EN_OFFSET, pin); in gpio_iproc_configure() 66 mem_addr_t base = cfg->base; in gpio_iproc_port_get_raw() local 68 *value = sys_read32(base + IPROC_GPIO_DATA_IN_OFFSET); in gpio_iproc_port_get_raw() 76 mem_addr_t base = cfg->base; in gpio_iproc_port_set_masked_raw() local 78 value = sys_read32(base + IPROC_GPIO_DATA_OUT_OFFSET); in gpio_iproc_port_set_masked_raw() 80 sys_write32(base + IPROC_GPIO_DATA_OUT_OFFSET, value); in gpio_iproc_port_set_masked_raw() 88 mem_addr_t base = cfg->base; in gpio_iproc_port_set_bits_raw() local [all …]
|
D | gpio_stellaris.c | 23 uint32_t base; member 34 #define GPIO_REG_ADDR(base, offset) (base + offset) argument 36 #define GPIO_RW_ADDR(base, offset, p) \ argument 37 (GPIO_REG_ADDR(base, offset) | (1 << (p + 2))) 39 #define GPIO_RW_MASK_ADDR(base, offset, mask) \ argument 40 (GPIO_REG_ADDR(base, offset) | (mask << 2)) 58 uint32_t base = cfg->base; in gpio_stellaris_isr() local 59 uint32_t int_stat = sys_read32(GPIO_REG_ADDR(base, GPIO_MIS_OFFSET)); in gpio_stellaris_isr() 63 sys_write32(int_stat, GPIO_REG_ADDR(base, GPIO_ICR_OFFSET)); in gpio_stellaris_isr() 70 uint32_t base = cfg->base; in gpio_stellaris_configure() local [all …]
|
D | gpio_bcm2711.c | 17 #define GPFSEL(base, n) (base + 0x00 + 0x04 * n) argument 18 #define GPSET(base, n) (base + 0x1C + 0x04 * n) argument 19 #define GPCLR(base, n) (base + 0x28 + 0x04 * n) argument 20 #define GPLEV(base, n) (base + 0x34 + 0x04 * n) argument 21 #define GPEDS(base, n) (base + 0x40 + 0x04 * n) argument 22 #define GPREN(base, n) (base + 0x4C + 0x04 * n) argument 23 #define GPFEN(base, n) (base + 0x58 + 0x04 * n) argument 24 #define GPHEN(base, n) (base + 0x64 + 0x04 * n) argument 25 #define GPLEN(base, n) (base + 0x70 + 0x04 * n) argument 26 #define GPAREN(base, n) (base + 0x7C + 0x04 * n) argument [all …]
|
D | gpio_imx.c | 24 GPIO_Type *base; member 40 GPIO_Type *base = config->base; in imx_gpio_configure() local 95 GPIO_SetPinIntMode(base, pin, false); in imx_gpio_configure() 96 GPIO_SetIntEdgeSelect(base, pin, false); in imx_gpio_configure() 101 GPIO_WritePinOutput(base, pin, gpioPinClear); in imx_gpio_configure() 103 GPIO_WritePinOutput(base, pin, gpioPinSet); in imx_gpio_configure() 107 WRITE_BIT(base->GDIR, pin, 1U); in imx_gpio_configure() 110 WRITE_BIT(base->GDIR, pin, 0U); in imx_gpio_configure() 121 GPIO_Type *base = config->base; in imx_gpio_port_get_raw() local 123 *value = GPIO_ReadPortInput(base); in imx_gpio_port_get_raw() [all …]
|
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt5xx/cm33/ |
D | flash_clock_setup.c | 11 static void flash_deinit(FLEXSPI_Type *base) in flash_deinit() argument 17 base->MCR0 &= ~FLEXSPI_MCR0_MDIS_MASK; in flash_deinit() 20 while (!((base->STS0 & FLEXSPI_STS0_ARBIDLE_MASK) && in flash_deinit() 21 (base->STS0 & FLEXSPI_STS0_SEQIDLE_MASK))) { in flash_deinit() 24 base->MCR0 |= FLEXSPI_MCR0_MDIS_MASK; in flash_deinit() 27 static void flash_init(FLEXSPI_Type *base) in flash_init() argument 36 base->DLLCR[0] = 0x1U; in flash_init() 39 base->MCR0 &= ~FLEXSPI_MCR0_MDIS_MASK; in flash_init() 41 base->MCR0 |= FLEXSPI_MCR0_SWRESET_MASK; in flash_init() 42 while (base->MCR0 & FLEXSPI_MCR0_SWRESET_MASK) { in flash_init() [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/audio/bap_base/src/ |
D | main.c | 103 const struct bt_bap_base *base = bt_bap_base_get_base_from_ad(&fixture->valid_base_ad); in ZTEST_F() local 105 zassert_not_null(base); in ZTEST_F() 110 const struct bt_bap_base *base = bt_bap_base_get_base_from_ad(&fixture->invalid_base_ad); in ZTEST_F() local 112 zassert_is_null(base); in ZTEST_F() 117 const struct bt_bap_base *base = bt_bap_base_get_base_from_ad(NULL); in ZTEST_F() local 119 zassert_is_null(base); in ZTEST_F() 124 const struct bt_bap_base *base; in ZTEST_F() local 128 base = bt_bap_base_get_base_from_ad(&fixture->valid_base_ad); in ZTEST_F() 130 zassert_is_null(base); in ZTEST_F() 135 const struct bt_bap_base *base; in ZTEST_F() local [all …]
|
/Zephyr-Core-3.7.0/drivers/adc/ |
D | adc_mcux_gau_adc.c | 24 ADC_Type *base; member 48 ADC_Type *base = config->base; in mcux_gau_adc_channel_setup() local 69 tmp_reg = base->ADC_REG_INTERVAL; in mcux_gau_adc_channel_setup() 70 base->ADC_REG_INTERVAL &= ~ADC_ADC_REG_INTERVAL_WARMUP_TIME_MASK; in mcux_gau_adc_channel_setup() 71 base->ADC_REG_INTERVAL &= ~ADC_ADC_REG_INTERVAL_BYPASS_WARMUP_MASK; in mcux_gau_adc_channel_setup() 73 base->ADC_REG_INTERVAL |= ADC_ADC_REG_INTERVAL_BYPASS_WARMUP_MASK; in mcux_gau_adc_channel_setup() 75 base->ADC_REG_INTERVAL |= in mcux_gau_adc_channel_setup() 82 if (base->ADC_REG_INTERVAL != tmp_reg) { in mcux_gau_adc_channel_setup() 88 tmp_reg = base->ADC_REG_ANA; in mcux_gau_adc_channel_setup() 89 base->ADC_REG_ANA &= ~ADC_ADC_REG_ANA_INBUF_GAIN_MASK; in mcux_gau_adc_channel_setup() [all …]
|
/Zephyr-Core-3.7.0/drivers/memc/ |
D | memc_nxp_flexram.c | 89 static FLEXRAM_Type *const base = (FLEXRAM_Type *) DT_REG_ADDR(FLEXRAM_DT_NODE); 110 if (base->INT_STATUS & FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS_MASK) { in nxp_flexram_isr() 111 base->INT_STATUS |= FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS_MASK; in nxp_flexram_isr() 114 if (base->INT_STATUS & FLEXRAM_INT_STATUS_DTCM_ERR_STATUS_MASK) { in nxp_flexram_isr() 115 base->INT_STATUS |= FLEXRAM_INT_STATUS_DTCM_ERR_STATUS_MASK; in nxp_flexram_isr() 118 if (base->INT_STATUS & FLEXRAM_INT_STATUS_ITCM_ERR_STATUS_MASK) { in nxp_flexram_isr() 119 base->INT_STATUS |= FLEXRAM_INT_STATUS_ITCM_ERR_STATUS_MASK; in nxp_flexram_isr() 125 if (base->INT_STATUS & FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS_MASK) { in nxp_flexram_isr() 126 base->INT_STATUS |= FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS_MASK; in nxp_flexram_isr() 129 if (base->INT_STATUS & FLEXRAM_INT_STATUS_DTCM_MAM_STATUS_MASK) { in nxp_flexram_isr() [all …]
|
/Zephyr-Core-3.7.0/drivers/pcie/host/ |
D | msi.c | 15 uint32_t base; in pcie_msi_base() local 21 base = pcie_get_cap(bdf, PCI_CAP_ID_MSI); in pcie_msi_base() 28 base = base_msix; in pcie_msi_base() 36 return base; in pcie_msi_base() 71 uint32_t base) in get_msix_table_size() argument 75 mcr = pcie_conf_read(bdf, base + PCIE_MSIX_MCR); in get_msix_table_size() 81 uint32_t base, in map_msix_table_entries() argument 91 table_offset = pcie_conf_read(bdf, base + PCIE_MSIX_TR); in map_msix_table_entries() 129 uint32_t base) in get_msi_mmc() argument 133 mcr = pcie_conf_read(bdf, base + PCIE_MSI_MCR); in get_msi_mmc() [all …]
|
/Zephyr-Core-3.7.0/subsys/pm/ |
D | device_runtime.c | 55 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in runtime_suspend() 68 if (pm->base.usage == 0U) { in runtime_suspend() 74 pm->base.usage--; in runtime_suspend() 75 if (pm->base.usage > 0U) { in runtime_suspend() 81 pm->base.state = PM_DEVICE_STATE_SUSPENDING; in runtime_suspend() 85 ret = pm->base.action_cb(pm->dev, PM_DEVICE_ACTION_SUSPEND); in runtime_suspend() 87 pm->base.usage++; in runtime_suspend() 91 pm->base.state = PM_DEVICE_STATE_SUSPENDED; in runtime_suspend() 108 ret = pm->base.action_cb(pm->dev, PM_DEVICE_ACTION_SUSPEND); in runtime_suspend_work() 112 pm->base.usage++; in runtime_suspend_work() [all …]
|
/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_cc32xx.c | 44 (((const struct i2c_cc32xx_config *const)(dev)->config)->base) 65 uint32_t base; member 87 uint32_t base = DEV_BASE(dev); in i2c_cc32xx_configure() local 109 MAP_I2CMasterInitExpClk(base, I2C_CLK_FREQ(0), bitrate_id); in i2c_cc32xx_configure() 119 uint32_t base = DEV_BASE(dev); in i2c_cc32xx_prime_transfer() local 129 MAP_I2CMasterSlaveAddrSet(base, addr, false); in i2c_cc32xx_prime_transfer() 135 MAP_I2CMasterDataPut(base, *((data->msg.buf)++)); in i2c_cc32xx_prime_transfer() 138 MAP_I2CMasterControl(base, I2C_MASTER_CMD_BURST_SEND_START); in i2c_cc32xx_prime_transfer() 143 MAP_I2CMasterSlaveAddrSet(base, addr, true); in i2c_cc32xx_prime_transfer() 150 MAP_I2CMasterControl(base, in i2c_cc32xx_prime_transfer() [all …]
|