Searched refs:status (Results 151 - 175 of 567) sorted by relevance

1234567891011>>

/u-boot/drivers/net/
H A Deepro100.c31 /* 82559 SCB status word defnitions */
106 u16 status; member in struct:eepro100_rxfd
140 u16 status; member in struct:eepro100_txfd
164 u16 status; member in struct:descriptor
351 rx_ring[i].status = 0;
413 rstat = le16_to_cpu(desc->status);
425 rstat = le16_to_cpu(desc->status);
428 printf("TX error status = 0x%08X\n", rstat);
536 int ret, status = -1; local
582 cfg_cmd->status
627 int ret, status = -1; local
670 u16 status; local
832 u16 command, status; local
[all...]
H A Dfsl_enetc.h134 #define ENETC_RXBD_STATUS_R(status) (((status) >> 30) & 0x1)
135 #define ENETC_RXBD_STATUS_F(status) (((status) >> 31) & 0x1)
136 #define ENETC_RXBD_STATUS_ERRORS(status) (((status) >> 16) & 0xff)
H A Dmcfmii.c201 u16 status = 0; local
231 status = 0;
234 miiphy_read(dev->name, info->phy_addr, MII_BMCR, &status);
239 if ((status & BMCR_ANENABLE) == BMCR_ANENABLE) {
244 /* Read PHY status register */
245 miiphy_read(dev->name, info->phy_addr, MII_BMSR, &status);
246 if ((status & linkgood) == linkgood)
/u-boot/drivers/power/regulator/
H A Dscmi_regulator.c45 return scmi_to_linux_errno(out.status);
64 ret = scmi_to_linux_errno(out.status);
88 return scmi_to_linux_errno(out.status);
107 ret = scmi_to_linux_errno(out.status);
/u-boot/drivers/usb/host/
H A Dusb-sandbox.c73 udev->status = ret;
76 udev->status = 0;
98 udev->status = ret;
101 udev->status = 0;
/u-boot/drivers/spi/
H A Dzynq_qspi.c414 u32 status, timeout; local
416 /* Poll until any of the interrupt status bits are set */
419 status = readl(&regs->isr);
420 } while ((status == 0) &&
423 if (status == 0) {
428 writel(status, &regs->isr);
432 if ((status & ZYNQ_QSPI_IXR_TXOW_MASK) ||
433 (status & ZYNQ_QSPI_IXR_RXNEMPTY_MASK)) {
521 int status = 0; local
531 status
[all...]
H A Dich.c208 * Wait for up to 6s til status register bit(s) turn 1 (in case wait_til_set
212 * Return the last read status value on success or -1 on failure.
218 u16 status = 0; local
221 status = ich_readw(ctlr, ctlr->status);
222 if (wait_til_set ^ ((status & bitmask) == 0)) {
224 ich_writew(ctlr, status & bitmask,
225 ctlr->status);
227 return status;
232 status, bitmas
261 int status; local
[all...]
/u-boot/drivers/misc/
H A Dgdsys_ioep.c25 * @state: Flag to keep the current status of the RX control (enabled/disabled)
164 u16 *status = rx_msg; local
166 gdsys_ioep_get(priv->map, rx_tx_status, status);
168 gdsys_ioep_set(priv->map, rx_tx_status, *status);
170 return (*status & mask) ? 1 : 0;
/u-boot/drivers/virtio/
H A Dvirtio_blk.c28 u8 status; local
37 struct virtio_sg status_sg = { &status, sizeof(status) };
61 return status == VIRTIO_BLK_S_OK ? blkcnt : -EIO;
/u-boot/arch/arm/include/asm/arch-lpc32xx/
H A Demc.h14 u32 status; /* Provides EMC status information */ member in struct:emc_regs
54 u32 status; /* Status register for AHB */ member in struct:emc_regs::emc_ahb_t
/u-boot/drivers/mtd/nand/spi/
H A Dparagon.c73 u8 status)
75 switch (status & PN26G0XA_STATUS_ECC_BITMASK) {
72 pn26g0xa_ecc_get_status(struct spinand_device *spinand, u8 status) argument
/u-boot/lib/fwu_updates/
H A Dfwu.c40 efi_status_t status; local
47 status = efi_set_variable_int(u"TrialStateCtr",
52 if ((delete && (status != EFI_NOT_FOUND &&
53 status != EFI_SUCCESS)) ||
54 (!delete && status != EFI_SUCCESS))
62 efi_status_t status; local
66 status = efi_get_variable_int(u"TrialStateCtr",
71 if (status != EFI_SUCCESS) {
/u-boot/drivers/rtc/
H A Dds1337.c59 * RTC status register bits
76 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; local
79 status = rtc_read (RTC_STAT_REG_ADDR);
94 "hr: %02x min: %02x sec: %02x control: %02x status: %02x\n",
95 year, mon_cent, mday, wday, hour, min, sec, control, status);
97 if (status & RTC_STAT_BIT_OSF) {
209 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; local
212 status = rtc_read(dev, RTC_STAT_REG_ADDR);
228 debug("hr: %02x min: %02x sec: %02x control: %02x status: %02x\n",
229 hour, min, sec, control, status);
[all...]
/u-boot/arch/arm/mach-stm32mp/
H A Dcmd_stm32key.c116 bool status; local
137 status = nb_lock_err || (nb_lock == key->size);
139 *locked = status;
142 else if (!status && print)
163 bool status; local
180 status = (val & mask) == mask;
182 *closed = status;
184 printf("OTP %d: closed status: %d lock : %08x\n", word, status, lock);
397 /* check PKH status befor
[all...]
/u-boot/drivers/timer/
H A Daltera_timer.c23 u32 status; /* Timer status reg */ member in struct:altera_timer_regs
55 writel(0, &regs->status);
/u-boot/lib/efi_loader/
H A Defi_capsule.c108 * @return_status: Return status
260 * Return: status code
330 efi_status_t status; local
332 status = EFI_SECURITY_VIOLATION;
396 status = EFI_SUCCESS;
403 return status;
443 int status; local
456 status = fwu_revert_boot_index();
457 ret = fwu_to_efi_error(status);
466 * status fo
502 int status; local
557 int status; local
[all...]
/u-boot/drivers/usb/gadget/
H A Df_sdp.c294 int status = req->status; local
298 if (status != 0) {
299 pr_err("Status: %d\n", status);
379 int status = req->status; local
384 if (status != 0) {
385 pr_err("Status: %d\n", status);
435 int status = req->status; local
681 int status; local
782 u32 status; local
[all...]
H A Df_rockusb.c103 static int rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size);
142 int status = req->status; local
144 if (!status)
146 debug("status: %d ep '%s' trans: %d\n", status, ep->name, req->actual);
298 int status; local
309 status = usb_add_function(c, &f_rkusb->usb_function);
310 if (status) {
315 return status;
382 rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size) argument
399 int status = req->status; local
[all...]
/u-boot/drivers/i2c/
H A Dat91_i2c.c26 static int at91_wait_for_xfer(struct at91_i2c_bus *bus, u32 status) argument
32 bus->status = 0;
36 bus->status |= sr;
40 else if (sr & status)
99 if (bus->status & (TWI_SR_OVRE | TWI_SR_UNRE | TWI_SR_LOCK)) {
107 if (bus->status & TWI_SR_LOCK)
H A Di2c-cdns.c29 u32 status; member in struct:cdns_i2c_regs
93 int status; local
96 status = readl(&cdns_i2c->status);
97 if (int_status || status) {
117 if (status & CDNS_I2C_STATUS_RXDV)
119 if (status & CDNS_I2C_STATUS_TXDV)
121 if (status & CDNS_I2C_STATUS_RXOVF)
123 if (status & CDNS_I2C_STATUS_BA)
157 /* Clear interrupt status flag
[all...]
/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c37 /* MUSB PERIPHERAL status 3-mar-2006:
175 * @param status the status to complete the request with
181 int status)
192 if (req->request.status == -EINPROGRESS)
193 req->request.status = status;
199 if (request->status == 0)
207 request->status);
216 * Abort requests queued to an endpoint using the status
219 nuke(struct musb_ep *ep, const int status) argument
1045 int status = -EINVAL; local
1226 int status = 0; local
1327 int status = 0; local
1382 int status = 0; local
1443 int status = 0; local
1630 int status = -EINVAL; local
1900 int status; local
[all...]
/u-boot/drivers/mtd/nand/raw/
H A Dsand_nand.c55 * @status: Status to report for NAND_CMD_STATUS
88 u8 status; member in struct:sand_nand_chip
122 u8 status; local
124 return nand_status_op(chip, &status) ?: status;
243 chip->status |= NAND_STATUS_FAIL;
248 chip->status |= NAND_STATUS_FAIL;
255 chip->status |= NAND_STATUS_FAIL;
264 chip->status |= NAND_STATUS_FAIL;
271 chip->status |
[all...]
H A Dfsl_ifc_nand.c52 unsigned int status; /* status read from NEESR after last op */ member in struct:fsl_ifc_ctrl
275 ctrl->status = ifc_in32(&ifc->ifc_nand.nand_evter_stat);
277 if (ctrl->status & IFC_NAND_EVTER_STAT_OPC)
281 ifc_out32(&ifc->ifc_nand.nand_evter_stat, ctrl->status);
283 if (ctrl->status & IFC_NAND_EVTER_STAT_FTOER)
285 if (ctrl->status & IFC_NAND_EVTER_STAT_WPER)
313 ctrl->status |= IFC_NAND_EVTER_STAT_ECCER;
324 return ctrl->status == IFC_NAND_EVTER_STAT_OPC ? 0 : -EIO;
581 ctrl->status
677 int status; local
[all...]
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-pip.h607 * Get the status counters for a port for older non PKI chips.
611 * @param status Where to put the results.
613 static inline void cvmx_pip_get_port_stats(u64 port_num, u64 clear, cvmx_pip_port_status_t *status) argument
700 status->dropped_octets = stat0.s.drp_octs;
701 status->dropped_packets = stat0.s.drp_pkts;
702 status->octets = stat1.s.octs;
703 status->pci_raw_packets = stat2.s.raw;
704 status->packets = stat2.s.pkts;
705 status->multicast_packets = stat3.s.mcst;
706 status
737 cvmx_pip_get_port_status(u64 port_num, u64 clear, cvmx_pip_port_status_t *status) argument
[all...]
/u-boot/drivers/fpga/
H A Dzynqpl.c171 /* Polling the PCAP_INIT status for Set */
194 /* Clear out the DMA status */
202 u32 status, control, isr_status; local
232 /* Polling the PCAP_INIT status for Reset */
234 while (readl(&devcfg_base->status) & DEVCFG_STATUS_PCFG_INIT) {
245 /* Polling the PCAP_INIT status for Set */
247 while (!(readl(&devcfg_base->status) &
273 status = readl(&devcfg_base->status);
275 debug("%s: Status = 0x%08X\n", __func__, status);
[all...]

Completed in 387 milliseconds

1234567891011>>