struct ixgbe_ring { struct device *dev; /* device for DMA mapping */ void *desc; /* descriptor ring memory */ dma_addr_t dma; /* phys. address of descriptor ring */ unsigned int size; /* length in bytes */ u16 count; /* amount of descriptors */ } /** * ixgbe_setup_tx_res...
因为前面分析过,pci_using_dac标记为1时,当前设备是64位的。 e1000_probe函数完成了对设备的基本初始化,接下来看如何初始化接收环形缓冲区。/** * e1000_setup_rx_resources - allocate Rx resources (Descriptors) * @adapter: board private structure * @rxdr: rx descriptor ring (for a specific que...
HDAUDIO_BUFFER_DESCRIPTOR 结构 HDAUDIO_BUS_INTERFACE 结构 HDAUDIO_BUS_INTERFACE_BDL 结构 HDAUDIO_BUS_INTERFACE_V2 结构 HDAUDIO_BUS_INTERFACE_V3 结构 HDAUDIO_CODEC_COMMAND 结构 HDAUDIO_CODEC_POWER_STATE 枚举 HDAUDIO_CODEC_RESPONSE结构 HDAUDIO_CODEC_TRANSFER 结构 ...
e1000_probe函数完成了对设备的基本初始化,接下来看如何初始化接收环形缓冲区。 /** * e1000_setup_rx_resources - allocate Rx resources (Descriptors) * @adapter: board private structure * @rxdr: rx descriptor ring (for a specific queue) to setup * * Returns 0 on success, negative on failure ...
EFM32外设模块—DMA V1.10
stat=dma_config_linked_descriptor(HPM_HDMA,&descriptors[0], ch_num,&rx_ch_config); if (stat!=status_success) { while (1) { }; } rx_ch_config.linked_ptr=core_local_mem_to_sys_address(HPM_CORE0, (uint32_t)&descriptors[0]); ...
sc->bar0_len);...// setup msi interruptserror=pci_enable_msi(dev);...// Request an ...
FilterDescriptor FilterDocument FilteredTextBox FilterFolderClosed FilterFolderOpened FilterPendingChanges FilterPinnedProperties FilterUser FinalState FindDown FindInFile Findnext FindPrevious FindSymbol FirstIndent FirstOfFourColumns FirstOfFourRows FirstOfThreeColumns FirstOfThreeRows FirstOfTwoColumns FirstOfTwo...
使用 SGDMA,应用程序可以将 BD( Buffer Descriptor, 用于描述事务的对象) 指向报头,将另一个 BD 指向有效负载,然后将它们作为单个消息传输。这种策略可以使TCP / IP 堆栈更有效,它允许将数据包标头和数据保存在不同的内存区域,而不是将数据包组装成连续的内存块。
| | | | * descriptor for each segment, plus 1 for a nop end descriptor. | | | | */ | | | | host->adma_table_cnt = SDHCI_MAX_SEGS *2+1;//257 |--->sdhci_add_host: |--->sdhci_setup_host:{ | |--->sdhci_set_dma_mask://if (host->flags & (SDHCI_USE_SDMA | SDHCI...