/linux-6.12.1/drivers/scsi/csiostor/ |
D | csio_isr.c | 424 for (i = 0; i < hw->num_pports; i++) { in csio_request_irqs() 463 for (i = 0; i < hw->num_pports; i++) { in csio_reduce_sqsets() 485 if (nvecs < hw->num_pports) { in csio_calc_sets() 491 affd->nr_sets = hw->num_pports; in csio_calc_sets() 492 for (i = 0; i < hw->num_pports; i++) in csio_calc_sets() 493 affd->set_size[i] = nvecs / hw->num_pports; in csio_calc_sets() 508 if (hw->num_pports > IRQ_AFFINITY_MAX_SETS) in csio_enable_msix() 511 min = hw->num_pports + extra; in csio_enable_msix() 536 for (i = 0; i < hw->num_pports; i++) { in csio_enable_msix()
|
D | csio_init.c | 294 for (i = 0; i < hw->num_pports; i++) { in csio_create_queues() 347 hw->num_sqsets = num_online_cpus() * hw->num_pports; in csio_config_queues() 355 for (i = 0; i < hw->num_pports; i++) in csio_config_queues() 400 for (i = 0; i < hw->num_pports; i++) { in csio_config_queues() 984 for (i = 0; i < hw->num_pports; i++) { in csio_probe_one() 1129 for (i = 0; i < hw->num_pports; i++) { in csio_pci_resume()
|
D | csio_hw.h | 516 uint8_t num_pports; /* Number of physical member
|
D | csio_hw.c | 1420 hw->num_pports = hweight32(hw->port_vec); in csio_get_device_params() 1423 hw->port_vec, hw->num_pports); in csio_get_device_params() 1425 for (i = 0; i < hw->num_pports; i++) { in csio_get_device_params() 1791 for (i = 0; i < hw->num_pports; i++) { in csio_enable_ports() 2650 for (i = 0; i < hw->num_pports; i++) in csio_hw_initialize()
|
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_init.c | 108 } else if (qib_cfgctxts < dd->num_pports) in qib_set_ctxtcnt() 146 ppd = dd->pport + (i % dd->num_pports); in qib_create_ctxts() 333 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in init_pioavailregs() 452 for (i = 0; i < dd->num_pports; ++i) { in init_after_reset() 476 for (i = 0; i < dd->num_pports; ++i) in enable_chip() 530 for (pidx = 0; pidx < dd->num_pports; ++pidx) in init_piobuf_state() 581 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_create_workqueues() 595 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_create_workqueues() 639 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_init() 683 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_init() [all …]
|
D | qib_iba7322.c | 1687 for (pidx = 0; pidx < dd->num_pports; ++pidx) in handle_7322_errors() 2032 for (pidx = 0; pidx < dd->num_pports; ++pidx) in qib_7322_clear_freeze() 2054 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_7322_clear_freeze() 2149 for (; pidx < dd->num_pports; ++pidx, ppd++) { in qib_7322_handle_hwerrors() 2210 for (pidx = 0; pidx < dd->num_pports; ++pidx) in qib_7322_init_hwerrors() 2292 #define NUM_RCV_BUF_UNITS(dd) ((64 * 1024) / (RCV_BUF_UNITSZ * dd->num_pports)) 2857 for (i = 0; i < dd->num_pports; i++) { in qib_setup_7322_cleanup() 2954 for (pidx = 0; pidx < dd->num_pports && (dd->flags & QIB_HAS_QSFP); in unknown_7322_gpio_intr() 3363 if (!dd->num_pports) in qib_setup_7322_interrupt() 3428 if (irq_table[i].port > dd->num_pports) in qib_setup_7322_interrupt() [all …]
|
D | qib_tx.c | 116 for (pidx = 0; pidx < dd->num_pports; pidx++) { in is_sdma_buf() 175 for (i = 0; i < dd->num_pports; i++) in qib_disarm_piobufs_set() 206 for (i = 0; i < dd->num_pports; i++) in qib_disarm_piobufs_set()
|
D | qib_driver.c | 99 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_count_active_units() 130 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_count_units() 767 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_reset_device()
|
D | qib_fs.c | 250 if (dd->num_pports < 2) in qsfp_2_read() 395 for (i = 1; i <= dd->num_pports; i++) { in add_cntr_files()
|
D | qib_verbs.c | 1253 for (i = 0; i < dd->num_pports; i++) { in qib_modify_device() 1263 for (i = 0; i < dd->num_pports; i++) { in qib_modify_device() 1505 for (i = 0; i < dd->num_pports; i++) in qib_register_ib_device() 1550 ibdev->phys_port_cnt = dd->num_pports; in qib_register_ib_device() 1599 dd->verbs_dev.rdi.dparms.nports = dd->num_pports; in qib_register_ib_device() 1609 for (i = 0; i < dd->num_pports; i++, ppd++) { in qib_register_ib_device()
|
D | qib_file_ops.c | 1374 u32 pidx = ctxt % dd->num_pports; in choose_port_ctxt() 1379 for (pidx = 0; pidx < dd->num_pports && !ppd; in choose_port_ctxt() 1396 if (!dd || (uinfo->spu_port && uinfo->spu_port > dd->num_pports)) in find_free_ctxt() 1431 if (port && port <= dd->num_pports && in get_a_ctxt() 1435 for (i = 0; i < dd->num_pports; i++) in get_a_ctxt()
|
D | qib.h | 1041 u8 num_pports; member 1204 WARN_ON(pidx >= dd->num_pports); in to_iport()
|
D | qib_qp.c | 220 for (n = 0; n < dd->num_pports; n++) { in qib_free_all_qps()
|
D | qib_iba6120.c | 2036 dd->first_user_ctxt = qib_n_krcv_queues * dd->num_pports; in qib_6120_config_ctxts() 2041 dd->first_user_ctxt = dd->num_pports; in qib_6120_config_ctxts() 3171 dd->num_pports = 1; in init_6120_variables() 3173 dd->cspec = (struct qib_chip_specific *)(ppd + dd->num_pports); in init_6120_variables()
|
D | qib_diag.c | 590 if (!dp.port || dp.port > dd->num_pports) { in qib_diagpkt_write()
|
D | qib_mad.c | 287 if (smp->attr_mod || pidx >= dd->num_pports || in subn_get_nodeinfo() 325 if (startgx == 0 && pidx < dd->num_pports) { in subn_get_guidinfo() 630 if (startgx == 0 && pidx < dd->num_pports) { in subn_set_guidinfo()
|
D | qib_iba7220.c | 2276 dd->first_user_ctxt = qib_n_krcv_queues * dd->num_pports; in qib_7220_config_ctxts() 2280 dd->first_user_ctxt = dd->num_pports; in qib_7220_config_ctxts() 3965 dd->num_pports = 1; in qib_init_7220_variables() 3967 dd->cspec = (struct qib_chip_specific *)(cpspec + dd->num_pports); in qib_init_7220_variables()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | init.c | 743 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues() 774 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues() 797 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in destroy_workqueues() 866 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init() 917 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init() 943 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init() 986 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in stop_timers() 1015 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device() 1029 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device() 1053 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device() [all …]
|
D | verbs.c | 1422 for (i = 0; i < dd->num_pports; i++) { in modify_device() 1432 for (i = 0; i < dd->num_pports; i++) { in modify_device() 1757 for (i = 0; i < dd->num_pports; i++) in hfi1_register_ib_device() 1783 ibdev->phys_port_cnt = dd->num_pports; in hfi1_register_ib_device() 1851 dd->verbs_dev.rdi.dparms.nports = dd->num_pports; in hfi1_register_ib_device() 1866 for (i = 0; i < dd->num_pports; i++, ppd++) in hfi1_register_ib_device()
|
D | ipoib_main.c | 240 if (!port_num || port_num > dd->num_pports) in hfi1_ipoib_rn_get_params()
|
D | hfi.h | 1316 u8 num_pports; member 1932 WARN_ON(pidx >= dd->num_pports); in to_iport() 2371 for (i = 0; i < dd->num_pports; i++, ppd++) { in hfi1_reset_cpu_counters()
|
D | vnic_main.c | 569 if (!port_num || (port_num > dd->num_pports)) in hfi1_vnic_alloc_rn()
|
D | qsfp.c | 672 if (port_num > dd->num_pports || port_num < 1) { in get_cable_info()
|
D | driver.c | 140 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_count_active_units() 1412 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_reset_device()
|
D | qp.c | 718 for (n = 0; n < dd->num_pports; n++) { in free_all_qps()
|