Searched refs:sts (Results 1 - 25 of 28) sorted by last modified time

12

/u-boot/drivers/usb/eth/
H A Dmcs7830.c531 uint8_t sts; local
556 if (gotlen < sizeof(sts))
558 gotlen -= sizeof(sts);
559 sts = buf[gotlen];
561 if (sts == STAT_RX_FRAME_CORRECT) {
566 debug("RX: frame error (sts 0x%02X, %s %s %s %s %s)\n",
567 sts,
568 (sts & STAT_RX_LARGE_FRAME) ? "large" : "-",
569 (sts & STAT_RX_LENGTH_ERROR) ? "length" : "-",
570 (sts
[all...]
/u-boot/drivers/tpm/
H A Dtpm_tis_infineon.c430 u8 sts = TPM_STS_GO; local
486 rc = tpm_tis_i2c_write(dev, TPM_INFINEON_STS(chip->locality), &sts, 1);
/u-boot/drivers/spi/
H A Dspi-mxic.c294 u32 sts; local
303 ret = readl_poll_timeout(priv->regs + INT_STS, sts,
304 sts & INT_TX_EMPTY, 1000000);
311 ret = readl_poll_timeout(priv->regs + INT_STS, sts,
312 sts & INT_TX_EMPTY,
317 ret = readl_poll_timeout(priv->regs + INT_STS, sts,
318 sts & INT_RX_NOT_EMPTY,
H A Ddesignware_spi.c592 u32 cr0, sts; local
643 sts = dw_read(priv, DW_SPI_RISR);
644 if (sts & RISR_INT_RXOI) {
/u-boot/drivers/remoteproc/
H A Dti_k3_r5f_rproc.c302 u32 ctrl, sts, cfg = 0; local
317 &sts);
580 u32 set_cfg = 0, clr_cfg = 0, cfg, ctrl, sts; local
594 ret = ti_sci_proc_get_status(&core->tsp, &boot_vec, &cfg, &ctrl, &sts);
599 lockstep_permitted = !!(sts &
/u-boot/drivers/ram/
H A Dimxrt_sdram.c87 u32 sts[16]; member in struct:imxrt_semc_regs
/u-boot/drivers/net/
H A Drtl8169.c577 ushort sts = RTL_R8(IntrStatus); local
578 RTL_W8(IntrStatus, sts & ~(TxErr | RxErr | SYSErr));
H A Dks8851_mll.c229 u16 sts, len; local
238 sts = ks_rdreg16(ks, KS_RXFHSR);
242 if ((sts & RXFSHR_RXFV) && len && (len < RX_BUF_SIZE)) {
250 printf(DRIVERNAME ": bad packet (sts=0x%04x len=0x%04x)\n", sts, len);
/u-boot/drivers/mtd/nand/raw/
H A Dmxic_nand.c333 u32 sts; local
342 ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
343 sts & INT_TX_EMPTY, 1000000);
349 ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
350 sts & INT_TX_EMPTY, 1000000);
354 ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
355 sts & INT_RX_NOT_EMPTY, 1000000);
419 u32 sts; local
480 readl_poll_timeout(nfc->regs + INT_STS, sts, sts
[all...]
/u-boot/drivers/misc/
H A Dfsl_sec_mon.c19 u32 sts; local
24 sts = get_sec_mon_state();
26 switch (sts) {
37 sts = get_sec_mon_state();
39 if ((sts & HPSR_SSM_ST_MASK) ==
66 sts = get_sec_mon_state();
68 if ((sts & HPSR_SSM_ST_MASK) ==
95 sts = get_sec_mon_state();
97 if ((sts & HPSR_SSM_ST_MASK) ==
120 u32 sts; local
[all...]
/u-boot/drivers/crypto/aspeed/
H A Daspeed_hace.c93 uint32_t sts = readl(hace->base + HACE_STS); local
95 if (sts & HACE_HASH_BUSY) {
/u-boot/board/CZ.NIC/turris_omnia/
H A Dturris_omnia.c141 u16 sts, feat16; local
144 ret = omnia_mcu_read(CMD_GET_STATUS_WORD, &sts, sizeof(sts));
149 *psts = sts;
154 if (sts & STS_FEATURES_SUPPORTED) {
177 static int omnia_mcu_get_sts(u16 *sts) argument
179 return omnia_mcu_get_sts_and_features(sts, NULL);
335 u16 sts; local
351 ret = omnia_mcu_get_sts(&sts);
358 if (!(sts
496 u16 sts; local
[all...]
/u-boot/arch/x86/lib/
H A Dpmu.c16 u32 sts; member in struct:pmu_regs
39 val = readl(&regs->sts);
/u-boot/arch/x86/cpu/
H A Dacpi_gpe.c32 u32 mask, sts; local
46 sts = inl(priv->acpi_base + GPE0_STS(bank));
47 if (sts & mask) {
51 } while (sts & mask);
/u-boot/arch/m68k/include/asm/
H A Dimmap_5329.h337 u32 sts; /* 0x144 USB Status */ member in struct:usb_otg
/u-boot/arch/sh/lib/
H A Dstart.S21 1: sts pr, r5
H A Dudivsi3_i4i.S81 sts mach,r0
223 sts mach,r0
H A Dudivsi3_i4i-Os.S27 sts pr,r1
105 sts pr,r1
117 sts pr,r2
128 sts macl,r2
/u-boot/include/
H A Dfsl_usb.h16 u32 sts; member in struct:ccsr_usb_port_ctrl
/u-boot/arch/mips/mach-octeon/
H A Docteon_qlm.c1397 if ((tfd.s.sts & 0x89) == 0) {
1486 if ((tfd.s.sts & 0x89) == 0) {
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-sata-defs.h286 u32 sts : 8; member in struct:cvmx_sata_uahc_px_tfd::cvmx_sata_uahc_px_tfd_s
/u-boot/arch/arm/include/asm/mach-imx/
H A Dhab.h48 uint32_t sts; /* Status */ member in struct:evt_def
/u-boot/drivers/usb/phy/
H A Dtwl4030.c127 u8 clk, sts, pwr; local
141 sts = twl4030_usb_read(TWL4030_USB_PHY_CLK_CTRL_STS);
142 while (!(sts & PHY_DPLL_CLK) && 0 < timeout) {
144 sts = twl4030_usb_read(TWL4030_USB_PHY_CLK_CTRL_STS);
149 sts = twl4030_usb_read(TWL4030_USB_PHY_CLK_CTRL_STS);
150 if (!(sts & PHY_DPLL_CLK)) {
/u-boot/drivers/usb/cdns3/
H A Ddrd.h24 __le32 sts; member in struct:cdns3_otg_regs
45 __le32 sts; member in struct:cdns3_otg_legacy_regs
66 __le32 sts; member in struct:cdns3_otg_common_regs
H A Ddrd.c74 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE;
84 vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID);
128 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
166 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
278 state = OTGSTS_STRAP(readl(&cdns->otg_regs->sts));
290 state = readl(&cdns->otg_regs->sts);

Completed in 453 milliseconds

12