Searched refs:TW_LUN_OUT (Results 1 – 4 of 4) sorted by relevance
172 #define TW_LUN_OUT(lun) ((lun >> 12) & 0xf) macro
439 #define TW_LUN_OUT(lun) ((le16_to_cpu(lun) >> 12) & 0xf) macro
691 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); in twl_load_sgl()697 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); in twl_load_sgl()
1393 TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id); in twa_load_sgl()1399 TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0); in twa_load_sgl()