/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-loop.c | 77 int num_ports, index; local 81 num_ports = __cvmx_helper_get_num_ipd_ports(xiface); 86 for (index = 0; index < num_ports; index++) { 119 for (index = 0; index < num_ports; index++) { 127 lp_pknd.s.num_ports = num_ports; 169 for (index = 0; index < num_ports; index++) {
|
H A D | cvmx-helper-rgmii.c | 45 int num_ports = 0; local 54 return num_ports; 70 int num_ports = cvmx_helper_ports_on_interface(interface); local 78 if (num_ports == -1) 85 asx_tx.s.prt_en = cvmx_build_mask(num_ports); 89 asx_rx.s.prt_en = cvmx_build_mask(num_ports); 93 for (port = 0; port < num_ports; port++) { 120 __cvmx_helper_setup_gmx(interface, num_ports); 123 for (port = 0; port < num_ports; port++) {
|
H A D | cvmx-helper-pko.c | 174 int num_ports = cvmx_helper_ports_on_interface(interface); local 176 while (num_ports--) { 179 if (!cvmx_helper_is_port_valid(interface, num_ports)) 182 ipd_port = cvmx_helper_get_ipd_port(interface, num_ports);
|
H A D | cvmx-helper-npi.c | 86 int num_ports = cvmx_helper_ports_on_interface(interface); local 93 for (port = 0; port < num_ports; port++) { 131 cvmx_npi_num_pipes < 0 ? num_ports : cvmx_npi_num_pipes;
|
H A D | cvmx-helper-util.c | 567 * @param num_ports Number of ports on the interface 571 int __cvmx_helper_setup_gmx(int xiface, int num_ports) argument 589 gmx_tx_prts.s.prts = num_ports; 603 if (num_ports > 4) { 604 debug("%s: Illegal num_ports\n", __func__); 609 gmx_rx_prts.s.prts = num_ports; 625 if (num_ports == 1) 627 else if (num_ports == 2) 629 else if (num_ports <= 4) 631 else if (num_ports < [all...] |
H A D | cvmx-helper-sgmii.c | 376 * @param num_ports Number of ports on the interface 380 static int __cvmx_helper_sgmii_hardware_init(int interface, int num_ports) argument 420 __cvmx_helper_setup_gmx(interface, num_ports); 422 for (index = 0; index < num_ports; index++) { 513 int num_ports = cvmx_helper_ports_on_interface(xiface); local 520 for (index = 0; index < num_ports; index++) { 551 __cvmx_helper_sgmii_hardware_init(interface, num_ports); 557 for (index = 0; index < num_ports; index++) { 570 if (OCTEON_IS_MODEL(OCTEON_CN70XX) && num_ports > 1) { 578 for (index = 0; index < num_ports; inde [all...] |
H A D | cvmx-helper-ipd.c | 253 int num_ports = cvmx_helper_ports_on_interface(xiface); local 258 if (num_ports == CVMX_HELPER_CFG_INVALID_VALUE) 267 while (num_ports--) { 268 if (!cvmx_helper_is_port_valid(xiface, num_ports))
|
H A D | cvmx-helper-pko3.c | 824 int node, iface, subif, num_ports; local 835 num_ports = cvmx_helper_interface_enumerate(xiface); 857 num_ports = __cvmx_helper_ilk_enumerate(xiface); 860 if (num_ports < 1) { 875 res = __cvmx_pko3_config_chan_interface(xiface, num_ports, 888 res = __cvmx_pko3_config_chan_interface(xiface, num_ports, 916 for (subif = 0; subif < num_ports; subif++) { 927 for (subif = 0; subif < num_ports; subif++) { 949 for (subif = 0; subif < num_ports; subif++) {
|
H A D | cvmx-pko3.c | 286 unsigned int port, num_ports; local 329 num_ports = cvmx_helper_interface_enumerate(xiface); 340 num_ports = 1; 342 for (port = 0; port < num_ports; port++) {
|
H A D | cvmx-helper-bgx.c | 288 int num_ports; local 302 num_ports = cvmx_helper_ports_on_interface(xiface); 307 bgx_rx_bp_on.s.mark = (CVMX_BGX_RX_FIFO_SIZE / (num_ports * 4 * 16)); 492 * @param num_ports Number of ports on the interface 496 static int __cvmx_helper_bgx_sgmii_hardware_init(int xiface, int num_ports) argument 501 for (index = 0; index < num_ports; index++) { 536 int num_ports; local 538 num_ports = cvmx_helper_ports_on_interface(xiface); 539 __cvmx_helper_bgx_sgmii_hardware_init(xiface, num_ports); 2012 int num_ports local 2300 int num_ports = cvmx_helper_ports_on_interface(xiface); local [all...] |
H A D | cvmx-helper.c | 1411 int num_ports; local 1429 num_ports = cvmx_helper_ports_on_interface(xiface); 1430 if (num_ports > 0)
|
H A D | cvmx-helper-cfg.c | 972 int num_ports = __cvmx_helper_early_ports_on_interface(interface); local 975 for (port = 0; port < num_ports; port++) {
|
H A D | octeon_qlm.c | 4122 int num_ports = 0; local 4356 num_ports = 4; 4367 num_ports = 1; 4377 num_ports = 2; 4388 num_ports = 4; 4399 num_ports = 1; 4485 for (index = 0; index < num_ports; index++) { 4497 csr_wr_node(node, CVMX_BGXX_CMR_TX_LMACS(bgx), num_ports); 4498 csr_wr_node(node, CVMX_BGXX_CMR_RX_LMACS(bgx), num_ports); 4501 for (index = 0; index < num_ports; inde [all...] |
/u-boot/drivers/net/ |
H A D | bcm6368-eth.c | 136 uint8_t num_ports; member in struct:bcm6368_eth_priv 224 for (i = 0; i < priv->num_ports; i++) { 317 for (i = 0; i < priv->num_ports; i++) { 326 for (i = ETH_RGMII_PORT0; i < priv->num_ports; i++) { 368 for (i = 0; i < priv->num_ports; i++) { 415 for (i = 0; i < priv->num_ports; i++) { 423 for (i = ETH_RGMII_PORT0; i < priv->num_ports; i++) { 462 for (i = 0; i < priv->num_ports; ++i) { 512 int num_ports, ret, i; local 522 num_ports [all...] |
H A D | sja1105.c | 1262 table->entries = calloc(pdata->num_ports, 1267 table->entry_count = pdata->num_ports; 1269 for (port = 0; port < pdata->num_ports; port++) 1304 for (i = 0; i < pdata->num_ports; i++) { 1350 .host_port = pdata->num_ports, 1352 .mirr_port = pdata->num_ports, 1355 .casc_port = pdata->num_ports, 1410 for (i = 0, k = 0; i < pdata->num_ports; i++) { 1411 int bcast = (pdata->num_ports * SJA1105_NUM_TC) + i; 1445 table->entries = calloc(pdata->num_ports, [all...] |
H A D | ksz9477.c | 567 for (i = 0; i < pdata->num_ports; i++) {
|
/u-boot/net/ |
H A D | dsa-uclass.c | 20 int num_ports; member in struct:dsa_priv 390 pdata->num_ports = ofnode_get_child_count(node); 391 if (pdata->num_ports <= 0 || pdata->num_ports > DSA_MAX_PORTS) { 393 pdata->num_ports); 422 for (i = 0; i < pdata->num_ports; i++) { 490 priv->num_ports = pdata->num_ports;
|
/u-boot/test/dm/ |
H A D | dsa.c | 43 ut_assert(dsa_pdata->num_ports == 3);
|
/u-boot/include/net/ |
H A D | dsa.h | 105 * @num_ports: Number of ports the device has, must be <= DSA_MAX_PORTS. 115 int num_ports; member in struct:dsa_pdata
|
/u-boot/drivers/pinctrl/renesas/ |
H A D | rzg2l-pfc.c | 22 uint num_ports; member in struct:rzg2l_pfc_driver_data 72 return (port < data->num_ports) && 87 for (port = 0; port < data->num_ports; port++) { 555 .num_ports = ARRAY_SIZE(r9a07g044_gpio_configs), 585 data->num_ports = driver_data->num_ports; 589 for (i = 0; i < data->num_ports; i++) 592 data->num_dedicated_pins, data->num_ports, data->num_pins);
|
/u-boot/include/renesas/ |
H A D | rzg2l-pfc.h | 102 uint num_ports; member in struct:rzg2l_pfc_data
|
/u-boot/drivers/pci/ |
H A D | pci_tegra.c | 208 unsigned int num_ports; member in struct:tegra_pcie_soc 945 if (soc->num_ports > 2) 1038 .num_ports = 2, 1048 .num_ports = 3, 1060 .num_ports = 2, 1070 .num_ports = 2, 1081 .num_ports = 3,
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-util.h | 267 * @param num_ports Number of ports on the interface 271 int __cvmx_helper_setup_gmx(int xiface, int num_ports);
|
H A D | cvmx-pip.h | 830 int num_ports = cvmx_helper_ports_on_interface(interface); local 832 for (port = 0; port < num_ports; port++) {
|
/u-boot/drivers/ata/ |
H A D | dwc_ahsata.c | 121 u32 tmp, cap_save, num_ports; local 150 num_ports = (cap_save & SATA_HOST_CAP_NP_MASK) + 1; 151 writel_with_flush((1 << num_ports) - 1, &host_mmio->pi);
|