Home
last modified time | relevance | path

Searched refs:tgt_cnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/snic/
H A Dsnic_disc.c388 u32 cmnd_id, hid, tgt_cnt = 0; in snic_report_tgt_cmpl_handler() local
398 tgt_cnt = le32_to_cpu(fwreq->u.rpt_tgts_cmpl.tgt_cnt); in snic_report_tgt_cmpl_handler()
399 if (tgt_cnt == 0) { in snic_report_tgt_cmpl_handler()
407 SNIC_HOST_INFO(snic->shost, "Target Count = %d\n", tgt_cnt); in snic_report_tgt_cmpl_handler()
409 SNIC_BUG_ON(tgt_cnt > snic->fwinfo.max_tgts); in snic_report_tgt_cmpl_handler()
411 for (i = 0; i < tgt_cnt; i++) in snic_report_tgt_cmpl_handler()
420 snic->disc.rtgt_cnt = tgt_cnt; in snic_report_tgt_cmpl_handler()
H A Dsnic_fwint.h214 __le32 tgt_cnt; /* Number of Targets accessible */ member