Lines Matching refs:req_sz

917 		req_idx = req_offset / ioc->req_sz;  in mpt_get_msg_frame()
967 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
1002 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1826 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ in mpt_attach()
3084 int req_sz; in GetIocFacts() local
3105 req_sz = sizeof(get_facts); in GetIocFacts()
3106 memset(&get_facts, 0, req_sz); in GetIocFacts()
3113 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3118 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts, in GetIocFacts()
3218 ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4); in GetIocFacts()
3226 ioc->name, ioc->req_sz, ioc->req_depth)); in GetIocFacts()
3258 int req_sz; in GetPortFacts() local
3276 req_sz = sizeof(get_pfacts); in GetPortFacts()
3277 memset(&get_pfacts, 0, req_sz); in GetPortFacts()
3289 ii = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_pfacts, in GetPortFacts()
3465 int req_sz; in SendPortEnable() local
3472 req_sz = sizeof(PortEnable_t); in SendPortEnable()
3473 memset(&port_enable, 0, req_sz); in SendPortEnable()
3487 rc = mpt_handshake_req_reply_wait(ioc, req_sz, in SendPortEnable()
3491 rc = mpt_handshake_req_reply_wait(ioc, req_sz, in SendPortEnable()
3597 prequest = (sleepFlag == NO_SLEEP) ? kzalloc(ioc->req_sz, GFP_ATOMIC) : in mpt_do_upload()
3598 kzalloc(ioc->req_sz, GFP_KERNEL); in mpt_do_upload()
4363 scale = ioc->req_sz / ioc->SGE_size; in initChainBuffers()
4365 num_sge = scale + (ioc->req_sz - 60) / ioc->SGE_size; in initChainBuffers()
4367 num_sge = 1 + scale + (ioc->req_sz - 64) / ioc->SGE_size; in initChainBuffers()
4371 (ioc->req_sz - 60) / ioc->SGE_size; in initChainBuffers()
4374 scale + (ioc->req_sz - 64) / ioc->SGE_size; in initChainBuffers()
4484 sz = (ioc->req_sz * ioc->req_depth); in PrimeIocFifos()
4486 ioc->name, ioc->req_sz, ioc->req_depth)); in PrimeIocFifos()
4491 sz = num_chain * ioc->req_sz; /* chain buffer pool size */ in PrimeIocFifos()
4493 ioc->name, ioc->req_sz, num_chain)); in PrimeIocFifos()
4534 alloc_dma += ioc->req_sz; in PrimeIocFifos()
4535 mem += ioc->req_sz; in PrimeIocFifos()
4555 mem += ioc->req_sz; in PrimeIocFifos()
4571 mem += ioc->req_sz; in PrimeIocFifos()
6724 sz = (ioc->req_sz * ioc->req_depth) + 128; in mpt_iocinfo_proc_show()
6727 ioc->req_sz, ioc->req_depth, ioc->req_sz*ioc->req_depth, sz); in mpt_iocinfo_proc_show()