Searched refs:cbdr (Results 1 – 2 of 2) sorted by relevance
7 struct enetc_cbdr *cbdr) in enetc_setup_cbdr() argument11 cbdr->bd_base = dma_alloc_coherent(dev, size, &cbdr->bd_dma_base, in enetc_setup_cbdr()13 if (!cbdr->bd_base) in enetc_setup_cbdr()17 if (!IS_ALIGNED(cbdr->bd_dma_base, 128)) { in enetc_setup_cbdr()18 dma_free_coherent(dev, size, cbdr->bd_base, in enetc_setup_cbdr()19 cbdr->bd_dma_base); in enetc_setup_cbdr()23 cbdr->next_to_clean = 0; in enetc_setup_cbdr()24 cbdr->next_to_use = 0; in enetc_setup_cbdr()25 cbdr->dma_dev = dev; in enetc_setup_cbdr()26 cbdr->bd_count = bd_count; in enetc_setup_cbdr()[all …]
443 struct enetc_cbdr *cbdr);444 void enetc_teardown_cbdr(struct enetc_cbdr *cbdr);