Searched refs:tx_state (Results 1 – 5 of 5) sorted by relevance
419 ql_get_tx_state(qla_host_t *ha, qla_drvr_state_tx_t *tx_state) in ql_get_tx_state() argument424 tx_state->base_p_addr = ha->hw.tx_cntxt[i].tx_ring_paddr; in ql_get_tx_state()425 tx_state->cons_p_addr = ha->hw.tx_cntxt[i].tx_cons_paddr; in ql_get_tx_state()426 tx_state->tx_prod_reg = ha->hw.tx_cntxt[i].tx_prod_reg; in ql_get_tx_state()427 tx_state->tx_cntxt_id = ha->hw.tx_cntxt[i].tx_cntxt_id; in ql_get_tx_state()428 tx_state->txr_free = ha->hw.tx_cntxt[i].txr_free; in ql_get_tx_state()429 tx_state->txr_next = ha->hw.tx_cntxt[i].txr_next; in ql_get_tx_state()430 tx_state->txr_comp = ha->hw.tx_cntxt[i].txr_comp; in ql_get_tx_state()431 tx_state++; in ql_get_tx_state()
90 typedef struct tx_state { struct
385 struct ecp_tx_state tx_state; member
264 tx_state->rx_pause = t4_read_reg64(sc, rx_pause_reg); in read_tx_state_one()265 tx_state->tx_frames = t4_read_reg64(sc, tx_frames_reg); in read_tx_state_one()269 read_tx_state(struct adapter *sc, struct port_tx_state *tx_state) in read_tx_state() argument274 read_tx_state_one(sc, i, &tx_state[i]); in read_tx_state()285 rx_pause = tx_state[i].rx_pause; in check_tx_state()286 tx_frames = tx_state[i].tx_frames; in check_tx_state()287 read_tx_state_one(sc, i, &tx_state[i]); /* update */ in check_tx_state()294 rx_pause != tx_state[i].rx_pause && in check_tx_state()295 tx_frames == tx_state[i].tx_frames) { in check_tx_state()350 struct port_tx_state tx_state[MAX_NPORTS]; in t4_wr_mbox_meat_timeout() local[all …]
62 struct tx_state { struct