Home
last modified time | relevance | path

Searched refs:tx_state (Results 1 – 13 of 13) sorted by relevance

/drivers/bluetooth/
Dbluecard_cs.c76 unsigned long tx_state; member
228 if (!test_bit(XMIT_SENDING_READY, &(info->tx_state))) in bluecard_write_wakeup()
231 if (test_and_set_bit(XMIT_SENDING, &(info->tx_state))) { in bluecard_write_wakeup()
232 set_bit(XMIT_WAKEUP, &(info->tx_state)); in bluecard_write_wakeup()
244 clear_bit(XMIT_WAKEUP, &(info->tx_state)); in bluecard_write_wakeup()
249 if (test_bit(XMIT_BUFFER_NUMBER, &(info->tx_state))) { in bluecard_write_wakeup()
250 if (!test_bit(XMIT_BUF_TWO_READY, &(info->tx_state))) in bluecard_write_wakeup()
256 if (!test_bit(XMIT_BUF_ONE_READY, &(info->tx_state))) in bluecard_write_wakeup()
282 clear_bit(ready_bit, &(info->tx_state)); in bluecard_write_wakeup()
337 change_bit(XMIT_BUFFER_NUMBER, &(info->tx_state)); in bluecard_write_wakeup()
[all …]
Ddtl1_cs.c80 unsigned long tx_state; member
143 if (test_bit(XMIT_WAITING, &(info->tx_state))) { in dtl1_write_wakeup()
144 set_bit(XMIT_WAKEUP, &(info->tx_state)); in dtl1_write_wakeup()
148 if (test_and_set_bit(XMIT_SENDING, &(info->tx_state))) { in dtl1_write_wakeup()
149 set_bit(XMIT_WAKEUP, &(info->tx_state)); in dtl1_write_wakeup()
158 clear_bit(XMIT_WAKEUP, &(info->tx_state)); in dtl1_write_wakeup()
170 set_bit(XMIT_WAITING, &(info->tx_state)); in dtl1_write_wakeup()
179 } while (test_bit(XMIT_WAKEUP, &(info->tx_state))); in dtl1_write_wakeup()
181 clear_bit(XMIT_SENDING, &(info->tx_state)); in dtl1_write_wakeup()
198 clear_bit(XMIT_WAITING, &(info->tx_state)); in dtl1_control()
[all …]
Dbtuart_cs.c77 unsigned long tx_state; member
141 if (test_and_set_bit(XMIT_SENDING, &(info->tx_state))) { in btuart_write_wakeup()
142 set_bit(XMIT_WAKEUP, &(info->tx_state)); in btuart_write_wakeup()
151 clear_bit(XMIT_WAKEUP, &(info->tx_state)); in btuart_write_wakeup()
161 set_bit(XMIT_WAKEUP, &(info->tx_state)); in btuart_write_wakeup()
172 } while (test_bit(XMIT_WAKEUP, &(info->tx_state))); in btuart_write_wakeup()
174 clear_bit(XMIT_SENDING, &(info->tx_state)); in btuart_write_wakeup()
Dhci_ldisc.c127 if (test_and_set_bit(HCI_UART_SENDING, &hu->tx_state)) { in hci_uart_tx_wakeup()
128 set_bit(HCI_UART_TX_WAKEUP, &hu->tx_state); in hci_uart_tx_wakeup()
135 clear_bit(HCI_UART_TX_WAKEUP, &hu->tx_state); in hci_uart_tx_wakeup()
154 if (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)) in hci_uart_tx_wakeup()
157 clear_bit(HCI_UART_SENDING, &hu->tx_state); in hci_uart_tx_wakeup()
Dbt3c_cs.c82 unsigned long tx_state; member
189 if (test_and_set_bit(XMIT_SENDING, &(info->tx_state))) in bt3c_write_wakeup()
202 clear_bit(XMIT_SENDING, &(info->tx_state)); in bt3c_write_wakeup()
370 clear_bit(XMIT_SENDING, &(info->tx_state)); in bt3c_interrupt()
Dhci_uart.h65 unsigned long tx_state; member
/drivers/net/hamradio/
Dyam.c135 int tx_state; member
562 if ((yp->tx_state == TX_TAIL) || (yp->txd == 0)) in yam_start_tx()
566 yp->tx_state = TX_HEAD; in yam_start_tx()
574 if (yp->magic != YAM_MAGIC || yp->tx_state != TX_OFF || in yam_arbitrate()
620 switch (yp->tx_state) { in yam_tx_byte()
627 yp->tx_state = TX_OFF; in yam_tx_byte()
630 yp->tx_state = TX_DATA; in yam_tx_byte()
648 yp->tx_state = TX_DATA; in yam_tx_byte()
658 yp->tx_state = TX_CRC1; in yam_tx_byte()
665 yp->tx_state = TX_CRC2; in yam_tx_byte()
[all …]
Dscc.c397 scc->stat.tx_state = TXS_ACTIVE; in scc_txint()
418 scc->stat.tx_state = TXS_NEWFRAME; /* next frame... */ in scc_txint()
494 if (scc->stat.tx_state == TXS_ACTIVE && (status & TxEOM)) in scc_exint()
1069 scc->stat.tx_state = TXS_IDLE2; in scc_tx_done()
1077 scc->stat.tx_state = TXS_BUSY; in scc_tx_done()
1127 if (scc->stat.tx_state == TXS_WAIT) /* maxkeyup or idle timeout */ in t_dwait()
1130 scc->stat.tx_state = TXS_IDLE; in t_dwait()
1135 scc->stat.tx_state = TXS_BUSY; in t_dwait()
1196 if (scc->stat.tx_state == TXS_TIMEOUT) /* we had a timeout? */ in t_tail()
1198 scc->stat.tx_state = TXS_WAIT; in t_tail()
[all …]
Dhdlcdrv.c286 switch (s->hdlctx.tx_state) { in hdlcdrv_transmitter()
299 if (s->hdlctx.tx_state == 1) { in hdlcdrv_transmitter()
307 s->hdlctx.tx_state = 1; in hdlcdrv_transmitter()
315 s->hdlctx.tx_state = 0; in hdlcdrv_transmitter()
327 s->hdlctx.tx_state = 2; in hdlcdrv_transmitter()
333 s->hdlctx.tx_state = 0; in hdlcdrv_transmitter()
367 s->hdlctx.tx_state = 0; in start_tx()
470 s->hdlctx.tx_state = 1; in hdlcdrv_open()
657 s->hdlctx.tx_state = 1; in hdlcdrv_setup()
/drivers/usb/host/
Dfhci-tds.c269 out_be32(&ep->ep_pram_ptr->tx_state, 0); in fhci_init_ep_registers()
516 out_be32(&ep->ep_pram_ptr->tx_state, 0); in fhci_flush_bds()
566 out_be32(&ep->ep_pram_ptr->tx_state, 0); in fhci_flush_actual_frame()
Dfhci.h219 __be32 tx_state; /* Tx internal state */ member
/drivers/serial/
Ducc_uart.c128 __be16 tx_state; /* 0xC6, TX state */ member
731 out_be16(&uccup->tx_state, 0); in qe_uart_init_ucc()
/drivers/net/netxen/
Dnetxen_nic_ctx.c381 adapter->tx_state = in nx_fw_cmd_create_tx_ctx()