Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/
H A D3w-sas.c326 cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id)); in twl_scsiop_execute_scsi()
329 cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); in twl_scsiop_execute_scsi()
346 …command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN((srb->device->lun >> 4), scsi_sg_cou… in twl_scsiop_execute_scsi()
354 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twl_scsiop_execute_scsi()
692 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); in twl_load_sgl()
698 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 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); in twa_load_sgl()
1399 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); in twa_load_sgl()
1840 cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id)); in DEF_SCSI_QCMD()
1843 cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); in DEF_SCSI_QCMD()
1875 …command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN((srb->device->lun >> 4), scsi_sg_cou… in DEF_SCSI_QCMD()
1887 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in DEF_SCSI_QCMD()
H A D3w-sas.h170 #define TW_REQ_LUN_IN(lun, request_id) (((lun << 12) & 0xf000) | (request_id & 0xfff)) macro
H A D3w-9xxx.h437 #define TW_REQ_LUN_IN(lun, request_id) (((lun << 12) & 0xf000) | (request_id & 0xfff)) macro