Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_dma.c232 struct dma_features *dma_cap) in dwmac1000_get_hw_feature() argument
236 dma_cap->mbps_10_100 = (hw_cap & DMA_HW_FEAT_MIISEL); in dwmac1000_get_hw_feature()
237 dma_cap->mbps_1000 = (hw_cap & DMA_HW_FEAT_GMIISEL) >> 1; in dwmac1000_get_hw_feature()
238 dma_cap->half_duplex = (hw_cap & DMA_HW_FEAT_HDSEL) >> 2; in dwmac1000_get_hw_feature()
239 dma_cap->hash_filter = (hw_cap & DMA_HW_FEAT_HASHSEL) >> 4; in dwmac1000_get_hw_feature()
240 dma_cap->multi_addr = (hw_cap & DMA_HW_FEAT_ADDMAC) >> 5; in dwmac1000_get_hw_feature()
241 dma_cap->pcs = (hw_cap & DMA_HW_FEAT_PCSSEL) >> 6; in dwmac1000_get_hw_feature()
242 dma_cap->sma_mdio = (hw_cap & DMA_HW_FEAT_SMASEL) >> 8; in dwmac1000_get_hw_feature()
243 dma_cap->pmt_remote_wake_up = (hw_cap & DMA_HW_FEAT_RWKSEL) >> 9; in dwmac1000_get_hw_feature()
244 dma_cap->pmt_magic_frame = (hw_cap & DMA_HW_FEAT_MGKSEL) >> 10; in dwmac1000_get_hw_feature()
[all …]
Ddwmac4_dma.c331 struct dma_features *dma_cap) in dwmac4_get_hw_feature() argument
336 dma_cap->mbps_10_100 = (hw_cap & GMAC_HW_FEAT_MIISEL); in dwmac4_get_hw_feature()
337 dma_cap->mbps_1000 = (hw_cap & GMAC_HW_FEAT_GMIISEL) >> 1; in dwmac4_get_hw_feature()
338 dma_cap->half_duplex = (hw_cap & GMAC_HW_FEAT_HDSEL) >> 2; in dwmac4_get_hw_feature()
339 dma_cap->hash_filter = (hw_cap & GMAC_HW_FEAT_VLHASH) >> 4; in dwmac4_get_hw_feature()
340 dma_cap->multi_addr = (hw_cap & GMAC_HW_FEAT_ADDMAC) >> 18; in dwmac4_get_hw_feature()
341 dma_cap->pcs = (hw_cap & GMAC_HW_FEAT_PCSSEL) >> 3; in dwmac4_get_hw_feature()
342 dma_cap->sma_mdio = (hw_cap & GMAC_HW_FEAT_SMASEL) >> 5; in dwmac4_get_hw_feature()
343 dma_cap->pmt_remote_wake_up = (hw_cap & GMAC_HW_FEAT_RWKSEL) >> 6; in dwmac4_get_hw_feature()
344 dma_cap->pmt_magic_frame = (hw_cap & GMAC_HW_FEAT_MGKSEL) >> 7; in dwmac4_get_hw_feature()
[all …]
Ddwxgmac2_dma.c301 struct dma_features *dma_cap) in dwxgmac2_get_hw_feature() argument
307 dma_cap->rx_coe = (hw_cap & XGMAC_HWFEAT_RXCOESEL) >> 16; in dwxgmac2_get_hw_feature()
308 dma_cap->tx_coe = (hw_cap & XGMAC_HWFEAT_TXCOESEL) >> 14; in dwxgmac2_get_hw_feature()
309 dma_cap->atime_stamp = (hw_cap & XGMAC_HWFEAT_TSSEL) >> 12; in dwxgmac2_get_hw_feature()
310 dma_cap->av = (hw_cap & XGMAC_HWFEAT_AVSEL) >> 11; in dwxgmac2_get_hw_feature()
311 dma_cap->av &= (hw_cap & XGMAC_HWFEAT_RAVSEL) >> 10; in dwxgmac2_get_hw_feature()
312 dma_cap->pmt_magic_frame = (hw_cap & XGMAC_HWFEAT_MGKSEL) >> 7; in dwxgmac2_get_hw_feature()
313 dma_cap->pmt_remote_wake_up = (hw_cap & XGMAC_HWFEAT_RWKSEL) >> 6; in dwxgmac2_get_hw_feature()
314 dma_cap->mbps_1000 = (hw_cap & XGMAC_HWFEAT_GMIISEL) >> 1; in dwxgmac2_get_hw_feature()
318 dma_cap->tsoen = (hw_cap & XGMAC_HWFEAT_TSOEN) >> 18; in dwxgmac2_get_hw_feature()
[all …]
Dstmmac_main.c420 if (priv->dma_cap.eee) { in stmmac_eee_init()
567 if (!(priv->dma_cap.time_stamp || priv->adv_ts)) { in stmmac_hwtstamp_ioctl()
783 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_ptp()
788 if (xmac && priv->dma_cap.atime_stamp) in stmmac_init_ptp()
791 else if (priv->extend_desc && priv->dma_cap.atime_stamp) in stmmac_init_ptp()
794 if (priv->dma_cap.time_stamp) in stmmac_init_ptp()
931 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode()
1799 rxfifosz = priv->dma_cap.rx_fifo_size; in stmmac_dma_operation_mode()
1801 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_dma_operation_mode()
2006 rxfifosz = priv->dma_cap.rx_fifo_size; in stmmac_set_dma_operation_mode()
[all …]
Dstmmac_tc.c243 struct dma_features *dma_cap = &priv->dma_cap; in tc_init() local
246 if (!dma_cap->frpsel) in tc_init()
249 switch (dma_cap->frpbs) { in tc_init()
263 switch (dma_cap->frpes) { in tc_init()
Dstmmac_ethtool.c522 if (priv->dma_cap.asp) { in stmmac_get_ethtool_stats()
535 if (priv->dma_cap.rmon) { in stmmac_get_ethtool_stats()
574 if (priv->dma_cap.rmon) in stmmac_get_sset_count()
576 if (priv->dma_cap.asp) { in stmmac_get_sset_count()
601 if (priv->dma_cap.asp) { in stmmac_get_strings()
612 if (priv->dma_cap.rmon) in stmmac_get_strings()
651 if ((priv->hw_cap_support) && (!priv->dma_cap.pmt_magic_frame)) in stmmac_set_wol()
681 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee()
803 if ((priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) { in stmmac_get_ts_info()
Dstmmac_ptp.c201 for (i = 0; i < priv->dma_cap.pps_out_num; i++) { in stmmac_ptp_register()
207 stmmac_ptp_clock_ops.n_per_out = priv->dma_cap.pps_out_num; in stmmac_ptp_register()
Dstmmac.h161 struct dma_features dma_cap; member
Dhwif.h178 struct dma_features *dma_cap);
/Linux-v4.19/include/linux/
Dof_dma.h30 dma_cap_mask_t dma_cap; member
Dacpi_dma.h56 dma_cap_mask_t dma_cap; member
/Linux-v4.19/drivers/dma/dw/
Dplatform.c86 dma_cap_zero(info->dma_cap); in dw_dma_acpi_controller_register()
87 dma_cap_set(DMA_SLAVE, info->dma_cap); in dw_dma_acpi_controller_register()
/Linux-v4.19/drivers/dma/
Dof-dma.c319 return dma_request_channel(info->dma_cap, info->filter_fn, in of_dma_simple_xlate()
Dacpi-dma.c465 return dma_request_channel(info->dma_cap, info->filter_fn, dma_spec); in acpi_dma_simple_xlate()
Dsprd-dma.c952 sprd_dma_info.dma_cap = sdev->dma_dev.cap_mask; in sprd_dma_probe()
/Linux-v4.19/drivers/dma/ti/
Dcppi41.c961 return dma_request_channel(info->dma_cap, info->filter_fn, in cppi41_dma_xlate()
1034 cpp41_dma_info.dma_cap = cdd->ddev.cap_mask; in cppi41_dma_probe()
Domap-dma.c1580 omap_dma_info.dma_cap = od->ddev.cap_mask; in omap_dma_probe()