Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A D3w-sas.h172 #define TW_LUN_OUT(lun) ((lun >> 12) & 0xf) macro
H A D3w-9xxx.h439 #define TW_LUN_OUT(lun) ((le16_to_cpu(lun) >> 12) & 0xf) macro
H A D3w-sas.c691 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()
H A D3w-9xxx.c1393 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()