Home
last modified time | relevance | path

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

/drivers/net/ethernet/stmicro/stmmac/
A Ddwxgmac2_dma.c422 if (dma_cap->l3l4fnum >= 8 && dma_cap->l3l4fnum <= 10) in dwxgmac2_get_hw_feature()
423 dma_cap->l3l4fnum = 8 << (dma_cap->l3l4fnum - 8); in dwxgmac2_get_hw_feature()
425 dma_cap->l3l4fnum = 32; in dwxgmac2_get_hw_feature()
436 switch (dma_cap->addr64) { in dwxgmac2_get_hw_feature()
438 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature()
441 dma_cap->addr64 = 40; in dwxgmac2_get_hw_feature()
444 dma_cap->addr64 = 48; in dwxgmac2_get_hw_feature()
447 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature()
454 dma_cap->tx_fifo_size = in dwxgmac2_get_hw_feature()
457 dma_cap->rx_fifo_size = in dwxgmac2_get_hw_feature()
[all …]
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 …]
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 …]
A Dstmmac_main.c780 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_hwtstamp_get()
805 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_tstamp_counter()
952 if (priv->dma_cap.eee) in stmmac_mac_link_down()
1070 if (priv->dma_cap.eee) in stmmac_mac_link_up()
1174 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode()
1319 if (priv->dma_cap.eee) { in stmmac_phy_setup()
6561 priv->dma_cap.estwid ? 4 * priv->dma_cap.estwid + 12 : 0); in stmmac_dma_cap_show()
6563 priv->dma_cap.estdep ? (BIT(priv->dma_cap.estdep) << 5) : 0); in stmmac_dma_cap_show()
6579 priv->dma_cap.pcsel ? BIT(priv->dma_cap.pcsel + 3) : 0); in stmmac_dma_cap_show()
7625 priv->dma_cap.host_dma_width = priv->dma_cap.addr64; in stmmac_dvr_probe()
[all …]
A Dstmmac_ethtool.c590 if (priv->dma_cap.asp) { in stmmac_get_ethtool_stats()
602 if (priv->dma_cap.rmon) { in stmmac_get_ethtool_stats()
614 if (priv->dma_cap.eee) { in stmmac_get_ethtool_stats()
698 if (priv->dma_cap.rmon) in stmmac_get_sset_count()
700 if (priv->dma_cap.asp) { in stmmac_get_sset_count()
749 if (priv->dma_cap.asp) { in stmmac_get_strings()
760 if (priv->dma_cap.rmon) in stmmac_get_strings()
855 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee()
866 if (!priv->dma_cap.eee) in stmmac_ethtool_op_set_eee()
1136 if ((priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) { in stmmac_get_ts_info()
[all …]
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 …]
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()
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 …]
A Dstmmac_fpe.c41 return priv->dma_cap.fpesel && priv->fpe_cfg.reg && in stmmac_fpe_supported()
174 priv->dma_cap.fpesel) in stmmac_fpe_init()
A Dstmmac.h285 struct dma_features dma_cap; member
A Dhwif.h220 struct dma_features *dma_cap);
/drivers/dma/dw/
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()
/drivers/staging/gpib/eastwood/
A Dfluke_gpib.c972 dma_cap_mask_t dma_cap; in fluke_attach_impl() local
1055 dma_cap_zero(dma_cap); in fluke_attach_impl()
1056 dma_cap_set(DMA_SLAVE, dma_cap); in fluke_attach_impl()
1057 e_priv->dma_channel = dma_request_channel(dma_cap, gpib_dma_channel_filter, NULL); in fluke_attach_impl()
/drivers/dma/
A Dof-dma.c333 return __dma_request_channel(&info->dma_cap, info->filter_fn, in of_dma_simple_xlate()
A Dacpi-dma.c460 return dma_request_channel(info->dma_cap, info->filter_fn, dma_spec); in acpi_dma_simple_xlate()
A Dsprd-dma.c1223 sprd_dma_info.dma_cap = sdev->dma_dev.cap_mask; in sprd_dma_probe()
/drivers/dma/ti/
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()
A Domap-dma.c1818 omap_dma_info.dma_cap = od->ddev.cap_mask; in omap_dma_probe()

Completed in 58 milliseconds