Home
last modified time | relevance | path

Searched refs:ch_equeue (Results 1 – 10 of 10) sorted by relevance

/drivers/tty/serial/jsm/
Djsm_tty.c222 if (!channel->ch_equeue) { in jsm_tty_open()
223 channel->ch_equeue = kzalloc(EQUEUESIZE, GFP_KERNEL); in jsm_tty_open()
224 if (!channel->ch_equeue) { in jsm_tty_open()
625 if (*(ch->ch_equeue +tail +i) & UART_LSR_BI) in jsm_input()
627 else if (*(ch->ch_equeue +tail +i) & UART_LSR_PE) in jsm_input()
629 else if (*(ch->ch_equeue +tail +i) & UART_LSR_FE) in jsm_input()
Djsm_cls.c431 ch->ch_equeue[head] = linestatus & (UART_LSR_BI | UART_LSR_PE in cls_copy_data_from_uart_to_queue()
437 if (ch->ch_equeue[head] & UART_LSR_PE) in cls_copy_data_from_uart_to_queue()
439 if (ch->ch_equeue[head] & UART_LSR_BI) in cls_copy_data_from_uart_to_queue()
441 if (ch->ch_equeue[head] & UART_LSR_FE) in cls_copy_data_from_uart_to_queue()
Djsm_neo.c383 memset(ch->ch_equeue + head, 0, n); in neo_copy_data_from_uart_to_queue()
455 ch->ch_rqueue[tail], ch->ch_equeue[tail]); in neo_copy_data_from_uart_to_queue()
463 ch->ch_equeue[head] = (u8) linestatus; in neo_copy_data_from_uart_to_queue()
466 ch->ch_rqueue[head], ch->ch_equeue[head]); in neo_copy_data_from_uart_to_queue()
Djsm.h234 u8 *ch_equeue; /* Our error queue buffer - malloc'ed */ member
Djsm_driver.c297 kfree(brd->channels[i]->ch_equeue); in jsm_remove_one()
/drivers/staging/dgnc/
Ddgnc_cls.c370 ch->ch_equeue[head] = linestatus & (UART_LSR_BI | UART_LSR_PE in cls_copy_data_from_uart_to_queue()
376 if (ch->ch_equeue[head] & UART_LSR_PE) in cls_copy_data_from_uart_to_queue()
378 if (ch->ch_equeue[head] & UART_LSR_BI) in cls_copy_data_from_uart_to_queue()
380 if (ch->ch_equeue[head] & UART_LSR_FE) in cls_copy_data_from_uart_to_queue()
Ddgnc_driver.h339 unsigned char *ch_equeue; /* Our error queue buffer - malloc'ed */ member
Ddgnc_tty.c571 unsigned char *ch_pos = ch->ch_equeue + tail; in dgnc_input()
1081 if (!ch->ch_equeue) in dgnc_tty_open()
1082 ch->ch_equeue = kzalloc(EQUEUESIZE, GFP_KERNEL); in dgnc_tty_open()
1086 if (!ch->ch_rqueue || !ch->ch_equeue || !ch->ch_wqueue) { in dgnc_tty_open()
1088 kfree(ch->ch_equeue); in dgnc_tty_open()
Ddgnc_driver.c372 kfree(brd->channels[i]->ch_equeue); in dgnc_cleanup_board()
Ddgnc_neo.c1190 memset(ch->ch_equeue + head, 0, n); in neo_copy_data_from_uart_to_queue()
1270 ch->ch_equeue[head] = (unsigned char)linestatus; in neo_copy_data_from_uart_to_queue()