Home
last modified time | relevance | path

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

/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c462 unsigned int req_sz; in brcmf_sdiod_buffrw() local
470 req_sz = pkt->len + 3; in brcmf_sdiod_buffrw()
471 req_sz &= (uint)~3; in brcmf_sdiod_buffrw()
475 ((u8 *)(pkt->data)), req_sz); in brcmf_sdiod_buffrw()
478 addr, req_sz); in brcmf_sdiod_buffrw()
482 req_sz); in brcmf_sdiod_buffrw()
504 unsigned int req_sz, func_blk_sz, sg_cnt, sg_data_sz, pkt_offset; in brcmf_sdiod_sglist_rw() local
527 req_sz = 0; in brcmf_sdiod_sglist_rw()
529 req_sz += pkt_next->len; in brcmf_sdiod_sglist_rw()
530 req_sz = ALIGN(req_sz, sdiodev->func[fn]->cur_blksize); in brcmf_sdiod_sglist_rw()
[all …]
/drivers/message/fusion/
Dmptbase.c921 req_idx = req_offset / ioc->req_sz; in mpt_get_msg_frame()
971 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
1006 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1830 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ in mpt_attach()
3066 int req_sz; in GetIocFacts() local
3087 req_sz = sizeof(get_facts); in GetIocFacts()
3088 memset(&get_facts, 0, req_sz); in GetIocFacts()
3095 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3100 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts, in GetIocFacts()
3201 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()
1475 scale = ioc->req_sz/ioc->SGE_size; in mptspi_probe()
1479 (ioc->req_sz - 60) / ioc->SGE_size; in mptspi_probe()
1483 (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.c1275 scale = ioc->req_sz/ioc->SGE_size; in mptfc_probe()
1279 (ioc->req_sz - 60) / ioc->SGE_size; in mptfc_probe()
1283 (ioc->req_sz - 64) / ioc->SGE_size; in mptfc_probe()
Dmptctl.c893 maxfrags = (iocp->req_sz - sizeof(MPIHeader_t) - in mptctl_do_fw_download()
1076 sg_spill = ((ioc->req_sz - sge_offset)/ioc->SGE_size) - 1; in kbuf_alloc_2_sgl()
1868 karg.dataSgeOffset > ioc->req_sz / 4) in mptctl_do_mpt_command()
1879 if (sz > ioc->req_sz) { in mptctl_do_mpt_command()
1882 ioc->name, __FILE__, __LINE__, sz, ioc->req_sz); in mptctl_do_mpt_command()
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()
1478 + (chain_idx * ioc->req_sz)); in mptscsih_freeChainBuffers()
Dmptlan.c1170 max = (mpt_dev->req_sz - MPT_LAN_RECEIVE_POST_REQUEST_SIZE) / in mpt_lan_post_receive_buckets()
Dmptsas.c5233 scale = ioc->req_sz/ioc->SGE_size; in mptsas_probe()
5237 (ioc->req_sz - 60) / ioc->SGE_size; in mptsas_probe()
5241 (ioc->req_sz - 64) / ioc->SGE_size; in mptsas_probe()
/drivers/scsi/csiostor/
Dcsio_wr.c867 uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); in csio_wr_get() local
868 int req_credits = req_sz / CSIO_QCREDIT_SZ; in csio_wr_get()
903 if (unlikely(((uintptr_t)cwr + req_sz) > (uintptr_t)(q->vwrap))) { in csio_wr_get()
907 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
914 wrp->size1 = req_sz; in csio_wr_get()
/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.c1290 unsigned long req_sz, len, sa; in sg_mmap() local
1297 req_sz = vma->vm_end - vma->vm_start; in sg_mmap()
1300 (void *) vma->vm_start, (int) req_sz)); in sg_mmap()
1305 if (req_sz > rsv_schp->bufflen) { in sg_mmap()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c287 u32 max_cmds, req_sz, reply_sz, io_frames_sz; in megasas_free_cmds_fusion() local
290 req_sz = fusion->request_alloc_sz; in megasas_free_cmds_fusion()
298 dma_free_coherent(&instance->pdev->dev, req_sz, in megasas_free_cmds_fusion()