Home
last modified time | relevance | path

Searched refs:dma_buff (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/cirrus/
Dcs89x0.c155 unsigned char *dma_buff; /* points to the beginning of the buffer */ member
454 skb_put_data(skb, lp->dma_buff, length - semi_cnt); in dma_rx()
476 if (lp->dma_buff) { in release_dma_buff()
477 free_pages((unsigned long)(lp->dma_buff), in release_dma_buff()
479 lp->dma_buff = NULL; in release_dma_buff()
887 lp->dma_buff = (unsigned char *)__get_dma_pages(GFP_KERNEL, in net_open()
889 if (!lp->dma_buff) { in net_open()
896 (unsigned long)lp->dma_buff, in net_open()
897 (unsigned long)isa_virt_to_bus(lp->dma_buff)); in net_open()
898 if ((unsigned long)lp->dma_buff >= MAX_DMA_ADDRESS || in net_open()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_adminq.c638 struct iavf_dma_mem *dma_buff = NULL; in iavf_asq_send_command() local
727 dma_buff = &hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]; in iavf_asq_send_command()
729 memcpy(dma_buff->va, buff, buff_size); in iavf_asq_send_command()
736 cpu_to_le32(upper_32_bits(dma_buff->pa)); in iavf_asq_send_command()
738 cpu_to_le32(lower_32_bits(dma_buff->pa)); in iavf_asq_send_command()
772 memcpy(buff, dma_buff->va, buff_size); in iavf_asq_send_command()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c737 struct i40e_dma_mem *dma_buff = NULL; in i40e_asq_send_command() local
825 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command()
827 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command()
834 cpu_to_le32(upper_32_bits(dma_buff->pa)); in i40e_asq_send_command()
836 cpu_to_le32(lower_32_bits(dma_buff->pa)); in i40e_asq_send_command()
870 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command()
/Linux-v5.4/drivers/video/fbdev/
Dpxafb.h116 struct pxafb_dma_buff *dma_buff; member
Dpxafb.c525 fbi->palette_cpu = (u16 *)&fbi->dma_buff->palette[0]; in pxafb_set_par()
1075 dma_desc = &fbi->dma_buff->dma_desc[dma]; in setup_frame_dma()
1086 pal_desc = &fbi->dma_buff->pal_desc[pal]; in setup_frame_dma()
1136 dma_desc = &fbi->dma_buff->dma_desc[DMA_CMD]; in setup_smart_dma()
1302 fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff; in pxafb_smart_init()
2321 fbi->dma_buff = dma_alloc_coherent(fbi->dev, fbi->dma_buff_size, in pxafb_probe()
2323 if (fbi->dma_buff == NULL) { in pxafb_probe()
2403 fbi->dma_buff, fbi->dma_buff_phys); in pxafb_probe()
2428 dma_free_wc(&dev->dev, fbi->dma_buff_size, fbi->dma_buff, in pxafb_remove()
/Linux-v5.4/drivers/net/ethernet/ti/
Dnetcp_core.c647 dma_addr_t dma_desc, dma_buff; in netcp_process_one_rx_packet() local
663 get_pkt_info(&dma_buff, &buf_len, &dma_desc, desc); in netcp_process_one_rx_packet()
677 dma_unmap_single(netcp->dev, dma_buff, buf_len, DMA_FROM_DEVICE); in netcp_process_one_rx_packet()
700 get_pkt_info(&dma_buff, &buf_len, &dma_desc, ndesc); in netcp_process_one_rx_packet()
706 if (likely(dma_buff && buf_len && page)) { in netcp_process_one_rx_packet()
707 dma_unmap_page(netcp->dev, dma_buff, PAGE_SIZE, in netcp_process_one_rx_packet()
711 &dma_buff, buf_len, page); in netcp_process_one_rx_packet()
716 offset_in_page(dma_buff), buf_len, PAGE_SIZE); in netcp_process_one_rx_packet()
/Linux-v5.4/drivers/usb/dwc2/
Dgadget.c773 dma_addr_t dma_buff, in dwc2_gadget_fill_nonisoc_xfer_ddma_one() argument
802 (*desc)->buf = dma_buff + offset; in dwc2_gadget_fill_nonisoc_xfer_ddma_one()
817 (*desc)->buf = dma_buff + offset; in dwc2_gadget_fill_nonisoc_xfer_ddma_one()
838 dma_addr_t dma_buff, in dwc2_gadget_config_nonisoc_xfer_ddma() argument
853 dma_buff, len, true); in dwc2_gadget_config_nonisoc_xfer_ddma()
880 dma_addr_t dma_buff, unsigned int len) in dwc2_gadget_fill_isoc_desc() argument
911 desc->buf = dma_buff; in dwc2_gadget_fill_isoc_desc()