Searched refs:num_ports (Results 1 – 16 of 16) sorted by relevance
/arch/mips/cavium-octeon/executive/ |
D | cvmx-interrupt-rsl.c | 80 int num_ports; in __cvmx_interrupt_gmxx_enable() local 89 num_ports = 1; in __cvmx_interrupt_gmxx_enable() 93 num_ports = 4; in __cvmx_interrupt_gmxx_enable() 96 num_ports = 0; in __cvmx_interrupt_gmxx_enable() 100 num_ports = 0; in __cvmx_interrupt_gmxx_enable() 111 num_ports = 1; in __cvmx_interrupt_gmxx_enable() 113 num_ports = 4; in __cvmx_interrupt_gmxx_enable() 121 num_ports = 2; in __cvmx_interrupt_gmxx_enable() 123 num_ports = 3; in __cvmx_interrupt_gmxx_enable() 126 num_ports = 0; in __cvmx_interrupt_gmxx_enable() [all …]
|
D | cvmx-helper-spi.c | 75 int num_ports = 0; in __cvmx_helper_spi_probe() local 79 num_ports = 10; in __cvmx_helper_spi_probe() 82 num_ports = 16; in __cvmx_helper_spi_probe() 93 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_spi_probe() 94 return num_ports; in __cvmx_helper_spi_probe() 113 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_spi_enable() local 115 for (ipd_port = interface * 16; ipd_port < interface * 16 + num_ports; in __cvmx_helper_spi_enable() 125 CVMX_HELPER_SPI_TIMEOUT, num_ports); in __cvmx_helper_spi_enable()
|
D | cvmx-helper-util.c | 266 int __cvmx_helper_setup_gmx(int interface, int num_ports) in __cvmx_helper_setup_gmx() argument 276 gmx_tx_prts.s.prts = num_ports; in __cvmx_helper_setup_gmx() 289 if (num_ports > 4) { in __cvmx_helper_setup_gmx() 296 gmx_rx_prts.s.prts = num_ports; in __cvmx_helper_setup_gmx() 306 if (num_ports == 1) in __cvmx_helper_setup_gmx() 308 else if (num_ports == 2) in __cvmx_helper_setup_gmx() 310 else if (num_ports <= 4) in __cvmx_helper_setup_gmx() 312 else if (num_ports <= 8) in __cvmx_helper_setup_gmx() 317 if (num_ports == 1) in __cvmx_helper_setup_gmx() 319 else if (num_ports == 2) in __cvmx_helper_setup_gmx() [all …]
|
D | cvmx-helper-loop.c | 51 int num_ports = 4; in __cvmx_helper_loop_probe() local 56 for (port = 0; port < num_ports; port++) { in __cvmx_helper_loop_probe() 69 return num_ports; in __cvmx_helper_loop_probe()
|
D | cvmx-helper-rgmii.c | 57 int num_ports = 0; in __cvmx_helper_rgmii_probe() local 73 num_ports = 2; in __cvmx_helper_rgmii_probe() 81 num_ports = 4; in __cvmx_helper_rgmii_probe() 85 num_ports = 3; in __cvmx_helper_rgmii_probe() 91 return num_ports; in __cvmx_helper_rgmii_probe() 164 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_rgmii_enable() local 182 asx_tx.s.prt_en = cvmx_build_mask(num_ports); in __cvmx_helper_rgmii_enable() 186 asx_rx.s.prt_en = cvmx_build_mask(num_ports); in __cvmx_helper_rgmii_enable() 190 for (port = 0; port < num_ports; port++) { in __cvmx_helper_rgmii_enable() 239 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_rgmii_enable() [all …]
|
D | cvmx-helper-npi.c | 96 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_npi_enable() local 98 for (port = 0; port < num_ports; port++) { in __cvmx_helper_npi_enable()
|
D | cvmx-helper-sgmii.c | 310 static int __cvmx_helper_sgmii_hardware_init(int interface, int num_ports) in __cvmx_helper_sgmii_hardware_init() argument 314 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_sgmii_hardware_init() 316 for (index = 0; index < num_ports; index++) { in __cvmx_helper_sgmii_hardware_init() 371 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_sgmii_enable() local 374 __cvmx_helper_sgmii_hardware_init(interface, num_ports); in __cvmx_helper_sgmii_enable() 376 for (index = 0; index < num_ports; index++) { in __cvmx_helper_sgmii_enable()
|
D | cvmx-spi.c | 106 int num_ports) in cvmx_spi_start_interface() argument 118 num_ports); in cvmx_spi_start_interface() 312 int num_ports) in cvmx_spi_calendar_setup_cb() argument 322 srxx_com_ctl.s.prts = num_ports - 1; in cvmx_spi_calendar_setup_cb() 330 while (port < num_ports) { in cvmx_spi_calendar_setup_cb() 344 srxx_spi4_stat.s.len = num_ports; in cvmx_spi_calendar_setup_cb() 393 while (port < num_ports) { in cvmx_spi_calendar_setup_cb() 407 stxx_spi4_stat.s.len = num_ports; in cvmx_spi_calendar_setup_cb()
|
D | cvmx-helper.c | 605 int num_ports = interface_port_count[interface]; in __cvmx_helper_interface_setup_ipd() local 607 while (num_ports--) { in __cvmx_helper_interface_setup_ipd() 668 int num_ports = interface_port_count[interface]; in __cvmx_helper_interface_setup_pko() local 669 while (num_ports--) { in __cvmx_helper_interface_setup_pko()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-spi.h | 53 int num_ports); 98 int timeout, int num_ports); 201 int num_ports);
|
D | cvmx-helper-util.h | 101 extern int __cvmx_helper_setup_gmx(int interface, int num_ports);
|
D | cvmx-pko-defs.h | 2596 uint64_t num_ports:4; member 2598 uint64_t num_ports:4;
|
/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_dev_enet.h | 81 int num_ports; member
|
/arch/mips/bcm63xx/ |
D | dev-enet.c | 297 enetsw_pd.num_ports = ENETSW_PORTS_6328; in bcm63xx_enetsw_register() 299 enetsw_pd.num_ports = ENETSW_PORTS_6368; in bcm63xx_enetsw_register()
|
/arch/arm/mach-cns3xxx/ |
D | cns3420vb.c | 193 .num_ports = 1,
|
D | core.c | 344 .num_ports = 1,
|