Lines Matching refs:tx_seq
312 uint8 tx_seq; /* Transmit sequence number (next) */ member
653 return (((uint8)(bus->tx_max - bus->tx_seq) - bus->dhd->conf->tx_max_offset > 1) && \ in dhdsdio_is_dataok()
654 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0)); in dhdsdio_is_dataok()
659 return ((uint8)(bus->tx_max - bus->tx_seq) - 1 - bus->dhd->conf->tx_max_offset); in dhdsdio_get_databufcnt()
668 (((uint8)(bus->tx_max - bus->tx_seq) > 1) && \
669 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
674 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
675 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
682 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
2811 pkt_len = dhdsdio_txpkt_preprocess(bus, pkt, chan, bus->tx_seq + i, in dhdsdio_txpkt()
2864 bus->tx_seq = (bus->tx_seq + num_pkt) % SDPCM_SEQUENCE_WRAP; in dhdsdio_txpkt()
3066 if (*frame_seq != bus->tx_seq) { in dhdsdio_sendpendctl()
3069 __FUNCTION__, *frame_seq, bus->tx_seq)); in dhdsdio_sendpendctl()
3070 *frame_seq = bus->tx_seq; in dhdsdio_sendpendctl()
3077 bus->tx_seq = (bus->tx_seq + 1) % SDPCM_SEQUENCE_WRAP; in dhdsdio_sendpendctl()
3156 | bus->tx_seq in dhd_bus_txctl()
3172 | bus->tx_seq | ((doff << SDPCM_DOFFSET_SHIFT) & SDPCM_DOFFSET_MASK); in dhd_bus_txctl()
3180 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
3213 __FUNCTION__, bus->tx_max, bus->tx_seq, bus->clkstate)); in dhd_bus_txctl()
3602 bus->fcstate, pktq_n_pkts_tot(&bus->txq), bus->tx_seq, bus->tx_max, bus->rxskip, in dhd_bus_dump()
3907 if (bus->tx_seq != val) { in dhdsdio_txseq_sync()
3909 __FUNCTION__, bus->tx_seq, val)); in dhdsdio_txseq_sync()
3910 bus->tx_seq = val; in dhdsdio_txseq_sync()
3911 bus->tx_max = bus->tx_seq + 4; in dhdsdio_txseq_sync()
5840 bus->tx_seq = bus->rx_seq = 0; in dhd_bus_stop()
6569 if ((uint8)(txmax - bus->tx_seq) > 0x70) { in dhdsdio_rxglom()
6571 __FUNCTION__, txmax, bus->tx_seq)); in dhdsdio_rxglom()
7168 if ((uint8)(txmax - bus->tx_seq) > 0x70) { in dhdsdio_readframes()
7172 __FUNCTION__, txmax, bus->tx_seq)); in dhdsdio_readframes()
7173 txmax = bus->tx_seq + 2; in dhdsdio_readframes()
7177 __FUNCTION__, txmax, bus->tx_seq)); in dhdsdio_readframes()
7343 if ((uint8)(txmax - bus->tx_seq) > 0x70) { in dhdsdio_readframes()
7345 __FUNCTION__, txmax, bus->tx_seq)); in dhdsdio_readframes()
8909 __FUNCTION__, bus->tx_max, bus->tx_seq, pktq_n_pkts_tot(&bus->txq))); in dhd_bus_console_in()
9000 __FUNCTION__, bus->cons_cmd, bus->tx_max, bus->tx_seq, pktq_n_pkts_tot(&bus->txq))); in dhd_bus_txcons()
9007 __FUNCTION__, bus->cons_cmd, bus->tx_max, bus->tx_seq, pktq_n_pkts_tot(&bus->txq))); in dhd_bus_txcons()
9213 bus->tx_seq = SDPCM_SEQUENCE_WRAP - 1; in dhdsdio_probe()
11848 ((dhd_bus_t*)bus)->tx_seq = (((dhd_bus_t*)bus)->tx_seq + 1) % SDPCM_SEQUENCE_WRAP; in dhd_bcmsdh_send_buffer()