Lines Matching refs:num_fc_ports
872 for (i = 0; i < cfg->num_fc_ports; i++) { in notify_shutdown()
884 for (i = 0; i < cfg->num_fc_ports; i++) { in notify_shutdown()
1306 for (i = 0; i < cfg->num_fc_ports; i++) { in afu_err_intr_init()
1689 for (k = 0; k < cfg->num_fc_ports; k++) { in read_vpd()
1820 writeq_be(PORT_MASK(cfg->num_fc_ports), in init_global()
1822 num_ports = cfg->num_fc_ports; in init_global()
2097 int num_fc_ports = LEGACY_FC_PORTS; in get_num_afu_ports() local
2101 num_fc_ports = min(ilog2(port_mask) + 1, MAX_FC_PORTS); in get_num_afu_ports()
2104 __func__, port_mask, num_fc_ports); in get_num_afu_ports()
2106 cfg->num_fc_ports = num_fc_ports; in get_num_afu_ports()
2107 cfg->host->max_channel = PORTNUM2CHAN(num_fc_ports); in get_num_afu_ports()
2594 if (port >= cfg->num_fc_ports) { in cxlflash_show_port_status()
2743 shost->max_channel = PORTNUM2CHAN(cfg->num_fc_ports); in lun_mode_store()
2792 if (port >= cfg->num_fc_ports) { in cxlflash_show_port_lun_table()
3327 if (port >= cfg->num_fc_ports) { in cxlflash_lun_provision()