Searched refs:d_idx (Results 1 – 3 of 3) sorted by relevance
134 unsigned int d_idx; in dwmac_send() local145 d_idx = p->tx_desc_head; in dwmac_send()166 p->tx_frags[d_idx] = pinned; in dwmac_send()167 LOG_DBG("d[%d]: frag %p pinned %p len %d", d_idx, in dwmac_send()178 d = &p->tx_descs[d_idx]; in dwmac_send()187 INC_WRAP(d_idx, NB_TX_DESCS); in dwmac_send()195 p->tx_desc_head = d_idx; in dwmac_send()198 REG_WRITE(DMA_CHn_TXDESC_TAIL_PTR(0), TXDESC_PHYS_L(d_idx)); in dwmac_send()203 while (d_idx != p->tx_desc_head) { in dwmac_send()205 DEC_WRAP(d_idx, NB_TX_DESCS); in dwmac_send()[all …]
762 unsigned int d_idx; in eth_cyclonev_tx_release() local766 for (d_idx = p->tx_tail; d_idx != p->tx_current_desc_number; in eth_cyclonev_tx_release()767 INC_WRAP(d_idx, NB_TX_DESCS), k_sem_give(&p->free_tx_descs)) { in eth_cyclonev_tx_release()769 d = &p->tx_desc_ring[d_idx]; in eth_cyclonev_tx_release()771 LOG_DBG("TDES3[%d] = 0x%08x", d_idx, des3_val); in eth_cyclonev_tx_release()787 p->tx_tail = d_idx; in eth_cyclonev_tx_release()
511 size_t d_idx = (dst_noff + i) / 2; in get_nibbles_unaligned() local515 dst[d_idx] = n; in get_nibbles_unaligned()517 dst[d_idx] |= n << 4; in get_nibbles_unaligned()