Searched refs:tx_state (Results 1 – 5 of 5) sorted by relevance
412 ql_get_tx_state(qla_host_t *ha, qla_drvr_state_tx_t *tx_state) in ql_get_tx_state() argument417 tx_state->base_p_addr = ha->hw.tx_cntxt[i].tx_ring_paddr; in ql_get_tx_state()418 tx_state->cons_p_addr = ha->hw.tx_cntxt[i].tx_cons_paddr; in ql_get_tx_state()419 tx_state->tx_prod_reg = ha->hw.tx_cntxt[i].tx_prod_reg; in ql_get_tx_state()420 tx_state->tx_cntxt_id = ha->hw.tx_cntxt[i].tx_cntxt_id; in ql_get_tx_state()421 tx_state->txr_free = ha->hw.tx_cntxt[i].txr_free; in ql_get_tx_state()422 tx_state->txr_next = ha->hw.tx_cntxt[i].txr_next; in ql_get_tx_state()423 tx_state->txr_comp = ha->hw.tx_cntxt[i].txr_comp; in ql_get_tx_state()424 tx_state++; in ql_get_tx_state()
90 typedef struct tx_state { struct
384 struct ecp_tx_state tx_state; member
261 tx_state->rx_pause = t4_read_reg64(sc, rx_pause_reg); in read_tx_state_one()262 tx_state->tx_frames = t4_read_reg64(sc, tx_frames_reg); in read_tx_state_one()266 read_tx_state(struct adapter *sc, struct port_tx_state *tx_state) in read_tx_state() argument271 read_tx_state_one(sc, i, &tx_state[i]); in read_tx_state()282 rx_pause = tx_state[i].rx_pause; in check_tx_state()283 tx_frames = tx_state[i].tx_frames; in check_tx_state()284 read_tx_state_one(sc, i, &tx_state[i]); /* update */ in check_tx_state()291 rx_pause != tx_state[i].rx_pause && in check_tx_state()292 tx_frames == tx_state[i].tx_frames) { in check_tx_state()347 struct port_tx_state tx_state[MAX_NPORTS]; in t4_wr_mbox_meat_timeout() local[all …]
63 struct tx_state { struct