Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/synopsys/
H A 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()
H A Ddwc-xlgmac.h519 unsigned int dma_width; /* DMA width */ member
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_main.c499 int dma_width; in efa_device_init() local
510 dma_width = efa_com_get_dma_width(edev); in efa_device_init()
511 if (dma_width < 0) { in efa_device_init()
512 err = dma_width; in efa_device_init()
516 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(dma_width)); in efa_device_init()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dnic.c385 if (desc[index].dma_width) { in efx_nic_update_stats()
389 switch (desc[index].dma_width) { in efx_nic_update_stats()
H A Dnet_driver.h731 u16 dma_width; member
H A Dptp.c417 if (efx_ptp_stat_desc[i].dma_width) in efx_ptp_update_stats()
/openbmc/linux/drivers/spi/
H A 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()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dnic.c487 if (desc[index].dma_width) { in ef4_nic_update_stats()
491 switch (desc[index].dma_width) { in ef4_nic_update_stats()
H A Dnet_driver.h620 u16 dma_width; member
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dnic.c493 if (desc[index].dma_width) { in efx_siena_update_stats()
497 switch (desc[index].dma_width) { in efx_siena_update_stats()
H A Dnet_driver.h689 u16 dma_width; member
H A Dptp.c417 if (efx_ptp_stat_desc[i].dma_width) in efx_siena_ptp_update_stats()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A 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()
H A Dxgbe-main.c292 DMA_BIT_MASK(pdata->hw_feat.dma_width)); in xgbe_config_netdev()
H A Dxgbe.h1016 unsigned int dma_width; /* DMA width */ member
/openbmc/linux/drivers/media/pci/tw686x/
H A 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()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c3038 int dma_width; in ena_device_init() local
3065 dma_width = ena_com_get_dma_width(ena_dev); in ena_device_init()
3066 if (dma_width < 0) { in ena_device_init()
3067 dev_err(dev, "Invalid dma width value %d", dma_width); in ena_device_init()
3068 rc = dma_width; in ena_device_init()
3072 rc = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(dma_width)); in ena_device_init()