Searched refs:chunk_sz (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/mmc/core/ |
H A D | sdio_io.c | 222 unsigned chunk_sz; sdio_align_size() local 277 chunk_sz = mmc_align_data_size(func->card, sdio_align_size() 279 if (chunk_sz == sdio_max_byte_size(func)) { sdio_align_size() 283 byte_sz = orig_sz % chunk_sz; sdio_align_size() 289 return (orig_sz / chunk_sz) * chunk_sz + byte_sz; sdio_align_size()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
H A D | trans.c | 666 u32 offset, chunk_sz = min_t(u32, FH_MEM_TB_MAX_LENGTH, section->len); iwl_pcie_load_section() local 672 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, iwl_pcie_load_section() 676 chunk_sz = PAGE_SIZE; iwl_pcie_load_section() 677 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, iwl_pcie_load_section() 683 for (offset = 0; offset < section->len; offset += chunk_sz) { iwl_pcie_load_section() 687 copy_size = min_t(u32, chunk_sz, section->len - offset); iwl_pcie_load_section() 714 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); iwl_pcie_load_section()
|
Completed in 109 milliseconds