Lines Matching refs:ushort
74 #define CPM_CR_START_IDMA ((ushort)0x0009)
164 ushort smc_rbase; /* Rx Buffer descriptor base address */
165 ushort smc_tbase; /* Tx Buffer descriptor base address */
168 ushort smc_mrblr; /* Max receive buffer length */
171 ushort smc_rbptr; /* Internal */
172 ushort smc_ibc; /* Internal */
176 ushort smc_tbptr; /* Internal */
177 ushort smc_tbc; /* Internal */
179 ushort smc_maxidl; /* Maximum idle characters */
180 ushort smc_tmpidl; /* Temporary idle counter */
181 ushort smc_brklen; /* Last received break length */
182 ushort smc_brkec; /* rcv'd break condition counter */
183 ushort smc_brkcr; /* xmt break count register */
184 ushort smc_rmask; /* Temporary bit mask */
190 #define SMCMR_REN ((ushort)0x0001)
191 #define SMCMR_TEN ((ushort)0x0002)
192 #define SMCMR_DM ((ushort)0x000c)
193 #define SMCMR_SM_GCI ((ushort)0x0000)
194 #define SMCMR_SM_UART ((ushort)0x0020)
195 #define SMCMR_SM_TRANS ((ushort)0x0030)
196 #define SMCMR_SM_MASK ((ushort)0x0030)
197 #define SMCMR_PM_EVEN ((ushort)0x0100) /* Even parity, else odd */
199 #define SMCMR_PEN ((ushort)0x0200) /* Parity enable */
201 #define SMCMR_SL ((ushort)0x0400) /* Two stops, else one */
202 #define SMCR_CLEN_MASK ((ushort)0x7800) /* Character length */
296 #define SCC_TODR_TOD ((ushort)0x8000)
306 ushort scc_rbase; /* Rx Buffer descriptor base address */
307 ushort scc_tbase; /* Tx Buffer descriptor base address */
310 ushort scc_mrblr; /* Max receive buffer length */
313 ushort scc_rbptr; /* Internal */
314 ushort scc_ibc; /* Internal */
318 ushort scc_tbptr; /* Internal */
319 ushort scc_tbc; /* Internal */
339 ushort sen_pads; /* Tx short frame pad character */
340 ushort sen_retlim; /* Retry limit threshold */
341 ushort sen_retcnt; /* Retry limit counter */
342 ushort sen_maxflr; /* maximum frame length register */
343 ushort sen_minflr; /* minimum frame length register */
344 ushort sen_maxd1; /* maximum DMA1 length */
345 ushort sen_maxd2; /* maximum DMA2 length */
346 ushort sen_maxd; /* Rx max DMA */
347 ushort sen_dmacnt; /* Rx DMA counter */
348 ushort sen_maxb; /* Max BD byte count */
349 ushort sen_gaddr1; /* Group address filter */
350 ushort sen_gaddr2;
351 ushort sen_gaddr3;
352 ushort sen_gaddr4;
357 ushort sen_tbuf0bcnt; /* Internal */
358 ushort sen_paddrh; /* physical address (MSB) */
359 ushort sen_paddrm;
360 ushort sen_paddrl; /* physical address (LSB) */
361 ushort sen_pper; /* persistence */
362 ushort sen_rfbdptr; /* Rx first BD pointer */
363 ushort sen_tfbdptr; /* Tx first BD pointer */
364 ushort sen_tlbdptr; /* Tx last BD pointer */
369 ushort sen_tbuf1bcnt; /* Internal */
370 ushort sen_txlen; /* Tx Frame length counter */
371 ushort sen_iaddr1; /* Individual address filter */
372 ushort sen_iaddr2;
373 ushort sen_iaddr3;
374 ushort sen_iaddr4;
375 ushort sen_boffcnt; /* Backoff counter */
380 ushort sen_taddrh; /* temp address (MSB) */
381 ushort sen_taddrm;
382 ushort sen_taddrl; /* temp address (LSB) */
388 #define SCCE_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */
389 #define SCCE_ENET_TXE ((ushort)0x0010) /* Transmit Error */
390 #define SCCE_ENET_RXF ((ushort)0x0008) /* Full frame received */
391 #define SCCE_ENET_BSY ((ushort)0x0004) /* All incoming buffers full */
392 #define SCCE_ENET_TXB ((ushort)0x0002) /* A buffer was transmitted */
393 #define SCCE_ENET_RXB ((ushort)0x0001) /* A buffer was received */
397 #define SCC_PSMR_HBC ((ushort)0x8000) /* Enable heartbeat */
398 #define SCC_PSMR_FC ((ushort)0x4000) /* Force collision */
399 #define SCC_PSMR_RSH ((ushort)0x2000) /* Receive short frames */
400 #define SCC_PSMR_IAM ((ushort)0x1000) /* Check individual hash */
401 #define SCC_PSMR_ENCRC ((ushort)0x0800) /* Ethernet CRC mode */
402 #define SCC_PSMR_PRO ((ushort)0x0200) /* Promiscuous mode */
403 #define SCC_PSMR_BRO ((ushort)0x0100) /* Catch broadcast pkts */
404 #define SCC_PSMR_SBT ((ushort)0x0080) /* Special backoff timer */
405 #define SCC_PSMR_LPB ((ushort)0x0040) /* Set Loopback mode */
406 #define SCC_PSMR_SIP ((ushort)0x0020) /* Sample Input Pins */
407 #define SCC_PSMR_LCW ((ushort)0x0010) /* Late collision window */
408 #define SCC_PSMR_NIB22 ((ushort)0x000a) /* Start frame search */
409 #define SCC_PSMR_FDE ((ushort)0x0001) /* Full duplex enable */
417 ushort scc_maxidl; /* Maximum idle chars */
418 ushort scc_idlc; /* temp idle counter */
419 ushort scc_brkcr; /* Break count register */
420 ushort scc_parec; /* receive parity error counter */
421 ushort scc_frmec; /* receive framing error counter */
422 ushort scc_nosec; /* receive noise counter */
423 ushort scc_brkec; /* receive break condition counter */
424 ushort scc_brkln; /* last received break length */
425 ushort scc_uaddr1; /* UART address character 1 */
426 ushort scc_uaddr2; /* UART address character 2 */
427 ushort scc_rtemp; /* Temp storage */
428 ushort scc_toseq; /* Transmit out of sequence char */
429 ushort scc_char1; /* control character 1 */
430 ushort scc_char2; /* control character 2 */
431 ushort scc_char3; /* control character 3 */
432 ushort scc_char4; /* control character 4 */
433 ushort scc_char5; /* control character 5 */
434 ushort scc_char6; /* control character 6 */
435 ushort scc_char7; /* control character 7 */
436 ushort scc_char8; /* control character 8 */
437 ushort scc_rccm; /* receive control character mask */
438 ushort scc_rccr; /* receive control character register */
439 ushort scc_rlbc; /* receive last break character */
444 #define UART_SCCM_GLR ((ushort)0x1000)
445 #define UART_SCCM_GLT ((ushort)0x0800)
446 #define UART_SCCM_AB ((ushort)0x0200)
447 #define UART_SCCM_IDL ((ushort)0x0100)
448 #define UART_SCCM_GRA ((ushort)0x0080)
449 #define UART_SCCM_BRKE ((ushort)0x0040)
450 #define UART_SCCM_BRKS ((ushort)0x0020)
451 #define UART_SCCM_CCR ((ushort)0x0008)
452 #define UART_SCCM_BSY ((ushort)0x0004)
453 #define UART_SCCM_TX ((ushort)0x0002)
454 #define UART_SCCM_RX ((ushort)0x0001)
458 #define SCU_PSMR_FLC ((ushort)0x8000)
459 #define SCU_PSMR_SL ((ushort)0x4000)
460 #define SCU_PSMR_CL ((ushort)0x3000)
461 #define SCU_PSMR_UM ((ushort)0x0c00)
462 #define SCU_PSMR_FRZ ((ushort)0x0200)
463 #define SCU_PSMR_RZS ((ushort)0x0100)
464 #define SCU_PSMR_SYN ((ushort)0x0080)
465 #define SCU_PSMR_DRT ((ushort)0x0040)
466 #define SCU_PSMR_PEN ((ushort)0x0010)
467 #define SCU_PSMR_RPM ((ushort)0x000c)
468 #define SCU_PSMR_REVP ((ushort)0x0008)
469 #define SCU_PSMR_TPM ((ushort)0x0003)
470 #define SCU_PSMR_TEVP ((ushort)0x0002)
514 ushort fcc_riptr; /* Rx Internal temp pointer */
515 ushort fcc_tiptr; /* Tx Internal temp pointer */
516 ushort fcc_res1;
517 ushort fcc_mrblr; /* Max receive buffer length, mod 32 bytes */
520 ushort fcc_rbdstat; /* RxBD status */
521 ushort fcc_rbdlen; /* RxBD down counter */
525 ushort fcc_tbdstat; /* TxBD status */
526 ushort fcc_tbdlen; /* TxBD down counter */
547 ushort fen_retlim; /* Retry limit */
548 ushort fen_retcnt; /* Retry counter */
549 ushort fen_pper; /* Persistence */
550 ushort fen_boffcnt; /* backoff counter */
553 ushort fen_tfcstat; /* out of sequence TxBD */
554 ushort fen_tfclen;
556 ushort fen_mflr; /* Maximum frame length (1518) */
557 ushort fen_paddrh; /* MAC address */
558 ushort fen_paddrm;
559 ushort fen_paddrl;
560 ushort fen_ibdcount; /* Internal BD counter */
561 ushort fen_ibdstart; /* Internal BD start pointer */
562 ushort fen_ibdend; /* Internal BD end pointer */
563 ushort fen_txlen; /* Internal Tx frame length counter */
567 ushort fen_minflr; /* Minimum frame length (64) */
568 ushort fen_taddrh; /* Filter transfer MAC address */
569 ushort fen_taddrm;
570 ushort fen_taddrl;
571 ushort fen_padptr; /* Pointer to pad byte buffer */
572 ushort fen_cftype; /* control frame type */
573 ushort fen_cfrange; /* control frame range */
574 ushort fen_maxb; /* maximum BD count */
575 ushort fen_maxd1; /* Max DMA1 length (1520) */
576 ushort fen_maxd2; /* Max DMA2 length (1520) */
577 ushort fen_maxd; /* internal max DMA count */
578 ushort fen_dmacnt; /* internal DMA counter */
594 ushort fen_rfthr; /* Received frames threshold */
595 ushort fen_rfcnt; /* Received frames count */
600 #define FCC_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */
601 #define FCC_ENET_RXC ((ushort)0x0040) /* Control Frame Received */
602 #define FCC_ENET_TXC ((ushort)0x0020) /* Out of seq. Tx sent */
603 #define FCC_ENET_TXE ((ushort)0x0010) /* Transmit Error */
604 #define FCC_ENET_RXF ((ushort)0x0008) /* Full frame received */
605 #define FCC_ENET_BSY ((ushort)0x0004) /* Busy. Rx Frame dropped */
606 #define FCC_ENET_TXB ((ushort)0x0002) /* A buffer was transmitted */
607 #define FCC_ENET_RXB ((ushort)0x0001) /* A buffer was received */
628 ushort iic_rbase; /* Rx Buffer descriptor base address */
629 ushort iic_tbase; /* Tx Buffer descriptor base address */
632 ushort iic_mrblr; /* Max receive buffer length */
635 ushort iic_rbptr; /* Internal */
636 ushort iic_rbc; /* Internal */
640 ushort iic_tbptr; /* Internal */
641 ushort iic_tbc; /* Internal */
648 ushort ibase; /* IDMA buffer descriptor table base address */
649 ushort dcm; /* DMA channel mode */
650 ushort ibdptr; /* IDMA current buffer descriptor pointer */
651 ushort dpr_buf; /* IDMA transfer buffer base address */
652 ushort buf_inv; /* internal buffer inventory */
653 ushort ss_max; /* steady-state maximum transfer size */
654 ushort dpr_in_ptr; /* write pointer inside the internal buffer */
655 ushort sts; /* source transfer size */
656 ushort dpr_out_ptr; /* read pointer inside the internal buffer */
657 ushort seob; /* source end of burst */
658 ushort deob; /* destination end of burst */
659 ushort dts; /* destination transfer size */
660 ushort ret_add; /* return address when working in ERM=1 mode */
661 ushort res0; /* reserved */
671 #define IDMA_DCM_FB ((ushort)0x8000) /* fly-by mode */
672 #define IDMA_DCM_LP ((ushort)0x4000) /* low priority */
673 #define IDMA_DCM_TC2 ((ushort)0x0400) /* value driven on TC[2] */
674 #define IDMA_DCM_DMA_WRAP_MASK ((ushort)0x01c0) /* mask for DMA wrap */
675 #define IDMA_DCM_DMA_WRAP_64 ((ushort)0x0000) /* 64-byte DMA xfer buffer */
676 #define IDMA_DCM_DMA_WRAP_128 ((ushort)0x0040) /* 128-byte DMA xfer buffer */
677 #define IDMA_DCM_DMA_WRAP_256 ((ushort)0x0080) /* 256-byte DMA xfer buffer */
678 #define IDMA_DCM_DMA_WRAP_512 ((ushort)0x00c0) /* 512-byte DMA xfer buffer */
679 #define IDMA_DCM_DMA_WRAP_1024 ((ushort)0x0100) /* 1024-byte DMA xfer buffer */
680 #define IDMA_DCM_DMA_WRAP_2048 ((ushort)0x0140) /* 2048-byte DMA xfer buffer */
681 #define IDMA_DCM_SINC ((ushort)0x0020) /* source inc addr */
682 #define IDMA_DCM_DINC ((ushort)0x0010) /* destination inc addr */
683 #define IDMA_DCM_ERM ((ushort)0x0008) /* external request mode */
684 #define IDMA_DCM_DT ((ushort)0x0004) /* DONE treatment */
685 #define IDMA_DCM_SD_MASK ((ushort)0x0003) /* mask for SD bit field */
686 #define IDMA_DCM_SD_MEM2MEM ((ushort)0x0000) /* memory-to-memory xfer */
687 #define IDMA_DCM_SD_PER2MEM ((ushort)0x0002) /* peripheral-to-memory xfer */
688 #define IDMA_DCM_SD_MEM2PER ((ushort)0x0001) /* memory-to-peripheral xfer */