Searched refs:num_ports (Results 1 - 25 of 147) sorted by relevance

123456

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/octeon/
H A Dcvmx-interrupt-rsl.c80 int num_ports; local
89 num_ports = 1;
93 num_ports = 4;
96 num_ports = 0;
100 num_ports = 0;
111 num_ports = 1;
113 num_ports = 4;
121 num_ports = 2;
123 num_ports = 3;
126 num_ports
[all...]
H A Dcvmx-helper-loop.c51 int num_ports = 4; local
56 for (port = 0; port < num_ports; port++) {
69 return num_ports;
H A Dcvmx-helper-spi.c65 int num_ports = 0; local
69 num_ports = 10;
72 num_ports = 16;
83 __cvmx_helper_setup_gmx(interface, num_ports);
84 return num_ports;
103 int num_ports = cvmx_helper_ports_on_interface(interface); local
105 for (ipd_port = interface * 16; ipd_port < interface * 16 + num_ports;
115 CVMX_HELPER_SPI_TIMEOUT, num_ports);
H A Dcvmx-helper-npi.c84 int num_ports = cvmx_helper_ports_on_interface(interface); local
86 for (port = 0; port < num_ports; port++) {
H A Dcvmx-helper-util.c261 * @num_ports: Number of ports on the interface
265 int __cvmx_helper_setup_gmx(int interface, int num_ports) argument
275 gmx_tx_prts.s.prts = num_ports;
288 if (num_ports > 4) {
290 "num_ports\n");
295 gmx_rx_prts.s.prts = num_ports;
305 if (num_ports == 1)
307 else if (num_ports == 2)
309 else if (num_ports <= 4)
311 else if (num_ports <
[all...]
H A Dcvmx-spi.h53 int num_ports);
93 * @num_ports: Number of SPI ports to configure
98 int timeout, int num_ports);
195 * @num_ports: Number of ports to configure on SPI
201 int num_ports);
H A Dcvmx-helper-rgmii.c59 int num_ports = 0; local
75 num_ports = 2;
83 num_ports = 4;
87 num_ports = 3;
93 return num_ports;
156 int num_ports = cvmx_helper_ports_on_interface(interface); local
174 asx_tx.s.prt_en = cvmx_build_mask(num_ports);
178 asx_rx.s.prt_en = cvmx_build_mask(num_ports);
182 for (port = 0; port < num_ports; port++) {
231 __cvmx_helper_setup_gmx(interface, num_ports);
[all...]
H A Dcvmx-helper-sgmii.c307 * @num_ports: Number of ports on the interface
311 static int __cvmx_helper_sgmii_hardware_init(int interface, int num_ports) argument
315 __cvmx_helper_setup_gmx(interface, num_ports);
317 for (index = 0; index < num_ports; index++) {
364 int num_ports = cvmx_helper_ports_on_interface(interface); local
367 __cvmx_helper_sgmii_hardware_init(interface, num_ports);
369 for (index = 0; index < num_ports; index++) {
H A Dcvmx-spi.c101 * @num_ports: Number of SPI ports to configure
106 int num_ports)
118 num_ports);
305 * @num_ports: Number of ports to configure on SPI
311 int num_ports)
321 srxx_com_ctl.s.prts = num_ports - 1;
329 while (port < num_ports) {
343 srxx_spi4_stat.s.len = num_ports;
392 while (port < num_ports) {
406 stxx_spi4_stat.s.len = num_ports;
105 cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, int num_ports) argument
310 cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode, int num_ports) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/serial/
H A D8250_acorn.c29 unsigned int num_ports; member in struct:serial_card_type
36 unsigned int num_ports; member in struct:serial_card_info
54 info->num_ports = type->num_ports;
73 for (i = 0; i < info->num_ports; i ++) {
90 for (i = 0; i < info->num_ports; i++)
98 .num_ports = 3,
105 .num_ports = 2,
H A D8250_pci.c36 * = 0 - use board->num_ports
737 if (idx >= board->num_ports)
1609 .num_ports = 1,
1615 .num_ports = 1,
1621 .num_ports = 2,
1627 .num_ports = 4,
1633 .num_ports = 5,
1639 .num_ports = 8,
1645 .num_ports = 1,
1651 .num_ports
[all...]
H A D8250_hp300.c60 static unsigned int num_ports; variable
201 num_ports++;
229 if (!num_ports)
278 num_ports++;
283 if (!num_ports)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ixp2000/
H A Dixpdev.h24 int ixpdev_init(int num_ports, struct net_device **nds,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/python/
H A Dpy_spoolss_ports.c30 uint32 i, needed, num_ports; local
71 cli->pipe_list, mem_ctx, level, &num_ports, &ctr);
84 for (i = 0; i < num_ports; i++) {
103 for(i = 0; i < num_ports; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/drivers/
H A Dmtpav.c149 int num_ports; /* number of hw ports (1-8) */ member in struct:mtpav
174 * where X = chip->num_ports
186 else if (subdev < chip->num_ports)
188 else if (subdev < chip->num_ports * 2)
189 return subdev - chip->num_ports + 0x09; /* remote port */
190 else if (subdev == chip->num_ports * 2 + MTPAV_PIDX_COMPUTER)
192 else if (subdev == chip->num_ports + MTPAV_PIDX_ADAT)
201 return chip->num_ports + MTPAV_PIDX_BROADCAST;
204 if (p >= chip->num_ports)
208 p = hwport - 0x09 + chip->num_ports;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/mlx4/
H A Dsense.c71 for (i = 1; i <= dev->caps.num_ports; i++) {
88 for (i = 1; i < dev->caps.num_ports; i++)
91 if (stype[dev->caps.num_ports - 1] == MLX4_PORT_TYPE_IB) {
92 for (i = 0; i < dev->caps.num_ports - 1; i++)
99 for (i = 0; i < dev->caps.num_ports; i++)
152 for (port = 1; port <= dev->caps.num_ports; port++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A D8250_pci.h24 unsigned int num_ports; member in struct:pciserial_board
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/cavium-octeon/
H A Docteon-platform.c185 int port, num_ports; local
196 num_ports = 2;
198 num_ports = 1;
200 for (port = 0; port < num_ports; port++) {
281 int port, num_ports; local
293 num_ports = 1;
295 num_ports = 2;
297 for (port = 0; port < num_ports; port++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/serial/
H A Dkeyspan.h162 int num_ports; member in struct:keyspan_device_details
204 .num_ports = 1,
221 .num_ports = 1,
238 .num_ports = 1,
255 .num_ports = 1,
272 .num_ports = 1,
289 .num_ports = 1,
306 .num_ports = 1,
323 .num_ports = 2,
340 .num_ports
[all...]
H A Dvisor.c188 .num_ports = 2,
209 .num_ports = 2,
230 .num_ports = 1,
348 int num_ports = 0; local
375 num_ports = le16_to_cpu(connection_info->num_ports);
376 for (i = 0; i < num_ports; ++i) {
406 if (num_ports == 0 || num_ports > 2) {
409 num_ports
498 int num_ports = (int)(long)(usb_get_serial_data(serial)); local
[all...]
H A Dzio.c40 .num_ports = 1,
H A Dvisor.h105 __le16 num_ports; member in struct:visor_connection_info
133 * @num_ports: maximum number of functions/connections in use
149 __u8 num_ports; member in struct:palm_ext_connection_info
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/parport/
H A Dparport_serial.c194 .num_ports = 1,
200 .num_ports = 2,
206 .num_ports = 1,
212 .num_ports = 1,
218 .num_ports = 1,
224 .num_ports = 1,
230 .num_ports = 1,
236 .num_ports = 2,
242 .num_ports = 1,
248 .num_ports
[all...]
H A Ddaisy.c97 int num_ports; local
109 ((num_ports = num_mux_ports(port)) == 2 || num_ports == 4)) {
114 port->name, num_ports);
115 for (i = 1; i < num_ports; i++) {
128 extra->name, i + 1, th[i + 1], num_ports,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Dinit_ohci1394_dma.c98 int num_ports, i; local
146 num_ports = get_phy_reg(ohci, 2) & 0xf;
147 for (i = 0; i < num_ports; i++) {

Completed in 190 milliseconds

123456