Lines Matching refs:tx_seq
453 u8 tx_seq; /* Transmit sequence number (next) */ member
673 return (bus->tx_max - bus->tx_seq - tx_rsv) != 0 && in data_ok()
674 ((bus->tx_max - bus->tx_seq - tx_rsv) & 0x80) == 0; in data_ok()
681 return (bus->tx_max - bus->tx_seq) != 0 && in txctl_ok()
682 ((bus->tx_max - bus->tx_seq) & 0x80) == 0; in txctl_ok()
1460 if ((u8)(tx_seq_max - bus->tx_seq) > 0x40) { in brcmf_sdio_hdparse()
1462 tx_seq_max = bus->tx_seq + 2; in brcmf_sdio_hdparse()
2185 txseq = bus->tx_seq; in brcmf_sdio_txpkt_prep()
2310 bus->tx_seq = (bus->tx_seq + pktq->qlen) % SDPCM_SEQ_WRAP; in brcmf_sdio_txpkt()
2337 pkt_num = min_t(u8, bus->tx_max - bus->tx_seq, in brcmf_sdio_sendfromq()
2420 hd_info.seq_num = bus->tx_seq; in brcmf_sdio_tx_ctrlframe()
2440 bus->tx_seq = (bus->tx_seq + 1) % SDPCM_SEQ_WRAP; in brcmf_sdio_tx_ctrlframe()
2525 bus->tx_seq = bus->rx_seq = 0; in brcmf_sdio_bus_stop()
4438 bus->tx_seq = SDPCM_SEQ_WRAP - 1; in brcmf_sdio_probe()