/u-boot/drivers/virtio/ |
H A D | virtio_pci_legacy.c | 129 static int virtio_pci_get_status(struct udevice *udev, u8 *status) argument 133 *status = ioread8(priv->ioaddr + VIRTIO_PCI_STATUS); 138 static int virtio_pci_set_status(struct udevice *udev, u8 status) argument 142 /* We should never be setting status to 0 */ 143 WARN_ON(status == 0); 145 iowrite8(status, priv->ioaddr + VIRTIO_PCI_STATUS); 154 /* 0 status means a reset */ 158 * Flush out the status write, and flush in device writes,
|
/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 465 /* copy status into temp buf then copy data from rx buffer */ 487 int status; local 495 SPINWAIT(((status = (readl(GMAC0_DMA_TX_STATUS0_ADDR) & 498 (status != D64_XS0_XS_IDLE) && 499 (status != D64_XS0_XS_STOPPED), 10000); 506 SPINWAIT(((status = (readl(GMAC0_DMA_TX_STATUS0_ADDR) & 513 status = (status == D64_XS0_XS_DISABLED); 520 SPINWAIT(((status = (readl(GMAC0_DMA_RX_STATUS0_ADDR) & 524 status [all...] |
H A D | xilinx_axi_emac.c | 100 u32 status; /* DMASR */ member in struct:axidma_reg 143 u32 status; /* Status */ member in struct:axidma_bd 160 u32 is; /* 0xC: Interrupt status */ 186 /* Use MII register 1 (MII status register) to detect PHY */ 361 * Check the internal PHY status and warn user if the link between it 364 debug("axiemac: waiting for link status of the PCS/PMA PHY"); 493 * Check the status of the MgtRdy bit in the interrupt status 498 * Interrupt status and enable registers are not available in non 524 /* Set the interrupt status registe 725 u32 status; local [all...] |
H A D | mvneta.c | 330 u32 status; /* Info about received packet */ member in struct:mvneta_rx_desc 440 /* Checks whether the RX descriptor having this status is both the first 445 static int mvneta_rxq_desc_is_first_last(u32 status) argument 447 return (status & MVNETA_RXD_FIRST_LAST_DESC) == 635 "TIMEOUT for TX stopped status=0x%08x\n", 651 "TX FIFO empty timeout status=0x08%x\n", 935 u32 status = rx_desc->status; local 937 if (!mvneta_rxq_desc_is_first_last(status)) { 939 "bad rx status [all...] |
/u-boot/drivers/xen/ |
H A D | pvblock.c | 356 * Here we receive response from the ring and check its status. This happens 378 int status; local 384 status = rsp->status; 392 if (status != BLKIF_RSP_OKAY) 396 status, aiocbp->aio_dev->nodename, 407 if (status != BLKIF_RSP_OKAY) 408 printf("write barrier error %d\n", status); 411 if (status != BLKIF_RSP_OKAY) 412 printf("flush error %d\n", status); [all...] |
/u-boot/drivers/spi/ |
H A D | iproc_qspi.c | 182 u32 status; local 192 status, 194 status & BSPI_RAF_STATUS_FIFO_EMPTY_MASK) && 195 !(status & BSPI_RAF_STATUS_SESSION_BUSY_MASK), 223 status = readl(priv->bspi_raf + BSPI_RAF_STATUS_REG); 224 if (!(status & BSPI_RAF_STATUS_FIFO_EMPTY_MASK)) { 247 if (!(status & BSPI_RAF_STATUS_SESSION_BUSY_MASK)) {
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | davinci_nand.c | 371 int status; local 385 status = chip->ecc.write_page_raw(mtd, chip, buf, 388 status = chip->ecc.write_page(mtd, chip, buf, 392 if (status < 0) { 393 ret = status; 398 status = chip->waitfunc(mtd, chip); 400 if (status & NAND_STATUS_FAIL) {
|
/u-boot/drivers/mmc/ |
H A D | mtk-sd.c | 581 u32 status; local 612 ret = readl_poll_timeout(&host->base->msdc_int, status, 613 status & CMD_INTS_MASK, 1000000); 616 status = MSDC_INT_CMDTMO; 618 return msdc_cmd_done(host, status, cmd); 667 u32 status; local 672 status = readl(&host->base->msdc_int); 673 writel(status, &host->base->msdc_int); 674 status &= DATA_INTS_MASK; 676 if (status 709 u32 status; local [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-a2197-revA/ |
H A D | psu_init_gpl.c | 1125 int status = 1; local 1127 status &= psu_resetin_init_data(); 1129 status &= serdes_fixcal_code(); 1130 status &= serdes_enb_coarse_saturation(); 1132 status &= psu_serdes_init_data(); 1133 status &= psu_resetout_init_data(); 1135 return status; 1145 int status = 1; local 1147 status &= psu_mio_init_data(); 1148 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-g-a2197-00-revA/ |
H A D | psu_init_gpl.c | 1125 int status = 1; local 1127 status &= psu_resetin_init_data(); 1129 status &= serdes_fixcal_code(); 1130 status &= serdes_enb_coarse_saturation(); 1132 status &= psu_serdes_init_data(); 1133 status &= psu_resetout_init_data(); 1135 return status; 1145 int status = 1; local 1147 status &= psu_mio_init_data(); 1148 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-m-a2197-01-revA/ |
H A D | psu_init_gpl.c | 1125 int status = 1; local 1127 status &= psu_resetin_init_data(); 1129 status &= serdes_fixcal_code(); 1130 status &= serdes_enb_coarse_saturation(); 1132 status &= psu_serdes_init_data(); 1133 status &= psu_resetout_init_data(); 1135 return status; 1145 int status = 1; local 1147 status &= psu_mio_init_data(); 1148 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-m-a2197-02-revA/ |
H A D | psu_init_gpl.c | 1125 int status = 1; local 1127 status &= psu_resetin_init_data(); 1129 status &= serdes_fixcal_code(); 1130 status &= serdes_enb_coarse_saturation(); 1132 status &= psu_serdes_init_data(); 1133 status &= psu_resetout_init_data(); 1135 return status; 1145 int status = 1; local 1147 status &= psu_mio_init_data(); 1148 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-m-a2197-03-revA/ |
H A D | psu_init_gpl.c | 1125 int status = 1; local 1127 status &= psu_resetin_init_data(); 1129 status &= serdes_fixcal_code(); 1130 status &= serdes_enb_coarse_saturation(); 1132 status &= psu_serdes_init_data(); 1133 status &= psu_resetout_init_data(); 1135 return status; 1145 int status = 1; local 1147 status &= psu_mio_init_data(); 1148 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-p-a2197-00-revA/ |
H A D | psu_init_gpl.c | 1125 int status = 1; local 1127 status &= psu_resetin_init_data(); 1129 status &= serdes_fixcal_code(); 1130 status &= serdes_enb_coarse_saturation(); 1132 status &= psu_serdes_init_data(); 1133 status &= psu_resetout_init_data(); 1135 return status; 1145 int status = 1; local 1147 status &= psu_mio_init_data(); 1148 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-topic-miamimp-xilinx-xdp-v1r1/ |
H A D | psu_init_gpl.c | 971 int status = 1; local 973 status &= psu_resetin_init_data(); 975 status &= serdes_fixcal_code(); 976 status &= serdes_enb_coarse_saturation(); 978 status &= psu_serdes_init_data(); 979 status &= psu_resetout_init_data(); 981 return status; 1010 int status = 1; local 1012 status &= psu_mio_init_data(); 1013 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-zcu102-rev1.1/ |
H A D | psu_init_gpl.c | 994 int status = 1; local 996 status &= psu_resetin_init_data(); 998 status &= serdes_fixcal_code(); 999 status &= serdes_enb_coarse_saturation(); 1001 status &= psu_serdes_init_data(); 1002 status &= psu_resetout_init_data(); 1004 return status; 1014 int status = 1; local 1016 status &= psu_mio_init_data(); 1017 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-zcu111-revA/ |
H A D | psu_init_gpl.c | 930 int status = 1; local 932 status &= psu_resetin_init_data(); 934 status &= serdes_fixcal_code(); 935 status &= serdes_enb_coarse_saturation(); 937 status &= psu_serdes_init_data(); 938 status &= psu_resetout_init_data(); 940 return status; 950 int status = 1; local 952 status &= psu_mio_init_data(); 953 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-dlc21-revA/ |
H A D | psu_init_gpl.c | 880 int status = 1; local 882 status &= psu_resetin_init_data(); 884 status &= serdes_fixcal_code(); 885 status &= serdes_enb_coarse_saturation(); 887 status &= psu_serdes_init_data(); 888 status &= psu_resetout_init_data(); 890 return status; 900 int status = 1; local 902 status &= psu_mio_init_data(); 903 status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-zcu1275-revB/ |
H A D | psu_init_gpl.c | 567 int status = 1; local 569 status &= psu_mio_init_data(); 570 status &= psu_peripherals_pre_init_data(); 571 status &= psu_pll_init_data(); 572 status &= psu_clock_init_data(); 573 status &= psu_ddr_init_data(); 574 status &= psu_ddr_phybringup_data(); 575 status &= psu_peripherals_init_data(); 578 status &= psu_afi_config(); 581 if (status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-smk-k26-revA/ |
H A D | psu_init_gpl.c | 599 int status = 1; local 601 status &= psu_mio_init_data(); 602 status &= psu_peripherals_pre_init_data(); 603 status &= psu_pll_init_data(); 604 status &= psu_clock_init_data(); 605 status &= psu_ddr_init_data(); 606 status &= psu_ddr_phybringup_data(); 607 status &= psu_peripherals_init_data(); 610 status &= psu_afi_config(); 613 if (status [all...] |
/u-boot/board/xilinx/zynqmp/zynqmp-sm-k26-revA/ |
H A D | psu_init_gpl.c | 599 int status = 1; local 601 status &= psu_mio_init_data(); 602 status &= psu_peripherals_pre_init_data(); 603 status &= psu_pll_init_data(); 604 status &= psu_clock_init_data(); 605 status &= psu_ddr_init_data(); 606 status &= psu_ddr_phybringup_data(); 607 status &= psu_peripherals_init_data(); 610 status &= psu_afi_config(); 613 if (status [all...] |
/u-boot/board/synopsys/hsdk/ |
H A D | hsdk.c | 111 /* slave CPU status - bootstage number */ 112 s32 status[NR_CPUS]; member in struct:hsdk_cross_cpu 438 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_1); 442 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_2); 455 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_3); 460 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_4); 466 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_5); 479 arc_write_uncached_32(&cross_cpu_data.status[i], 0); 519 if (arc_read_uncached_32(&cross_cpu_data.status[cpu_id]) != BOOTSTAGE_2) 520 pr_err("CPU %u status i [all...] |
/u-boot/drivers/net/ldpaa_eth/ |
H A D | ldpaa_eth.c | 135 uint32_t status, err; local 148 /* Read the frame annotation status word and check for errors */ 152 status = le32_to_cpu(fas->status); 153 if (status & LDPAA_ETH_RX_ERR_MASK) { 155 status & LDPAA_ETH_RX_ERR_MASK); 157 } else if (status & LDPAA_ETH_RX_UNSUPP_MASK) { 159 status & LDPAA_ETH_RX_UNSUPP_MASK); 190 int i = 5, err = 0, status; local 219 status [all...] |
/u-boot/drivers/video/tegra124/ |
H A D | dp.c | 330 u32 status = 0; local 334 cmd, data_ptr, &size, &status); 337 cmd, status); 347 u32 status = 0; local 351 cmd, &data, &size, &status); 354 cmd, status); 1244 u32 status; local 1263 DP_LANE0_1_STATUS, (u8 *)&data16, &size, &status); 1264 status = mask & 0x1111; 1265 if ((data16 & status) ! [all...] |
/u-boot/drivers/usb/dwc3/ |
H A D | gadget.c | 232 int status) 255 if (req->request.status == -EINPROGRESS) 256 req->request.status = status; 266 req->request.length, status); 1008 req->request.status = -EINPROGRESS; 1725 const struct dwc3_event_depevt *event, int status) 1731 if ((trb->ctrl & DWC3_TRB_CTRL_HWO) && status != -ESHUTDOWN) 1769 status = -ECONNRESET; 1775 if (count && (event->status 231 dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, int status) argument 1723 __dwc3_cleanup_done_trbs(struct dwc3 *dwc, struct dwc3_ep *dep, struct dwc3_request *req, struct dwc3_trb *trb, const struct dwc3_event_depevt *event, int status) argument 1799 dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, const struct dwc3_event_depevt *event, int status) argument 1846 unsigned status = 0; local 2587 irqreturn_t status; local [all...] |