Searched refs:mem_conf (Results 1 – 2 of 2) sorted by relevance
929 struct wl1251_acx_config_memory *mem_conf; in wl1251_acx_mem_cfg() local934 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl1251_acx_mem_cfg()935 if (!mem_conf) { in wl1251_acx_mem_cfg()941 mem_conf->mem_config.num_stations = cpu_to_le16(DEFAULT_NUM_STATIONS); in wl1251_acx_mem_cfg()942 mem_conf->mem_config.rx_mem_block_num = 35; in wl1251_acx_mem_cfg()943 mem_conf->mem_config.tx_min_mem_block_num = 64; in wl1251_acx_mem_cfg()944 mem_conf->mem_config.num_tx_queues = MAX_TX_QUEUES; in wl1251_acx_mem_cfg()945 mem_conf->mem_config.host_if_options = HOSTIF_PKT_RING; in wl1251_acx_mem_cfg()946 mem_conf->mem_config.num_ssid_profiles = 1; in wl1251_acx_mem_cfg()947 mem_conf->mem_config.debug_buffer_size = in wl1251_acx_mem_cfg()[all …]
960 struct wl12xx_acx_config_memory *mem_conf; in wl12xx_acx_mem_cfg() local966 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl12xx_acx_mem_cfg()967 if (!mem_conf) { in wl12xx_acx_mem_cfg()978 mem_conf->num_stations = mem->num_stations; in wl12xx_acx_mem_cfg()979 mem_conf->rx_mem_block_num = mem->rx_block_num; in wl12xx_acx_mem_cfg()980 mem_conf->tx_min_mem_block_num = mem->tx_min_block_num; in wl12xx_acx_mem_cfg()981 mem_conf->num_ssid_profiles = mem->ssid_profiles; in wl12xx_acx_mem_cfg()982 mem_conf->total_tx_descriptors = cpu_to_le32(ACX_TX_DESCRIPTORS); in wl12xx_acx_mem_cfg()983 mem_conf->dyn_mem_enable = mem->dynamic_memory; in wl12xx_acx_mem_cfg()984 mem_conf->tx_free_req = mem->min_req_tx_blocks; in wl12xx_acx_mem_cfg()[all …]