Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/cirrus/
Dcs89x0.c156 unsigned char *dma_buff; /* points to the beginning of the buffer */ member
455 skb_put_data(skb, lp->dma_buff, length - semi_cnt); in dma_rx()
477 if (lp->dma_buff) { in release_dma_buff()
478 free_pages((unsigned long)(lp->dma_buff), in release_dma_buff()
480 lp->dma_buff = NULL; in release_dma_buff()
888 lp->dma_buff = (unsigned char *)__get_dma_pages(GFP_KERNEL, in net_open()
890 if (!lp->dma_buff) { in net_open()
897 (unsigned long)lp->dma_buff, in net_open()
898 (unsigned long)isa_virt_to_bus(lp->dma_buff)); in net_open()
899 if ((unsigned long)lp->dma_buff >= MAX_DMA_ADDRESS || in net_open()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_adminq.c647 struct iavf_dma_mem *dma_buff = NULL; in iavf_asq_send_command() local
736 dma_buff = &hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]; in iavf_asq_send_command()
738 memcpy(dma_buff->va, buff, buff_size); in iavf_asq_send_command()
745 cpu_to_le32(upper_32_bits(dma_buff->pa)); in iavf_asq_send_command()
747 cpu_to_le32(lower_32_bits(dma_buff->pa)); in iavf_asq_send_command()
781 memcpy(buff, dma_buff->va, buff_size); in iavf_asq_send_command()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c790 struct i40e_dma_mem *dma_buff = NULL; in i40e_asq_send_command_atomic_exec() local
877 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command_atomic_exec()
879 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command_atomic_exec()
886 cpu_to_le32(upper_32_bits(dma_buff->pa)); in i40e_asq_send_command_atomic_exec()
888 cpu_to_le32(lower_32_bits(dma_buff->pa)); in i40e_asq_send_command_atomic_exec()
927 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command_atomic_exec()
/Linux-v6.6/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()
1072 dma_desc = &fbi->dma_buff->dma_desc[dma]; in setup_frame_dma()
1083 pal_desc = &fbi->dma_buff->pal_desc[pal]; in setup_frame_dma()
1133 dma_desc = &fbi->dma_buff->dma_desc[DMA_CMD]; in setup_smart_dma()
1299 fbi->smart_cmds = (uint16_t *) fbi->dma_buff->cmd_buff; in pxafb_smart_init()
2309 fbi->dma_buff = dma_alloc_coherent(fbi->dev, fbi->dma_buff_size, in pxafb_probe()
2311 if (fbi->dma_buff == NULL) { in pxafb_probe()
2390 fbi->dma_buff, fbi->dma_buff_phys); in pxafb_probe()
2415 dma_free_coherent(&dev->dev, fbi->dma_buff_size, fbi->dma_buff, in pxafb_remove()
/Linux-v6.6/drivers/net/ethernet/ti/
Dnetcp_core.c646 dma_addr_t dma_desc, dma_buff; in netcp_process_one_rx_packet() local
662 get_pkt_info(&dma_buff, &buf_len, &dma_desc, desc); in netcp_process_one_rx_packet()
676 dma_unmap_single(netcp->dev, dma_buff, buf_len, DMA_FROM_DEVICE); in netcp_process_one_rx_packet()
699 get_pkt_info(&dma_buff, &buf_len, &dma_desc, ndesc); in netcp_process_one_rx_packet()
705 if (likely(dma_buff && buf_len && page)) { in netcp_process_one_rx_packet()
706 dma_unmap_page(netcp->dev, dma_buff, PAGE_SIZE, in netcp_process_one_rx_packet()
710 &dma_buff, buf_len, page); in netcp_process_one_rx_packet()
715 offset_in_page(dma_buff), buf_len, PAGE_SIZE); in netcp_process_one_rx_packet()
/Linux-v6.6/drivers/usb/dwc2/
Dgadget.c803 dma_addr_t dma_buff, in dwc2_gadget_fill_nonisoc_xfer_ddma_one() argument
832 (*desc)->buf = dma_buff + offset; in dwc2_gadget_fill_nonisoc_xfer_ddma_one()
847 (*desc)->buf = dma_buff + offset; in dwc2_gadget_fill_nonisoc_xfer_ddma_one()
868 dma_addr_t dma_buff, in dwc2_gadget_config_nonisoc_xfer_ddma() argument
883 dma_buff, len, true); in dwc2_gadget_config_nonisoc_xfer_ddma()
910 dma_addr_t dma_buff, unsigned int len) in dwc2_gadget_fill_isoc_desc() argument
940 desc->buf = dma_buff; in dwc2_gadget_fill_isoc_desc()