Home
last modified time | relevance | path

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

/Linux-v5.10/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.h518 unsigned int dma_width; /* DMA width */ member
/Linux-v5.10/drivers/infiniband/hw/efa/
Defa_main.c391 int dma_width; in efa_device_init() local
402 dma_width = efa_com_get_dma_width(edev); in efa_device_init()
403 if (dma_width < 0) { in efa_device_init()
404 err = dma_width; in efa_device_init()
408 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(dma_width)); in efa_device_init()
414 err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(dma_width)); in efa_device_init()
/Linux-v5.10/drivers/spi/
Dspi-pic32.c357 static int pic32_spi_dma_config(struct pic32_spi *pic32s, u32 dma_width) in pic32_spi_dma_config() argument
369 cfg.src_addr_width = dma_width; in pic32_spi_dma_config()
370 cfg.dst_addr_width = dma_width; in pic32_spi_dma_config()
/Linux-v5.10/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
/Linux-v5.10/drivers/net/ethernet/sfc/
Dnic.c542 if (desc[index].dma_width) { in efx_nic_update_stats()
546 switch (desc[index].dma_width) { in efx_nic_update_stats()
Dnet_driver.h695 u16 dma_width; member
Dptp.c417 if (efx_ptp_stat_desc[i].dma_width) in efx_ptp_update_stats()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c765 hw_feat->dma_width = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, ADDR64); in xgbe_get_all_hw_features()
801 switch (hw_feat->dma_width) { in xgbe_get_all_hw_features()
803 hw_feat->dma_width = 32; in xgbe_get_all_hw_features()
806 hw_feat->dma_width = 40; in xgbe_get_all_hw_features()
809 hw_feat->dma_width = 48; in xgbe_get_all_hw_features()
812 hw_feat->dma_width = 32; in xgbe_get_all_hw_features()
873 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.h983 unsigned int dma_width; /* DMA width */ member
/Linux-v5.10/drivers/media/pci/tw686x/
Dtw686x-video.c676 u32 val, dma_width, dma_height, dma_line_width; in tw686x_set_format() local
728 dma_width = (vc->width * 2) & 0x7ff; in tw686x_set_format()
731 val = (dma_height << 22) | (dma_line_width << 11) | dma_width; in tw686x_set_format()
/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c3338 int dma_width; in ena_device_init() local
3365 dma_width = ena_com_get_dma_width(ena_dev); in ena_device_init()
3366 if (dma_width < 0) { in ena_device_init()
3367 dev_err(dev, "Invalid dma width value %d", dma_width); in ena_device_init()
3368 rc = dma_width; in ena_device_init()
3372 rc = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(dma_width)); in ena_device_init()