Home
last modified time | relevance | path

Searched refs:sts (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/drivers/eeprom/
Deeprom_mchp_xec.c121 uint8_t sts = 0; in eeprom_xec_wait_transfer_compl() local
133 sts = XEC_EEPROM_STS_TRANSFER_COMPL & regs->status; in eeprom_xec_wait_transfer_compl()
136 } while (sts == 0); in eeprom_xec_wait_transfer_compl()
138 if (sts != 0) { in eeprom_xec_wait_transfer_compl()
146 uint8_t sts = 0; in eeprom_xec_wait_write_compl() local
162 sts = regs->buffer[0] & (XEC_EEPROM_STS_BYTE_WIP | in eeprom_xec_wait_write_compl()
167 } while (sts != 0); in eeprom_xec_wait_write_compl()
/Zephyr-latest/drivers/ethernet/
Doa_tc6.c236 uint32_t sts; in oa_tc6_check_status() local
249 oa_tc6_reg_read(tc6, OA_STATUS0, &sts); in oa_tc6_check_status()
250 if (sts != 0) { in oa_tc6_check_status()
251 oa_tc6_reg_write(tc6, OA_STATUS0, sts); in oa_tc6_check_status()
252 LOG_WRN("EXST: OA_STATUS0: 0x%x", sts); in oa_tc6_check_status()
255 oa_tc6_reg_read(tc6, OA_STATUS1, &sts); in oa_tc6_check_status()
256 if (sts != 0) { in oa_tc6_check_status()
257 oa_tc6_reg_write(tc6, OA_STATUS1, sts); in oa_tc6_check_status()
258 LOG_WRN("EXST: OA_STATUS1: 0x%x", sts); in oa_tc6_check_status()
Deth_lan865x.c435 uint32_t sts, val, ftr; in lan865x_int_thread() local
441 oa_tc6_reg_read(tc6, OA_STATUS0, &sts); in lan865x_int_thread()
442 if (sts & OA_STATUS0_RESETC) { in lan865x_int_thread()
443 oa_tc6_reg_write(tc6, OA_STATUS0, sts); in lan865x_int_thread()
/Zephyr-latest/soc/nxp/imxrt/imxrt118x/
Dsoc.c494 status_t sts; in trdc_enable_all_access() local
501 sts = ELE_BaseAPI_GetFwStatus(MU_RT_S3MUA, &ele_fw_sts); in trdc_enable_all_access()
502 } while (sts != kStatus_Success); in trdc_enable_all_access()
507 sts = ELE_BaseAPI_ReleaseRDC(MU_RT_S3MUA, ELE_TRDC_AON_ID, ELE_CORE_CM33_ID); in trdc_enable_all_access()
510 sts = ELE_BaseAPI_ReleaseRDC(MU_RT_S3MUA, ELE_TRDC_AON_ID, ELE_CORE_CM7_ID); in trdc_enable_all_access()
512 } while (ELE_IS_FAILED(sts)); in trdc_enable_all_access()
518 sts = ELE_BaseAPI_ReleaseRDC(MU_RT_S3MUA, ELE_TRDC_WAKEUP_ID, ELE_CORE_CM33_ID); in trdc_enable_all_access()
521 sts = ELE_BaseAPI_ReleaseRDC(MU_RT_S3MUA, ELE_TRDC_WAKEUP_ID, ELE_CORE_CM7_ID); in trdc_enable_all_access()
523 } while (ELE_IS_FAILED(sts)); in trdc_enable_all_access()
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dcomm_widget.h841 uint32_t sts = sys_read32(CW_BASE + USSTS); in cw_upstream_clear_msgsent() local
843 sts |= USSTS_MSGSENT; in cw_upstream_clear_msgsent()
844 sys_write32(sts, CW_BASE + USSTS); in cw_upstream_clear_msgsent()
/Zephyr-latest/scripts/build/
Dcheck_init_priorities_test.py62 sts = mock.Mock(spec=SymbolTableSection)
64 mock_elf.iter_sections.return_value = [sts, rel]
83 sts.iter_symbols.return_value = [s0, s1, s2]
95 sts = mock.Mock(spec=SymbolTableSection)
97 mock_elf.iter_sections.return_value = [sts, rel]
127 sts.iter_symbols.return_value = [s0, s1, s2, s3, s4, s5, s6]
/Zephyr-latest/drivers/i2c/
Di2c_mchp_xec_v2.c166 uint8_t sts = 0; in wait_bus_free() local
169 sts = regs->CTRLSTS; in wait_bus_free()
170 data->i2c_status = sts; in wait_bus_free()
171 if (sts & MCHP_I2C_SMB_STS_NBB) { in wait_bus_free()
178 if (sts == (MCHP_I2C_SMB_STS_PIN | MCHP_I2C_SMB_STS_NBB)) { in wait_bus_free()
183 if (sts & MCHP_I2C_SMB_STS_BER) { in wait_bus_free()
187 if (sts & MCHP_I2C_SMB_STS_LAB) { in wait_bus_free()
/Zephyr-latest/drivers/dma/
Ddma_mchp_xec.c718 uint32_t sts = regs->istatus; in dma_xec_irq_handler() local
725 channel_isr_sts[channel][idx] = sts; in dma_xec_irq_handler()
731 regs->mem_addr_end, regs->dev_addr, regs->control, sts); in dma_xec_irq_handler()
737 chan_data->isr_hw_status = sts; in dma_xec_irq_handler()
740 if (sts & BIT(XEC_DMA_CHAN_IES_BERR_POS)) {/* Bus Error? */ in dma_xec_irq_handler()
/Zephyr-latest/drivers/espi/
Despi_mchp_xec.c322 bool sts; in espi_xec_channel_ready() local
326 sts = ESPI_CAP_REGS->PC_RDY & MCHP_ESPI_PC_READY; in espi_xec_channel_ready()
329 sts = ESPI_CAP_REGS->VW_RDY & MCHP_ESPI_VW_READY; in espi_xec_channel_ready()
332 sts = ESPI_CAP_REGS->OOB_RDY & MCHP_ESPI_OOB_READY; in espi_xec_channel_ready()
335 sts = ESPI_CAP_REGS->FC_RDY & MCHP_ESPI_FC_READY; in espi_xec_channel_ready()
338 sts = false; in espi_xec_channel_ready()
342 return sts; in espi_xec_channel_ready()
Despi_mchp_xec_v2.c271 bool sts; in espi_xec_channel_ready() local
275 sts = iom_regs->PCRDY & MCHP_ESPI_PC_READY; in espi_xec_channel_ready()
278 sts = iom_regs->VWRDY & MCHP_ESPI_VW_READY; in espi_xec_channel_ready()
281 sts = iom_regs->OOBRDY & MCHP_ESPI_OOB_READY; in espi_xec_channel_ready()
284 sts = iom_regs->FCRDY & MCHP_ESPI_FC_READY; in espi_xec_channel_ready()
287 sts = false; in espi_xec_channel_ready()
291 return sts; in espi_xec_channel_ready()
Despi_npcx.c773 bool sts; in espi_npcx_channel_ready() local
777 sts = IS_BIT_SET(inst->ESPICFG, NPCX_ESPICFG_PCHANEN); in espi_npcx_channel_ready()
780 sts = IS_BIT_SET(inst->ESPICFG, NPCX_ESPICFG_VWCHANEN); in espi_npcx_channel_ready()
783 sts = IS_BIT_SET(inst->ESPICFG, NPCX_ESPICFG_OOBCHANEN); in espi_npcx_channel_ready()
786 sts = IS_BIT_SET(inst->ESPICFG, NPCX_ESPICFG_FLASHCHANEN); in espi_npcx_channel_ready()
789 sts = false; in espi_npcx_channel_ready()
793 return sts; in espi_npcx_channel_ready()
Despi_it8xxx2.c676 bool sts = false; in espi_it8xxx2_channel_ready() local
680 sts = slave_reg->CH_PC_CAPCFG3 & IT8XXX2_ESPI_PC_READY_MASK; in espi_it8xxx2_channel_ready()
683 sts = slave_reg->CH_VW_CAPCFG3 & IT8XXX2_ESPI_VW_READY_MASK; in espi_it8xxx2_channel_ready()
686 sts = slave_reg->CH_OOB_CAPCFG3 & IT8XXX2_ESPI_OOB_READY_MASK; in espi_it8xxx2_channel_ready()
689 sts = slave_reg->CH_FLASH_CAPCFG3 & IT8XXX2_ESPI_FC_READY_MASK; in espi_it8xxx2_channel_ready()
695 return sts; in espi_it8xxx2_channel_ready()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c202 union bmi160_pmu_status sts; in bmi160_pmu_set() local
218 &sts.raw) < 0) { in bmi160_pmu_set()
223 pmu_set = (pmu_sts->mag == sts.mag); in bmi160_pmu_set()
225 pmu_set = (pmu_sts->acc == sts.acc); in bmi160_pmu_set()
227 pmu_set = (pmu_sts->gyr == sts.gyr); in bmi160_pmu_set()
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx-espi-vws-map.dtsi117 vw-slv-boot-sts-with-done {
/Zephyr-latest/drivers/smbus/
Dintel_pch_smbus.c917 uint32_t sts; in smbus_isr() local
920 sts = pcie_conf_read(config->pcie->bdf, PCIE_CONF_CMDSTAT); in smbus_isr()
921 if (!(sts & PCIE_CONF_CMDSTAT_INTERRUPT)) { in smbus_isr()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.c238 volatile const uint32_t *sts = &GENFSK->XCVR_STS; in pkt_rx() local
248 while (*sts & GENFSK_XCVR_STS_RX_IN_PROGRESS_MASK) { in pkt_rx()
276 while (*sts & GENFSK_XCVR_STS_RX_IN_PROGRESS_MASK) { in pkt_rx()
/Zephyr-latest/dts/arm/microchip/
Dmec5.dtsi594 interrupt-names = "ctl", "en", "sts";