Searched refs:active_cnt (Results 1 – 8 of 8) sorted by relevance
68 static u32 active_cnt = 0; variable173 for (i=0; i<active_cnt; i++) { in vt8500_handle_irq()196 if (active_cnt == VT8500_INTC_MAX) { in vt8500_irq_init()202 intc[active_cnt].base = of_iomap(np, 0); in vt8500_irq_init()203 intc[active_cnt].domain = irq_domain_add_linear(node, 64, in vt8500_irq_init()204 &vt8500_irq_domain_ops, &intc[active_cnt]); in vt8500_irq_init()206 if (!intc[active_cnt].base) { in vt8500_irq_init()211 if (!intc[active_cnt].domain) { in vt8500_irq_init()218 vt8500_init_irq_hw(intc[active_cnt].base); in vt8500_irq_init()222 active_cnt++; in vt8500_irq_init()
84 u8 active_cnt, idle_cnt; in iwl_mvm_phy_ctxt_set_rxchain() local88 active_cnt = chains_dynamic; in iwl_mvm_phy_ctxt_set_rxchain()97 if (active_cnt == 1 && iwl_mvm_rx_diversity_allowed(mvm, ctxt)) { in iwl_mvm_phy_ctxt_set_rxchain()99 active_cnt = 2; in iwl_mvm_phy_ctxt_set_rxchain()105 *rxchain_info |= cpu_to_le32(active_cnt << in iwl_mvm_phy_ctxt_set_rxchain()
301 atomic_set(&config_desc->active_cnt, 0); in cscfg_load_config()907 atomic_inc(&config_desc->active_cnt); in _cscfg_activate_config()923 atomic_dec(&config_desc->active_cnt); in _cscfg_deactivate_config()1065 if ((atomic_read(&config_desc->active_cnt)) && in cscfg_csdev_enable_active_config()
149 atomic_t active_cnt; member
843 int active_cnt = 0; in io_watchdog_func() local851 ++active_cnt; in io_watchdog_func()854 if (active_cnt > 0) { in io_watchdog_func()
739 static int iwl_get_idle_rx_chain_count(struct iwl_priv *priv, int active_cnt) in iwl_get_idle_rx_chain_count() argument748 return active_cnt; in iwl_get_idle_rx_chain_count()752 return active_cnt; in iwl_get_idle_rx_chain_count()
5001 uint8_t active_cnt = 0; in qla25xx_set_els_cmds_supported() local5024 cmd_opcode[active_cnt] = ELS_RDP; in qla25xx_set_els_cmds_supported()5025 active_cnt++; in qla25xx_set_els_cmds_supported()5028 cmd_opcode[active_cnt] = ELS_FPIN; in qla25xx_set_els_cmds_supported()5029 active_cnt++; in qla25xx_set_els_cmds_supported()5032 cmd_opcode[active_cnt] = ELS_AUTH_ELS; in qla25xx_set_els_cmds_supported()5033 active_cnt++; in qla25xx_set_els_cmds_supported()5036 for (i = 0; i < active_cnt; i++) { in qla25xx_set_els_cmds_supported()
1104 il4965_get_idle_rx_chain_count(struct il_priv *il, int active_cnt) in il4965_get_idle_rx_chain_count() argument1112 return active_cnt; in il4965_get_idle_rx_chain_count()1115 return active_cnt; in il4965_get_idle_rx_chain_count()