Home
last modified time | relevance | path

Searched refs:num_peers (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/drivers/net/wireguard/
Dpeer.c30 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()
Ddevice.h54 unsigned int num_peers, device_update_gen; member
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dpeer.c201 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()
Dcore.h527 int num_peers; member
Dwmi.c182 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()
3208 wmi_cfg->num_peers = cpu_to_le32(tg_cfg->num_peers); in ath12k_wmi_copy_resource_config()
Dmac.c784 ar->num_peers = 0; in ath12k_mac_peer_cleanup_all()
3788 ar->num_peers--; in ath12k_mac_op_sta_state()
5067 ar->num_peers = 0; in ath12k_mac_op_start()
5328 ar->num_peers > (ar->max_num_peers - 1)) { in ath12k_mac_op_add_interface()
5524 ar->num_peers--; in ath12k_mac_op_add_interface()
Dwmi.h2286 u32 num_peers; member
2403 __le32 num_peers; member
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dhw.h18 #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
Dpeer.c259 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()
Dcore.c94 .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,
Dhw.c62 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()
Dcore.h671 int num_peers; member
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c73 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc()
396 htt->tx_q_state.num_peers = HTT_TX_Q_STATE_NUM_PEERS; in ath10k_htt_tx_alloc_txq()
719 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_32()
781 cfg->q_state.num_peers = cpu_to_le16(htt->tx_q_state.num_peers); in ath10k_htt_send_frag_desc_bank_cfg_64()
Dcore.c208 .num_peers = 10,
639 .num_peers = TARGET_QCA9377_HL_NUM_PEERS,
712 .num_peers = TARGET_HL_TLV_NUM_PEERS,
2733 if (ar->hw_params.num_peers) in ath10k_core_init_firmware_features()
2734 ar->max_num_peers = ar->hw_params.num_peers; in ath10k_core_init_firmware_features()
Dwmi.c6567 config.num_peers = __cpu_to_le32(TARGET_NUM_PEERS); in ath10k_wmi_op_gen_init()
6638 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_1_op_gen_init()
6704 config.num_peers = __cpu_to_le32(TARGET_10X_TX_STATS_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init()
6707 config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS); in ath10k_wmi_10_2_op_gen_init()
6785 config.num_peers = __cpu_to_le32(ar->max_num_peers); in ath10k_wmi_10_4_op_gen_init()
8431 size_t num_peers; in ath10k_wmi_main_op_fw_stats_fill() local
8443 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill()
8462 "ath10k PEER stats", num_peers); in ath10k_wmi_main_op_fw_stats_fill()
8489 size_t num_peers; in ath10k_wmi_10x_op_fw_stats_fill() local
8501 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill()
[all …]
Dwmi-tlv.c285 num_peer_stats = __le32_to_cpu(ev->num_peers); in ath10k_wmi_tlv_op_pull_peer_stats_info()
1901 if (ar->hw_params.num_peers) in ath10k_wmi_tlv_op_gen_init()
1902 cfg->num_peers = __cpu_to_le32(ar->hw_params.num_peers); in ath10k_wmi_tlv_op_gen_init()
1904 cfg->num_peers = __cpu_to_le32(TARGET_TLV_NUM_PEERS); in ath10k_wmi_tlv_op_gen_init()
1917 if (ar->hw_params.num_peers) in ath10k_wmi_tlv_op_gen_init()
1918 cfg->num_tids = __cpu_to_le32(ar->hw_params.num_peers * 2); in ath10k_wmi_tlv_op_gen_init()
Dmac.c733 int num_peers = 0; in ath10k_peer_create() local
738 num_peers = ar->num_peers; in ath10k_peer_create()
742 num_peers++; in ath10k_peer_create()
744 if (num_peers >= ar->max_num_peers) in ath10k_peer_create()
777 ar->num_peers++; in ath10k_peer_create()
862 ar->num_peers--; in ath10k_peer_delete()
891 ar->num_peers--; in ath10k_peer_map_cleanup()
931 ar->num_peers = 0; in ath10k_peer_cleanup_all()
5562 if (ar->num_peers >= ar->max_num_peers) { in ath10k_add_interface()
5966 ar->num_peers--; in ath10k_remove_interface()
[all …]
Dhw.h591 u32 num_peers; member
Dhtt.h1489 __le16 num_peers; member
1915 u16 num_peers; member
Dwmi-tlv.h1748 __le32 num_peers; member
2102 __le32 num_peers; member
Ddebug.c259 size_t num_peers; in ath10k_debug_fw_stats_process() local
296 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
315 if (num_peers >= ATH10K_MAX_NUM_PEER_IDS) { in ath10k_debug_fw_stats_process()
Dcore.h1182 int num_peers; member
Dwmi.h2366 __le32 num_peers; member
2563 __le32 num_peers; member
2768 __le32 num_peers; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h377 u8 num_peers; member
862 return esw->num_peers; in mlx5_eswitch_get_npeers()
Deswitch_offloads.c2994 esw->num_peers++; in mlx5_esw_offloads_devcom_event()
2995 peer_esw->num_peers++; in mlx5_esw_offloads_devcom_event()
3003 peer_esw->num_peers--; in mlx5_esw_offloads_devcom_event()
3004 esw->num_peers--; in mlx5_esw_offloads_devcom_event()
3005 if (!esw->num_peers && !peer_esw->num_peers) in mlx5_esw_offloads_devcom_event()
3047 esw->num_peers = 0; in mlx5_esw_offloads_devcom_init()

12