Searched refs:ldrv_num (Results 1 – 1 of 1) sorted by relevance
463 int ldrv_num; in mega_get_ldrv_num() local470 ldrv_num = (channel * 15) + tgt; in mega_get_ldrv_num()477 if( ldrv_num == 0 ) { in mega_get_ldrv_num()478 ldrv_num = adapter->boot_ldrv; in mega_get_ldrv_num()481 if( ldrv_num <= adapter->boot_ldrv ) { in mega_get_ldrv_num()482 ldrv_num--; in mega_get_ldrv_num()503 ldrv_num += 0x80; in mega_get_ldrv_num()506 return ldrv_num; in mega_get_ldrv_num()533 int ldrv_num = 0; /* logical drive number */ in mega_build_cmd() local593 ldrv_num = mega_get_ldrv_num(adapter, cmd, channel); in mega_build_cmd()[all …]