Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dmegaraid.c458 int ldrv_num; in mega_get_ldrv_num() local
465 ldrv_num = (channel * 15) + tgt; in mega_get_ldrv_num()
472 if( ldrv_num == 0 ) { in mega_get_ldrv_num()
473 ldrv_num = adapter->boot_ldrv; in mega_get_ldrv_num()
476 if( ldrv_num <= adapter->boot_ldrv ) { in mega_get_ldrv_num()
477 ldrv_num--; in mega_get_ldrv_num()
498 ldrv_num += 0x80; in mega_get_ldrv_num()
501 return ldrv_num; in mega_get_ldrv_num()
529 int ldrv_num = 0; /* logical drive number */ in mega_build_cmd() local
589 ldrv_num = mega_get_ldrv_num(adapter, cmd, channel); in mega_build_cmd()
[all …]