Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/spi/
Dspi-dw-mid.c118 static enum dma_slave_buswidth convert_dma_width(u32 dma_width) { in convert_dma_width() argument
119 if (dma_width == 1) in convert_dma_width()
121 else if (dma_width == 2) in convert_dma_width()
154 txconf.dst_addr_width = convert_dma_width(dws->dma_width); in dw_spi_dma_prepare_tx()
200 rxconf.src_addr_width = convert_dma_width(dws->dma_width); in dw_spi_dma_prepare_rx()
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()
Dspi-dw.h127 u32 dma_width; member
Dspi-dw.c305 dws->dma_width = DIV_ROUND_UP(transfer->bits_per_word, BITS_PER_BYTE); in dw_spi_transfer_one()
/Linux-v5.4/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.4/drivers/infiniband/hw/efa/
Defa_main.c354 int dma_width; in efa_device_init() local
365 dma_width = efa_com_get_dma_width(edev); in efa_device_init()
366 if (dma_width < 0) { in efa_device_init()
367 err = dma_width; in efa_device_init()
371 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(dma_width)); in efa_device_init()
377 err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(dma_width)); in efa_device_init()
/Linux-v5.4/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.4/drivers/net/ethernet/sfc/
Dnic.c494 if (desc[index].dma_width) { in efx_nic_update_stats()
498 switch (desc[index].dma_width) { in efx_nic_update_stats()
Dnet_driver.h696 u16 dma_width; member
Dptp.c417 if (efx_ptp_stat_desc[i].dma_width) in efx_ptp_update_stats()
/Linux-v5.4/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.c294 DMA_BIT_MASK(pdata->hw_feat.dma_width)); in xgbe_config_netdev()
Dxgbe.h984 unsigned int dma_width; /* DMA width */ member
/Linux-v5.4/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.4/drivers/net/ethernet/amazon/ena/
Dena_netdev.c2587 int dma_width; in ena_device_init() local
2614 dma_width = ena_com_get_dma_width(ena_dev); in ena_device_init()
2615 if (dma_width < 0) { in ena_device_init()
2616 dev_err(dev, "Invalid dma width value %d", dma_width); in ena_device_init()
2617 rc = dma_width; in ena_device_init()
2621 rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(dma_width)); in ena_device_init()
2627 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(dma_width)); in ena_device_init()