/u-boot/drivers/reset/ |
H A D | reset-ast2500.c | 55 int status; local 60 status = BIT(reset_ctl->id) & readl(&scu->sysreset_ctrl1); 62 status = BIT(reset_ctl->id - 32) & readl(&scu->sysreset_ctrl2); 64 return !!status;
|
H A D | reset-scmi.c | 33 return scmi_to_linux_errno(out.status); 65 return scmi_to_linux_errno(out.status);
|
/u-boot/drivers/misc/ |
H A D | vexpress_config.c | 34 u32 cmd, status, tries = 100; local 51 status = readl(syscfg->addr + SYS_CFGSTAT); 52 if (status & SYS_CFGSTAT_ERR) 54 } while (--tries && !(status & SYS_CFGSTAT_COMPLETE));
|
/u-boot/arch/x86/cpu/ |
H A D | lapic.c | 104 unsigned long status; local 113 status = lapic_read(LAPIC_ICR) & LAPIC_ICR_RR_MASK; 114 } while (status == LAPIC_ICR_RR_INPROG && timeout++ < 1000); 117 if (status == LAPIC_ICR_RR_VALID) {
|
/u-boot/arch/x86/cpu/ivybridge/ |
H A D | early_me.c | 97 uint status) 104 .status = status 114 debug("ME: Sending Init Done with status: %d, UMA base: 0x%04x\n", 115 status, did.uma_base); 134 /* Check status after acknowledgement */ 96 intel_early_me_init_done(struct udevice *dev, struct udevice *me_dev, uint status) argument
|
/u-boot/cmd/ |
H A D | demo.c | 32 int status; local 35 ret = demo_status(demo_dev, &status); 39 printf("Status: %d\n", status); 74 printf("entry %d - instance %08x, ops %08x, plat %08x, status %i\n", 90 U_BOOT_CMD_MKENT(status, 1, 1, do_demo_status, "", ""), 135 "demo status <num> Get demo device status\n"
|
/u-boot/examples/standalone/ |
H A D | atmel_df_pow2.c | 133 int bus, cs, status; local 179 status = flash_status(slave); 180 if (status == -1) { 181 puts("unable to read status register\n"); 184 if (status & 0x1) {
|
/u-boot/drivers/rtc/ |
H A D | s35392a.c | 160 int status; local 162 status = s35392a_rtc_read8(dev, S35390A_CMD_STATUS1); 163 if (status < 0) 166 DEBUGR("init: S35390A_CMD_STATUS1: 0x%x\n", status); 168 lowvoltage = status & S35390A_LOW_VOLTAGE ? 1 : 0; 170 if (status & S35390A_FLAG_POC) 233 int status; local 248 status = ret; 251 status | S35390A_FLAG_24H); 273 /* Now we have time. Reset the low voltage status */ [all...] |
/u-boot/drivers/fpga/ |
H A D | socfpga_arria10.c | 186 * both encryption and compression status are 454 int status = fpgamgr_program_poll_cd(); local 456 if (status) { 457 printf("FPGA: Poll CD failed with error code %d\n", status); 462 status = fpgamgr_program_poll_usermode(); 463 if (status) { 465 status); 780 int status, ret; local 833 status = fpgamgr_program_init((u32 *)buffer, buffer_sizebytes); 834 if (status) { 913 unsigned long status; local [all...] |
/u-boot/drivers/ram/k3-ddrss/ |
H A D | k3-ddrss.c | 187 u32 status = 0U; local 194 status = ddrss->driverdt->readreg(pd, LPDDR4_CTL_REGS, offset, ®val); 195 if (status > 0U) { 415 u32 status = 0U; local 419 status = ddrss->driverdt->probe(config, &configsize); 421 if ((status != 0) || (configsize != sizeof(lpddr4_privatedata)) 432 u32 status = 0U; local 445 status = driverdt->init(pd, config); 450 if ((status > 0U) || 496 u32 status local 522 u32 status = 0U; local [all...] |
/u-boot/drivers/usb/gadget/ |
H A D | f_thor.c | 545 int data_to_rx, tmp, status; local 554 status = usb_ep_queue(dev->out_ep, dev->out_req, 0); 555 if (status) { 557 dev->out_ep->name, dev->out_req->length, status); 578 int status; local 588 status = usb_ep_queue(dev->in_ep, dev->in_req, 0); 589 if (status) { 591 dev->in_ep->name, dev->in_req->length, status); 605 int status = req->status; local 762 int status; local 1007 int status; local [all...] |
H A D | at91_udc.c | 74 static void done(struct at91_ep *ep, struct at91_request *req, int status) argument 80 if (req->req.status == -EINPROGRESS) 81 req->req.status = status; 83 status = req->req.status; 84 if (status && status != -ESHUTDOWN) 85 VDBG("%s done %p, status %d\n", ep->ep.name, req, status); 268 nuke(struct at91_ep *ep, int status) argument 425 int status; local 553 int status = 0; local 614 int status = -EINVAL; local 859 int status = 0; local 1215 u32 status; local [all...] |
/u-boot/drivers/net/ |
H A D | tsec.c | 232 * This returns the status bits of the device. The return value 242 u16 status; local 249 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; 259 status = in_be16(&priv->txbd[priv->tx_idx].status); 260 out_be16(&priv->txbd[priv->tx_idx].status, status | 268 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; 277 result = in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_STATS; 288 if (!(in_be16(&priv->rxbd[priv->rx_idx].status) 290 u16 status = in_be16(&priv->rxbd[priv->rx_idx].status); local 314 u16 status; local 390 u16 status; local 442 u16 status; local [all...] |
H A D | xilinx_axi_mrmac.c | 263 writel(XMCDMA_IRQ_ALL_MASK, &priv->mcdma_tx->status); 295 if (readl(&priv->mcdma_tx->status) & XMCDMA_CH_IDLE) { 310 ret = wait_for_bit_le32(&priv->mcdma_tx->status, XMCDMA_IRQ_IOC_MASK, 317 /* Clear status */ 328 u32 status; local 331 status = readl(&priv->mcdma_rx->status); 334 writel(status & XMCDMA_IRQ_ALL_MASK, &priv->mcdma_rx->status); 340 if (status [all...] |
/u-boot/fs/ext4/ |
H A D | ext4_write.c | 111 int status; local 121 status = ext4fs_devread((lbaint_t)fs->gdtable_blkno * fs->sect_perblk, 123 if (status == 0) 146 int status; local 173 status = ext4fs_devread( 176 if (status == 0) 190 short status; local 214 status = ext4fs_devread((lbaint_t)blknr * fs->sect_perblk, 0, 238 status = ext4fs_devread(b_bitmap_blk 242 if (status 287 short status; local 441 short status; local 600 short status; local [all...] |
/u-boot/drivers/dma/ |
H A D | bcm6348-iudma.c | 80 /* DMA SRAM Buffer Descriptor status and length register */ 83 /* DMA SRAM Buffer Descriptor status and length register */ 111 uint16_t status; member in struct:bcm6348_dma_desc 225 dma_desc->status |= DMAD_ST_OWN_MASK; 227 dma_desc->status = 0; 233 dma_desc->status |= DMAD_ST_WRAP_MASK; 344 if (dma_desc->status & DMAD_ST_OWN_MASK) 348 if (!(dma_desc->status & DMAD_ST_EOP_MASK) || 349 !(dma_desc->status & DMAD_ST_SOP_MASK) || 350 (dma_desc->status 380 uint16_t status; local 431 uint16_t status; local [all...] |
/u-boot/common/ |
H A D | usb_storage.c | 417 if (us->pusb_dev->status != 0) { 422 display_int_status(us->pusb_dev->status); 424 if (us->pusb_dev->status & USB_ST_STALLED) { 427 stat = us->pusb_dev->status; 429 us->pusb_dev->status = stat; 434 us->pusb_dev->status); 440 if (us->pusb_dev->status & USB_ST_NAK_REC) { 447 us->pusb_dev->status); 452 us->pusb_dev->status, partial); 492 if ((result < 0) && (us->pusb_dev->status 605 unsigned long status; local 849 int result, status; local [all...] |
/u-boot/drivers/usb/musb-new/ |
H A D | musb_dma.h | 34 * - Updating channel status on interrupts, 59 * DMA channel status ... updated by the dma controller driver whenever that 60 * status changes, and protected by the overall controller spinlock. 83 * @status: current channel status (updated e.g. on interrupt) 94 enum dma_channel_status status; member in struct:dma_channel 99 * dma_channel_status - return status of dma channel 102 * Returns the software's view of the channel status. If that status is BUSY 104 * so the driver needs to update that status [all...] |
/u-boot/include/ |
H A D | ACEX1K.h | 28 Altera_status_fn status; member in struct:__anon711 39 Altera_status_fn status; member in struct:__anon712
|
H A D | sunxi_image.h | 91 __le32 status; member in struct:toc0_main_info 107 __le32 status; member in struct:toc0_item_info
|
/u-boot/lib/efi_loader/ |
H A D | efi_firmware.c | 48 * @last_attempt_status: Last attempt status 262 * Return status code 328 * Return: status code 337 efi_status_t status; local 343 status = efi_capsule_authenticate(image, image_size, 347 if (status == EFI_SECURITY_VIOLATION) { 349 return status; 350 } else if (status != EFI_SUCCESS) { 351 return status; 374 * Return: status cod 593 efi_status_t status; local 659 efi_status_t status; local [all...] |
/u-boot/drivers/mtd/spi/ |
H A D | sandbox.c | 42 SF_READ_STATUS, /* read the flash's status register */ 43 SF_READ_STATUS1, /* read the flash's status register upper 8 bits*/ 44 SF_WRITE_STATUS, /* write the flash's status register */ 56 /* Bits for the status register */ 91 /* The current flash status (see STAT_XXX defines above) */ 92 u16 status; member in struct:sandbox_spi_flash 110 sbsf->status &= ~STAT_BP_MASK; 111 sbsf->status |= bp_mask << STAT_BP_SHIFT; 258 sbsf->status &= ~STAT_WEL; 268 sbsf->status | [all...] |
/u-boot/drivers/spi/ |
H A D | ti_qspi.c | 54 /* status */ 86 u32 status; member in struct:ti_qspi_regs 165 uint status; local 221 status = readl(&priv->base->status); 223 while ((status & QSPI_WC_BUSY) != QSPI_XFER_DONE) { 228 status = readl(&priv->base->status); 231 debug("tx done, status %08x\n", status); [all...] |
/u-boot/test/py/ |
H A D | u_boot_spawn.py | 94 string describing what happened ('' or 'status/signal n') 103 status = w[1] 105 if os.WIFEXITED(status): 106 self.exit_code = os.WEXITSTATUS(status) 107 self.exit_info = 'status %d' % self.exit_code 108 elif os.WIFSIGNALED(status): 109 signum = os.WTERMSIG(status)
|
/u-boot/board/samsung/goni/ |
H A D | goni.c | 130 static int status; local 137 if (on && !status) { 153 status = 1; 154 } else if (!on && status) { 170 status = 0;
|