Searched refs:tx_state (Results 1 – 5 of 5) sorted by relevance
410 ql_get_tx_state(qla_host_t *ha, qla_drvr_state_tx_t *tx_state) in ql_get_tx_state() argument415 tx_state->base_p_addr = ha->hw.tx_cntxt[i].tx_ring_paddr; in ql_get_tx_state()416 tx_state->cons_p_addr = ha->hw.tx_cntxt[i].tx_cons_paddr; in ql_get_tx_state()417 tx_state->tx_prod_reg = ha->hw.tx_cntxt[i].tx_prod_reg; in ql_get_tx_state()418 tx_state->tx_cntxt_id = ha->hw.tx_cntxt[i].tx_cntxt_id; in ql_get_tx_state()419 tx_state->txr_free = ha->hw.tx_cntxt[i].txr_free; in ql_get_tx_state()420 tx_state->txr_next = ha->hw.tx_cntxt[i].txr_next; in ql_get_tx_state()421 tx_state->txr_comp = ha->hw.tx_cntxt[i].txr_comp; in ql_get_tx_state()422 tx_state++; in ql_get_tx_state()
89 typedef struct tx_state { struct
382 struct ecp_tx_state tx_state; member
262 tx_state->rx_pause = t4_read_reg64(sc, rx_pause_reg); in read_tx_state_one()263 tx_state->tx_frames = t4_read_reg64(sc, tx_frames_reg); in read_tx_state_one()267 read_tx_state(struct adapter *sc, struct port_tx_state *tx_state) in read_tx_state() argument272 read_tx_state_one(sc, i, &tx_state[i]); in read_tx_state()283 rx_pause = tx_state[i].rx_pause; in check_tx_state()284 tx_frames = tx_state[i].tx_frames; in check_tx_state()285 read_tx_state_one(sc, i, &tx_state[i]); /* update */ in check_tx_state()289 rx_pause != tx_state[i].rx_pause && in check_tx_state()290 tx_frames == tx_state[i].tx_frames) { in check_tx_state()345 struct port_tx_state tx_state[MAX_NPORTS]; in t4_wr_mbox_meat_timeout() local[all …]
61 struct tx_state { struct