Home
last modified time | relevance | path

Searched refs:dma_width (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c97 DMA_BIT_MASK(pdata->hw_feat.dma_width)); in xlgmac_init()
426 hw_feat->dma_width = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
490 switch (hw_feat->dma_width) { in xlgmac_get_all_hw_features()
492 hw_feat->dma_width = 32; in xlgmac_get_all_hw_features()
495 hw_feat->dma_width = 40; in xlgmac_get_all_hw_features()
498 hw_feat->dma_width = 48; in xlgmac_get_all_hw_features()
501 hw_feat->dma_width = 32; in xlgmac_get_all_hw_features()
654 pdata->hw_feat.dma_width); in xlgmac_print_all_hw_features()
Ddwc-xlgmac.h519 unsigned int dma_width; /* DMA width */ member
/drivers/infiniband/hw/efa/
Defa_main.c500 int dma_width; in efa_device_init() local
511 dma_width = efa_com_get_dma_width(edev); in efa_device_init()
512 if (dma_width < 0) { in efa_device_init()
513 err = dma_width; in efa_device_init()
517 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(dma_width)); in efa_device_init()
/drivers/spi/
Dspi-pic32.c357 static int pic32_spi_dma_config(struct pic32_spi *pic32s, u32 dma_width) in pic32_spi_dma_config() argument
370 cfg.src_addr_width = dma_width; in pic32_spi_dma_config()
371 cfg.dst_addr_width = dma_width; in pic32_spi_dma_config()
/drivers/net/ethernet/sfc/falcon/
Dnic.c487 if (desc[index].dma_width) { in ef4_nic_update_stats()
491 switch (desc[index].dma_width) { in ef4_nic_update_stats()
Dnet_driver.h620 u16 dma_width; member
/drivers/net/ethernet/sfc/siena/
Dnic.c493 if (desc[index].dma_width) { in efx_siena_update_stats()
497 switch (desc[index].dma_width) { in efx_siena_update_stats()
Dnet_driver.h689 u16 dma_width; member
Dptp.c417 if (efx_ptp_stat_desc[i].dma_width) in efx_siena_ptp_update_stats()
/drivers/net/ethernet/sfc/
Dnic.c543 if (desc[index].dma_width) { in efx_nic_update_stats()
547 switch (desc[index].dma_width) { in efx_nic_update_stats()
Dnet_driver.h737 u16 dma_width; member
Dptp.c421 if (efx_ptp_stat_desc[i].dma_width) in efx_ptp_update_stats()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c781 hw_feat->dma_width = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, ADDR64); in xgbe_get_all_hw_features()
817 switch (hw_feat->dma_width) { in xgbe_get_all_hw_features()
819 hw_feat->dma_width = 32; in xgbe_get_all_hw_features()
822 hw_feat->dma_width = 40; in xgbe_get_all_hw_features()
825 hw_feat->dma_width = 48; in xgbe_get_all_hw_features()
828 hw_feat->dma_width = 32; in xgbe_get_all_hw_features()
889 hw_feat->dma_width); in xgbe_get_all_hw_features()
Dxgbe-main.c292 DMA_BIT_MASK(pdata->hw_feat.dma_width)); in xgbe_config_netdev()
Dxgbe.h1010 unsigned int dma_width; /* DMA width */ member
/drivers/media/pci/tw686x/
Dtw686x-video.c675 u32 val, dma_width, dma_height, dma_line_width; in tw686x_set_format() local
727 dma_width = (vc->width * 2) & 0x7ff; in tw686x_set_format()
730 val = (dma_height << 22) | (dma_line_width << 11) | dma_width; in tw686x_set_format()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c3463 int dma_width; in ena_device_init() local
3490 dma_width = ena_com_get_dma_width(ena_dev); in ena_device_init()
3491 if (dma_width < 0) { in ena_device_init()
3492 dev_err(dev, "Invalid dma width value %d", dma_width); in ena_device_init()
3493 rc = dma_width; in ena_device_init()
3497 rc = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(dma_width)); in ena_device_init()