Searched refs:status (Results 1 - 25 of 59) sorted by relevance

123

/broadcom-cfe-1.4.2/cfe/ui/
H A Dui_tempsensor.c204 int local,remote,status; local
210 status = temp_smbus_read(chan,TEMPSENSOR_SMBUS_DEV,2);
212 if ((local < 0) || (remote < 0) || (status < 0)) {
219 if (status & 0x80) strcat(statstr,"Busy ");
220 if (status & 0x40) strcat(statstr,"HiTempLcl ");
221 if (status & 0x20) strcat(statstr,"LoTempLcl ");
222 if (status & 0x10) strcat(statstr,"HiTempRem ");
223 if (status & 0x08) strcat(statstr,"LoTempRem ");
224 if (status & 0x04) strcat(statstr,"Fault ");
226 if (noisy || !(status
[all...]
H A Dui_cmddisp.c222 * exit status of first command that failed, or null
228 int status = CMD_ERR_BLANK; local
251 status = ui_do_one_command(&(cmd->head));
254 if (status == CMD_ERR_BLANK) continue;
259 if ((term == CMD_TERM_AND) && (status != 0)) break;
265 if ((term == CMD_TERM_OR) && (status == 0)) break;
281 return status;
/broadcom-cfe-1.4.2/cfe/pccons/
H A Ddev_pcconsole.c145 uint8_t status; local
148 status = inb(softc->kbd_status);
150 if (status & KBD_RXFULL) {
170 uint8_t status; local
174 status = inb(softc->kbd_status); /* read status */
175 if (status & KBD_RXFULL) {
179 if (!(status & KBD_TXFULL)) break; /* stop when kbd ready */
/broadcom-cfe-1.4.2/cfe/dev/
H A Ddev_ide_common.c112 uint8_t status; local
117 status = IDE_READREG8(ide,IDE_REG_STATUS);
118 if (!(status & IDE_STS_BSY) && (status & IDE_STS_DRQ)) {
122 if ((status & (IDE_STS_BSY | IDE_STS_DRQ )) == 0) return 0;
149 uint8_t status;
154 status = IDE_READREG8(ide,IDE_REG_STATUS);
155 if (status & IDE_STS_RDY) return 0;
213 uint8_t status; local
219 status
252 uint8_t status; local
454 uint8_t status; local
[all...]
H A Ddev_promice.c165 volatile WORDTYPE *status; member in struct:promice_s
238 softc->status = (volatile WORDTYPE *)
245 while (*(softc->status) == 0xCC) ; /* NULL LOOP */
278 while ((blen > 0) && (*(softc->status) & HDA)) {
296 * inpstat - input status structure
306 inpstat->inp_status = (*(softc->status) & HDA) ? 1 : 0;
344 while ((blen > 0) && !(*(softc->status) & TDA)) {
H A Ddev_rtl8139.c212 DMA status word must be byte-swapped. */
321 prefixed with a length/status word and placed end-to-end in the
327 status word by 16 bytes. (2) R_CBR can point into a packet with
359 uint32_t status; local
362 status = swap4(*(uint32_t *)(base + ci));
363 length = G_RS_LEN(status);
372 if ((status & M_RS_ROK) != 0 && length > ENET_CRC_SIZE) {
403 /* Do a readback to force the write and allow time for status
434 uint32_t status; local
438 status
461 uint32_t status; local
505 uint32_t status; local
553 uint16_t status, remote; local
677 uint16_t status; local
724 uint16_t status; local
[all...]
H A Ddev_spi_robo.c183 uint8_t status; local
188 SPI_READ(chan,&status,1,0);
190 if (status & M_SPISTAT_FAST_RACK) {
197 printf("SPI: fast RACK poll FAILED status=0x%02X\n",status);
206 uint8_t status; local
211 robo_read_reg(softc,R_ROBOSPI_SPI_STATUS,&status,1);
213 if ((status & mask) == val) {
220 printf("SPI: poll status FAILED status
[all...]
H A Ddev_bcm4401.c109 status information written into the rx buffer. The packet itself
261 DMA status word must be byte-swapped. Also, the PCI interface
714 uint32_t cmd, status; local
724 status = READCSR(sc, R_ENET_INT_STATUS);
725 if ((status & M_EINT_MI) != 0)
740 uint32_t cmd, status; local
750 status = READCSR(sc, R_ENET_INT_STATUS);
751 if ((status & M_EINT_MI) != 0)
810 uint16_t control, status, remote; local
817 status
1089 uint32_t status; local
1168 uint32_t ctl, status; local
[all...]
H A Ddev_i82559.c889 uint32_t cmd, status; local
898 status = READCSR(sc, R_MDI_CTL);
899 if ((status & M_MDI_R) != 0)
914 uint32_t cmd, status; local
923 status = READCSR(sc, R_MDI_CTL);
924 if ((status & M_MDI_R) != 0)
982 uint16_t control, status, cap; local
990 status = (*sc->mii_read_register)(sc, MII_BMSR);
991 status = (*sc->mii_read_register)(sc, MII_BMSR);
994 if ((status
1088 uint16_t cmd, status; local
1147 uint8_t status; local
1312 uint8_t status; local
1344 uint8_t status; local
[all...]
H A Ddev_dp83815.c1256 uint16_t control, status, cap; local
1263 status = mii_read_register(sc, MII_BMSR);
1264 status = mii_read_register(sc, MII_BMSR);
1267 if ((status & (BMSR_AUTONEG | BMSR_LINKSTAT)) ==
1286 status = mii_read_register(sc, MII_BMSR);
1287 cap = ((status >> 6) & (ANAR_TXFD | ANAR_TXHD | ANAR_10FD | ANAR_10HD))
1295 status = mii_read_register(sc, MII_BMSR);
1296 if ((status & BMSR_ANCOMPLETE) != 0 || timeout <= 0)
1305 if ((status & BMSR_ANCOMPLETE) != 0) {
1333 if ((status
1345 dp83815_phyupdate(dp83815_softc *sc, uint32_t status) argument
1508 uint32_t status; local
1584 uint32_t status; local
1640 uint32_t status; local
[all...]
H A Ddev_bcm5700.c85 flushed, while status memory is always referenced uncached.
118 * PCI status/interrupt ordering problem under load. */
327 uint32_t status; member in struct:t3_status_s
365 /* Encoded status transfer block size (32, 64 or 80 bytes. Page 412 */
386 /* status block */
387 volatile t3_status_t *status; /* should be cache-aligned */ member in struct:t3_ether_s
699 rxp_ci = sc->status->rxc_std_index; /* Get a snapshot */
733 volatile t3_status_t *status = sc->status; local
760 } while (status
803 volatile t3_status_t *status = sc->status; local
825 volatile t3_status_t *status = sc->status; local
1215 uint16_t status, ability, xability; local
1290 uint16_t control, status, remote, xremote; local
2332 volatile t3_status_t *status = sc->status; local
[all...]
H A Ddev_aic6915.c144 /* How often to check MII status */
287 uint16_t status; member in struct:aic_tx_comp_dscr1_s
838 uint16_t status, ability; local
842 status = mii_read_register(sc, sc->phy_addr, MII_BMSR);
843 status = mii_read_register(sc, sc->phy_addr, MII_BMSR);
846 if (status != sc->phy_status || ability != sc->phy_ability) {
847 sc->phy_status = status;
886 uint16_t control, status, remote; local
893 status = mii_read_register(sc, sc->phy_addr, MII_BMSR);
894 status
1023 uint32_t status; local
1258 uint32_t status; local
[all...]
/broadcom-cfe-1.4.2/cfe/lib/
H A Dlib_malloc.c77 memnode_status_t status; /* alloc/free status */ member in struct:memnode_s
119 pool->root->status = memnode_free;
198 (m->status == memnode_free) &&
199 (m->next->status == memnode_free)) {
247 m->status = memnode_free;
322 if (m->status == memnode_alloc) continue;
362 m->status = memnode_alloc;
405 m->status = memnode_alloc;
409 newm->status
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/board/sentosa/src/
H A Dsentosa_devs.c255 uint64_t status; local
260 status = SBREADCSR(reg);
261 if (status & M_SMB_BUSY) continue;
265 if (status & M_SMB_ERROR) {
267 SBWRITECSR(reg,(status & M_SMB_ERROR));
/broadcom-cfe-1.4.2/cfe/main/
H A Dcfe_iocb_dispatch.c329 cfe_warmstart(iocb->plist.iocb_exitstat.status);
526 int status; local
528 status = ctx->dev_dev->dev_dispatch->dev_inpstat(ctx,&(iocb->plist.iocb_inpstat));
530 return status;
535 int status; local
537 status = ctx->dev_dev->dev_dispatch->dev_read(ctx,&(iocb->plist.iocb_buffer));
539 return status;
544 int status; local
546 status = ctx->dev_dev->dev_dispatch->dev_write(ctx,&(iocb->plist.iocb_buffer));
548 return status;
553 int status; local
[all...]
H A Dcfe_main.c103 void cfe_command_restart(uint64_t status);
592 * status - A0 value of program returning to firmware
598 void cfe_command_restart(uint64_t status) argument
636 * Display program return status
638 xprintf("*** program exit status = %d\n", (int)status);
672 int status; local
687 status = ui_docommands(buffer);
689 if (status != CMD_ERR_BLANK) {
690 xprintf("*** command status
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
H A Ddev_sb1250_pcmcia.c184 uint64_t status; local
186 status = SBREADCSR(slot->statusport);
187 status &= M_PCMCIA_STATUS_CD1 | M_PCMCIA_STATUS_CD2;
189 return (status == 0);
207 uint64_t config, status; local
209 status = SBREADCSR(slot->statusport); /* clear pending interrupt */
H A Dsb1250_smbus.c102 uint64_t status; local
106 status = SBREADCSR(softc->base+R_SMB_STATUS);
107 if (status & M_SMB_BUSY) {
116 if (status & M_SMB_ERROR) {
117 SBWRITECSR(softc->base+R_SMB_STATUS,(status & M_SMB_ERROR));
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcm1480/src/
H A Dbcm1480_irq.c193 int status; member in struct:irq_desc_s
196 /* status flags */
222 p->status = IRQ_DISABLED;
313 desc->status &=~ IRQ_DISABLED;
339 desc->status |= IRQ_DISABLED;
386 desc->status |= IRQ_DISABLED;
440 desc->status |= IRQ_DISABLED;
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcmcore/src/
H A Dbcmcore_irq.c101 int status; member in struct:irq_desc_s
104 /* status flags */
256 p->status = IRQ_DISABLED;
327 desc->status &=~ IRQ_DISABLED;
351 desc->status |= IRQ_DISABLED;
398 desc->status |= IRQ_DISABLED;
446 desc->status |= IRQ_DISABLED;
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/sb1250/src/
H A Dsb1250_irq.c181 int status; member in struct:irq_desc_s
184 /* status flags */
209 p->status = IRQ_DISABLED;
278 desc->status &=~ IRQ_DISABLED;
301 desc->status |= IRQ_DISABLED;
348 desc->status |= IRQ_DISABLED;
399 desc->status |= IRQ_DISABLED;
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/bcmsb/src/
H A Ddev_sb_mac.c138 status information written into the rx buffer. The packet itself
303 DMA status word must be byte-swapped. */
796 uint32_t cmd, status; local
808 status = READCSR(sc, R_ENET_INT_STATUS);
809 if ((status & M_EINT_MI) != 0)
824 uint32_t cmd, status; local
836 status = READCSR(sc, R_ENET_INT_STATUS);
837 if ((status & M_EINT_MI) != 0)
941 uint16_t control, status, remote; local
956 status
1214 uint32_t status; local
1267 uint32_t status; local
1300 uint32_t ctl, status; local
[all...]
/broadcom-cfe-1.4.2/cfe/msys/
H A Ddev_msys.c128 FLStatus status; member in struct:bdkdrv_s
322 printf("Unknown status\n") ;
373 softc->status = bdkFindDiskOnChip( &softc->base, &softc->size );
375 if( softc->status != flOK ) {
377 bdkdrv_print_status( softc->status ) ;
438 softc->status = bdkGetBootPartitionInfo( softc->start_unit,
443 if( softc->status != flOK ) {
445 bdkdrv_print_status( softc->status ) ;
553 * Return "input status". For flash devices, we always return true.
557 * inpstat - input status structur
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/board/swarm/src/
H A Dswarm_devs.c303 uint64_t status; local
308 status = SBREADCSR(reg);
309 if (status & M_SMB_BUSY) continue;
313 if (status & M_SMB_ERROR) {
315 SBWRITECSR(reg,(status & M_SMB_ERROR));
/broadcom-cfe-1.4.2/cfe/api/
H A Dcfe_api_int.h127 cfe_xint_t status; member in struct:xiocb_exitstat_s
152 cfe_xint_t xiocb_status; /* return status */
158 xiocb_inpstat_t xiocb_inpstat; /* input status parameters */

Completed in 124 milliseconds

123