Home
last modified time | relevance | path

Searched refs:chain_size (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c162 u64 chain_size; in qed_chain_alloc_sanity_check() local
164 chain_size = ELEMS_PER_PAGE(params->elem_size, params->page_size); in qed_chain_alloc_sanity_check()
165 chain_size *= page_cnt; in qed_chain_alloc_sanity_check()
167 if (!chain_size) in qed_chain_alloc_sanity_check()
178 if (chain_size > U16_MAX + 1) in qed_chain_alloc_sanity_check()
183 if (chain_size > U32_MAX) in qed_chain_alloc_sanity_check()
193 chain_size); in qed_chain_alloc_sanity_check()
/drivers/scsi/qla2xxx/
Dqla_dbg.h227 __be32 chain_size; member
238 __be32 chain_size; member
247 __be32 chain_size; member
264 __be32 chain_size; member
Dqla_dbg.c494 fcec->chain_size = htonl(sizeof(struct qla2xxx_fce_chain) + in qla25xx_copy_fce()
520 c->chain_size = cpu_to_be32(sizeof(struct qla2xxx_offld_chain) + in qla25xx_copy_exlogin()
542 c->chain_size = cpu_to_be32(sizeof(struct qla2xxx_offld_chain) + in qla81xx_copy_exchoffld()
579 q->chain_size = htonl( in qla2xxx_copy_atioqueues()
623 q->chain_size = htonl( in qla25xx_copy_mqueues()
651 q->chain_size = htonl( in qla25xx_copy_mqueues()
687 mq->chain_size = htonl(sizeof(struct qla2xxx_mq_chain)); in qla25xx_copy_mq()
/drivers/parisc/
Dccio-dma.c629 u32 chain_size = 1 << ioc->chainid_shift; in ccio_clear_io_tlb() local
632 byte_cnt += chain_size; in ccio_clear_io_tlb()
634 while(byte_cnt > chain_size) { in ccio_clear_io_tlb()
636 iovp += chain_size; in ccio_clear_io_tlb()
637 byte_cnt -= chain_size; in ccio_clear_io_tlb()
/drivers/scsi/
Dhpsa.c2267 u32 chain_size; in hpsa_map_ioaccel2_sg_chain_block() local
2270 chain_size = le32_to_cpu(cp->sg[0].length); in hpsa_map_ioaccel2_sg_chain_block()
2271 temp64 = dma_map_single(&h->pdev->dev, chain_block, chain_size, in hpsa_map_ioaccel2_sg_chain_block()
2287 u32 chain_size; in hpsa_unmap_ioaccel2_sg_chain_block() local
2291 chain_size = le32_to_cpu(cp->sg[0].length); in hpsa_unmap_ioaccel2_sg_chain_block()
2292 dma_unmap_single(&h->pdev->dev, temp64, chain_size, DMA_TO_DEVICE); in hpsa_unmap_ioaccel2_sg_chain_block()