Lines Matching refs:ts
439 * @ts: The &struct ath5k_tx_status
444 struct ath5k_tx_status *ts)
457 ts->ts_tstamp = AR5K_REG_MS(tx_status->tx_status_0,
459 ts->ts_shortretry = AR5K_REG_MS(tx_status->tx_status_0,
461 ts->ts_final_retry = AR5K_REG_MS(tx_status->tx_status_0,
463 /*TODO: ts->ts_virtcol + test*/
464 ts->ts_seqnum = AR5K_REG_MS(tx_status->tx_status_1,
466 ts->ts_rssi = AR5K_REG_MS(tx_status->tx_status_1,
468 ts->ts_antenna = 1;
469 ts->ts_status = 0;
470 ts->ts_final_idx = 0;
475 ts->ts_status |= AR5K_TXERR_XRETRY;
478 ts->ts_status |= AR5K_TXERR_FIFO;
481 ts->ts_status |= AR5K_TXERR_FILT;
491 * @ts: The &struct ath5k_tx_status
496 struct ath5k_tx_status *ts)
514 ts->ts_tstamp = AR5K_REG_MS(txstat0,
516 ts->ts_shortretry = AR5K_REG_MS(txstat0,
518 ts->ts_final_retry = AR5K_REG_MS(txstat0,
520 ts->ts_seqnum = AR5K_REG_MS(txstat1,
522 ts->ts_rssi = AR5K_REG_MS(txstat1,
524 ts->ts_antenna = (txstat1 &
526 ts->ts_status = 0;
528 ts->ts_final_idx = AR5K_REG_MS(txstat1,
534 ts->ts_status |= AR5K_TXERR_XRETRY;
537 ts->ts_status |= AR5K_TXERR_FIFO;
540 ts->ts_status |= AR5K_TXERR_FILT;