Home
last modified time | relevance | path

Searched refs:chunk_sz (Results 1 – 7 of 7) sorted by relevance

/drivers/mmc/core/
Dsdio_io.c237 unsigned chunk_sz; in sdio_align_size() local
291 chunk_sz = _sdio_align_size(sdio_max_byte_size(func)); in sdio_align_size()
292 if (chunk_sz == sdio_max_byte_size(func)) { in sdio_align_size()
296 byte_sz = orig_sz % chunk_sz; in sdio_align_size()
301 return (orig_sz / chunk_sz) * chunk_sz + byte_sz; in sdio_align_size()
/drivers/staging/media/atomisp/pci/base/circbuf/src/
Dcircbuf.c296 int chunk_sz; in ia_css_circbuf_shift_chunk() local
302 chunk_sz = ia_css_circbuf_get_offset(cb, cb->desc->start, chunk_src) + 1; in ia_css_circbuf_shift_chunk()
305 for (i = 0; i < chunk_sz; i++) { in ia_css_circbuf_shift_chunk()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c683 u32 offset, chunk_sz = min_t(u32, FH_MEM_TB_MAX_LENGTH, section->len); in iwl_pcie_load_section() local
689 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section()
693 chunk_sz = PAGE_SIZE; in iwl_pcie_load_section()
694 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, in iwl_pcie_load_section()
700 for (offset = 0; offset < section->len; offset += chunk_sz) { in iwl_pcie_load_section()
704 copy_size = min_t(u32, chunk_sz, section->len - offset); in iwl_pcie_load_section()
731 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
/drivers/infiniband/hw/hns/
Dhns_roce_device.h870 u32 chunk_sz; /* chunk size in non multihop mode */ member
Dhns_roce_hem.c795 table->table_chunk_size = hr_dev->caps.chunk_sz; in hns_roce_init_hem_table()
Dhns_roce_hw_v2.c2009 caps->chunk_sz = HNS_ROCE_V2_TABLE_CHUNK_SIZE; in set_default_caps()
2363 caps->chunk_sz = 1 << roce_get_field(resp_e->chunk_size_shift_rsv_mrws, in hns_roce_query_pf_caps()
Dhns_roce_hw_v1.c1570 caps->chunk_sz = HNS_ROCE_V1_TABLE_CHUNK_SIZE; in hns_roce_v1_profile()