Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_dma.c424 if (dma_cap->l3l4fnum >= 8 && dma_cap->l3l4fnum <= 10) in dwxgmac2_get_hw_feature()
425 dma_cap->l3l4fnum = 8 << (dma_cap->l3l4fnum - 8); in dwxgmac2_get_hw_feature()
427 dma_cap->l3l4fnum = 32; in dwxgmac2_get_hw_feature()
438 switch (dma_cap->addr64) { in dwxgmac2_get_hw_feature()
440 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature()
443 dma_cap->addr64 = 40; in dwxgmac2_get_hw_feature()
446 dma_cap->addr64 = 48; in dwxgmac2_get_hw_feature()
449 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature()
456 dma_cap->tx_fifo_size = in dwxgmac2_get_hw_feature()
459 dma_cap->rx_fifo_size = in dwxgmac2_get_hw_feature()
[all …]
H A Ddwmac4_dma.c386 struct dma_features *dma_cap) in dwmac4_get_hw_feature() argument
421 switch (dma_cap->addr64) { in dwmac4_get_hw_feature()
423 dma_cap->addr64 = 32; in dwmac4_get_hw_feature()
426 dma_cap->addr64 = 40; in dwmac4_get_hw_feature()
429 dma_cap->addr64 = 48; in dwmac4_get_hw_feature()
432 dma_cap->addr64 = 32; in dwmac4_get_hw_feature()
444 dma_cap->number_rx_channel = in dwmac4_get_hw_feature()
446 dma_cap->number_tx_channel = in dwmac4_get_hw_feature()
449 dma_cap->number_rx_queues = in dwmac4_get_hw_feature()
451 dma_cap->number_tx_queues = in dwmac4_get_hw_feature()
[all …]
H A Ddwmac1000_dma.c229 struct dma_features *dma_cap) in dwmac1000_get_hw_feature() argument
240 dma_cap->mbps_10_100 = (hw_cap & DMA_HW_FEAT_MIISEL); in dwmac1000_get_hw_feature()
241 dma_cap->mbps_1000 = (hw_cap & DMA_HW_FEAT_GMIISEL) >> 1; in dwmac1000_get_hw_feature()
242 dma_cap->half_duplex = (hw_cap & DMA_HW_FEAT_HDSEL) >> 2; in dwmac1000_get_hw_feature()
245 dma_cap->pcs = (hw_cap & DMA_HW_FEAT_PCSSEL) >> 6; in dwmac1000_get_hw_feature()
246 dma_cap->sma_mdio = (hw_cap & DMA_HW_FEAT_SMASEL) >> 8; in dwmac1000_get_hw_feature()
250 dma_cap->rmon = (hw_cap & DMA_HW_FEAT_MMCSEL) >> 11; in dwmac1000_get_hw_feature()
252 dma_cap->time_stamp = in dwmac1000_get_hw_feature()
257 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature()
258 dma_cap->av = (hw_cap & DMA_HW_FEAT_AVSEL) >> 15; in dwmac1000_get_hw_feature()
[all …]
H A Dstmmac_main.c779 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_hwtstamp_get()
803 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_tstamp_counter()
945 if (priv->dma_cap.eee) in stmmac_mac_link_down()
1063 if (priv->dma_cap.eee) in stmmac_mac_link_up()
1167 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode()
1301 if (priv->dma_cap.eee) { in stmmac_phy_setup()
6554 priv->dma_cap.estwid ? 4 * priv->dma_cap.estwid + 12 : 0); in stmmac_dma_cap_show()
6556 priv->dma_cap.estdep ? (BIT(priv->dma_cap.estdep) << 5) : 0); in stmmac_dma_cap_show()
6572 priv->dma_cap.pcsel ? BIT(priv->dma_cap.pcsel + 3) : 0); in stmmac_dma_cap_show()
7616 priv->dma_cap.host_dma_width = priv->dma_cap.addr64; in stmmac_dvr_probe()
[all …]
H A Dstmmac_ethtool.c633 if (priv->dma_cap.asp) { in stmmac_get_ethtool_stats()
645 if (priv->dma_cap.rmon) { in stmmac_get_ethtool_stats()
657 if (priv->dma_cap.eee) { in stmmac_get_ethtool_stats()
741 if (priv->dma_cap.rmon) in stmmac_get_sset_count()
743 if (priv->dma_cap.asp) { in stmmac_get_sset_count()
792 if (priv->dma_cap.asp) { in stmmac_get_strings()
803 if (priv->dma_cap.rmon) in stmmac_get_strings()
898 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee()
909 if (!priv->dma_cap.eee) in stmmac_ethtool_op_set_eee()
1179 if ((priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) { in stmmac_get_ts_info()
[all …]
H A Dstmmac_ptp.c312 for (i = 0; i < priv->dma_cap.pps_out_num; i++) { in stmmac_ptp_register()
326 if (priv->dma_cap.pps_out_num) in stmmac_ptp_register()
327 priv->ptp_clock_ops.n_per_out = priv->dma_cap.pps_out_num; in stmmac_ptp_register()
329 if (priv->dma_cap.aux_snapshot_n) in stmmac_ptp_register()
330 priv->ptp_clock_ops.n_ext_ts = priv->dma_cap.aux_snapshot_n; in stmmac_ptp_register()
H A Dstmmac_selftests.c404 if (!priv->dma_cap.rmon) in stmmac_test_mmc()
967 if (!priv->dma_cap.vlhash) in stmmac_test_vlanfilt()
980 priv->dma_cap.vlhash = 0; in stmmac_test_vlanfilt_perfect()
1061 if (!priv->dma_cap.vlhash) in stmmac_test_dvlanfilt()
1074 priv->dma_cap.vlhash = 0; in stmmac_test_dvlanfilt_perfect()
1176 if (!priv->dma_cap.vlins) in stmmac_test_desc_sai()
1198 if (!priv->dma_cap.vlins) in stmmac_test_desc_sar()
1219 if (!priv->dma_cap.vlins) in stmmac_test_reg_sai()
1242 if (!priv->dma_cap.vlins) in stmmac_test_reg_sar()
1266 if (!priv->dma_cap.vlins) in stmmac_test_vlanoff_common()
[all …]
H A Dstmmac_tc.c261 struct dma_features *dma_cap = &priv->dma_cap; in tc_init() local
265 if (dma_cap->l3l4fnum) { in tc_init()
268 dma_cap->l3l4fnum, in tc_init()
286 if (!dma_cap->frpsel) in tc_init()
289 switch (dma_cap->frpbs) { in tc_init()
303 switch (dma_cap->frpes) { in tc_init()
346 if (!priv->dma_cap.av) in tc_setup_cbs()
934 u32 size, wid = priv->dma_cap.estwid, dep = priv->dma_cap.estdep; in tc_taprio_configure()
944 if (!priv->dma_cap.estsel) in tc_taprio_configure()
1158 if (!priv->dma_cap.tbssel) in tc_setup_etf()
[all …]
H A Dstmmac_fpe.c47 return priv->dma_cap.fpesel && priv->fpe_cfg.reg && in stmmac_fpe_supported()
234 priv->dma_cap.fpesel) in stmmac_fpe_init()
H A Dstmmac.h297 struct dma_features dma_cap; member
H A Dhwif.h220 struct dma_features *dma_cap);
/linux-6.15/drivers/dma/dw/
H A Dacpi.c38 dma_cap_zero(info->dma_cap); in dw_dma_acpi_controller_register()
39 dma_cap_set(DMA_SLAVE, info->dma_cap); in dw_dma_acpi_controller_register()
/linux-6.15/include/linux/
H A Dacpi_dma.h54 dma_cap_mask_t dma_cap; member
H A Dof_dma.h30 dma_cap_mask_t dma_cap; member
/linux-6.15/drivers/staging/gpib/eastwood/
H A Dfluke_gpib.c955 dma_cap_mask_t dma_cap; in fluke_attach_impl() local
1040 dma_cap_zero(dma_cap); in fluke_attach_impl()
1041 dma_cap_set(DMA_SLAVE, dma_cap); in fluke_attach_impl()
1042 e_priv->dma_channel = dma_request_channel(dma_cap, gpib_dma_channel_filter, NULL); in fluke_attach_impl()
/linux-6.15/drivers/dma/
H A Dof-dma.c333 return __dma_request_channel(&info->dma_cap, info->filter_fn, in of_dma_simple_xlate()
H A Dacpi-dma.c460 return dma_request_channel(info->dma_cap, info->filter_fn, dma_spec); in acpi_dma_simple_xlate()
H A Dsprd-dma.c1223 sprd_dma_info.dma_cap = sdev->dma_dev.cap_mask; in sprd_dma_probe()
/linux-6.15/drivers/dma/ti/
H A Dcppi41.c995 return dma_request_channel(info->dma_cap, info->filter_fn, in cppi41_dma_xlate()
1067 cpp41_dma_info.dma_cap = cdd->ddev.cap_mask; in cppi41_dma_probe()
H A Domap-dma.c1818 omap_dma_info.dma_cap = od->ddev.cap_mask; in omap_dma_probe()
/linux-6.15/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst690 - ``dma_cap``: To show the HW Capabilities