Home
last modified time | relevance | path

Searched refs:req_sz (Results 1 – 12 of 12) sorted by relevance

/drivers/message/fusion/
Dmptbase.c923 req_idx = req_offset / ioc->req_sz; in mpt_get_msg_frame()
973 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
1008 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1834 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ in mpt_attach()
3070 int req_sz; in GetIocFacts() local
3091 req_sz = sizeof(get_facts); in GetIocFacts()
3092 memset(&get_facts, 0, req_sz); in GetIocFacts()
3099 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3104 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts, in GetIocFacts()
3210 ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4); in GetIocFacts()
[all …]
Dmptbase.h661 int req_sz; /* Request frame size (bytes) */ member
843 (MPT_FRAME_HDR*)( (u8*)(ioc)->req_frames + (ioc)->req_sz * (idx) )
846 (int)( ((u8*)mf - (u8*)(ioc)->req_frames) / (ioc)->req_sz )
849 (MPT_FRAME_HDR*)( (u8*)(ioc)->reply_frames + (ioc)->req_sz * (idx) )
Dmptspi.c280 frameOffset = ioc->req_sz - sizeof(IOCPage4_t); in mptspi_writeIOCPage4()
1473 scale = ioc->req_sz/ioc->SGE_size; in mptspi_probe()
1477 (ioc->req_sz - 60) / ioc->SGE_size; in mptspi_probe()
1481 (ioc->req_sz - 64) / ioc->SGE_size; in mptspi_probe()
Dmptdebug.h169 n = ioc->req_sz/4 - 1; in DBG_DUMP_PUT_MSG_FRAME()
Dmptfc.c1278 scale = ioc->req_sz/ioc->SGE_size; in mptfc_probe()
1282 (ioc->req_sz - 60) / ioc->SGE_size; in mptfc_probe()
1286 (ioc->req_sz - 64) / ioc->SGE_size; in mptfc_probe()
Dmptscsih.c151 chain_idx = offset / ioc->req_sz; in mptscsih_getFreeChainBuffer()
205 frm_sz = ioc->req_sz; in mptscsih_AddSGE()
363 chain_dma_off = ioc->req_sz * chain_idx; in mptscsih_AddSGE()
1566 + (chain_idx * ioc->req_sz)); in mptscsih_freeChainBuffers()
Dmptctl.c900 maxfrags = (iocp->req_sz - sizeof(MPIHeader_t) - in mptctl_do_fw_download()
1083 sg_spill = ((ioc->req_sz - sge_offset)/ioc->SGE_size) - 1; in kbuf_alloc_2_sgl()
1892 if (sz > ioc->req_sz) { in mptctl_do_mpt_command()
1895 ioc->name, __FILE__, __LINE__, sz, ioc->req_sz); in mptctl_do_mpt_command()
Dmptlan.c1170 max = (mpt_dev->req_sz - MPT_LAN_RECEIVE_POST_REQUEST_SIZE) / in mpt_lan_post_receive_buckets()
Dmptsas.c5241 scale = ioc->req_sz/ioc->SGE_size; in mptsas_probe()
5245 (ioc->req_sz - 60) / ioc->SGE_size; in mptsas_probe()
5249 (ioc->req_sz - 64) / ioc->SGE_size; in mptsas_probe()
/drivers/scsi/
Dstex.c198 __le16 req_sz; /* size of each request payload */ member
1019 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
1093 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
Dsg.c1221 unsigned long req_sz, len, sa; in sg_mmap() local
1227 req_sz = vma->vm_end - vma->vm_start; in sg_mmap()
1229 (void *) vma->vm_start, (int) req_sz)); in sg_mmap()
1233 if (req_sz > rsv_schp->bufflen) in sg_mmap()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c257 u32 max_cmds, req_sz, reply_sz, io_frames_sz; in megasas_free_cmds_fusion() local
260 req_sz = fusion->request_alloc_sz; in megasas_free_cmds_fusion()
268 dma_free_coherent(&instance->pdev->dev, req_sz, in megasas_free_cmds_fusion()