| /src/sys/contrib/dev/athk/ath12k/ |
| H A D | peer.c | 11 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find() argument 19 if (peer->vdev_id != vdev_id) in ath12k_peer_find() 80 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id) in ath12k_peer_exist_by_vdev_id() argument 87 if (vdev_id == peer->vdev_id) { in ath12k_peer_exist_by_vdev_id() 124 peer->vdev_id, peer->addr, peer_id); in ath12k_peer_unmap_event() 134 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_peer_map_event() argument 140 peer = ath12k_peer_find(ab, vdev_id, mac_addr); in ath12k_peer_map_event() 146 peer->vdev_id = vdev_id; in ath12k_peer_map_event() 156 vdev_id, mac_addr, peer_id); in ath12k_peer_map_event() 162 static int ath12k_wait_for_peer_common(struct ath12k_base *ab, int vdev_id, in ath12k_wait_for_peer_common() argument [all …]
|
| H A D | mac.c | 528 if (arvif->vdev_id == arvif_iter->vdev_id) in ath12k_get_arvif_iter() 532 struct ath12k_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif() argument 537 arvif_iter.vdev_id = vdev_id; in ath12k_mac_get_arvif() 545 ath12k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath12k_mac_get_arvif() 553 u32 vdev_id) in ath12k_mac_get_arvif_by_vdev_id() argument 562 arvif = ath12k_mac_get_arvif(pdev->ar, vdev_id); in ath12k_mac_get_arvif_by_vdev_id() 571 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id() argument 579 if (pdev->ar->allocated_vdev_map & (1LL << vdev_id)) in ath12k_mac_get_ar_by_vdev_id() 713 arvif->vdev_id, rts_cts); in ath12k_recalc_rtscts_prot() 715 ret = ath12k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id, in ath12k_recalc_rtscts_prot() [all …]
|
| H A D | peer.h | 25 int vdev_id; member 50 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, 52 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, 57 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id); 58 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr); 62 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id, 64 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id);
|
| H A D | wmi.h | 2707 __le32 vdev_id; member 2725 __le32 vdev_id; member 2730 __le32 vdev_id; member 2740 __le32 vdev_id; member 2745 __le32 vdev_id; member 2763 __le32 vdev_id; member 2850 u32 vdev_id; member 2891 u32 vdev_id; member 2906 u16 vdev_id; member 2998 __le32 vdev_id; member [all …]
|
| H A D | wmi.c | 760 int ath12k_wmi_mgmt_send(struct ath12k *ar, u32 vdev_id, u32 buf_id, in ath12k_wmi_mgmt_send() argument 781 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send() 835 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create() 892 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete() argument 906 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_delete() 908 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev delete id %d\n", vdev_id); in ath12k_wmi_vdev_delete() 919 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop() argument 934 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_stop() 936 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev stop id 0x%x\n", vdev_id); in ath12k_wmi_vdev_stop() 947 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down() argument [all …]
|
| /src/sys/contrib/dev/athk/ath11k/ |
| H A D | peer.c | 28 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() argument 36 if (peer->vdev_id != vdev_id) in ath11k_peer_find() 80 int vdev_id) in ath11k_peer_find_by_vdev_id() argument 87 if (vdev_id == peer->vdev_id) { in ath11k_peer_find_by_vdev_id() 110 peer->vdev_id, peer->addr, peer_id); in ath11k_peer_unmap_event() 120 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, in ath11k_peer_map_event() argument 126 peer = ath11k_peer_find(ab, vdev_id, mac_addr); in ath11k_peer_map_event() 132 peer->vdev_id = vdev_id; in ath11k_peer_map_event() 142 vdev_id, mac_addr, peer_id); in ath11k_peer_map_event() 148 static int ath11k_wait_for_peer_common(struct ath11k_base *ab, int vdev_id, in ath11k_wait_for_peer_common() argument [all …]
|
| H A D | peer.h | 13 int vdev_id; member 42 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 44 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 49 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id); 50 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr); 53 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id, 56 int vdev_id);
|
| H A D | mac.c | 569 if (arvif->vdev_id == arvif_iter->vdev_id) in ath11k_get_arvif_iter() 573 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif() argument 579 arvif_iter.vdev_id = vdev_id; in ath11k_mac_get_arvif() 587 ath11k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath11k_mac_get_arvif() 595 u32 vdev_id) in ath11k_mac_get_arvif_by_vdev_id() argument 604 (pdev->ar->allocated_vdev_map & (1LL << vdev_id))) { in ath11k_mac_get_arvif_by_vdev_id() 605 arvif = ath11k_mac_get_arvif(pdev->ar, vdev_id); in ath11k_mac_get_arvif_by_vdev_id() 614 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id) in ath11k_mac_get_ar_by_vdev_id() argument 622 if (pdev->ar->allocated_vdev_map & (1LL << vdev_id)) in ath11k_mac_get_ar_by_vdev_id() 820 arvif->vdev_id, rts_cts); in ath11k_recalc_rtscts_prot() [all …]
|
| H A D | wmi.h | 2623 u32 vdev_id; member 2642 u32 vdev_id; member 2647 u32 vdev_id; member 2657 u32 vdev_id; member 2662 u32 vdev_id; member 2679 u32 vdev_id; member 2849 u32 vdev_id; member 2874 u32 vdev_id; member 2878 u8 vdev_id; member 2883 u8 vdev_id; member [all …]
|
| H A D | wmi.c | 704 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() argument 727 cmd->vdev_id = vdev_id; in ath11k_wmi_mgmt_send() 786 cmd->vdev_id = param->if_id; in ath11k_wmi_vdev_create() 848 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete() argument 862 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_delete() 870 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "cmd vdev delete id %d\n", vdev_id); in ath11k_wmi_vdev_delete() 875 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop() argument 890 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_stop() 898 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "cmd vdev stop id 0x%x\n", vdev_id); in ath11k_wmi_vdev_stop() 903 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down() argument [all …]
|
| H A D | wow.c | 102 ret = ath11k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath11k_wow_vif_cleanup() 105 wow_wakeup_event(i), arvif->vdev_id, ret); in ath11k_wow_vif_cleanup() 111 ret = ath11k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath11k_wow_vif_cleanup() 114 i, arvif->vdev_id, ret); in ath11k_wow_vif_cleanup() 133 arvif->vdev_id, ret); in ath11k_wow_cleanup() 251 static int ath11k_wmi_pno_check_and_convert(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_pno_check_and_convert() argument 259 pno->vdev_id = vdev_id; in ath11k_wmi_pno_check_and_convert() 390 ret = ath11k_wmi_pno_check_and_convert(ar, arvif->vdev_id, in ath11k_vif_wow_set_wakeups() 393 ath11k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath11k_vif_wow_set_wakeups() 437 ret = ath11k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath11k_vif_wow_set_wakeups() [all …]
|
| H A D | mac.h | 135 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id); 153 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id); 155 u32 vdev_id); 160 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 173 void ath11k_mac_handle_beacon_miss(struct ath11k *ar, u32 vdev_id);
|
| H A D | p2p.c | 131 if (arvif->vdev_id != arg->vdev_id) in ath11k_p2p_noa_update_vdev_iter() 137 void ath11k_p2p_noa_update_by_vdev_id(struct ath11k *ar, u32 vdev_id, in ath11k_p2p_noa_update_by_vdev_id() argument 141 .vdev_id = vdev_id, in ath11k_p2p_noa_update_by_vdev_id()
|
| /src/sys/contrib/dev/athk/ath10k/ |
| H A D | wmi-ops.h | 73 struct sk_buff *(*gen_vdev_create)(struct ath10k *ar, u32 vdev_id, 77 struct sk_buff *(*gen_vdev_delete)(struct ath10k *ar, u32 vdev_id); 81 struct sk_buff *(*gen_vdev_stop)(struct ath10k *ar, u32 vdev_id); 82 struct sk_buff *(*gen_vdev_up)(struct ath10k *ar, u32 vdev_id, u32 aid, 84 struct sk_buff *(*gen_vdev_down)(struct ath10k *ar, u32 vdev_id); 85 struct sk_buff *(*gen_vdev_set_param)(struct ath10k *ar, u32 vdev_id, 91 struct sk_buff *(*gen_vdev_spectral_enable)(struct ath10k *ar, u32 vdev_id, 93 struct sk_buff *(*gen_vdev_wmm_conf)(struct ath10k *ar, u32 vdev_id, 95 struct sk_buff *(*gen_peer_create)(struct ath10k *ar, u32 vdev_id, 98 struct sk_buff *(*gen_peer_delete)(struct ath10k *ar, u32 vdev_id, [all …]
|
| H A D | mac.c | 246 .vdev_id = arvif->vdev_id, in ath10k_send_key() 351 peer = ath10k_peer_find(ar, arvif->vdev_id, addr); in ath10k_install_peer_wep_keys() 410 arvif->vdev_id, in ath10k_install_peer_wep_keys() 415 arvif->vdev_id, ret); in ath10k_install_peer_wep_keys() 435 peer = ath10k_peer_find(ar, arvif->vdev_id, addr); in ath10k_clear_peer_keys() 556 arvif->vdev_id, key->keyidx); in ath10k_mac_vif_update_wep_key() 561 arvif->vdev_id, peer->addr, ret); in ath10k_mac_vif_update_wep_key() 715 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done() argument 722 ret = ath10k_wait_for_peer_deleted(ar, vdev_id, addr); in ath10k_wait_for_peer_delete_done() 738 u32 vdev_id, in ath10k_peer_create() argument [all …]
|
| H A D | txrx.c | 150 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find() argument 158 if (peer->vdev_id != vdev_id) in ath10k_peer_find() 185 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common() argument 194 mapped = !!ath10k_peer_find(ar, vdev_id, addr); in ath10k_wait_for_peer_common() 207 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created() argument 209 return ath10k_wait_for_peer_common(ar, vdev_id, addr, true); in ath10k_wait_for_peer_created() 212 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted() argument 214 return ath10k_wait_for_peer_common(ar, vdev_id, addr, false); in ath10k_wait_for_peer_deleted() 231 peer = ath10k_peer_find(ar, ev->vdev_id, ev->addr); in ath10k_peer_map_event() 237 peer->vdev_id = ev->vdev_id; in ath10k_peer_map_event() [all …]
|
| H A D | wmi-tlv.c | 187 u32 vdev_id, tx_status; in ath10k_wmi_tlv_event_bcn_tx_status() local 204 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status() 216 vdev_id, tx_status); in ath10k_wmi_tlv_event_bcn_tx_status() 220 arvif = ath10k_get_arvif(ar, vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status() 302 __le32_to_cpu(ev->vdev_id), in ath10k_wmi_tlv_op_pull_peer_stats_info() 428 int ret, vdev_id; in ath10k_wmi_tlv_event_p2p_noa() local 445 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_p2p_noa() 449 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa() 451 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath10k_wmi_tlv_event_p2p_noa() 461 int ret, vdev_id; in ath10k_wmi_tlv_event_tx_pause() local [all …]
|
| H A D | wow.c | 31 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup() 34 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup() 40 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup() 43 i, arvif->vdev_id, ret); in ath10k_wow_vif_cleanup() 62 arvif->vdev_id, ret); in ath10k_wow_cleanup() 172 static int ath10k_wmi_pno_check(struct ath10k *ar, u32 vdev_id, in ath10k_wmi_pno_check() argument 180 pno->vdev_id = vdev_id; in ath10k_wmi_pno_check() 310 ret = ath10k_wmi_pno_check(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups() 313 ath10k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath10k_vif_wow_set_wakeups() 355 ret = ath10k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups() [all …]
|
| H A D | p2p.c | 117 u32 vdev_id; member 127 if (arvif->vdev_id != arg->vdev_id) in ath10k_p2p_noa_update_vdev_iter() 133 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id, in ath10k_p2p_noa_update_by_vdev_id() argument 137 .vdev_id = vdev_id, in ath10k_p2p_noa_update_by_vdev_id()
|
| H A D | txrx.h | 14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 17 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, 19 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
|
| H A D | spectral.c | 183 int vdev_id; in ath10k_spectral_scan_trigger() local 190 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_trigger() 195 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_trigger() 201 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_trigger() 215 int vdev_id, count, res = 0; in ath10k_spectral_scan_config() local 223 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_config() 228 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_config() 244 arg.vdev_id = vdev_id; in ath10k_spectral_scan_config()
|
| /src/sys/contrib/openzfs/contrib/debian/ |
| H A D | openzfs-zfsutils.examples | 1 etc/zfs/vdev_id.conf.alias.example 2 etc/zfs/vdev_id.conf.multipath.example 3 etc/zfs/vdev_id.conf.sas_direct.example 4 etc/zfs/vdev_id.conf.sas_switch.example 5 etc/zfs/vdev_id.conf.scsi.example
|
| H A D | not-installed | 6 etc/zfs/vdev_id.conf.alias.example 7 etc/zfs/vdev_id.conf.multipath.example 8 etc/zfs/vdev_id.conf.sas_direct.example 9 etc/zfs/vdev_id.conf.sas_switch.example 10 etc/zfs/vdev_id.conf.scsi.example
|
| /src/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_rebuild.c | 193 int vdev_id = (uintptr_t)arg; in vdev_rebuild_update_sync() local 195 vdev_t *vd = vdev_lookup_top(spa, vdev_id); in vdev_rebuild_update_sync() 223 int vdev_id = (uintptr_t)arg; in vdev_rebuild_initiate_sync() local 225 vdev_t *vd = vdev_lookup_top(spa, vdev_id); in vdev_rebuild_initiate_sync() 257 (u_longlong_t)vd->vdev_id, (u_longlong_t)vd->vdev_guid); in vdev_rebuild_initiate_sync() 294 (void *)(uintptr_t)vd->vdev_id, tx); in vdev_rebuild_initiate() 306 int vdev_id = (uintptr_t)arg; in vdev_rebuild_complete_sync() local 308 vdev_t *vd = vdev_lookup_top(spa, vdev_id); in vdev_rebuild_complete_sync() 336 (u_longlong_t)vd->vdev_id, (u_longlong_t)vd->vdev_guid); in vdev_rebuild_complete_sync() 370 int vdev_id = (uintptr_t)arg; in vdev_rebuild_cancel_sync() local [all …]
|
| H A D | space_map.c | 145 uint64_t raw_offset, raw_run, vdev_id; in space_map_iterate() local 149 vdev_id = SM_NO_VDEVID; in space_map_iterate() 156 vdev_id = SM2_VDEV_DECODE(e); in space_map_iterate() 181 .sme_vdev = vdev_id, in space_map_iterate() 332 uint64_t raw_offset, raw_run, vdev_id; in space_map_incremental_destroy() local 336 vdev_id = SM_NO_VDEVID; in space_map_incremental_destroy() 344 vdev_id = SM2_VDEV_DECODE(e); in space_map_incremental_destroy() 370 .sme_vdev = vdev_id, in space_map_incremental_destroy() 554 maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, in space_map_write_seg() argument 561 ASSERT3U(vdev_id, <=, SM_NO_VDEVID); in space_map_write_seg() [all …]
|