/openbmc/linux/drivers/net/wireguard/ |
H A D | peer.c | 30 if (wg->num_peers >= MAX_PEERS_PER_DEVICE) in wg_peer_create() 62 ++wg->num_peers; in wg_peer_create() 148 --peer->device->num_peers; in peer_remove_after_dead()
|
H A D | device.h | 54 unsigned int num_peers, device_update_gen; member
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | peer.c | 201 ar->num_peers--; in ath12k_peer_cleanup() 254 ar->num_peers--; in ath12k_peer_delete() 273 if (ar->num_peers > (ar->max_num_peers - 1)) { in ath12k_peer_create() 337 ar->num_peers++; in ath12k_peer_create()
|
H A D | core.h | 529 int num_peers; member
|
H A D | wmi.c | 182 config->num_peers = TARGET_NUM_PEERS(DBS); in ath12k_wmi_init_qcn9274() 185 config->num_peers = TARGET_NUM_PEERS(DBS_SBS); in ath12k_wmi_init_qcn9274() 189 config->num_peers = TARGET_NUM_PEERS(SINGLE); in ath12k_wmi_init_qcn9274() 235 config->num_peers = 16; in ath12k_wmi_init_wcn7850() 3209 wmi_cfg->num_peers = cpu_to_le32(tg_cfg->num_peers); in ath12k_wmi_copy_resource_config()
|
H A D | mac.c | 787 ar->num_peers = 0; in ath12k_mac_peer_cleanup_all() 3797 ar->num_peers--; in ath12k_mac_op_sta_state() 5076 ar->num_peers = 0; in ath12k_mac_op_start() 5337 ar->num_peers > (ar->max_num_peers - 1)) { in ath12k_mac_op_add_interface() 5533 ar->num_peers--; in ath12k_mac_op_add_interface()
|
H A D | wmi.h | 2286 u32 num_peers; member 2403 __le32 num_peers; member
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | hw.h | 18 #define TARGET_NUM_PEERS_PDEV(ab) (ab->hw_params.num_peers + TARGET_NUM_VDEVS(ab)) 30 #define TARGET_NUM_STATIONS(ab) (ab->hw_params.num_peers) 195 u32 num_peers; member
|
H A D | peer.c | 259 ar->num_peers--; in ath11k_peer_cleanup() 360 ar->num_peers--; in ath11k_peer_delete() 379 if (ar->num_peers > (ar->max_num_peers - 1)) { in ath11k_peer_create() 458 ar->num_peers++; in ath11k_peer_create()
|
H A D | core.c | 94 .num_peers = 512, 176 .num_peers = 512, 258 .num_peers = 512, 343 .num_peers = 128, 425 .num_peers = 512, 508 .num_peers = 512, 592 .num_peers = 512, 671 .num_peers = 512,
|
H A D | hw.c | 62 config->num_peers = 16; in ath11k_init_wmi_config_qca6390() 157 config->num_peers = TARGET_NUM_PEERS(ab, DBS); in ath11k_init_wmi_config_ipq8074() 160 config->num_peers = TARGET_NUM_PEERS(ab, DBS_SBS); in ath11k_init_wmi_config_ipq8074() 164 config->num_peers = TARGET_NUM_PEERS(ab, SINGLE); in ath11k_init_wmi_config_ipq8074()
|
H A D | core.h | 671 int num_peers; member
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htt_tx.c | 74 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc() 397 htt->tx_q_state.num_peers = HTT_TX_Q_STATE_NUM_PEERS; in ath10k_htt_tx_alloc_txq() 720 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_32() 782 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_64()
|
H A D | core.c | 209 .num_peers = 10, 640 .num_peers = TARGET_QCA9377_HL_NUM_PEERS, 716 .num_peers = TARGET_HL_TLV_NUM_PEERS, 2737 if (ar->hw_params.num_peers) in ath10k_core_init_firmware_features() 2738 ar->max_num_peers = ar->hw_params.num_peers; in ath10k_core_init_firmware_features()
|
H A D | wmi.c | 6589 config.num_peers = __cpu_to_le32(TARGET_NUM_PEERS); in ath10k_wmi_op_gen_init() 6660 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_1_op_gen_init() 6726 config.num_peers = __cpu_to_le32(TARGET_10X_TX_STATS_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init() 6729 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init() 6807 config.num_peers = __cpu_to_le32(ar->max_num_peers); in ath10k_wmi_10_4_op_gen_init() 8453 size_t num_peers; in ath10k_wmi_main_op_fw_stats_fill() local 8465 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill() 8484 "ath10k PEER stats", num_peers); in ath10k_wmi_main_op_fw_stats_fill() 8511 size_t num_peers; in ath10k_wmi_10x_op_fw_stats_fill() local 8523 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill() [all …]
|
H A D | wmi-tlv.c | 285 num_peer_stats = __le32_to_cpu(ev->num_peers); in ath10k_wmi_tlv_op_pull_peer_stats_info() 1905 if (ar->hw_params.num_peers) in ath10k_wmi_tlv_op_gen_init() 1906 cfg->num_peers = __cpu_to_le32(ar->hw_params.num_peers); in ath10k_wmi_tlv_op_gen_init() 1908 cfg->num_peers = __cpu_to_le32(TARGET_TLV_NUM_PEERS); in ath10k_wmi_tlv_op_gen_init() 1921 if (ar->hw_params.num_peers) in ath10k_wmi_tlv_op_gen_init() 1922 cfg->num_tids = __cpu_to_le32(ar->hw_params.num_peers * 2); in ath10k_wmi_tlv_op_gen_init()
|
H A D | mac.c | 734 int num_peers = 0; in ath10k_peer_create() local 739 num_peers = ar->num_peers; in ath10k_peer_create() 743 num_peers++; in ath10k_peer_create() 745 if (num_peers >= ar->max_num_peers) in ath10k_peer_create() 778 ar->num_peers++; in ath10k_peer_create() 863 ar->num_peers--; in ath10k_peer_delete() 892 ar->num_peers--; in ath10k_peer_map_cleanup() 932 ar->num_peers = 0; in ath10k_peer_cleanup_all() 5563 if (ar->num_peers >= ar->max_num_peers) { in ath10k_add_interface() 5967 ar->num_peers--; in ath10k_remove_interface() [all …]
|
H A D | htt.h | 1490 __le16 num_peers; member 1916 u16 num_peers; member
|
H A D | hw.h | 593 u32 num_peers; member
|
H A D | wmi-tlv.h | 1749 __le32 num_peers; member 2103 __le32 num_peers; member
|
H A D | debug.c | 260 size_t num_peers; in ath10k_debug_fw_stats_process() local 297 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process() 316 if (num_peers >= ATH10K_MAX_NUM_PEER_IDS) { in ath10k_debug_fw_stats_process()
|
H A D | core.h | 1183 int num_peers; member
|
H A D | wmi.h | 2367 __le32 num_peers; member 2564 __le32 num_peers; member 2769 __le32 num_peers; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 377 u8 num_peers; member 865 return esw->num_peers; in mlx5_eswitch_get_npeers()
|
H A D | eswitch_offloads.c | 3008 esw->num_peers++; in mlx5_esw_offloads_devcom_event() 3009 peer_esw->num_peers++; in mlx5_esw_offloads_devcom_event() 3017 peer_esw->num_peers--; in mlx5_esw_offloads_devcom_event() 3018 esw->num_peers--; in mlx5_esw_offloads_devcom_event() 3019 if (!esw->num_peers && !peer_esw->num_peers) in mlx5_esw_offloads_devcom_event() 3061 esw->num_peers = 0; in mlx5_esw_offloads_devcom_init()
|