Home
last modified time | relevance | path

Searched refs:fdma_dcb (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/microchip/fdma/
Dfdma_api.h71 struct fdma_dcb { struct
88 struct fdma_dcb *dcbs; argument
89 struct fdma_dcb *last_dcb;
153 static inline void fdma_dcb_len_set(struct fdma_dcb *dcb, u32 len) in fdma_dcb_len_set()
172 static inline struct fdma_dcb *fdma_dcb_get(struct fdma *fdma, int dcb_idx) in fdma_dcb_get()
178 static inline struct fdma_dcb *fdma_dcb_next_get(struct fdma *fdma) in fdma_dcb_next_get()
192 *nextptr = fdma->dma + (sizeof(struct fdma_dcb) * dcb_idx); in fdma_nextptr_cb()
203 return fdma->dma + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in fdma_dataptr_get_contiguous()
215 return (u8 *)fdma->dcbs + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in fdma_dataptr_virt_get_contiguous()
221 static inline bool fdma_is_last(struct fdma *fdma, struct fdma_dcb *dcb) in fdma_is_last()
Dfdma_api.c37 struct fdma_dcb *dcb = fdma_dcb_get(fdma, dcb_idx); in __fdma_dcb_add()
133 return ALIGN(sizeof(struct fdma_dcb) * fdma->n_dcbs, PAGE_SIZE); in fdma_get_size()
142 return ALIGN(fdma->n_dcbs * sizeof(struct fdma_dcb) + in fdma_get_size_contiguous()
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_fdma.c30 *dataptr = fdma->dma + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in sparx5_fdma_tx_dataptr_cb()
227 (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in sparx5_fdma_xmit()