Home
last modified time | relevance | path

Searched refs:ipath_cfgports (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_init_chip.c53 static ushort ipath_cfgports; variable
55 module_param_named(cfgports, ipath_cfgports, ushort, S_IRUGO);
248 dd->ipath_f_config_ports(dd, ipath_cfgports); in init_chip_first()
249 if (!ipath_cfgports) in init_chip_first()
250 dd->ipath_cfgports = dd->ipath_portcnt; in init_chip_first()
251 else if (ipath_cfgports <= dd->ipath_portcnt) { in init_chip_first()
252 dd->ipath_cfgports = ipath_cfgports; in init_chip_first()
254 dd->ipath_cfgports, ipath_read_kreg32(dd, in init_chip_first()
257 dd->ipath_cfgports = dd->ipath_portcnt; in init_chip_first()
259 "only supports %u\n", ipath_cfgports, in init_chip_first()
[all …]
Dipath_stats.c336 for (i = (int) dd->ipath_cfgports; --i >= 0; ) { in ipath_get_faststats()
Dipath_driver.c265 if (dd->ipath_cfgports > maxports) in ipath_count_units()
266 maxports = dd->ipath_cfgports; in ipath_count_units()
680 for (port = 0; port < dd->ipath_cfgports; port++) { in cleanup_device()
2581 for (i = 1; i < dd->ipath_cfgports; i++) { in ipath_reset_device()
2633 for (i = 1; i < dd->ipath_cfgports; i++) { in ipath_signal_procs()
Dipath_file_ops.c156 kinfo->spi_nports = dd->ipath_cfgports; in ipath_get_base_info()
1658 for (i = 1; i < dd->ipath_cfgports; i++) { in find_free_port()
1734 if (i >= dd->ipath_cfgports) in find_best_unit()
1789 for (i = 1; i < dd->ipath_cfgports; i++) { in find_shared_port()
2181 info.num_ports = pd->port_dd->ipath_cfgports - 1; in ipath_port_info()
Dipath_intr.c592 for (i = 0; i < dd->ipath_cfgports; i++) { in handle_hdrq_full()
1038 for (i = 1; i < dd->ipath_cfgports; i++) { in handle_urcv()
Dipath_kernel.h416 u32 ipath_cfgports; member
Dipath_sysfs.c355 return scnprintf(buf, PAGE_SIZE, "%u\n", dd->ipath_cfgports - 1); in show_nports()