Searched refs:mem_block_size (Results 1 – 5 of 5) sorted by relevance
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
564 static unsigned long mem_block_size __initdata = (2UL << 30);572 mem_block_size = size; in parse_mem_block_size()582 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize()586 if (size >= mem_block_size) in adj_blksize()589 mem_block_size = size; in adj_blksize()595 unsigned int order = ffs(mem_block_size); in set_block_size()600 pr_info("UV: mem_block_size set to 0x%lx\n", mem_block_size); in set_block_size()603 pr_err("UV: mem_block_size error with 0x%lx\n", mem_block_size); in set_block_size()