Lines Matching refs:dma_desc
17 struct dma_desc *p, in dwmac4_wrback_get_tx_status()
74 struct dma_desc *p) in dwmac4_wrback_get_rx_status()
172 static int dwmac4_rd_get_tx_len(struct dma_desc *p) in dwmac4_rd_get_tx_len()
177 static int dwmac4_get_tx_owner(struct dma_desc *p) in dwmac4_get_tx_owner()
182 static void dwmac4_set_tx_owner(struct dma_desc *p) in dwmac4_set_tx_owner()
187 static void dwmac4_set_rx_owner(struct dma_desc *p, int disable_rx_ic) in dwmac4_set_rx_owner()
197 static int dwmac4_get_tx_ls(struct dma_desc *p) in dwmac4_get_tx_ls()
203 static u16 dwmac4_wrback_get_rx_vlan_tci(struct dma_desc *p) in dwmac4_wrback_get_rx_vlan_tci()
208 static bool dwmac4_wrback_get_rx_vlan_valid(struct dma_desc *p) in dwmac4_wrback_get_rx_vlan_valid()
214 static int dwmac4_wrback_get_rx_frame_len(struct dma_desc *p, int rx_coe) in dwmac4_wrback_get_rx_frame_len()
219 static void dwmac4_rd_enable_tx_timestamp(struct dma_desc *p) in dwmac4_rd_enable_tx_timestamp()
224 static int dwmac4_wrback_get_tx_timestamp_status(struct dma_desc *p) in dwmac4_wrback_get_tx_timestamp_status()
239 struct dma_desc *p = (struct dma_desc *)desc; in dwmac4_get_timestamp()
251 struct dma_desc *p = (struct dma_desc *)desc; in dwmac4_rx_check_timestamp()
278 struct dma_desc *p = (struct dma_desc *)desc; in dwmac4_wrback_get_rx_timestamp_status()
306 static void dwmac4_rd_init_rx_desc(struct dma_desc *p, int disable_rx_ic, in dwmac4_rd_init_rx_desc()
312 static void dwmac4_rd_init_tx_desc(struct dma_desc *p, int mode, int end) in dwmac4_rd_init_tx_desc()
320 static void dwmac4_rd_prepare_tx_desc(struct dma_desc *p, int is_fs, int len, in dwmac4_rd_prepare_tx_desc()
358 static void dwmac4_rd_prepare_tso_tx_desc(struct dma_desc *p, int is_fs, in dwmac4_rd_prepare_tso_tx_desc()
401 static void dwmac4_release_tx_desc(struct dma_desc *p, int mode) in dwmac4_release_tx_desc()
409 static void dwmac4_rd_set_tx_ic(struct dma_desc *p) in dwmac4_rd_set_tx_ic()
422 if (desc_size == sizeof(struct dma_desc)) { in dwmac4_display_ring()
423 struct dma_desc *p = (struct dma_desc *)head; in dwmac4_display_ring()
464 static void dwmac4_set_mss_ctxt(struct dma_desc *p, unsigned int mss) in dwmac4_set_mss_ctxt()
472 static void dwmac4_set_addr(struct dma_desc *p, dma_addr_t addr) in dwmac4_set_addr()
478 static void dwmac4_clear(struct dma_desc *p) in dwmac4_clear()
486 static void dwmac4_set_sarc(struct dma_desc *p, u32 sarc_type) in dwmac4_set_sarc()
502 static void dwmac4_set_vlan_tag(struct dma_desc *p, u16 tag, u16 inner_tag, in dwmac4_set_vlan_tag()
529 static void dwmac4_set_vlan(struct dma_desc *p, u32 type) in dwmac4_set_vlan()
535 static void dwmac4_get_rx_header_len(struct dma_desc *p, unsigned int *len) in dwmac4_get_rx_header_len()
540 static void dwmac4_set_sec_addr(struct dma_desc *p, dma_addr_t addr, bool buf2_valid) in dwmac4_set_sec_addr()