Home
last modified time | relevance | path

Searched refs:ushort (Results 1 – 25 of 138) sorted by relevance

123456

/linux-3.4.99/arch/m68k/include/asm/
Dcommproc.h22 #define CPM_CR_RST ((ushort)0x8000)
23 #define CPM_CR_OPCODE ((ushort)0x0f00)
24 #define CPM_CR_CHAN ((ushort)0x00f0)
25 #define CPM_CR_FLG ((ushort)0x0001)
28 #define CPM_CR_INIT_TRX ((ushort)0x0000)
29 #define CPM_CR_INIT_RX ((ushort)0x0001)
30 #define CPM_CR_INIT_TX ((ushort)0x0002)
31 #define CPM_CR_HUNT_MODE ((ushort)0x0003)
32 #define CPM_CR_STOP_TX ((ushort)0x0004)
33 #define CPM_CR_GRSTOP_TX ((ushort)0x0005)
[all …]
Dm68360_regs.h267 #define PA_RXD1 ((ushort)0x0001)
268 #define PA_TXD1 ((ushort)0x0002)
269 #define PA_RXD2 ((ushort)0x0004)
270 #define PA_TXD2 ((ushort)0x0008)
271 #define PA_RXD3 ((ushort)0x0010)
272 #define PA_TXD3 ((ushort)0x0020)
273 #define PA_RXD4 ((ushort)0x0040)
274 #define PA_TXD4 ((ushort)0x0080)
276 #define PA_CLK1 ((ushort)0x0100)
277 #define PA_CLK2 ((ushort)0x0200)
[all …]
/linux-3.4.99/arch/powerpc/include/asm/
Dcpm1.h27 #define CPM_CR_RST ((ushort)0x8000)
28 #define CPM_CR_OPCODE ((ushort)0x0f00)
29 #define CPM_CR_CHAN ((ushort)0x00f0)
30 #define CPM_CR_FLG ((ushort)0x0001)
34 #define CPM_CR_CH_SCC1 ((ushort)0x0000)
35 #define CPM_CR_CH_I2C ((ushort)0x0001) /* I2C and IDMA1 */
36 #define CPM_CR_CH_SCC2 ((ushort)0x0004)
37 #define CPM_CR_CH_SPI ((ushort)0x0005) /* SPI / IDMA2 / Timers */
39 #define CPM_CR_CH_SCC3 ((ushort)0x0008)
40 #define CPM_CR_CH_SMC1 ((ushort)0x0009) /* SMC1 / DSP1 */
[all …]
Dcpm2.h73 #define CPM_CR_START_IDMA ((ushort)0x0009)
167 ushort smc_rbase; /* Rx Buffer descriptor base address */
168 ushort smc_tbase; /* Tx Buffer descriptor base address */
171 ushort smc_mrblr; /* Max receive buffer length */
174 ushort smc_rbptr; /* Internal */
175 ushort smc_ibc; /* Internal */
179 ushort smc_tbptr; /* Internal */
180 ushort smc_tbc; /* Internal */
182 ushort smc_maxidl; /* Maximum idle characters */
183 ushort smc_tmpidl; /* Temporary idle counter */
[all …]
D8xx_immap.h23 ushort sc_swsr;
89 ushort memc_mstat;
90 ushort memc_mptpr;
150 ushort sit_tbscr;
155 ushort sit_rtcsc;
161 ushort sit_piscr;
168 #define TBSCR_TBIRQ_MASK ((ushort)0xff00)
169 #define TBSCR_REFA ((ushort)0x0080)
170 #define TBSCR_REFB ((ushort)0x0040)
171 #define TBSCR_REFAE ((ushort)0x0008)
[all …]
Dcpm.h73 #define CPM_CR_INIT_TRX ((ushort)0x0000)
74 #define CPM_CR_INIT_RX ((ushort)0x0001)
75 #define CPM_CR_INIT_TX ((ushort)0x0002)
76 #define CPM_CR_HUNT_MODE ((ushort)0x0003)
77 #define CPM_CR_STOP_TX ((ushort)0x0004)
78 #define CPM_CR_GRA_STOP_TX ((ushort)0x0005)
79 #define CPM_CR_RESTART_TX ((ushort)0x0006)
80 #define CPM_CR_CLOSE_RX_BD ((ushort)0x0007)
81 #define CPM_CR_SET_GADDR ((ushort)0x0008)
82 #define CPM_CR_SET_TIMER ((ushort)0x0008)
[all …]
/linux-3.4.99/drivers/net/ethernet/freescale/
Dfec.h104 #define BD_SC_EMPTY ((ushort)0x8000) /* Receive is empty */
105 #define BD_SC_READY ((ushort)0x8000) /* Transmit is ready */
106 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */
107 #define BD_SC_INTRPT ((ushort)0x1000) /* Interrupt on change */
108 #define BD_SC_CM ((ushort)0x0200) /* Continuous mode */
109 #define BD_SC_ID ((ushort)0x0100) /* Rec'd too many idles */
110 #define BD_SC_P ((ushort)0x0100) /* xmt preamble */
111 #define BD_SC_BR ((ushort)0x0020) /* Break received */
112 #define BD_SC_FR ((ushort)0x0010) /* Framing error */
113 #define BD_SC_PR ((ushort)0x0008) /* Parity error */
[all …]
/linux-3.4.99/drivers/scsi/
Dadvansys.c323 ushort vm_id;
339 ushort x_req_count;
340 ushort x_reconnect_rtn;
363 ushort entry_cnt;
364 ushort queue_cnt;
365 ushort entry_to_copy;
366 ushort res;
375 ushort remain_sg_entry_cnt;
376 ushort next_sg_index;
529 ushort mcode_date;
[all …]
Deata.c647 ushort cp_pad_len; /* Number of pad bytes after cp_len */
651 ushort queue_size; /* Max number of cp that can be queued */
652 ushort unused;
653 ushort scatt_size; /* Max number of entries in scatter/gather table */
703 ushort ipad[247];
708 ushort len; /* Number of bytes following this field */
1012 static int read_pio(unsigned long iobase, ushort * start, ushort * end) in read_pio()
1015 ushort *p; in read_pio()
1111 if (read_pio(port_base, (ushort *) & info, (ushort *) & info.ipad[0])) { in port_detect()
1253 cf->len = (ushort) H2DEV16((ushort) 510); in port_detect()
[all …]
/linux-3.4.99/drivers/isdn/pcbit/
Dcapi.c56 ushort len; in capi_conn_req()
86 *((ushort *)skb_put(*skb, 2)) = AppInfoMask; in capi_conn_req()
143 *((ushort *)skb_put(*skb, 2)) = chan->callref; in capi_conn_resp()
163 *((ushort *)skb_put(*skb, 2)) = chan->callref; in capi_conn_active_req()
191 *((ushort *)skb_put(*skb, 2)) = chan->callref; in capi_conn_active_resp()
211 *((ushort *)skb_put(*skb, 2)) = chan->callref; in capi_select_proto_req()
239 *((ushort *) skb_put(*skb, 2)) = MRU; in capi_select_proto_req()
272 *((ushort *)skb_put(*skb, 2)) = chan->callref; in capi_activate_transp_req()
278 *((ushort *) skb_put(*skb, 2)) = MRU; in capi_activate_transp_req()
287 ushort data_len; in capi_tdata_req()
[all …]
Dpcbit.h61 ushort ll_hdrlen;
62 ushort hl_hdrlen;
85 ushort loadptr;
120 ushort addr;
121 ushort value;
173 ushort hdr_len, ushort refnum);
Dcapi.h56 extern int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause);
62 extern int capi_decode_debug_188(u_char *hdr, ushort hdrlen);
68 ushort callref; in capi_channel()
70 callref = *((ushort *)skb->data); in capi_channel()
Dcallbacks.c35 ushort last_ref_num = 1;
47 ushort refnum; in cb_out_1()
90 ushort refnum; in cb_out_2()
247 ushort refnum; in cb_disc_1()
276 ushort refnum; in cb_disc_2()
319 ushort refnum; in cb_selp_1()
/linux-3.4.99/drivers/staging/slicoss/
Dslic.h108 ushort index;
109 ushort bottombits; /* to denote num bufs to card */
117 ushort type;
119 ushort offset;
144 ushort numbufs;
290 ushort ether_type;
329 ushort reg_type[32];
330 ushort reg_offset[32];
419 ushort vendid;
420 ushort devid;
[all …]
/linux-3.4.99/drivers/media/video/
Dsaa7146.h40 ushort width, height;
41 ushort bpp, bpl;
42 ushort swidth, sheight;
44 ushort cropwidth, cropheight;
47 ushort depth;
/linux-3.4.99/include/linux/
Dvt_kern.h70 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list);
71 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list);
101 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap()
106 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, in con_get_unimap()
/linux-3.4.99/drivers/net/ethernet/i825xx/
D3c507.c121 ushort rx_head;
122 ushort rx_tail;
123 ushort tx_head;
124 ushort tx_cmd_link;
125 ushort tx_reap;
126 ushort tx_pkts_in_ring;
372 ushort lrs_state = 0xff; in el16_probe1()
549 ushort ack_cmd = 0; in el16_interrupt()
771 ushort tx_block = lp->tx_head; in hardware_send_packet()
820 ushort rx_head = lp->rx_head; in el16_rx()
[all …]
Dznet.c134 ushort *rx_start, *rx_cur, *rx_end;
135 ushort *tx_start, *tx_cur, *tx_end;
136 ushort tx_buf_len; /* Tx buffer length, in words. */
510 ushort event, tx_status, rx_offset, state; in znet_tx_timeout()
561 ushort *tx_link = znet->tx_cur - 1; in znet_send_packet()
562 ushort rnd_len = (length + 1)>>1; in znet_send_packet()
613 ushort status = inb(ioaddr); in znet_interrupt()
615 ushort result, rx_ptr, running; in znet_interrupt()
737 ushort *this_rfp_ptr = znet->rx_start + next_frame_end_offset; in znet_rx()
/linux-3.4.99/drivers/block/aoe/
Daoe.h128 ushort maxbcnt;
133 ushort nframes;
137 ushort nout;
138 ushort maxout;
184 void aoecmd_cfg(ushort aoemajor, unsigned char aoeminor);
/linux-3.4.99/drivers/block/
Damiflop.c606 ushort adk; in raw_write()
664 ushort *ptr = (ushort *)raw, *endp = (ushort *)end; in scan_sync()
861 *(ushort *)ptr = (ptr[-1]&1) ? 0x2AA8 : 0xAAA8; in amiga_write()
932 static ushort dos_crc(void * data_a3, int data_d0, int data_d1, int data_d3) in dos_crc()
989 static inline ushort dos_hdr_crc (struct dos_header *hdr) in dos_hdr_crc()
994 static inline ushort dos_data_crc(unsigned char *data) in dos_data_crc()
999 static inline unsigned char dos_decode_byte(ushort word) in dos_decode_byte()
1001 register ushort w2; in dos_decode_byte()
1056 } while (*((ushort *)raw)!=0x5554); /* loop usually only once done */ in dos_read()
1058 raw = dos_decode((unsigned char *)&hdr,(ushort *) raw,8); in dos_read()
[all …]
/linux-3.4.99/arch/alpha/lib/
Dev6-csum_ipv6_magic.S134 extwl $1,2,$2 # U : ushort[1] (1 cycle stall on $1)
135 zapnot $1,3,$0 # U : ushort[0] (1 cycle stall on $1)
136 extwl $1,4,$1 # U : ushort[2] (1 cycle stall on $1)
141 extwl $3,2,$1 # U : ushort[1] (1 cycle stall on $3)
/linux-3.4.99/fs/xfs/
Dxfs_buf_item.h32 ushort blf_flags; /* misc state */
33 ushort blf_len; /* number of blocks in this buf */
/linux-3.4.99/drivers/net/ethernet/realtek/
Datp.h9 ushort pad; /* Pad. */
10 ushort rx_count;
11 ushort rx_status; /* Unknown bit assignments :-<. */
12 ushort cur_addr; /* Apparently the current buffer address(?) */
/linux-3.4.99/drivers/i2c/busses/
Di2c-cpm.c63 ushort rbase; /* Rx Buffer descriptor base address */
64 ushort tbase; /* Tx Buffer descriptor base address */
67 ushort mrblr; /* Max receive buffer length */
70 ushort rbptr; /* Rx Buffer descriptor pointer */
71 ushort rbc; /* Internal */
75 ushort tbptr; /* Tx Buffer descriptor pointer */
76 ushort tbc; /* Internal */
79 ushort rpbase; /* Relocation pointer */
/linux-3.4.99/drivers/tty/vt/
Dconsolemap.c341 int con_set_trans_new(ushort __user * arg) in con_set_trans_new()
359 int con_get_trans_new(ushort __user * arg) in con_get_trans_new()
514 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap()
672 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list) in con_get_unimap()

123456