Lines Matching refs:num_fc_ports
867 for (i = 0; i < cfg->num_fc_ports; i++) { in notify_shutdown()
879 for (i = 0; i < cfg->num_fc_ports; i++) { in notify_shutdown()
1301 for (i = 0; i < cfg->num_fc_ports; i++) { in afu_err_intr_init()
1665 for (k = 0; k < cfg->num_fc_ports; k++) { in read_vpd()
1792 writeq_be(PORT_MASK(cfg->num_fc_ports), in init_global()
1794 num_ports = cfg->num_fc_ports; in init_global()
2069 int num_fc_ports = LEGACY_FC_PORTS; in get_num_afu_ports() local
2073 num_fc_ports = min(ilog2(port_mask) + 1, MAX_FC_PORTS); in get_num_afu_ports()
2076 __func__, port_mask, num_fc_ports); in get_num_afu_ports()
2078 cfg->num_fc_ports = num_fc_ports; in get_num_afu_ports()
2079 cfg->host->max_channel = PORTNUM2CHAN(num_fc_ports); in get_num_afu_ports()
2566 if (port >= cfg->num_fc_ports) { in cxlflash_show_port_status()
2715 shost->max_channel = PORTNUM2CHAN(cfg->num_fc_ports); in lun_mode_store()
2764 if (port >= cfg->num_fc_ports) { in cxlflash_show_port_lun_table()
3303 if (port >= cfg->num_fc_ports) { in cxlflash_lun_provision()