Searched refs:active_cnt (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | phy-ctxt.c | 84 u8 active_cnt, idle_cnt; in iwl_mvm_phy_ctxt_set_rxchain() local 88 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()
|
| /linux/net/tipc/ |
| H A D | group.c | 93 u16 active_cnt; member 120 grp->active_cnt--; in tipc_group_decr_active() 594 int active_cnt = grp->active_cnt; in tipc_group_update_rcv_win() local 606 if (active_cnt <= max_active) { in tipc_group_update_rcv_win() 609 grp->active_cnt++; in tipc_group_update_rcv_win() 616 if (active_cnt < reclaim_limit) in tipc_group_update_rcv_win() 644 grp->active_cnt--; in tipc_group_update_rcv_win() 657 grp->active_cnt++; in tipc_group_update_rcv_win() 835 grp->active_cnt--; in tipc_group_proto_rcv() 844 grp->active_cnt++; in tipc_group_proto_rcv()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-syscfg.c | 301 atomic_set(&config_desc->active_cnt, 0); in cscfg_load_config() 874 if (!atomic_fetch_inc(&config_desc->active_cnt)) { in cscfg_config_desc_get() 877 atomic_dec(&config_desc->active_cnt); in cscfg_config_desc_get() 887 if (!atomic_dec_return(&config_desc->active_cnt)) in cscfg_config_desc_put()
|
| H A D | coresight-config.h | 149 atomic_t active_cnt; member
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 313 refcount_t active_cnt; member 653 refcount_set(&vm->as.active_cnt, 0); in panthor_vm_release_as_locked() 677 if (refcount_inc_not_zero(&vm->as.active_cnt)) in panthor_vm_active() 686 if (refcount_inc_not_zero(&vm->as.active_cnt)) in panthor_vm_active() 719 drm_WARN_ON(&ptdev->base, refcount_read(&lru_vm->as.active_cnt)); in panthor_vm_active() 764 refcount_set(&vm->as.active_cnt, 1); in panthor_vm_active() 794 if (!refcount_dec_and_mutex_lock(&vm->as.active_cnt, &ptdev->mmu->as.slots_lock)) in panthor_vm_idle() 800 refcount_set(&vm->as.active_cnt, 0); in panthor_vm_idle() 1497 if (refcount_read(&vm->as.active_cnt) > 0) in panthor_vm_destroy() 2460 refcount_set(&vm->as.active_cnt, 0); in panthor_vm_create()
|
| /linux/drivers/usb/host/ |
| H A D | ohci-hcd.c | 844 int active_cnt = 0; in io_watchdog_func() local 852 ++active_cnt; in io_watchdog_func() 855 if (active_cnt > 0) { in io_watchdog_func()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | lib.c | 739 static int iwl_get_idle_rx_chain_count(struct iwl_priv *priv, int active_cnt) in iwl_get_idle_rx_chain_count() argument 748 return active_cnt; in iwl_get_idle_rx_chain_count() 752 return active_cnt; in iwl_get_idle_rx_chain_count()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_mbx.c | 5051 uint8_t active_cnt = 0; in qla25xx_set_els_cmds_supported() local 5074 cmd_opcode[active_cnt] = ELS_RDP; in qla25xx_set_els_cmds_supported() 5075 active_cnt++; in qla25xx_set_els_cmds_supported() 5078 cmd_opcode[active_cnt] = ELS_FPIN; in qla25xx_set_els_cmds_supported() 5079 active_cnt++; in qla25xx_set_els_cmds_supported() 5082 cmd_opcode[active_cnt] = ELS_AUTH_ELS; in qla25xx_set_els_cmds_supported() 5083 active_cnt++; in qla25xx_set_els_cmds_supported() 5086 for (i = 0; i < active_cnt; i++) { in qla25xx_set_els_cmds_supported()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-mac.c | 1104 il4965_get_idle_rx_chain_count(struct il_priv *il, int active_cnt) in il4965_get_idle_rx_chain_count() argument 1112 return active_cnt; in il4965_get_idle_rx_chain_count() 1115 return active_cnt; in il4965_get_idle_rx_chain_count()
|