Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cirrus/
H A Dcs89x0.c455 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()
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()
900 !dma_page_eq(lp->dma_buff, in net_open()
901 lp->dma_buff + lp->dmasize * 1024 - 1)) { in net_open()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c786 struct i40e_dma_mem *dma_buff = NULL; in i40e_asq_send_command_atomic_exec() local
873 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command_atomic_exec()
875 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command_atomic_exec()
882 cpu_to_le32(upper_32_bits(dma_buff->pa)); in i40e_asq_send_command_atomic_exec()
884 cpu_to_le32(lower_32_bits(dma_buff->pa)); in i40e_asq_send_command_atomic_exec()
923 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command_atomic_exec()
/openbmc/linux/drivers/video/fbdev/
H A Dpxafb.h116 struct pxafb_dma_buff *dma_buff; member
H A 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()
2416 dma_free_coherent(&dev->dev, fbi->dma_buff_size, fbi->dma_buff, in pxafb_remove()
/openbmc/linux/drivers/net/ethernet/ti/
H A 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()
/openbmc/linux/drivers/usb/dwc2/
H A 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()