Searched refs:mem_conf (Results 1 – 2 of 2) sorted by relevance
872 struct wl1251_acx_config_memory *mem_conf; in wl1251_acx_mem_cfg() local877 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl1251_acx_mem_cfg()878 if (!mem_conf) in wl1251_acx_mem_cfg()882 mem_conf->mem_config.num_stations = cpu_to_le16(DEFAULT_NUM_STATIONS); in wl1251_acx_mem_cfg()883 mem_conf->mem_config.rx_mem_block_num = 35; in wl1251_acx_mem_cfg()884 mem_conf->mem_config.tx_min_mem_block_num = 64; in wl1251_acx_mem_cfg()885 mem_conf->mem_config.num_tx_queues = MAX_TX_QUEUES; in wl1251_acx_mem_cfg()886 mem_conf->mem_config.host_if_options = HOSTIF_PKT_RING; in wl1251_acx_mem_cfg()887 mem_conf->mem_config.num_ssid_profiles = 1; in wl1251_acx_mem_cfg()888 mem_conf->mem_config.debug_buffer_size = in wl1251_acx_mem_cfg()[all …]
958 struct wl12xx_acx_config_memory *mem_conf; in wl12xx_acx_mem_cfg() local964 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl12xx_acx_mem_cfg()965 if (!mem_conf) { in wl12xx_acx_mem_cfg()973 mem_conf->num_stations = mem->num_stations; in wl12xx_acx_mem_cfg()974 mem_conf->rx_mem_block_num = mem->rx_block_num; in wl12xx_acx_mem_cfg()975 mem_conf->tx_min_mem_block_num = mem->tx_min_block_num; in wl12xx_acx_mem_cfg()976 mem_conf->num_ssid_profiles = mem->ssid_profiles; in wl12xx_acx_mem_cfg()977 mem_conf->total_tx_descriptors = cpu_to_le32(wl->num_tx_desc); in wl12xx_acx_mem_cfg()978 mem_conf->dyn_mem_enable = mem->dynamic_memory; in wl12xx_acx_mem_cfg()979 mem_conf->tx_free_req = mem->min_req_tx_blocks; in wl12xx_acx_mem_cfg()[all …]