Searched refs:PORTNUM2CHAN (Results 1 – 2 of 2) sorted by relevance
37 #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */ macro
2079 cfg->host->max_channel = PORTNUM2CHAN(num_fc_ports); in get_num_afu_ports()2715 shost->max_channel = PORTNUM2CHAN(cfg->num_fc_ports); in lun_mode_store()