Lines Matching refs:req_sz
914 req_idx = req_offset / ioc->req_sz; in mpt_get_msg_frame()
964 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
999 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1818 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ in mpt_attach()
3072 int req_sz; in GetIocFacts() local
3093 req_sz = sizeof(get_facts); in GetIocFacts()
3094 memset(&get_facts, 0, req_sz); in GetIocFacts()
3101 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3106 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts, in GetIocFacts()
3206 ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4); in GetIocFacts()
3214 ioc->name, ioc->req_sz, ioc->req_depth)); in GetIocFacts()
3246 int req_sz; in GetPortFacts() local
3264 req_sz = sizeof(get_pfacts); in GetPortFacts()
3265 memset(&get_pfacts, 0, req_sz); in GetPortFacts()
3277 ii = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_pfacts, in GetPortFacts()
3453 int req_sz; in SendPortEnable() local
3460 req_sz = sizeof(PortEnable_t); in SendPortEnable()
3461 memset(&port_enable, 0, req_sz); in SendPortEnable()
3475 rc = mpt_handshake_req_reply_wait(ioc, req_sz, in SendPortEnable()
3479 rc = mpt_handshake_req_reply_wait(ioc, req_sz, in SendPortEnable()
3587 prequest = (sleepFlag == NO_SLEEP) ? kzalloc(ioc->req_sz, GFP_ATOMIC) : in mpt_do_upload()
3588 kzalloc(ioc->req_sz, GFP_KERNEL); in mpt_do_upload()
4353 scale = ioc->req_sz / ioc->SGE_size; in initChainBuffers()
4355 num_sge = scale + (ioc->req_sz - 60) / ioc->SGE_size; in initChainBuffers()
4357 num_sge = 1 + scale + (ioc->req_sz - 64) / ioc->SGE_size; in initChainBuffers()
4361 (ioc->req_sz - 60) / ioc->SGE_size; in initChainBuffers()
4364 scale + (ioc->req_sz - 64) / ioc->SGE_size; in initChainBuffers()
4473 sz = (ioc->req_sz * ioc->req_depth); in PrimeIocFifos()
4475 ioc->name, ioc->req_sz, ioc->req_depth)); in PrimeIocFifos()
4480 sz = num_chain * ioc->req_sz; /* chain buffer pool size */ in PrimeIocFifos()
4482 ioc->name, ioc->req_sz, num_chain)); in PrimeIocFifos()
4523 alloc_dma += ioc->req_sz; in PrimeIocFifos()
4524 mem += ioc->req_sz; in PrimeIocFifos()
4544 mem += ioc->req_sz; in PrimeIocFifos()
4560 mem += ioc->req_sz; in PrimeIocFifos()
6734 sz = (ioc->req_sz * ioc->req_depth) + 128; in mpt_iocinfo_proc_show()
6737 ioc->req_sz, ioc->req_depth, ioc->req_sz*ioc->req_depth, sz); in mpt_iocinfo_proc_show()