Searched refs:mem_blocks (Results 1 – 11 of 11) sorted by relevance
/drivers/net/wireless/ti/wl1251/ |
D | tx.c | 103 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/ |
D | fw.c | 319 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()
|
D | debug.c | 222 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()
|
D | carl9170.h | 283 unsigned int mem_blocks; member
|
D | main.c | 310 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() 1971 ar->mem_bitmap = kcalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG), in carl9170_register()
|
D | tx.c | 205 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/ |
D | conf.h | 1058 u8 mem_blocks; member
|
D | acx.c | 982 mem_conf->fwlog_blocks = wl->conf.fwlog.mem_blocks; in wl12xx_acx_mem_cfg()
|
D | main.c | 321 wl->conf.fwlog.mem_blocks = 0; in wlcore_adjust_conf()
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 324 .mem_blocks = 2,
|
/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 462 .mem_blocks = 0,
|