Lines Matching refs:tx_seq
451 u8 tx_seq; /* Transmit sequence number (next) */ member
685 return (bus->tx_max - bus->tx_seq - tx_rsv) != 0 && in data_ok()
686 ((bus->tx_max - bus->tx_seq - tx_rsv) & 0x80) == 0; in data_ok()
693 return (bus->tx_max - bus->tx_seq) != 0 && in txctl_ok()
694 ((bus->tx_max - bus->tx_seq) & 0x80) == 0; in txctl_ok()
1472 if ((u8)(tx_seq_max - bus->tx_seq) > 0x40) { in brcmf_sdio_hdparse()
1474 tx_seq_max = bus->tx_seq + 2; in brcmf_sdio_hdparse()
2197 txseq = bus->tx_seq; in brcmf_sdio_txpkt_prep()
2322 bus->tx_seq = (bus->tx_seq + pktq->qlen) % SDPCM_SEQ_WRAP; in brcmf_sdio_txpkt()
2349 pkt_num = min_t(u8, bus->tx_max - bus->tx_seq, in brcmf_sdio_sendfromq()
2432 hd_info.seq_num = bus->tx_seq; in brcmf_sdio_tx_ctrlframe()
2452 bus->tx_seq = (bus->tx_seq + 1) % SDPCM_SEQ_WRAP; in brcmf_sdio_tx_ctrlframe()
2537 bus->tx_seq = bus->rx_seq = 0; in brcmf_sdio_bus_stop()
4470 bus->tx_seq = SDPCM_SEQ_WRAP - 1; in brcmf_sdio_probe()