Lines Matching refs:ushort
74 #define CPM_CR_START_IDMA ((ushort)0x0009)
168 ushort smc_rbase; /* Rx Buffer descriptor base address */
169 ushort smc_tbase; /* Tx Buffer descriptor base address */
172 ushort smc_mrblr; /* Max receive buffer length */
175 ushort smc_rbptr; /* Internal */
176 ushort smc_ibc; /* Internal */
180 ushort smc_tbptr; /* Internal */
181 ushort smc_tbc; /* Internal */
183 ushort smc_maxidl; /* Maximum idle characters */
184 ushort smc_tmpidl; /* Temporary idle counter */
185 ushort smc_brklen; /* Last received break length */
186 ushort smc_brkec; /* rcv'd break condition counter */
187 ushort smc_brkcr; /* xmt break count register */
188 ushort smc_rmask; /* Temporary bit mask */
194 #define SMCMR_REN ((ushort)0x0001)
195 #define SMCMR_TEN ((ushort)0x0002)
196 #define SMCMR_DM ((ushort)0x000c)
197 #define SMCMR_SM_GCI ((ushort)0x0000)
198 #define SMCMR_SM_UART ((ushort)0x0020)
199 #define SMCMR_SM_TRANS ((ushort)0x0030)
200 #define SMCMR_SM_MASK ((ushort)0x0030)
201 #define SMCMR_PM_EVEN ((ushort)0x0100) /* Even parity, else odd */
203 #define SMCMR_PEN ((ushort)0x0200) /* Parity enable */
205 #define SMCMR_SL ((ushort)0x0400) /* Two stops, else one */
206 #define SMCR_CLEN_MASK ((ushort)0x7800) /* Character length */
300 #define SCC_TODR_TOD ((ushort)0x8000)
310 ushort scc_rbase; /* Rx Buffer descriptor base address */
311 ushort scc_tbase; /* Tx Buffer descriptor base address */
314 ushort scc_mrblr; /* Max receive buffer length */
317 ushort scc_rbptr; /* Internal */
318 ushort scc_ibc; /* Internal */
322 ushort scc_tbptr; /* Internal */
323 ushort scc_tbc; /* Internal */
343 ushort sen_pads; /* Tx short frame pad character */
344 ushort sen_retlim; /* Retry limit threshold */
345 ushort sen_retcnt; /* Retry limit counter */
346 ushort sen_maxflr; /* maximum frame length register */
347 ushort sen_minflr; /* minimum frame length register */
348 ushort sen_maxd1; /* maximum DMA1 length */
349 ushort sen_maxd2; /* maximum DMA2 length */
350 ushort sen_maxd; /* Rx max DMA */
351 ushort sen_dmacnt; /* Rx DMA counter */
352 ushort sen_maxb; /* Max BD byte count */
353 ushort sen_gaddr1; /* Group address filter */
354 ushort sen_gaddr2;
355 ushort sen_gaddr3;
356 ushort sen_gaddr4;
361 ushort sen_tbuf0bcnt; /* Internal */
362 ushort sen_paddrh; /* physical address (MSB) */
363 ushort sen_paddrm;
364 ushort sen_paddrl; /* physical address (LSB) */
365 ushort sen_pper; /* persistence */
366 ushort sen_rfbdptr; /* Rx first BD pointer */
367 ushort sen_tfbdptr; /* Tx first BD pointer */
368 ushort sen_tlbdptr; /* Tx last BD pointer */
373 ushort sen_tbuf1bcnt; /* Internal */
374 ushort sen_txlen; /* Tx Frame length counter */
375 ushort sen_iaddr1; /* Individual address filter */
376 ushort sen_iaddr2;
377 ushort sen_iaddr3;
378 ushort sen_iaddr4;
379 ushort sen_boffcnt; /* Backoff counter */
384 ushort sen_taddrh; /* temp address (MSB) */
385 ushort sen_taddrm;
386 ushort sen_taddrl; /* temp address (LSB) */
392 #define SCCE_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */
393 #define SCCE_ENET_TXE ((ushort)0x0010) /* Transmit Error */
394 #define SCCE_ENET_RXF ((ushort)0x0008) /* Full frame received */
395 #define SCCE_ENET_BSY ((ushort)0x0004) /* All incoming buffers full */
396 #define SCCE_ENET_TXB ((ushort)0x0002) /* A buffer was transmitted */
397 #define SCCE_ENET_RXB ((ushort)0x0001) /* A buffer was received */
401 #define SCC_PSMR_HBC ((ushort)0x8000) /* Enable heartbeat */
402 #define SCC_PSMR_FC ((ushort)0x4000) /* Force collision */
403 #define SCC_PSMR_RSH ((ushort)0x2000) /* Receive short frames */
404 #define SCC_PSMR_IAM ((ushort)0x1000) /* Check individual hash */
405 #define SCC_PSMR_ENCRC ((ushort)0x0800) /* Ethernet CRC mode */
406 #define SCC_PSMR_PRO ((ushort)0x0200) /* Promiscuous mode */
407 #define SCC_PSMR_BRO ((ushort)0x0100) /* Catch broadcast pkts */
408 #define SCC_PSMR_SBT ((ushort)0x0080) /* Special backoff timer */
409 #define SCC_PSMR_LPB ((ushort)0x0040) /* Set Loopback mode */
410 #define SCC_PSMR_SIP ((ushort)0x0020) /* Sample Input Pins */
411 #define SCC_PSMR_LCW ((ushort)0x0010) /* Late collision window */
412 #define SCC_PSMR_NIB22 ((ushort)0x000a) /* Start frame search */
413 #define SCC_PSMR_FDE ((ushort)0x0001) /* Full duplex enable */
421 ushort scc_maxidl; /* Maximum idle chars */
422 ushort scc_idlc; /* temp idle counter */
423 ushort scc_brkcr; /* Break count register */
424 ushort scc_parec; /* receive parity error counter */
425 ushort scc_frmec; /* receive framing error counter */
426 ushort scc_nosec; /* receive noise counter */
427 ushort scc_brkec; /* receive break condition counter */
428 ushort scc_brkln; /* last received break length */
429 ushort scc_uaddr1; /* UART address character 1 */
430 ushort scc_uaddr2; /* UART address character 2 */
431 ushort scc_rtemp; /* Temp storage */
432 ushort scc_toseq; /* Transmit out of sequence char */
433 ushort scc_char1; /* control character 1 */
434 ushort scc_char2; /* control character 2 */
435 ushort scc_char3; /* control character 3 */
436 ushort scc_char4; /* control character 4 */
437 ushort scc_char5; /* control character 5 */
438 ushort scc_char6; /* control character 6 */
439 ushort scc_char7; /* control character 7 */
440 ushort scc_char8; /* control character 8 */
441 ushort scc_rccm; /* receive control character mask */
442 ushort scc_rccr; /* receive control character register */
443 ushort scc_rlbc; /* receive last break character */
448 #define UART_SCCM_GLR ((ushort)0x1000)
449 #define UART_SCCM_GLT ((ushort)0x0800)
450 #define UART_SCCM_AB ((ushort)0x0200)
451 #define UART_SCCM_IDL ((ushort)0x0100)
452 #define UART_SCCM_GRA ((ushort)0x0080)
453 #define UART_SCCM_BRKE ((ushort)0x0040)
454 #define UART_SCCM_BRKS ((ushort)0x0020)
455 #define UART_SCCM_CCR ((ushort)0x0008)
456 #define UART_SCCM_BSY ((ushort)0x0004)
457 #define UART_SCCM_TX ((ushort)0x0002)
458 #define UART_SCCM_RX ((ushort)0x0001)
462 #define SCU_PSMR_FLC ((ushort)0x8000)
463 #define SCU_PSMR_SL ((ushort)0x4000)
464 #define SCU_PSMR_CL ((ushort)0x3000)
465 #define SCU_PSMR_UM ((ushort)0x0c00)
466 #define SCU_PSMR_FRZ ((ushort)0x0200)
467 #define SCU_PSMR_RZS ((ushort)0x0100)
468 #define SCU_PSMR_SYN ((ushort)0x0080)
469 #define SCU_PSMR_DRT ((ushort)0x0040)
470 #define SCU_PSMR_PEN ((ushort)0x0010)
471 #define SCU_PSMR_RPM ((ushort)0x000c)
472 #define SCU_PSMR_REVP ((ushort)0x0008)
473 #define SCU_PSMR_TPM ((ushort)0x0003)
474 #define SCU_PSMR_TEVP ((ushort)0x0002)
518 ushort fcc_riptr; /* Rx Internal temp pointer */
519 ushort fcc_tiptr; /* Tx Internal temp pointer */
520 ushort fcc_res1;
521 ushort fcc_mrblr; /* Max receive buffer length, mod 32 bytes */
524 ushort fcc_rbdstat; /* RxBD status */
525 ushort fcc_rbdlen; /* RxBD down counter */
529 ushort fcc_tbdstat; /* TxBD status */
530 ushort fcc_tbdlen; /* TxBD down counter */
551 ushort fen_retlim; /* Retry limit */
552 ushort fen_retcnt; /* Retry counter */
553 ushort fen_pper; /* Persistence */
554 ushort fen_boffcnt; /* backoff counter */
557 ushort fen_tfcstat; /* out of sequence TxBD */
558 ushort fen_tfclen;
560 ushort fen_mflr; /* Maximum frame length (1518) */
561 ushort fen_paddrh; /* MAC address */
562 ushort fen_paddrm;
563 ushort fen_paddrl;
564 ushort fen_ibdcount; /* Internal BD counter */
565 ushort fen_ibdstart; /* Internal BD start pointer */
566 ushort fen_ibdend; /* Internal BD end pointer */
567 ushort fen_txlen; /* Internal Tx frame length counter */
571 ushort fen_minflr; /* Minimum frame length (64) */
572 ushort fen_taddrh; /* Filter transfer MAC address */
573 ushort fen_taddrm;
574 ushort fen_taddrl;
575 ushort fen_padptr; /* Pointer to pad byte buffer */
576 ushort fen_cftype; /* control frame type */
577 ushort fen_cfrange; /* control frame range */
578 ushort fen_maxb; /* maximum BD count */
579 ushort fen_maxd1; /* Max DMA1 length (1520) */
580 ushort fen_maxd2; /* Max DMA2 length (1520) */
581 ushort fen_maxd; /* internal max DMA count */
582 ushort fen_dmacnt; /* internal DMA counter */
598 ushort fen_rfthr; /* Received frames threshold */
599 ushort fen_rfcnt; /* Received frames count */
604 #define FCC_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */
605 #define FCC_ENET_RXC ((ushort)0x0040) /* Control Frame Received */
606 #define FCC_ENET_TXC ((ushort)0x0020) /* Out of seq. Tx sent */
607 #define FCC_ENET_TXE ((ushort)0x0010) /* Transmit Error */
608 #define FCC_ENET_RXF ((ushort)0x0008) /* Full frame received */
609 #define FCC_ENET_BSY ((ushort)0x0004) /* Busy. Rx Frame dropped */
610 #define FCC_ENET_TXB ((ushort)0x0002) /* A buffer was transmitted */
611 #define FCC_ENET_RXB ((ushort)0x0001) /* A buffer was received */
632 ushort iic_rbase; /* Rx Buffer descriptor base address */
633 ushort iic_tbase; /* Tx Buffer descriptor base address */
636 ushort iic_mrblr; /* Max receive buffer length */
639 ushort iic_rbptr; /* Internal */
640 ushort iic_rbc; /* Internal */
644 ushort iic_tbptr; /* Internal */
645 ushort iic_tbc; /* Internal */
652 ushort ibase; /* IDMA buffer descriptor table base address */
653 ushort dcm; /* DMA channel mode */
654 ushort ibdptr; /* IDMA current buffer descriptor pointer */
655 ushort dpr_buf; /* IDMA transfer buffer base address */
656 ushort buf_inv; /* internal buffer inventory */
657 ushort ss_max; /* steady-state maximum transfer size */
658 ushort dpr_in_ptr; /* write pointer inside the internal buffer */
659 ushort sts; /* source transfer size */
660 ushort dpr_out_ptr; /* read pointer inside the internal buffer */
661 ushort seob; /* source end of burst */
662 ushort deob; /* destination end of burst */
663 ushort dts; /* destination transfer size */
664 ushort ret_add; /* return address when working in ERM=1 mode */
665 ushort res0; /* reserved */
675 #define IDMA_DCM_FB ((ushort)0x8000) /* fly-by mode */
676 #define IDMA_DCM_LP ((ushort)0x4000) /* low priority */
677 #define IDMA_DCM_TC2 ((ushort)0x0400) /* value driven on TC[2] */
678 #define IDMA_DCM_DMA_WRAP_MASK ((ushort)0x01c0) /* mask for DMA wrap */
679 #define IDMA_DCM_DMA_WRAP_64 ((ushort)0x0000) /* 64-byte DMA xfer buffer */
680 #define IDMA_DCM_DMA_WRAP_128 ((ushort)0x0040) /* 128-byte DMA xfer buffer */
681 #define IDMA_DCM_DMA_WRAP_256 ((ushort)0x0080) /* 256-byte DMA xfer buffer */
682 #define IDMA_DCM_DMA_WRAP_512 ((ushort)0x00c0) /* 512-byte DMA xfer buffer */
683 #define IDMA_DCM_DMA_WRAP_1024 ((ushort)0x0100) /* 1024-byte DMA xfer buffer */
684 #define IDMA_DCM_DMA_WRAP_2048 ((ushort)0x0140) /* 2048-byte DMA xfer buffer */
685 #define IDMA_DCM_SINC ((ushort)0x0020) /* source inc addr */
686 #define IDMA_DCM_DINC ((ushort)0x0010) /* destination inc addr */
687 #define IDMA_DCM_ERM ((ushort)0x0008) /* external request mode */
688 #define IDMA_DCM_DT ((ushort)0x0004) /* DONE treatment */
689 #define IDMA_DCM_SD_MASK ((ushort)0x0003) /* mask for SD bit field */
690 #define IDMA_DCM_SD_MEM2MEM ((ushort)0x0000) /* memory-to-memory xfer */
691 #define IDMA_DCM_SD_PER2MEM ((ushort)0x0002) /* peripheral-to-memory xfer */
692 #define IDMA_DCM_SD_MEM2PER ((ushort)0x0001) /* memory-to-peripheral xfer */