Searched refs:ldrv_num (Results 1 – 1 of 1) sorted by relevance
461 int ldrv_num; in mega_get_ldrv_num() local468 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() local591 ldrv_num = mega_get_ldrv_num(adapter, cmd, channel); in mega_build_cmd()[all …]