Home
last modified time | relevance | path

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

1234567

/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-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()
H A Dcvmx-helper-sgmii.c307 static int __cvmx_helper_sgmii_hardware_init(int interface, int num_ports) in __cvmx_helper_sgmii_hardware_init() argument
311 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_sgmii_hardware_init()
313 for (index = 0; index < num_ports; index++) { in __cvmx_helper_sgmii_hardware_init()
368 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_sgmii_enable() local
371 __cvmx_helper_sgmii_hardware_init(interface, num_ports); in __cvmx_helper_sgmii_enable()
373 for (index = 0; index < num_ports; index++) { in __cvmx_helper_sgmii_enable()
/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_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 Dsc8280xp.c219 .num_ports = 1,
232 .num_ports = 1,
245 .num_ports = 1,
266 .num_ports = 1,
280 .num_ports = 1,
293 .num_ports = 1,
306 .num_ports = 1,
319 .num_ports = 1,
332 .num_ports = 1,
345 .num_ports = 1,
[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.c216 .num_ports = 1,
231 .num_ports = 1,
246 .num_ports = 1,
261 .num_ports = 1,
276 .num_ports = 1,
291 .num_ports = 1,
306 .num_ports = 1,
321 .num_ports = 1,
336 .num_ports = 1,
351 .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.c153 .num_ports = 1,
169 .num_ports = 1,
185 .num_ports = 1,
209 .num_ports = 1,
225 .num_ports = 1,
240 .num_ports = 1,
256 .num_ports = 1,
272 .num_ports = 1,
288 .num_ports = 1,
304 .num_ports = 1,
[all …]
H A Dsc7280.c166 .num_ports = 1,
180 .num_ports = 1,
194 .num_ports = 1,
216 .num_ports = 1,
230 .num_ports = 1,
244 .num_ports = 1,
258 .num_ports = 1,
280 .num_ports = 1,
294 .num_ports = 1,
316 .num_ports = 1,
[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/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c54 int num_ports; member
86 if (cros_ec_cec->num_ports != 1) { in handle_cec_message()
89 cros_ec_cec->num_ports); in handle_cec_message()
125 if (port_num >= cros_ec_cec->num_ports) { in handle_cec_event()
395 cros_ec_cec->num_ports = 1; in cros_ec_cec_get_num_ports()
411 cros_ec_cec->num_ports = response.port_count; in cros_ec_cec_get_num_ports()
435 if (cros_ec_cec->num_ports != 1) { in cros_ec_cec_get_write_cmd_version()
438 cros_ec_cec->num_ports); in cros_ec_cec_get_write_cmd_version()
528 for (int i = 0; i < cros_ec_cec->num_ports; i++) { in cros_ec_cec_probe()
552 for (int i = 0; i < cros_ec_cec->num_ports; i++) { in cros_ec_cec_probe()
[all …]
/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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dbridge_tracepoint.h121 __field(int, num_ports)
127 __entry->num_ports = mdb->num_ports;
133 __entry->num_ports,
/linux/drivers/usb/host/
H A Duhci-platform.c112 u32 num_ports; in uhci_hcd_platform_probe() local
114 if (of_property_read_u32(np, "#ports", &num_ports) == 0) { in uhci_hcd_platform_probe()
115 uhci->rh_numports = num_ports; in uhci_hcd_platform_probe()
118 num_ports); in uhci_hcd_platform_probe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Ddebugfs.c109 int num_ports; in mapping_show() local
117 &num_ports); in mapping_show()
122 num_ports = ldev->ports; in mapping_show()
129 for (i = 0; i < num_ports; i++) { in mapping_show()
/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c279 int num_ports; in cros_pchg_probe() local
310 num_ports = ret; in cros_pchg_probe()
311 if (num_ports > EC_PCHG_MAX_PORTS) { in cros_pchg_probe()
313 num_ports); in cros_pchg_probe()
317 dev_info(dev, "%d peripheral charge ports found\n", num_ports); in cros_pchg_probe()
319 for (i = 0; i < num_ports; i++) { in cros_pchg_probe()

1234567