Searched refs:mem_block_size (Results 1 – 6 of 6) sorted by relevance
485 unsigned long *mem_block_size = (unsigned long *)data; in probe_memory_block_size() local501 *mem_block_size = MIN_MEMORY_BLOCK_SIZE; in probe_memory_block_size()503 *mem_block_size = of_read_number(prop, dt_root_size_cells); in probe_memory_block_size()509 unsigned long mem_block_size = MIN_MEMORY_BLOCK_SIZE; in radix_memory_block_size() local516 mem_block_size = 1UL * 1024 * 1024 * 1024; in radix_memory_block_size()518 of_scan_flat_dt(probe_memory_block_size, &mem_block_size); in radix_memory_block_size()520 return mem_block_size; in radix_memory_block_size()
321 ar->fw.mem_block_size = le16_to_cpu(otus_desc->tx_frag_len); in carl9170_fw()325 ar->fw.mem_block_size < 64 || ar->fw.mem_block_size > 512 || in carl9170_fw()
230 (atomic_read(&ar->mem_free_blocks) * ar->fw.mem_block_size) / 1024, in carl9170_debugfs_mem_usage_read()231 (ar->fw.mem_blocks * ar->fw.mem_block_size) / 1024); in carl9170_debugfs_mem_usage_read()
72 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > in is_mem_full()198 chunks = DIV_ROUND_UP(skb->len, ar->fw.mem_block_size); in carl9170_alloc_dev_space()253 atomic_add(DIV_ROUND_UP(skb->len, ar->fw.mem_block_size), in carl9170_release_dev_space()
284 unsigned int mem_block_size; member
563 static unsigned long mem_block_size __initdata = (2UL << 30);571 mem_block_size = size; in parse_mem_block_size()581 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize()585 if (size >= mem_block_size) in adj_blksize()588 mem_block_size = size; in adj_blksize()594 unsigned int order = ffs(mem_block_size); in set_block_size()599 pr_info("UV: mem_block_size set to 0x%lx\n", mem_block_size); in set_block_size()602 pr_err("UV: mem_block_size error with 0x%lx\n", mem_block_size); in set_block_size()