Searched refs:xmit (Results 1 - 25 of 78) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/joystick/iforce/
H A Diforce-serio.c46 if (iforce->xmit.head == iforce->xmit.tail) {
56 serio_write(iforce->serio, iforce->xmit.buf[iforce->xmit.tail]);
57 cs ^= iforce->xmit.buf[iforce->xmit.tail];
58 XMIT_INC(iforce->xmit.tail, 1);
60 for (i=iforce->xmit.buf[iforce->xmit.tail]; i >= 0; --i) {
61 serio_write(iforce->serio, iforce->xmit
[all...]
H A Diforce-usb.c39 if (iforce->xmit.head == iforce->xmit.tail) {
45 ((char *)iforce->out->transfer_buffer)[0] = iforce->xmit.buf[iforce->xmit.tail];
46 XMIT_INC(iforce->xmit.tail, 1);
47 n = iforce->xmit.buf[iforce->xmit.tail];
48 XMIT_INC(iforce->xmit.tail, 1);
54 c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit
[all...]
H A Diforce-packets.c61 * Update head and tail of xmit buffer
65 head = iforce->xmit.head;
66 tail = iforce->xmit.tail;
70 warn("not enough space in xmit buffer to send new packet");
76 XMIT_INC(iforce->xmit.head, n+2);
79 * Store packet in xmit buffer
81 iforce->xmit.buf[head] = HI(cmd);
83 iforce->xmit.buf[head] = LO(cmd);
89 memcpy(&iforce->xmit.buf[head],
93 memcpy(&iforce->xmit
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Dsunhv.c46 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) argument
48 while (!uart_circ_empty(xmit)) {
49 long status = sun4v_con_putchar(xmit->buf[xmit->tail]);
54 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
59 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) argument
61 while (!uart_circ_empty(xmit)) {
62 unsigned long ra = __pa(xmit->buf + xmit
198 struct circ_buf *xmit; local
261 struct circ_buf *xmit = &port->info->xmit; local
[all...]
H A Dmux.c202 struct circ_buf *xmit = &port->info->xmit; local
211 if(uart_circ_empty(xmit) || uart_tx_stopped(port)) {
218 UART_PUT_CHAR(port, xmit->buf[xmit->tail]);
219 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
221 if(uart_circ_empty(xmit))
229 if(uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
232 if (uart_circ_empty(xmit))
[all...]
H A Dbfin_5xx.c219 struct circ_buf *xmit = &uart->port.info->xmit; local
233 if (uart_circ_empty(xmit) || uart_tx_stopped(&uart->port)) {
238 local_put_char(uart, xmit->buf[xmit->tail]);
239 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
242 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
245 if (uart_circ_empty(xmit))
284 struct circ_buf *xmit local
402 struct circ_buf *xmit = &uart->port.info->xmit; local
[all...]
H A Dv850e_uart.c250 struct circ_buf *xmit = &port->info->xmit;
259 } else if (!uart_circ_empty (xmit) && !stopped) {
260 tx_ch = xmit->buf[xmit->tail];
261 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
268 if (uart_circ_chars_pending (xmit) < WAKEUP_CHARS)
273 if (uart_circ_empty (xmit) || stopped)
402 /* Turn off xmit/rec
247 struct circ_buf *xmit = &port->info->xmit; local
[all...]
H A Dsn_console.c546 struct circ_buf *xmit; local
555 xmit = &port->sc_port.info->xmit;
564 if (uart_circ_empty(xmit) || uart_tx_stopped(&port->sc_port)) {
570 head = xmit->head;
571 tail = xmit->tail;
572 start = &xmit->buf[tail];
599 xmit->tail = tail;
600 start = &xmit->buf[tail];
605 if (uart_circ_chars_pending(xmit) < WAKEUP_CHAR
[all...]
H A D21285.c129 struct circ_buf *xmit = &port->info->xmit; local
138 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
144 *CSR_UARTDR = xmit->buf[xmit->tail];
145 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
147 if (uart_circ_empty(xmit))
151 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
154 if (uart_circ_empty(xmit))
[all...]
H A Dclps711x.c153 struct circ_buf *xmit = &port->info->xmit; local
162 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
169 clps_writel(xmit->buf[xmit->tail], UARTDR(port));
170 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
172 if (uart_circ_empty(xmit))
176 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
179 if (uart_circ_empty(xmit))
[all...]
H A Dnetx-serial.c145 struct circ_buf *xmit = &port->info->xmit; local
154 if (uart_tx_stopped(port) || uart_circ_empty(xmit)) {
160 /* send xmit->buf[xmit->tail]
162 writel(xmit->buf[xmit->tail], port->membase + UART_DR);
163 xmit->tail = (xmit->tail + 1) &
166 if (uart_circ_empty(xmit))
190 struct circ_buf *xmit = &port->info->xmit; local
[all...]
H A Dcrisv10.c493 /* number of characters left in xmit buffer before we ask for more */
1841 DFLOW(DEBUG_LOG(info->line, "XOFF rs_stop xmit %i\n",
1842 CIRC_CNT(info->xmit.head,
1843 info->xmit.tail,SERIAL_XMIT_SIZE)));
1865 DFLOW(DEBUG_LOG(info->line, "XOFF rs_start xmit %i\n",
1866 CIRC_CNT(info->xmit.head,
1867 info->xmit.tail,SERIAL_XMIT_SIZE)));
1876 info->xmit.head != info->xmit.tail && info->xmit
[all...]
H A Duartlite.c103 struct circ_buf *xmit = &port->info->xmit; local
115 if (uart_circ_empty(xmit) || uart_tx_stopped(port))
118 writeb(xmit->buf[xmit->tail], port->membase + ULITE_TX);
119 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1);
123 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
H A Dip22zilog.c375 struct circ_buf *xmit; local
387 * to poll on enough port->xmit space becomming free. -DaveM
418 xmit = &up->port.info->xmit;
419 if (uart_circ_empty(xmit))
425 writeb(xmit->buf[xmit->tail], &channel->data);
429 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
432 if (uart_circ_chars_pending(xmit) < WAKEUP_CHAR
610 struct circ_buf *xmit = &port->info->xmit; local
[all...]
H A Dm32r_sio.c135 * Here we define the default xmit fifo size used for each type of UART.
281 struct circ_buf *xmit = &up->port.info->xmit; local
286 serial_out(up, UART_TX, xmit->buf[xmit->tail]);
287 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
359 /* Recover the break flag from console xmit */
393 struct circ_buf *xmit = &up->port.info->xmit; local
[all...]
H A Ddz.c252 struct circ_buf *xmit; local
258 xmit = &dport->port.info->xmit;
267 if (uart_circ_empty(xmit) || uart_tx_stopped(&dport->port)) {
276 tmp = xmit->buf[xmit->tail];
277 xmit->tail = (xmit->tail + 1) & (DZ_XMIT_SIZE - 1);
281 if (uart_circ_chars_pending(xmit) < DZ_WAKEUP_CHARS)
285 if (uart_circ_empty(xmit))
[all...]
H A Dpnx8xxx_uart.c239 struct circ_buf *xmit = &sport->port.info->xmit; local
254 if (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port)) {
264 serial_out(sport, PNX8XXX_FIFO, xmit->buf[xmit->tail]);
265 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
267 if (uart_circ_empty(xmit))
271 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
274 if (uart_circ_empty(xmit))
[all...]
H A Dpxa.c142 /* Recover the break flag from console xmit */
168 struct circ_buf *xmit = &up->port.info->xmit; local
177 if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
184 serial_out(up, UART_TX, xmit->buf[xmit->tail]);
185 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
187 if (uart_circ_empty(xmit))
191 if (uart_circ_chars_pending(xmit) < WAKEUP_CHAR
[all...]
H A Dserial_ks8695.c167 struct circ_buf *xmit = &port->info->xmit; local
178 if (uart_tx_stopped(port) || uart_circ_empty(xmit)) {
184 while (!uart_circ_empty(xmit) && (count-- > 0)) {
186 UART_PUT_CHAR(port, xmit->buf[xmit->tail]);
188 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
192 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
195 if (uart_circ_empty(xmit))
[all...]
H A Dserial_lh7a40x.c183 struct circ_buf* xmit = &port->info->xmit; local
192 if (uart_circ_empty (xmit) || uart_tx_stopped (port)) {
203 UR (port, UART_R_DATA) = xmit->buf[xmit->tail];
204 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
206 if (uart_circ_empty(xmit))
211 if (uart_circ_chars_pending (xmit) < WAKEUP_CHARS)
214 if (uart_circ_empty (xmit))
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/hp/sim/
H A Dsimserial.c211 if (!tty || !info->xmit.buf) return;
214 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) {
218 info->xmit.buf[info->xmit.head] = ch;
219 info->xmit.head = (info->xmit.head + 1) & (SERIAL_XMIT_SIZE-1);
242 if (info->xmit.head == info->xmit.tail || info->tty->stopped || info->tty->hw_stopped) {
245 info->xmit
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/bt8xx/
H A Dbttv-i2c.c162 u32 xmit; local
170 xmit = (msg->addr << 25) | (msg->buf[0] << 16) | I2C_HW;
172 xmit |= BT878_I2C_NOSTOP;
173 btwrite(xmit, BT848_I2C);
181 if (!(xmit & BT878_I2C_NOSTOP))
187 xmit = (msg->buf[cnt] << 24) | I2C_HW | BT878_I2C_NOSTART;
189 xmit |= BT878_I2C_NOSTOP;
190 btwrite(xmit, BT848_I2C);
198 if (!(xmit & BT878_I2C_NOSTOP))
215 u32 xmit; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/4xx_io/
H A Dserial_sicc.c218 /* number of characters left in xmit buffer before we ask for more */
279 struct circ_buf xmit; member in struct:SICC_info
399 if (info->xmit.head != info->xmit.tail
400 && info->xmit.buf)
528 if (info->xmit.head == info->xmit.tail
538 writeb(info->xmit.buf[info->xmit.tail], port->uart_base+ BL_SICC_TBR);
539 info->xmit
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Damiserial.c100 /* number of characters left in xmit buffer before we ask for more */
200 if (info->xmit.head != info->xmit.tail
201 && info->xmit.buf
345 if (info->xmit.head == info->xmit.tail
354 custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100;
356 info->xmit.tail = info->xmit
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dohci1394.c765 DBGMSG("Iso xmit context info: header[%08x %08x]\n"
1884 struct ohci_iso_xmit *xmit; local
1889 xmit = kmalloc(sizeof(*xmit), GFP_KERNEL);
1890 if (!xmit)
1893 iso->hostdata = xmit;
1894 xmit->ohci = iso->host->hostdata;
1895 xmit->task_active = 0;
1897 dma_prog_region_init(&xmit->prog);
1901 if (dma_prog_region_alloc(&xmit
1929 struct ohci_iso_xmit *xmit = iso->hostdata; local
1945 struct ohci_iso_xmit *xmit = iso->hostdata; local
1961 struct ohci_iso_xmit *xmit = iso->hostdata; local
2005 struct ohci_iso_xmit *xmit = iso->hostdata; local
2101 struct ohci_iso_xmit *xmit = iso->hostdata; local
[all...]

Completed in 119 milliseconds

1234