Lines Matching refs:ushort

28 #define CPM_CR_RST	((ushort)0x8000)
29 #define CPM_CR_OPCODE ((ushort)0x0f00)
30 #define CPM_CR_CHAN ((ushort)0x00f0)
31 #define CPM_CR_FLG ((ushort)0x0001)
35 #define CPM_CR_CH_SCC1 ((ushort)0x0000)
36 #define CPM_CR_CH_I2C ((ushort)0x0001) /* I2C and IDMA1 */
37 #define CPM_CR_CH_SCC2 ((ushort)0x0004)
38 #define CPM_CR_CH_SPI ((ushort)0x0005) /* SPI / IDMA2 / Timers */
40 #define CPM_CR_CH_SCC3 ((ushort)0x0008)
41 #define CPM_CR_CH_SMC1 ((ushort)0x0009) /* SMC1 / DSP1 */
42 #define CPM_CR_CH_SCC4 ((ushort)0x000c)
43 #define CPM_CR_CH_SMC2 ((ushort)0x000d) /* SMC2 / DSP2 */
79 ushort smc_rbase; /* Rx Buffer descriptor base address */
80 ushort smc_tbase; /* Tx Buffer descriptor base address */
83 ushort smc_mrblr; /* Max receive buffer length */
86 ushort smc_rbptr; /* Internal */
87 ushort smc_ibc; /* Internal */
91 ushort smc_tbptr; /* Internal */
92 ushort smc_tbc; /* Internal */
94 ushort smc_maxidl; /* Maximum idle characters */
95 ushort smc_tmpidl; /* Temporary idle counter */
96 ushort smc_brklen; /* Last received break length */
97 ushort smc_brkec; /* rcv'd break condition counter */
98 ushort smc_brkcr; /* xmt break count register */
99 ushort smc_rmask; /* Temporary bit mask */
101 ushort smc_rpbase; /* Relocation pointer */
110 #define SMCMR_REN ((ushort)0x0001)
111 #define SMCMR_TEN ((ushort)0x0002)
112 #define SMCMR_DM ((ushort)0x000c)
113 #define SMCMR_SM_GCI ((ushort)0x0000)
114 #define SMCMR_SM_UART ((ushort)0x0020)
115 #define SMCMR_SM_TRANS ((ushort)0x0030)
116 #define SMCMR_SM_MASK ((ushort)0x0030)
117 #define SMCMR_PM_EVEN ((ushort)0x0100) /* Even parity, else odd */
119 #define SMCMR_PEN ((ushort)0x0200) /* Parity enable */
121 #define SMCMR_SL ((ushort)0x0400) /* Two stops, else one */
122 #define SMCR_CLEN_MASK ((ushort)0x7800) /* Character length */
131 ushort scent_rbase;
132 ushort scent_tbase;
135 ushort scent_mrblr;
138 ushort scent_rbptr;
139 ushort scent_r_cnt;
143 ushort scent_tbptr;
144 ushort scent_t_cnt;
146 ushort scent_max_sl;
147 ushort scent_sl_cnt;
148 ushort scent_character1;
149 ushort scent_character2;
150 ushort scent_character3;
151 ushort scent_character4;
152 ushort scent_character5;
153 ushort scent_character6;
154 ushort scent_character7;
155 ushort scent_character8;
156 ushort scent_rccm;
157 ushort scent_rccr;
280 #define SCC_TODR_TOD ((ushort)0x8000)
290 ushort scc_rbase; /* Rx Buffer descriptor base address */
291 ushort scc_tbase; /* Tx Buffer descriptor base address */
294 ushort scc_mrblr; /* Max receive buffer length */
297 ushort scc_rbptr; /* Internal */
298 ushort scc_ibc; /* Internal */
302 ushort scc_tbptr; /* Internal */
303 ushort scc_tbc; /* Internal */
322 ushort sen_pads; /* Tx short frame pad character */
323 ushort sen_retlim; /* Retry limit threshold */
324 ushort sen_retcnt; /* Retry limit counter */
325 ushort sen_maxflr; /* maximum frame length register */
326 ushort sen_minflr; /* minimum frame length register */
327 ushort sen_maxd1; /* maximum DMA1 length */
328 ushort sen_maxd2; /* maximum DMA2 length */
329 ushort sen_maxd; /* Rx max DMA */
330 ushort sen_dmacnt; /* Rx DMA counter */
331 ushort sen_maxb; /* Max BD byte count */
332 ushort sen_gaddr1; /* Group address filter */
333 ushort sen_gaddr2;
334 ushort sen_gaddr3;
335 ushort sen_gaddr4;
340 ushort sen_tbuf0bcnt; /* Internal */
341 ushort sen_paddrh; /* physical address (MSB) */
342 ushort sen_paddrm;
343 ushort sen_paddrl; /* physical address (LSB) */
344 ushort sen_pper; /* persistence */
345 ushort sen_rfbdptr; /* Rx first BD pointer */
346 ushort sen_tfbdptr; /* Tx first BD pointer */
347 ushort sen_tlbdptr; /* Tx last BD pointer */
352 ushort sen_tbuf1bcnt; /* Internal */
353 ushort sen_txlen; /* Tx Frame length counter */
354 ushort sen_iaddr1; /* Individual address filter */
355 ushort sen_iaddr2;
356 ushort sen_iaddr3;
357 ushort sen_iaddr4;
358 ushort sen_boffcnt; /* Backoff counter */
363 ushort sen_taddrh; /* temp address (MSB) */
364 ushort sen_taddrm;
365 ushort sen_taddrl; /* temp address (LSB) */
370 #define SCCE_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */
371 #define SCCE_ENET_TXE ((ushort)0x0010) /* Transmit Error */
372 #define SCCE_ENET_RXF ((ushort)0x0008) /* Full frame received */
373 #define SCCE_ENET_BSY ((ushort)0x0004) /* All incoming buffers full */
374 #define SCCE_ENET_TXB ((ushort)0x0002) /* A buffer was transmitted */
375 #define SCCE_ENET_RXB ((ushort)0x0001) /* A buffer was received */
379 #define SCC_PSMR_HBC ((ushort)0x8000) /* Enable heartbeat */
380 #define SCC_PSMR_FC ((ushort)0x4000) /* Force collision */
381 #define SCC_PSMR_RSH ((ushort)0x2000) /* Receive short frames */
382 #define SCC_PSMR_IAM ((ushort)0x1000) /* Check individual hash */
383 #define SCC_PSMR_ENCRC ((ushort)0x0800) /* Ethernet CRC mode */
384 #define SCC_PSMR_PRO ((ushort)0x0200) /* Promiscuous mode */
385 #define SCC_PSMR_BRO ((ushort)0x0100) /* Catch broadcast pkts */
386 #define SCC_PSMR_SBT ((ushort)0x0080) /* Special backoff timer */
387 #define SCC_PSMR_LPB ((ushort)0x0040) /* Set Loopback mode */
388 #define SCC_PSMR_SIP ((ushort)0x0020) /* Sample Input Pins */
389 #define SCC_PSMR_LCW ((ushort)0x0010) /* Late collision window */
390 #define SCC_PSMR_NIB22 ((ushort)0x000a) /* Start frame search */
391 #define SCC_PSMR_FDE ((ushort)0x0001) /* Full duplex enable */
398 ushort scc_maxidl; /* Maximum idle chars */
399 ushort scc_idlc; /* temp idle counter */
400 ushort scc_brkcr; /* Break count register */
401 ushort scc_parec; /* receive parity error counter */
402 ushort scc_frmec; /* receive framing error counter */
403 ushort scc_nosec; /* receive noise counter */
404 ushort scc_brkec; /* receive break condition counter */
405 ushort scc_brkln; /* last received break length */
406 ushort scc_uaddr1; /* UART address character 1 */
407 ushort scc_uaddr2; /* UART address character 2 */
408 ushort scc_rtemp; /* Temp storage */
409 ushort scc_toseq; /* Transmit out of sequence char */
410 ushort scc_char1; /* control character 1 */
411 ushort scc_char2; /* control character 2 */
412 ushort scc_char3; /* control character 3 */
413 ushort scc_char4; /* control character 4 */
414 ushort scc_char5; /* control character 5 */
415 ushort scc_char6; /* control character 6 */
416 ushort scc_char7; /* control character 7 */
417 ushort scc_char8; /* control character 8 */
418 ushort scc_rccm; /* receive control character mask */
419 ushort scc_rccr; /* receive control character register */
420 ushort scc_rlbc; /* receive last break character */
425 #define UART_SCCM_GLR ((ushort)0x1000)
426 #define UART_SCCM_GLT ((ushort)0x0800)
427 #define UART_SCCM_AB ((ushort)0x0200)
428 #define UART_SCCM_IDL ((ushort)0x0100)
429 #define UART_SCCM_GRA ((ushort)0x0080)
430 #define UART_SCCM_BRKE ((ushort)0x0040)
431 #define UART_SCCM_BRKS ((ushort)0x0020)
432 #define UART_SCCM_CCR ((ushort)0x0008)
433 #define UART_SCCM_BSY ((ushort)0x0004)
434 #define UART_SCCM_TX ((ushort)0x0002)
435 #define UART_SCCM_RX ((ushort)0x0001)
439 #define SCU_PSMR_FLC ((ushort)0x8000)
440 #define SCU_PSMR_SL ((ushort)0x4000)
441 #define SCU_PSMR_CL ((ushort)0x3000)
442 #define SCU_PSMR_UM ((ushort)0x0c00)
443 #define SCU_PSMR_FRZ ((ushort)0x0200)
444 #define SCU_PSMR_RZS ((ushort)0x0100)
445 #define SCU_PSMR_SYN ((ushort)0x0080)
446 #define SCU_PSMR_DRT ((ushort)0x0040)
447 #define SCU_PSMR_PEN ((ushort)0x0010)
448 #define SCU_PSMR_RPM ((ushort)0x000c)
449 #define SCU_PSMR_REVP ((ushort)0x0008)
450 #define SCU_PSMR_TPM ((ushort)0x0003)
451 #define SCU_PSMR_TEVP ((ushort)0x0002)
464 ushort iic_rbase; /* Rx Buffer descriptor base address */
465 ushort iic_tbase; /* Tx Buffer descriptor base address */
468 ushort iic_mrblr; /* Max receive buffer length */
471 ushort iic_rbptr; /* Internal */
472 ushort iic_rbc; /* Internal */
476 ushort iic_tbptr; /* Internal */
477 ushort iic_tbc; /* Internal */
480 ushort iic_rpbase; /* Relocation pointer */
518 #define CPMVEC_PIO_PC15 ((ushort)0x1f)
519 #define CPMVEC_SCC1 ((ushort)0x1e)
520 #define CPMVEC_SCC2 ((ushort)0x1d)
521 #define CPMVEC_SCC3 ((ushort)0x1c)
522 #define CPMVEC_SCC4 ((ushort)0x1b)
523 #define CPMVEC_PIO_PC14 ((ushort)0x1a)
524 #define CPMVEC_TIMER1 ((ushort)0x19)
525 #define CPMVEC_PIO_PC13 ((ushort)0x18)
526 #define CPMVEC_PIO_PC12 ((ushort)0x17)
527 #define CPMVEC_SDMA_CB_ERR ((ushort)0x16)
528 #define CPMVEC_IDMA1 ((ushort)0x15)
529 #define CPMVEC_IDMA2 ((ushort)0x14)
530 #define CPMVEC_TIMER2 ((ushort)0x12)
531 #define CPMVEC_RISCTIMER ((ushort)0x11)
532 #define CPMVEC_I2C ((ushort)0x10)
533 #define CPMVEC_PIO_PC11 ((ushort)0x0f)
534 #define CPMVEC_PIO_PC10 ((ushort)0x0e)
535 #define CPMVEC_TIMER3 ((ushort)0x0c)
536 #define CPMVEC_PIO_PC9 ((ushort)0x0b)
537 #define CPMVEC_PIO_PC8 ((ushort)0x0a)
538 #define CPMVEC_PIO_PC7 ((ushort)0x09)
539 #define CPMVEC_TIMER4 ((ushort)0x07)
540 #define CPMVEC_PIO_PC6 ((ushort)0x06)
541 #define CPMVEC_SPI ((ushort)0x05)
542 #define CPMVEC_SMC1 ((ushort)0x04)
543 #define CPMVEC_SMC2 ((ushort)0x03)
544 #define CPMVEC_PIO_PC5 ((ushort)0x02)
545 #define CPMVEC_PIO_PC4 ((ushort)0x01)
546 #define CPMVEC_ERROR ((ushort)0x00)