Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_dma.c329 struct dma_features *dma_cap) in dwmac4_get_hw_feature() argument
334 dma_cap->mbps_10_100 = (hw_cap & GMAC_HW_FEAT_MIISEL); in dwmac4_get_hw_feature()
335 dma_cap->mbps_1000 = (hw_cap & GMAC_HW_FEAT_GMIISEL) >> 1; in dwmac4_get_hw_feature()
336 dma_cap->half_duplex = (hw_cap & GMAC_HW_FEAT_HDSEL) >> 2; in dwmac4_get_hw_feature()
337 dma_cap->vlhash = (hw_cap & GMAC_HW_FEAT_VLHASH) >> 4; in dwmac4_get_hw_feature()
338 dma_cap->multi_addr = (hw_cap & GMAC_HW_FEAT_ADDMAC) >> 18; in dwmac4_get_hw_feature()
339 dma_cap->pcs = (hw_cap & GMAC_HW_FEAT_PCSSEL) >> 3; in dwmac4_get_hw_feature()
340 dma_cap->sma_mdio = (hw_cap & GMAC_HW_FEAT_SMASEL) >> 5; in dwmac4_get_hw_feature()
341 dma_cap->pmt_remote_wake_up = (hw_cap & GMAC_HW_FEAT_RWKSEL) >> 6; in dwmac4_get_hw_feature()
342 dma_cap->pmt_magic_frame = (hw_cap & GMAC_HW_FEAT_MGKSEL) >> 7; in dwmac4_get_hw_feature()
[all …]
Ddwmac1000_dma.c222 struct dma_features *dma_cap) in dwmac1000_get_hw_feature() argument
226 dma_cap->mbps_10_100 = (hw_cap & DMA_HW_FEAT_MIISEL); in dwmac1000_get_hw_feature()
227 dma_cap->mbps_1000 = (hw_cap & DMA_HW_FEAT_GMIISEL) >> 1; in dwmac1000_get_hw_feature()
228 dma_cap->half_duplex = (hw_cap & DMA_HW_FEAT_HDSEL) >> 2; in dwmac1000_get_hw_feature()
229 dma_cap->hash_filter = (hw_cap & DMA_HW_FEAT_HASHSEL) >> 4; in dwmac1000_get_hw_feature()
230 dma_cap->multi_addr = (hw_cap & DMA_HW_FEAT_ADDMAC) >> 5; in dwmac1000_get_hw_feature()
231 dma_cap->pcs = (hw_cap & DMA_HW_FEAT_PCSSEL) >> 6; in dwmac1000_get_hw_feature()
232 dma_cap->sma_mdio = (hw_cap & DMA_HW_FEAT_SMASEL) >> 8; in dwmac1000_get_hw_feature()
233 dma_cap->pmt_remote_wake_up = (hw_cap & DMA_HW_FEAT_RWKSEL) >> 9; in dwmac1000_get_hw_feature()
234 dma_cap->pmt_magic_frame = (hw_cap & DMA_HW_FEAT_MGKSEL) >> 10; in dwmac1000_get_hw_feature()
[all …]
Ddwxgmac2_dma.c369 struct dma_features *dma_cap) in dwxgmac2_get_hw_feature() argument
375 dma_cap->vlins = (hw_cap & XGMAC_HWFEAT_SAVLANINS) >> 27; in dwxgmac2_get_hw_feature()
376 dma_cap->rx_coe = (hw_cap & XGMAC_HWFEAT_RXCOESEL) >> 16; in dwxgmac2_get_hw_feature()
377 dma_cap->tx_coe = (hw_cap & XGMAC_HWFEAT_TXCOESEL) >> 14; in dwxgmac2_get_hw_feature()
378 dma_cap->eee = (hw_cap & XGMAC_HWFEAT_EEESEL) >> 13; in dwxgmac2_get_hw_feature()
379 dma_cap->atime_stamp = (hw_cap & XGMAC_HWFEAT_TSSEL) >> 12; in dwxgmac2_get_hw_feature()
380 dma_cap->av = (hw_cap & XGMAC_HWFEAT_AVSEL) >> 11; in dwxgmac2_get_hw_feature()
381 dma_cap->av &= !((hw_cap & XGMAC_HWFEAT_RAVSEL) >> 10); in dwxgmac2_get_hw_feature()
382 dma_cap->arpoffsel = (hw_cap & XGMAC_HWFEAT_ARPOFFSEL) >> 9; in dwxgmac2_get_hw_feature()
383 dma_cap->rmon = (hw_cap & XGMAC_HWFEAT_MMCSEL) >> 8; in dwxgmac2_get_hw_feature()
[all …]
Dstmmac_main.c370 if (!priv->dma_cap.eee) in stmmac_eee_init()
504 if (!(priv->dma_cap.time_stamp || priv->adv_ts)) { in stmmac_hwtstamp_set()
720 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_hwtstamp_get()
738 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_ptp()
743 if (xmac && priv->dma_cap.atime_stamp) in stmmac_init_ptp()
746 else if (priv->extend_desc && priv->dma_cap.atime_stamp) in stmmac_init_ptp()
749 if (priv->dma_cap.time_stamp) in stmmac_init_ptp()
1003 if (phy && priv->dma_cap.eee) { in stmmac_mac_link_up()
1031 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode()
1914 rxfifosz = priv->dma_cap.rx_fifo_size; in stmmac_dma_operation_mode()
[all …]
Dstmmac_tc.c243 struct dma_features *dma_cap = &priv->dma_cap; in tc_init() local
247 if (dma_cap->l3l4fnum) { in tc_init()
248 priv->flow_entries_max = dma_cap->l3l4fnum; in tc_init()
250 dma_cap->l3l4fnum, in tc_init()
264 if (!dma_cap->frpsel) in tc_init()
267 switch (dma_cap->frpbs) { in tc_init()
281 switch (dma_cap->frpes) { in tc_init()
322 if (!priv->dma_cap.av) in tc_setup_cbs()
606 u32 size, wid = priv->dma_cap.estwid, dep = priv->dma_cap.estdep; in tc_setup_taprio()
613 if (!priv->dma_cap.estsel) in tc_setup_taprio()
[all …]
Dstmmac_ethtool.c512 if (priv->dma_cap.asp) { in stmmac_get_ethtool_stats()
525 if (priv->dma_cap.rmon) { in stmmac_get_ethtool_stats()
564 if (priv->dma_cap.rmon) in stmmac_get_sset_count()
566 if (priv->dma_cap.asp) { in stmmac_get_sset_count()
593 if (priv->dma_cap.asp) { in stmmac_get_strings()
604 if (priv->dma_cap.rmon) in stmmac_get_strings()
636 if (priv->hw_cap_support && !priv->dma_cap.pmt_magic_frame) in stmmac_get_wol()
662 if ((priv->hw_cap_support) && (!priv->dma_cap.pmt_magic_frame)) in stmmac_set_wol()
689 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee()
706 if (!priv->dma_cap.eee) in stmmac_ethtool_op_set_eee()
[all …]
Dstmmac_selftests.c404 if (!priv->dma_cap.rmon) in stmmac_test_mmc()
434 if (!priv->dma_cap.eee || !priv->eee_active) in stmmac_test_eee()
762 pkt_count = priv->dma_cap.rx_fifo_size; in stmmac_test_flowctrl()
824 if (!priv->dma_cap.rssen || !priv->rss.enable) in stmmac_test_rss()
967 if (!priv->dma_cap.vlhash) in stmmac_test_vlanfilt()
975 int ret, prev_cap = priv->dma_cap.vlhash; in stmmac_test_vlanfilt_perfect()
980 priv->dma_cap.vlhash = 0; in stmmac_test_vlanfilt_perfect()
982 priv->dma_cap.vlhash = prev_cap; in stmmac_test_vlanfilt_perfect()
1061 if (!priv->dma_cap.vlhash) in stmmac_test_dvlanfilt()
1069 int ret, prev_cap = priv->dma_cap.vlhash; in stmmac_test_dvlanfilt_perfect()
[all …]
Dstmmac_ptp.c195 for (i = 0; i < priv->dma_cap.pps_out_num; i++) { in stmmac_ptp_register()
204 stmmac_ptp_clock_ops.n_per_out = priv->dma_cap.pps_out_num; in stmmac_ptp_register()
Dstmmac.h195 struct dma_features dma_cap; member
Dhwif.h206 struct dma_features *dma_cap);
/Linux-v5.10/drivers/dma/dw/
Dacpi.c36 dma_cap_zero(info->dma_cap); in dw_dma_acpi_controller_register()
37 dma_cap_set(DMA_SLAVE, info->dma_cap); in dw_dma_acpi_controller_register()
/Linux-v5.10/include/linux/
Dof_dma.h30 dma_cap_mask_t dma_cap; member
Dacpi_dma.h53 dma_cap_mask_t dma_cap; member
/Linux-v5.10/drivers/dma/
Dof-dma.c318 return __dma_request_channel(&info->dma_cap, info->filter_fn, in of_dma_simple_xlate()
Dacpi-dma.c467 return dma_request_channel(info->dma_cap, info->filter_fn, dma_spec); in acpi_dma_simple_xlate()
Dsprd-dma.c1216 sprd_dma_info.dma_cap = sdev->dma_dev.cap_mask; in sprd_dma_probe()
/Linux-v5.10/drivers/dma/ti/
Dcppi41.c995 return dma_request_channel(info->dma_cap, info->filter_fn, in cppi41_dma_xlate()
1068 cpp41_dma_info.dma_cap = cdd->ddev.cap_mask; in cppi41_dma_probe()
Domap-dma.c1813 omap_dma_info.dma_cap = od->ddev.cap_mask; in omap_dma_probe()
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst690 - ``dma_cap``: To show the HW Capabilities