Lines Matching refs:hw_params

99 				       PAGE_SIZE << il->hw_params.rx_page_order,  in il4965_rx_queue_reset()
322 if (il->hw_params.rx_page_order > 0) in il4965_rx_allocate()
326 page = alloc_pages(gfp_mask, il->hw_params.rx_page_order); in il4965_rx_allocate()
330 il->hw_params.rx_page_order); in il4965_rx_allocate()
347 PAGE_SIZE << il->hw_params.rx_page_order, in il4965_rx_allocate()
350 __free_pages(page, il->hw_params.rx_page_order); in il4965_rx_allocate()
359 PAGE_SIZE << il->hw_params.rx_page_order, in il4965_rx_allocate()
361 __free_pages(page, il->hw_params.rx_page_order); in il4965_rx_allocate()
414 PAGE_SIZE << il->hw_params.rx_page_order, in il4965_rx_queue_free()
598 len, PAGE_SIZE << il->hw_params.rx_page_order); in il4965_pass_packet_to_mac80211()
863 u8 rx_ant = il->hw_params.valid_rx_ant; in il4965_request_scan()
868 u8 scan_tx_antennas = il->hw_params.valid_tx_ant; in il4965_request_scan()
931 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan()
999 rx_chain |= il->hw_params.valid_rx_ant << RXON_RX_CHAIN_VALID_POS; in il4965_request_scan()
1153 active_chains = il->hw_params.valid_rx_ant; in il4965_set_rxon_chain()
1590 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_tx_cmd_build_rate()
1691 sta_id = il->hw_params.bcast_id; in il4965_tx_skb()
1947 for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) in il4965_hw_txq_ctx_free()
1976 il->hw_params.scd_bc_tbls_size); in il4965_txq_ctx_alloc()
2004 for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) { in il4965_txq_ctx_alloc()
2039 for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) in il4965_txq_ctx_reset()
2052 for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) in il4965_txq_ctx_unmap()
2070 for (ch = 0; ch < il->hw_params.dma_chnl_num; ch++) { in il4965_txq_ctx_stop()
2094 for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) in il4965_txq_ctx_activate_free()
2575 return il->hw_params.bcast_id; in il4965_find_station()
2578 for (i = start; i < il->hw_params.max_stations; i++) in il4965_find_station()
2921 if (scd_flow >= il->hw_params.max_txq_num) { in il4965_hdl_compressed_ba()
3043 il4965_first_antenna(il->hw_params. in il4965_sta_alloc_lq()
3050 il4965_first_antenna(il->hw_params.valid_tx_ant); in il4965_sta_alloc_lq()
3053 il->hw_params.valid_tx_ant & ~il4965_first_antenna(il->hw_params. in il4965_sta_alloc_lq()
3057 } else if (il4965_num_of_ant(il->hw_params.valid_tx_ant) == 2) { in il4965_sta_alloc_lq()
3059 il->hw_params.valid_tx_ant; in il4965_sta_alloc_lq()
3243 if (sta_id == il->hw_params.bcast_id) in il4965_set_wep_dynamic_key_info()
3292 if (sta_id == il->hw_params.bcast_id) in il4965_set_ccmp_dynamic_key_info()
3337 if (sta_id == il->hw_params.bcast_id) in il4965_set_tkip_dynamic_key_info()
3553 u8 sta_id = il->hw_params.bcast_id; in il4965_update_bcast_station()
3810 tx_beacon_cmd->tx.sta_id = il->hw_params.bcast_id; in il4965_hw_get_beacon_cmd()
3822 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_hw_get_beacon_cmd()
4246 PAGE_SIZE << il->hw_params.rx_page_order, in il4965_rx_handle()
4293 PAGE_SIZE << il->hw_params.rx_page_order, in il4965_rx_handle()
4471 for (i = 0; i < il->hw_params.max_txq_num; i++) in il4965_irq_tasklet()
4840 if (pieces.inst_size > il->hw_params.max_inst_size) { in il4965_ucode_callback()
4846 if (pieces.data_size > il->hw_params.max_data_size) { in il4965_ucode_callback()
4852 if (pieces.init_size > il->hw_params.max_inst_size) { in il4965_ucode_callback()
4858 if (pieces.init_data_size > il->hw_params.max_data_size) { in il4965_ucode_callback()
4864 if (pieces.boot_size > il->hw_params.max_bsm_size) { in il4965_ucode_callback()
5133 cpu_to_le32(il->hw_params.ct_kill_threshold); in il4965_rf_kill_ct_config()
5141 il->hw_params.ct_kill_threshold); in il4965_rf_kill_ct_config()
5176 IL49_SCD_TRANSLATE_TBL_OFFSET_QUEUE(il->hw_params.max_txq_num); in il4965_alive_notify()
5198 for (i = 0; i < il->hw_params.max_txq_num; i++) { in il4965_alive_notify()
5223 (1 << il->hw_params.max_txq_num) - 1); in il4965_alive_notify()
6425 il->hw_params.bcast_id = IL4965_BROADCAST_ID; in il4965_set_hw_params()
6426 il->hw_params.max_rxq_size = RX_QUEUE_SIZE; in il4965_set_hw_params()
6427 il->hw_params.max_rxq_log = RX_QUEUE_SIZE_LOG; in il4965_set_hw_params()
6429 il->hw_params.rx_page_order = get_order(IL_RX_BUF_SIZE_8K); in il4965_set_hw_params()
6431 il->hw_params.rx_page_order = get_order(IL_RX_BUF_SIZE_4K); in il4965_set_hw_params()
6433 il->hw_params.max_beacon_itrvl = IL_MAX_UCODE_BEACON_INTERVAL; in il4965_set_hw_params()
6443 il->hw_params.max_txq_num = il->cfg->num_of_queues; in il4965_set_hw_params()
6444 il->hw_params.dma_chnl_num = FH49_TCSR_CHNL_NUM; in il4965_set_hw_params()
6445 il->hw_params.scd_bc_tbls_size = in il4965_set_hw_params()
6449 il->hw_params.tfd_size = sizeof(struct il_tfd); in il4965_set_hw_params()
6450 il->hw_params.max_stations = IL4965_STATION_COUNT; in il4965_set_hw_params()
6451 il->hw_params.max_data_size = IL49_RTC_DATA_SIZE; in il4965_set_hw_params()
6452 il->hw_params.max_inst_size = IL49_RTC_INST_SIZE; in il4965_set_hw_params()
6453 il->hw_params.max_bsm_size = BSM_SRAM_SIZE; in il4965_set_hw_params()
6454 il->hw_params.ht40_channel = BIT(NL80211_BAND_5GHZ); in il4965_set_hw_params()
6456 il->hw_params.rx_wrt_ptr_reg = FH49_RSCSR_CHNL0_WPTR; in il4965_set_hw_params()
6458 il->hw_params.tx_chains_num = il4965_num_of_ant(il->cfg->valid_tx_ant); in il4965_set_hw_params()
6459 il->hw_params.rx_chains_num = il4965_num_of_ant(il->cfg->valid_rx_ant); in il4965_set_hw_params()
6460 il->hw_params.valid_tx_ant = il->cfg->valid_tx_ant; in il4965_set_hw_params()
6461 il->hw_params.valid_rx_ant = il->cfg->valid_rx_ant; in il4965_set_hw_params()
6463 il->hw_params.ct_kill_threshold = in il4965_set_hw_params()
6466 il->hw_params.sens = &il4965_sensitivity; in il4965_set_hw_params()
6467 il->hw_params.beacon_time_tsf_bits = IL4965_EXT_BEACON_TIME_POS; in il4965_set_hw_params()