Searched refs:dma_width (Results 1 – 17 of 17) sorted by relevance
| /Linux-v5.4/drivers/spi/ |
| D | spi-dw-mid.c | 118 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()
|
| D | spi-pic32.c | 357 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()
|
| D | spi-dw.h | 127 u32 dma_width; member
|
| D | spi-dw.c | 305 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/ |
| D | dwc-xlgmac-common.c | 97 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()
|
| D | dwc-xlgmac.h | 518 unsigned int dma_width; /* DMA width */ member
|
| /Linux-v5.4/drivers/infiniband/hw/efa/ |
| D | efa_main.c | 354 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/ |
| D | nic.c | 487 if (desc[index].dma_width) { in ef4_nic_update_stats() 491 switch (desc[index].dma_width) { in ef4_nic_update_stats()
|
| D | net_driver.h | 620 u16 dma_width; member
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | nic.c | 494 if (desc[index].dma_width) { in efx_nic_update_stats() 498 switch (desc[index].dma_width) { in efx_nic_update_stats()
|
| D | net_driver.h | 696 u16 dma_width; member
|
| D | ptp.c | 417 if (efx_ptp_stat_desc[i].dma_width) in efx_ptp_update_stats()
|
| /Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-drv.c | 765 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()
|
| D | xgbe-main.c | 294 DMA_BIT_MASK(pdata->hw_feat.dma_width)); in xgbe_config_netdev()
|
| D | xgbe.h | 984 unsigned int dma_width; /* DMA width */ member
|
| /Linux-v5.4/drivers/media/pci/tw686x/ |
| D | tw686x-video.c | 676 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/ |
| D | ena_netdev.c | 2587 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()
|