Home
last modified time | relevance | path

Searched refs:num_ports (Results 1 – 25 of 230) sorted by relevance

12345678910

/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-interrupt-rsl.c80 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 …]
H A Dcvmx-helper-util.c176 * @num_ports: Number of ports on the interface
180 int __cvmx_helper_setup_gmx(int interface, int num_ports) in __cvmx_helper_setup_gmx() argument
190 gmx_tx_prts.s.prts = num_ports; in __cvmx_helper_setup_gmx()
203 if (num_ports > 4) { in __cvmx_helper_setup_gmx()
205 "num_ports\n"); in __cvmx_helper_setup_gmx()
210 gmx_rx_prts.s.prts = num_ports; in __cvmx_helper_setup_gmx()
220 if (num_ports == 1) in __cvmx_helper_setup_gmx()
222 else if (num_ports == 2) in __cvmx_helper_setup_gmx()
224 else if (num_ports <= 4) in __cvmx_helper_setup_gmx()
226 else if (num_ports < in __cvmx_helper_setup_gmx()
[all...]
H A Dcvmx-helper-spi.c73 int num_ports = 0; in __cvmx_helper_spi_probe() local
77 num_ports = 10; in __cvmx_helper_spi_probe()
80 num_ports = 16; in __cvmx_helper_spi_probe()
91 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_spi_probe()
92 return num_ports; in __cvmx_helper_spi_probe()
111 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_spi_enable() local
113 for (ipd_port = interface * 16; ipd_port < interface * 16 + num_ports; in __cvmx_helper_spi_enable()
123 CVMX_HELPER_SPI_TIMEOUT, num_ports); in __cvmx_helper_spi_enable()
H A Dcvmx-helper-rgmii.c54 int num_ports = 0; in __cvmx_helper_rgmii_probe() local
70 num_ports = 2; in __cvmx_helper_rgmii_probe()
78 num_ports = 4; in __cvmx_helper_rgmii_probe()
82 num_ports = 3; in __cvmx_helper_rgmii_probe()
88 return num_ports; in __cvmx_helper_rgmii_probe()
161 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_rgmii_enable() local
179 asx_tx.s.prt_en = cvmx_build_mask(num_ports); in __cvmx_helper_rgmii_enable()
183 asx_rx.s.prt_en = cvmx_build_mask(num_ports); in __cvmx_helper_rgmii_enable()
187 for (port = 0; port < num_ports; port++) { in __cvmx_helper_rgmii_enable()
236 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_rgmii_enable()
[all …]
H A Dcvmx-helper-loop.c51 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()
/linux/drivers/tty/serial/8250/
H A D8250_acorn.c26 unsigned int num_ports; member
33 unsigned int num_ports; member
51 info->num_ports = type->num_ports; in serial_card_probe()
70 for (i = 0; i < info->num_ports; i++) { in serial_card_probe()
87 for (i = 0; i < info->num_ports; i++) in serial_card_remove()
95 .num_ports = 3,
102 .num_ports = 2,
H A D8250_pci.c112 * = 0 - use board->num_ports
834 if (idx >= board->num_ports) in pci_ni8430_setup()
2088 unsigned int i, num_ports = moxa_get_nports(device); in pci_moxa_init()
2097 for (i = 0; i < num_ports; ++i) in pci_moxa_init()
2115 return num_ports; in pci_moxa_init()
2129 if (board->num_ports == 4 && idx == 3) in pci_moxa_setup()
3246 .num_ports = 1,
3252 .num_ports = 1,
3258 .num_ports = 2,
3264 .num_ports
2089 unsigned int i, num_ports = moxa_get_nports(device); pci_moxa_init() local
[all...]
H A D8250_hp300.c59 static unsigned int num_ports; variable
197 num_ports++; in hpdca_init_one()
225 if (!num_ports) in hp300_8250_init()
276 num_ports++; in hp300_8250_init()
281 if (!num_ports) in hp300_8250_init()
/linux/drivers/interconnect/qcom/
H A Dkaanapali.c457 .num_ports = 1,
472 .num_ports = 1,
515 .num_ports = 1,
530 .num_ports = 1,
554 .num_ports = 2,
570 .num_ports = 1,
595 .num_ports = 2,
611 .num_ports = 2,
627 .num_ports = 2,
643 .num_ports = 1,
[all …]
H A Deliza.c415 .num_ports = 1,
455 .num_ports = 1,
472 .num_ports = 1,
498 .num_ports = 2,
515 .num_ports = 1,
542 .num_ports = 2,
559 .num_ports = 2,
576 .num_ports = 2,
594 .num_ports = 1,
615 .num_ports
[all...]
H A Dglymur.c651 .num_ports = 1,
693 .num_ports = 1,
708 .num_ports = 1,
723 .num_ports = 1,
747 .num_ports = 1,
763 .num_ports = 4,
779 .num_ports = 1,
795 .num_ports = 2,
811 .num_ports = 2,
827 .num_ports = 4,
[all …]
H A Dsar2130p.c231 .num_ports = 1,
248 .num_ports = 1,
274 .num_ports = 2,
291 .num_ports = 2,
307 .num_ports = 1,
323 .num_ports = 2,
340 .num_ports = 1,
356 .num_ports = 1,
372 .num_ports = 1,
425 .num_ports = 1,
[all …]
H A Dsm8650.c158 .num_ports = 1,
175 .num_ports = 1,
200 .num_ports = 1,
217 .num_ports = 1,
234 .num_ports = 1,
251 .num_ports = 1,
268 .num_ports = 1,
285 .num_ports = 1,
302 .num_ports = 1,
327 .num_ports = 1,
[all …]
H A Dqcs615.c146 .num_ports = 1,
160 .num_ports = 1,
174 .num_ports = 1,
188 .num_ports = 1,
202 .num_ports = 1,
216 .num_ports = 1,
230 .num_ports = 1,
244 .num_ports = 1,
258 .num_ports = 1,
272 .num_ports = 1,
[all …]
H A Dmilos.c141 .num_ports = 1,
158 .num_ports = 1,
175 .num_ports = 1,
192 .num_ports = 1,
209 .num_ports = 1,
226 .num_ports = 1,
243 .num_ports = 1,
260 .num_ports = 1,
277 .num_ports = 1,
294 .num_ports = 1,
[all …]
H A Dsa8775p.c217 .num_ports = 1,
232 .num_ports = 1,
247 .num_ports = 1,
262 .num_ports = 1,
277 .num_ports = 1,
292 .num_ports = 1,
307 .num_ports = 1,
322 .num_ports = 1,
337 .num_ports = 1,
352 .num_ports = 1,
[all …]
H A Dqcs8300.c190 .num_ports = 1,
205 .num_ports = 1,
220 .num_ports = 1,
235 .num_ports = 1,
250 .num_ports = 1,
265 .num_ports = 1,
280 .num_ports = 1,
295 .num_ports = 1,
310 .num_ports = 1,
325 .num_ports = 1,
[all …]
H A Dsm6350.c154 .num_ports = 1,
170 .num_ports = 1,
186 .num_ports = 1,
210 .num_ports = 1,
226 .num_ports = 1,
241 .num_ports = 1,
257 .num_ports = 1,
273 .num_ports = 1,
289 .num_ports = 1,
305 .num_ports = 1,
[all …]
H A Dsc7280.c167 .num_ports = 1,
181 .num_ports = 1,
195 .num_ports = 1,
217 .num_ports = 1,
231 .num_ports = 1,
245 .num_ports = 1,
259 .num_ports = 1,
281 .num_ports = 1,
295 .num_ports = 1,
317 .num_ports = 1,
[all …]
/linux/drivers/phy/ti/
H A Dphy-gmii-sel.c51 u32 num_ports; member
65 u32 num_ports; member
188 .num_ports = 2,
206 .num_ports = 2,
212 .num_ports = 2,
271 .num_ports = 4,
282 .num_ports = 8,
294 .num_ports = 8,
357 if (phy_id < 1 || phy_id > priv->num_ports)
448 priv->num_ports in phy_gmii_sel_init_ports()
[all...]
/linux/drivers/usb/serial/
H A Dvisor.c164 .num_ports = 2,
182 .num_ports = 2,
201 .num_ports = 1,
313 int num_ports = 0; in palm_os_3_probe()
339 num_ports = le16_to_cpu(connection_info->num_ports); in palm_os_3_probe()
342 if (num_ports == 0 || num_ports > 2) { in palm_os_3_probe()
345 num_ports = 2; in palm_os_3_probe()
348 for (i = 0; i < num_ports; in palm_os_3_probe()
317 int num_ports = 0; palm_os_3_probe() local
468 int num_ports = (int)(long)(usb_get_serial_data(serial)); visor_calc_num_ports() local
[all...]
H A Dusb-serial.c81 static int allocate_minors(struct usb_serial *serial, int num_ports) in usb_serial_port_get_by_minor()
87 dev_dbg(&serial->interface->dev, "%s %d\n", __func__, num_ports); in allocate_minors()
90 for (i = 0; i < num_ports; ++i) { in allocate_minors()
115 for (i = 0; i < serial->num_ports; ++i) in release_minors()
566 seq_printf(m, " num_ports:%d", serial->num_ports); in serial_proc_show()
967 int num_ports = 0; in usb_serial_probe()
1028 num_ports = retval; in usb_serial_probe()
1031 if (!num_ports) in usb_serial_probe()
1032 num_ports in usb_serial_probe()
84 allocate_minors(struct usb_serial * serial,int num_ports) allocate_minors() argument
970 int num_ports = 0; usb_serial_probe() local
[all...]
/linux/drivers/slimbus/
H A Dstream.c209 int num_ports, i, port_id, prrate; in slim_stream_prepare() local
216 num_ports = hweight32(cfg->port_mask); in slim_stream_prepare()
217 rt->ports = kzalloc_objs(*port, num_ports); in slim_stream_prepare()
221 rt->num_ports = num_ports; in slim_stream_prepare()
371 for (i = 0; i < stream->num_ports; i++) in slim_stream_enable()
382 for (i = 0; i < stream->num_ports; i++) { in slim_stream_enable()
389 for (i = 0; i < stream->num_ports; i++) { in slim_stream_enable()
419 if (!stream->ports || !stream->num_ports) in slim_stream_disable()
429 for (i = 0; i < stream->num_ports; i++) in slim_stream_disable()
453 if (!stream->ports || !stream->num_ports) in slim_stream_unprepare()
[all …]
/linux/arch/mips/include/asm/octeon/
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);
/linux/drivers/char/ipmi/
H A Dipmi_si_hardcode.c22 static unsigned int num_ports; variable
40 module_param_hw_array(ports, uint, ioport, &num_ports, 0);
117 if (i < num_ports && ports[i]) in ipmi_hardcode_init()
141 for (i = 0; i < num_ports; i++) { in ipmi_si_hardcode_match()

12345678910