Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dmegaraid.c461 int ldrv_num; in mega_get_ldrv_num() local
468 ldrv_num = (channel * 15) + tgt; in mega_get_ldrv_num()
475 if( ldrv_num == 0 ) { in mega_get_ldrv_num()
476 ldrv_num = adapter->boot_ldrv; in mega_get_ldrv_num()
479 if( ldrv_num <= adapter->boot_ldrv ) { in mega_get_ldrv_num()
480 ldrv_num--; in mega_get_ldrv_num()
501 ldrv_num += 0x80; in mega_get_ldrv_num()
504 return ldrv_num; in mega_get_ldrv_num()
531 int ldrv_num = 0; /* logical drive number */ in mega_build_cmd() local
591 ldrv_num = mega_get_ldrv_num(adapter, cmd, channel); in mega_build_cmd()
[all …]