Home
last modified time | relevance | path

Searched refs:cur_desc (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/rtls/
H A Drtls.c964 uint16_t cur_desc; in rtls_send() local
1012 cur_desc = rtlsp->tx_current_desc; in rtls_send()
1013 ASSERT(cur_desc < RTLS_MAX_TX_DESC); in rtls_send()
1028 tx_status = rtls_reg_get32(rtlsp, TX_STATUS_DESC0_REG + 4 * cur_desc); in rtls_send()
1058 TX_STATUS_DESC0_REG + 4 * cur_desc); in rtls_send()
1128 mcopymsg(mp, rtlsp->tx_buf[cur_desc]); in rtls_send()
1131 if (*rtlsp->tx_buf[cur_desc] & 0x1) { in rtls_send()
1132 uint16_t *ptr = (void *)rtlsp->tx_buf[cur_desc]; in rtls_send()
1145 bzero(rtlsp->tx_buf[cur_desc] + totlen, ETHERMIN - totlen); in rtls_send()
1150 (void) ddi_dma_sync(rtlsp->dma_area_tx[cur_desc].dma_hdl, 0, totlen, in rtls_send()
[all …]
/titanic_41/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c1372 i40e_rx_desc_t *cur_desc; in i40e_ring_rx() local
1416 cur_desc = &rxd->rxd_desc_ring[cur_head]; in i40e_ring_rx()
1417 stword = LE64_TO_CPU(cur_desc->wb.qword1.status_error_len); in i40e_ring_rx()
1502 cur_desc->read.pkt_addr = in i40e_ring_rx()
1504 cur_desc->read.hdr_addr = 0; in i40e_ring_rx()
1510 cur_desc = &rxd->rxd_desc_ring[cur_head]; in i40e_ring_rx()
1511 stword = LE64_TO_CPU(cur_desc->wb.qword1.status_error_len); in i40e_ring_rx()