Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A 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()
H A 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()
H A Dcarl9170.h283 unsigned int mem_blocks; member
H A Dmain.c310 bitmap_zero(ar->mem_bitmap, ar->fw.mem_blocks); in carl9170_zap_queues()
325 atomic_set(&ar->mem_free_blocks, ar->fw.mem_blocks); in carl9170_zap_queues()
1949 ar->mem_bitmap = devm_bitmap_zalloc(&ar->udev->dev, ar->fw.mem_blocks, GFP_KERNEL); in carl9170_register()
H A 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()
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dconf.h1058 u8 mem_blocks; member
H A Dacx.c982 mem_conf->fwlog_blocks = wl->conf.fwlog.mem_blocks; in wl12xx_acx_mem_cfg()
H A Dmain.c315 wl->conf.fwlog.mem_blocks = 0; in wlcore_adjust_conf()
/openbmc/linux/drivers/net/wireless/ti/wl12xx/
H A Dmain.c324 .mem_blocks = 2,
/openbmc/linux/drivers/net/wireless/ti/wl18xx/
H A Dmain.c462 .mem_blocks = 0,