Home
last modified time | relevance | path

Searched refs:sgdir (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/message/fusion/
Dmptctl.c802 u32 sgdir; in mptctl_do_fw_download() local
876 sgdir = 0x04000000; /* IOC will READ from sys mem */ in mptctl_do_fw_download()
878 if ((sgl = kbuf_alloc_2_sgl(fwlen, sgdir, sge_offset, in mptctl_do_fw_download()
1025 kbuf_alloc_2_sgl(int bytes, u32 sgdir, int sge_offset, int *frags, in kbuf_alloc_2_sgl() argument
1067 if (sgdir & 0x04000000) in kbuf_alloc_2_sgl()
1101 sgl->FlagsLength = (0x10000000|sgdir|this_alloc); in kbuf_alloc_2_sgl()
Dmptscsih.c190 u32 sgflags, sgdir, thisxfer = 0; in mptscsih_AddSGE() local
197 sgdir = le32_to_cpu(pReq->Control) & MPI_SCSIIO_CONTROL_DATADIRECTION_MASK; in mptscsih_AddSGE()
198 if (sgdir == MPI_SCSIIO_CONTROL_WRITE) { in mptscsih_AddSGE()
199 sgdir = MPT_TRANSFER_HOST_TO_IOC; in mptscsih_AddSGE()
201 sgdir = MPT_TRANSFER_IOC_TO_HOST; in mptscsih_AddSGE()
231 sgflags = MPT_SGE_FLAGS_SIMPLE_ELEMENT | sgdir; in mptscsih_AddSGE()