/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_dma.c | 351 struct dma_features *dma_cap) in dwmac4_get_hw_feature() argument 386 switch (dma_cap->addr64) { in dwmac4_get_hw_feature() 388 dma_cap->addr64 = 32; in dwmac4_get_hw_feature() 391 dma_cap->addr64 = 40; in dwmac4_get_hw_feature() 394 dma_cap->addr64 = 48; in dwmac4_get_hw_feature() 397 dma_cap->addr64 = 32; in dwmac4_get_hw_feature() 409 dma_cap->number_rx_channel = in dwmac4_get_hw_feature() 411 dma_cap->number_tx_channel = in dwmac4_get_hw_feature() 414 dma_cap->number_rx_queues = in dwmac4_get_hw_feature() 416 dma_cap->number_tx_queues = in dwmac4_get_hw_feature() [all …]
|
H A D | dwmac1000_dma.c | 222 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() 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() 236 dma_cap->rmon = (hw_cap & DMA_HW_FEAT_MMCSEL) >> 11; in dwmac1000_get_hw_feature() 238 dma_cap->time_stamp = in dwmac1000_get_hw_feature() 243 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature() 244 dma_cap->av = (hw_cap & DMA_HW_FEAT_AVSEL) >> 15; in dwmac1000_get_hw_feature() [all …]
|
H A D | dwxgmac2_dma.c | 404 switch (dma_cap->addr64) { in dwxgmac2_get_hw_feature() 406 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature() 409 dma_cap->addr64 = 40; in dwxgmac2_get_hw_feature() 412 dma_cap->addr64 = 48; in dwxgmac2_get_hw_feature() 415 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature() 419 dma_cap->tx_fifo_size = in dwxgmac2_get_hw_feature() 421 dma_cap->rx_fifo_size = in dwxgmac2_get_hw_feature() 427 dma_cap->number_tx_channel = in dwxgmac2_get_hw_feature() 429 dma_cap->number_rx_channel = in dwxgmac2_get_hw_feature() 431 dma_cap->number_tx_queues = in dwxgmac2_get_hw_feature() [all …]
|
H A D | stmmac_tc.c | 237 struct dma_features *dma_cap = &priv->dma_cap; in tc_init() local 241 if (dma_cap->l3l4fnum) { in tc_init() 244 dma_cap->l3l4fnum, in tc_init() 268 if (!dma_cap->frpsel) in tc_init() 271 switch (dma_cap->frpbs) { in tc_init() 285 switch (dma_cap->frpes) { in tc_init() 327 if (!priv->dma_cap.av) in tc_setup_cbs() 719 u32 size, wid = priv->dma_cap.estwid, dep = priv->dma_cap.estdep; in tc_setup_taprio() 727 if (!priv->dma_cap.estsel) in tc_setup_taprio() 840 if (fpe && !priv->dma_cap.fpesel) in tc_setup_taprio() [all …]
|
H A D | stmmac_main.c | 468 if (!priv->dma_cap.eee) in stmmac_eee_init() 843 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_hwtstamp_get() 861 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_ptp() 1050 if (priv->dma_cap.fpesel) in stmmac_mac_link_down() 1151 if (priv->dma_cap.fpesel) in stmmac_mac_link_up() 1175 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode() 2788 if (priv->dma_cap.rmon) { in stmmac_mmc_setup() 3170 if (priv->dma_cap.asp) { in stmmac_safety_feat_configuration() 3325 if (priv->dma_cap.vlins) in stmmac_hw_setup() 3795 if (priv->dma_cap.fpesel) in stmmac_release() [all …]
|
H A D | stmmac_ethtool.c | 522 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() 603 if (priv->dma_cap.asp) { in stmmac_get_strings() 614 if (priv->dma_cap.rmon) in stmmac_get_strings() 699 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee() 716 if (!priv->dma_cap.eee) in stmmac_ethtool_op_set_eee() 976 chan->max_rx = priv->dma_cap.number_rx_queues; in stmmac_get_channels() 977 chan->max_tx = priv->dma_cap.number_tx_queues; in stmmac_get_channels() [all …]
|
H A D | stmmac_selftests.c | 404 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() 1177 if (!priv->dma_cap.vlins) in stmmac_test_desc_sai() 1199 if (!priv->dma_cap.vlins) in stmmac_test_desc_sar() 1220 if (!priv->dma_cap.vlins) in stmmac_test_reg_sai() 1243 if (!priv->dma_cap.vlins) in stmmac_test_reg_sar() 1267 if (!priv->dma_cap.vlins) in stmmac_test_vlanoff_common() [all …]
|
H A D | stmmac_ptp.c | 264 for (i = 0; i < priv->dma_cap.pps_out_num; i++) { in stmmac_ptp_register() 273 stmmac_ptp_clock_ops.n_per_out = priv->dma_cap.pps_out_num; in stmmac_ptp_register() 274 stmmac_ptp_clock_ops.n_ext_ts = priv->dma_cap.aux_snapshot_n; in stmmac_ptp_register()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_dma.c | 351 struct dma_features *dma_cap) in dwmac4_get_hw_feature() argument 386 switch (dma_cap->addr64) { in dwmac4_get_hw_feature() 388 dma_cap->addr64 = 32; in dwmac4_get_hw_feature() 391 dma_cap->addr64 = 40; in dwmac4_get_hw_feature() 394 dma_cap->addr64 = 48; in dwmac4_get_hw_feature() 397 dma_cap->addr64 = 32; in dwmac4_get_hw_feature() 409 dma_cap->number_rx_channel = in dwmac4_get_hw_feature() 411 dma_cap->number_tx_channel = in dwmac4_get_hw_feature() 414 dma_cap->number_rx_queues = in dwmac4_get_hw_feature() 416 dma_cap->number_tx_queues = in dwmac4_get_hw_feature() [all …]
|
H A D | dwmac1000_dma.c | 222 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() 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() 236 dma_cap->rmon = (hw_cap & DMA_HW_FEAT_MMCSEL) >> 11; in dwmac1000_get_hw_feature() 238 dma_cap->time_stamp = in dwmac1000_get_hw_feature() 243 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature() 244 dma_cap->av = (hw_cap & DMA_HW_FEAT_AVSEL) >> 15; in dwmac1000_get_hw_feature() [all …]
|
H A D | dwxgmac2_dma.c | 404 switch (dma_cap->addr64) { in dwxgmac2_get_hw_feature() 406 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature() 409 dma_cap->addr64 = 40; in dwxgmac2_get_hw_feature() 412 dma_cap->addr64 = 48; in dwxgmac2_get_hw_feature() 415 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature() 419 dma_cap->tx_fifo_size = in dwxgmac2_get_hw_feature() 421 dma_cap->rx_fifo_size = in dwxgmac2_get_hw_feature() 427 dma_cap->number_tx_channel = in dwxgmac2_get_hw_feature() 429 dma_cap->number_rx_channel = in dwxgmac2_get_hw_feature() 431 dma_cap->number_tx_queues = in dwxgmac2_get_hw_feature() [all …]
|
H A D | stmmac_tc.c | 237 struct dma_features *dma_cap = &priv->dma_cap; in tc_init() local 241 if (dma_cap->l3l4fnum) { in tc_init() 244 dma_cap->l3l4fnum, in tc_init() 268 if (!dma_cap->frpsel) in tc_init() 271 switch (dma_cap->frpbs) { in tc_init() 285 switch (dma_cap->frpes) { in tc_init() 327 if (!priv->dma_cap.av) in tc_setup_cbs() 719 u32 size, wid = priv->dma_cap.estwid, dep = priv->dma_cap.estdep; in tc_setup_taprio() 727 if (!priv->dma_cap.estsel) in tc_setup_taprio() 840 if (fpe && !priv->dma_cap.fpesel) in tc_setup_taprio() [all …]
|
H A D | stmmac_main.c | 468 if (!priv->dma_cap.eee) in stmmac_eee_init() 843 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_hwtstamp_get() 861 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_ptp() 1050 if (priv->dma_cap.fpesel) in stmmac_mac_link_down() 1151 if (priv->dma_cap.fpesel) in stmmac_mac_link_up() 1175 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode() 2788 if (priv->dma_cap.rmon) { in stmmac_mmc_setup() 3170 if (priv->dma_cap.asp) { in stmmac_safety_feat_configuration() 3325 if (priv->dma_cap.vlins) in stmmac_hw_setup() 3795 if (priv->dma_cap.fpesel) in stmmac_release() [all …]
|
H A D | stmmac_ethtool.c | 522 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() 603 if (priv->dma_cap.asp) { in stmmac_get_strings() 614 if (priv->dma_cap.rmon) in stmmac_get_strings() 699 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee() 716 if (!priv->dma_cap.eee) in stmmac_ethtool_op_set_eee() 976 chan->max_rx = priv->dma_cap.number_rx_queues; in stmmac_get_channels() 977 chan->max_tx = priv->dma_cap.number_tx_queues; in stmmac_get_channels() [all …]
|
H A D | stmmac_selftests.c | 404 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() 1177 if (!priv->dma_cap.vlins) in stmmac_test_desc_sai() 1199 if (!priv->dma_cap.vlins) in stmmac_test_desc_sar() 1220 if (!priv->dma_cap.vlins) in stmmac_test_reg_sai() 1243 if (!priv->dma_cap.vlins) in stmmac_test_reg_sar() 1267 if (!priv->dma_cap.vlins) in stmmac_test_vlanoff_common() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_dma.c | 351 struct dma_features *dma_cap) in dwmac4_get_hw_feature() argument 386 switch (dma_cap->addr64) { in dwmac4_get_hw_feature() 388 dma_cap->addr64 = 32; in dwmac4_get_hw_feature() 391 dma_cap->addr64 = 40; in dwmac4_get_hw_feature() 394 dma_cap->addr64 = 48; in dwmac4_get_hw_feature() 397 dma_cap->addr64 = 32; in dwmac4_get_hw_feature() 409 dma_cap->number_rx_channel = in dwmac4_get_hw_feature() 411 dma_cap->number_tx_channel = in dwmac4_get_hw_feature() 414 dma_cap->number_rx_queues = in dwmac4_get_hw_feature() 416 dma_cap->number_tx_queues = in dwmac4_get_hw_feature() [all …]
|
H A D | dwmac1000_dma.c | 222 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() 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() 236 dma_cap->rmon = (hw_cap & DMA_HW_FEAT_MMCSEL) >> 11; in dwmac1000_get_hw_feature() 238 dma_cap->time_stamp = in dwmac1000_get_hw_feature() 243 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature() 244 dma_cap->av = (hw_cap & DMA_HW_FEAT_AVSEL) >> 15; in dwmac1000_get_hw_feature() [all …]
|
H A D | dwxgmac2_dma.c | 404 switch (dma_cap->addr64) { in dwxgmac2_get_hw_feature() 406 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature() 409 dma_cap->addr64 = 40; in dwxgmac2_get_hw_feature() 412 dma_cap->addr64 = 48; in dwxgmac2_get_hw_feature() 415 dma_cap->addr64 = 32; in dwxgmac2_get_hw_feature() 419 dma_cap->tx_fifo_size = in dwxgmac2_get_hw_feature() 421 dma_cap->rx_fifo_size = in dwxgmac2_get_hw_feature() 427 dma_cap->number_tx_channel = in dwxgmac2_get_hw_feature() 429 dma_cap->number_rx_channel = in dwxgmac2_get_hw_feature() 431 dma_cap->number_tx_queues = in dwxgmac2_get_hw_feature() [all …]
|
H A D | stmmac_tc.c | 237 struct dma_features *dma_cap = &priv->dma_cap; in tc_init() local 241 if (dma_cap->l3l4fnum) { in tc_init() 244 dma_cap->l3l4fnum, in tc_init() 268 if (!dma_cap->frpsel) in tc_init() 271 switch (dma_cap->frpbs) { in tc_init() 285 switch (dma_cap->frpes) { in tc_init() 327 if (!priv->dma_cap.av) in tc_setup_cbs() 719 u32 size, wid = priv->dma_cap.estwid, dep = priv->dma_cap.estdep; in tc_setup_taprio() 727 if (!priv->dma_cap.estsel) in tc_setup_taprio() 840 if (fpe && !priv->dma_cap.fpesel) in tc_setup_taprio() [all …]
|
H A D | stmmac_main.c | 468 if (!priv->dma_cap.eee) in stmmac_eee_init() 843 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_hwtstamp_get() 861 if (!(priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) in stmmac_init_ptp() 1050 if (priv->dma_cap.fpesel) in stmmac_mac_link_down() 1151 if (priv->dma_cap.fpesel) in stmmac_mac_link_up() 1175 if (priv->dma_cap.pcs) { in stmmac_check_pcs_mode() 2788 if (priv->dma_cap.rmon) { in stmmac_mmc_setup() 3170 if (priv->dma_cap.asp) { in stmmac_safety_feat_configuration() 3325 if (priv->dma_cap.vlins) in stmmac_hw_setup() 3795 if (priv->dma_cap.fpesel) in stmmac_release() [all …]
|
H A D | stmmac_ethtool.c | 522 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() 603 if (priv->dma_cap.asp) { in stmmac_get_strings() 614 if (priv->dma_cap.rmon) in stmmac_get_strings() 699 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee() 716 if (!priv->dma_cap.eee) in stmmac_ethtool_op_set_eee() 976 chan->max_rx = priv->dma_cap.number_rx_queues; in stmmac_get_channels() 977 chan->max_tx = priv->dma_cap.number_tx_queues; in stmmac_get_channels() [all …]
|
H A D | stmmac_selftests.c | 404 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() 1177 if (!priv->dma_cap.vlins) in stmmac_test_desc_sai() 1199 if (!priv->dma_cap.vlins) in stmmac_test_desc_sar() 1220 if (!priv->dma_cap.vlins) in stmmac_test_reg_sai() 1243 if (!priv->dma_cap.vlins) in stmmac_test_reg_sar() 1267 if (!priv->dma_cap.vlins) in stmmac_test_vlanoff_common() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/dma/dw/ |
H A D | acpi.c | 36 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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/dma/dw/ |
H A D | acpi.c | 36 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()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/dma/dw/ |
H A D | acpi.c | 36 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()
|