Home
last modified time | relevance | path

Searched refs:mem_blocks (Results 1 – 11 of 11) sorted by relevance

/drivers/net/wireless/ti/wl1251/
Dtx.c103 u16 payload_len, frag_threshold, mem_blocks; in wl1251_tx_frag_block_num() local
116 mem_blocks = num_mpdus * mem_blocks_per_frag; in wl1251_tx_frag_block_num()
122 mem_blocks = 0; in wl1251_tx_frag_block_num()
126 mem_blocks += (payload_len / HW_BLOCK_SIZE) + 1; in wl1251_tx_frag_block_num()
129 mem_blocks += min(num_mpdus, mem_blocks_per_frag); in wl1251_tx_frag_block_num()
131 tx_hdr->num_mem_blocks = mem_blocks; in wl1251_tx_frag_block_num()
/drivers/net/wireless/ath/carl9170/
Dfw.c319 ar->fw.mem_blocks = min_t(unsigned int, otus_desc->tx_descs, 0xfe); in carl9170_fw()
320 atomic_set(&ar->mem_free_blocks, ar->fw.mem_blocks); in carl9170_fw()
324 ar->fw.mem_blocks < 16 || !ar->fw.cmd_bufs || in carl9170_fw()
Ddebug.c222 ar->fw.mem_blocks, ar->mem_bitmap); in carl9170_debugfs_mem_usage_read()
225 bitmap_weight(ar->mem_bitmap, ar->fw.mem_blocks), in carl9170_debugfs_mem_usage_read()
226 ar->fw.mem_blocks, atomic_read(&ar->mem_allocs)); in carl9170_debugfs_mem_usage_read()
231 (ar->fw.mem_blocks * ar->fw.mem_block_size) / 1024); in carl9170_debugfs_mem_usage_read()
Dcarl9170.h283 unsigned int mem_blocks; member
Dmain.c310 for (i = 0; i < DIV_ROUND_UP(ar->fw.mem_blocks, BITS_PER_LONG); i++) in carl9170_zap_queues()
326 atomic_set(&ar->mem_free_blocks, ar->fw.mem_blocks); in carl9170_zap_queues()
1972 ar->mem_bitmap = kcalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG), in carl9170_register()
Dtx.c205 cookie = bitmap_find_free_region(ar->mem_bitmap, ar->fw.mem_blocks, 0); in carl9170_alloc_dev_space()
250 WARN_ON_ONCE(cookie > ar->fw.mem_blocks)) in carl9170_release_dev_space()
/drivers/net/wireless/ti/wlcore/
Dconf.h1058 u8 mem_blocks; member
Dacx.c982 mem_conf->fwlog_blocks = wl->conf.fwlog.mem_blocks; in wl12xx_acx_mem_cfg()
Dmain.c321 wl->conf.fwlog.mem_blocks = 0; in wlcore_adjust_conf()
/drivers/net/wireless/ti/wl12xx/
Dmain.c324 .mem_blocks = 2,
/drivers/net/wireless/ti/wl18xx/
Dmain.c462 .mem_blocks = 0,