Home
last modified time | relevance | path

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

/drivers/message/fusion/
Dmptctl.c792 u32 sgdir; in mptctl_do_fw_download() local
857 sgdir = 0x04000000; /* IOC will READ from sys mem */ in mptctl_do_fw_download()
859 if ((sgl = kbuf_alloc_2_sgl(fwlen, sgdir, sge_offset, in mptctl_do_fw_download()
1006 kbuf_alloc_2_sgl(int bytes, u32 sgdir, int sge_offset, int *frags, in kbuf_alloc_2_sgl() argument
1048 if (sgdir & 0x04000000) in kbuf_alloc_2_sgl()
1082 sgl->FlagsLength = (0x10000000|sgdir|this_alloc); in kbuf_alloc_2_sgl()
Dmptscsih.c188 u32 sgflags, sgdir, thisxfer = 0; in mptscsih_AddSGE() local
195 sgdir = le32_to_cpu(pReq->Control) & MPI_SCSIIO_CONTROL_DATADIRECTION_MASK; in mptscsih_AddSGE()
196 if (sgdir == MPI_SCSIIO_CONTROL_WRITE) { in mptscsih_AddSGE()
197 sgdir = MPT_TRANSFER_HOST_TO_IOC; in mptscsih_AddSGE()
199 sgdir = MPT_TRANSFER_IOC_TO_HOST; in mptscsih_AddSGE()
229 sgflags = MPT_SGE_FLAGS_SIMPLE_ELEMENT | sgdir; in mptscsih_AddSGE()