Searched refs:mem_blocks (Results 1 – 11 of 11) sorted by relevance
/drivers/net/wireless/ti/wl1251/ |
D | tx.c | 117 u16 payload_len, frag_threshold, mem_blocks; in wl1251_tx_frag_block_num() local 130 mem_blocks = num_mpdus * mem_blocks_per_frag; in wl1251_tx_frag_block_num() 136 mem_blocks = 0; in wl1251_tx_frag_block_num() 140 mem_blocks += (payload_len / HW_BLOCK_SIZE) + 1; in wl1251_tx_frag_block_num() 143 mem_blocks += min(num_mpdus, mem_blocks_per_frag); in wl1251_tx_frag_block_num() 145 tx_hdr->num_mem_blocks = mem_blocks; in wl1251_tx_frag_block_num()
|
/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 333 ar->fw.mem_blocks = min_t(unsigned int, otus_desc->tx_descs, 0xfe); in carl9170_fw() 334 atomic_set(&ar->mem_free_blocks, ar->fw.mem_blocks); in carl9170_fw() 338 ar->fw.mem_blocks < 16 || !ar->fw.cmd_bufs || in carl9170_fw()
|
D | debug.c | 222 ar->mem_bitmap, ar->fw.mem_blocks); in carl9170_debugfs_mem_usage_read() 227 bitmap_weight(ar->mem_bitmap, ar->fw.mem_blocks), in carl9170_debugfs_mem_usage_read() 228 ar->fw.mem_blocks, atomic_read(&ar->mem_allocs)); in carl9170_debugfs_mem_usage_read() 233 (ar->fw.mem_blocks * ar->fw.mem_block_size) / 1024); in carl9170_debugfs_mem_usage_read()
|
D | carl9170.h | 280 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() 1988 ar->mem_bitmap = kzalloc(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 | 1289 u8 mem_blocks; member
|
D | main.c | 299 wl->conf.fwlog.mem_blocks = fwlog_mem_blocks; in wlcore_adjust_conf() 303 fwlog_mem_blocks, wl->conf.fwlog.mem_blocks); in wlcore_adjust_conf() 316 wl->conf.fwlog.mem_blocks = 0; in wlcore_adjust_conf() 823 (wl->conf.fwlog.mem_blocks == 0)) in wl12xx_read_fwlog_panic()
|
D | acx.c | 997 mem_conf->fwlog_blocks = wl->conf.fwlog.mem_blocks; in wl12xx_acx_mem_cfg()
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 335 .mem_blocks = 2,
|
/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 460 .mem_blocks = 2,
|