/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | fwlog.h | 19 void ath10k_fwlog_register(struct ath10k *ar); 20 void ath10k_fwlog_unregister(struct ath10k *ar); 22 void ath10k_handle_fwlog_msg(struct ath10k *ar, struct sk_buff *skb);
|
H A D | hif.h | 31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, 35 int (*diag_read)(struct ath10k *ar, u32 address, void *buf, 38 int (*diag_write)(struct ath10k *ar, u32 address, const void *data, 45 int (*exchange_bmi_msg)(struct ath10k *ar, 50 int (*start)(struct ath10k *ar); 55 void (*stop)(struct ath10k *ar); 57 int (*start_post)(struct ath10k *ar); 59 int (*get_htt_tx_complete)(struct ath10k *ar); 61 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id, 64 void (*get_default_pipe)(struct ath10k *ar, u 102 ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, struct ath10k_hif_sg_item *items, int n_items) argument 109 ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, size_t buf_len) argument 115 ath10k_hif_diag_write(struct ath10k *ar, u32 address, const void *data, int nbytes) argument 124 ath10k_hif_exchange_bmi_msg(struct ath10k *ar, void *request, u32 request_len, void *response, u32 *response_len) argument 132 ath10k_hif_start(struct ath10k *ar) argument 137 ath10k_hif_stop(struct ath10k *ar) argument 142 ath10k_hif_start_post(struct ath10k *ar) argument 149 ath10k_hif_get_htt_tx_complete(struct ath10k *ar) argument 156 ath10k_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument 164 ath10k_hif_get_default_pipe(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe) argument 170 ath10k_hif_send_complete_check(struct ath10k *ar, u8 pipe_id, int force) argument 177 ath10k_hif_get_free_queue_number(struct ath10k *ar, u8 pipe_id) argument 183 ath10k_hif_power_up(struct ath10k *ar, enum ath10k_firmware_mode fw_mode) argument 189 ath10k_hif_power_down(struct ath10k *ar) argument 194 ath10k_hif_suspend(struct ath10k *ar) argument 202 ath10k_hif_resume(struct ath10k *ar) argument 210 ath10k_hif_read32(struct ath10k *ar, u32 address) argument 220 ath10k_hif_write32(struct ath10k *ar, u32 address, u32 data) argument 231 ath10k_hif_fetch_cal_eeprom(struct ath10k *ar, void **data, size_t *data_len) argument 241 ath10k_hif_get_target_info(struct ath10k *ar, struct bmi_target_info *tgt_info) argument 250 ath10k_hif_set_target_log_mode(struct ath10k *ar, u8 fw_log_mode) argument [all...] |
H A D | wmi-ops.h | 15 void (*rx)(struct ath10k *ar, struct sk_buff *skb); 19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb, 21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb, 23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb, 26 struct ath10k *ar, struct sk_buff *skb, 28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb, 30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb, 32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb, 34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb, 36 int (*pull_phyerr_hdr)(struct ath10k *ar, struc 235 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) argument 245 ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, size_t len) argument 256 ath10k_wmi_map_svc_ext(struct ath10k *ar, const __le32 *in, unsigned long *out, size_t len) argument 267 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, struct wmi_scan_ev_arg *arg) argument 277 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, struct wmi_tlv_mgmt_tx_compl_ev_arg *arg) argument 287 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, struct wmi_tlv_mgmt_tx_bundle_compl_ev_arg *arg) argument 297 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, struct wmi_mgmt_rx_ev_arg *arg) argument 307 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, struct wmi_ch_info_ev_arg *arg) argument 317 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, struct wmi_vdev_start_ev_arg *arg) argument 327 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, struct wmi_peer_kick_ev_arg *arg) argument 337 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, struct wmi_swba_ev_arg *arg) argument 347 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, struct wmi_phyerr_hdr_arg *arg) argument 357 ath10k_wmi_pull_phyerr(struct ath10k *ar, const void *phyerr_buf, int left_len, struct wmi_phyerr_ev_arg *arg) argument 367 ath10k_wmi_pull_svc_rdy(struct ath10k *ar, struct sk_buff *skb, struct wmi_svc_rdy_ev_arg *arg) argument 377 ath10k_wmi_pull_rdy(struct ath10k *ar, struct sk_buff *skb, struct wmi_rdy_ev_arg *arg) argument 387 ath10k_wmi_pull_svc_avail(struct ath10k *ar, struct sk_buff *skb, struct wmi_svc_avail_ev_arg *arg) argument 396 ath10k_wmi_pull_fw_stats(struct ath10k *ar, struct sk_buff *skb, struct ath10k_fw_stats *stats) argument 406 ath10k_wmi_pull_roam_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_roam_ev_arg *arg) argument 416 ath10k_wmi_pull_wow_event(struct ath10k *ar, struct sk_buff *skb, struct wmi_wow_ev_arg *arg) argument 426 ath10k_wmi_pull_echo_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_echo_ev_arg *arg) argument 436 ath10k_wmi_pull_dfs_status(struct ath10k *ar, struct sk_buff *skb, struct wmi_dfs_status_ev_arg *arg) argument 446 ath10k_wmi_get_txbf_conf_scheme(struct ath10k *ar) argument 455 ath10k_wmi_cleanup_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu) argument 464 ath10k_wmi_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu, dma_addr_t paddr) argument 486 ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) argument 514 ath10k_wmi_pdev_set_regdomain(struct ath10k *ar, u16 rd, u16 rd2g, u16 rd5g, u16 ctl2g, u16 ctl5g, enum wmi_dfs_region dfs_reg) argument 533 ath10k_wmi_pdev_set_base_macaddr(struct ath10k *ar, const u8 macaddr[ETH_ALEN]) argument 549 ath10k_wmi_pdev_suspend_target(struct ath10k *ar, u32 suspend_opt) argument 564 ath10k_wmi_pdev_resume_target(struct ath10k *ar) argument 579 ath10k_wmi_pdev_set_param(struct ath10k *ar, u32 id, u32 value) argument 594 ath10k_wmi_cmd_init(struct ath10k *ar) argument 609 ath10k_wmi_start_scan(struct ath10k *ar, const struct wmi_start_scan_arg *arg) argument 625 ath10k_wmi_stop_scan(struct ath10k *ar, const struct wmi_stop_scan_arg *arg) argument 640 ath10k_wmi_vdev_create(struct ath10k *ar, u32 vdev_id, enum wmi_vdev_type type, enum wmi_vdev_subtype subtype, const u8 macaddr[ETH_ALEN]) argument 658 ath10k_wmi_vdev_delete(struct ath10k *ar, u32 vdev_id) argument 673 ath10k_wmi_vdev_start(struct ath10k *ar, const struct wmi_vdev_start_request_arg *arg) argument 690 ath10k_wmi_vdev_restart(struct ath10k *ar, const struct wmi_vdev_start_request_arg *arg) argument 707 ath10k_wmi_vdev_stop(struct ath10k *ar, u32 vdev_id) argument 722 ath10k_wmi_vdev_up(struct ath10k *ar, u32 vdev_id, u32 aid, const u8 *bssid) argument 737 ath10k_wmi_vdev_down(struct ath10k *ar, u32 vdev_id) argument 752 ath10k_wmi_vdev_set_param(struct ath10k *ar, u32 vdev_id, u32 param_id, u32 param_value) argument 769 ath10k_wmi_vdev_install_key(struct ath10k *ar, const struct wmi_vdev_install_key_arg *arg) argument 786 ath10k_wmi_vdev_spectral_conf(struct ath10k *ar, const struct wmi_vdev_spectral_conf_arg *arg) argument 804 ath10k_wmi_vdev_spectral_enable(struct ath10k *ar, u32 vdev_id, u32 trigger, u32 enable) argument 823 ath10k_wmi_vdev_sta_uapsd(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN], const struct wmi_sta_uapsd_auto_trig_arg *args, u32 num_ac) argument 844 ath10k_wmi_vdev_wmm_conf(struct ath10k *ar, u32 vdev_id, const struct wmi_wmm_params_all_arg *arg) argument 859 ath10k_wmi_peer_create(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN], enum wmi_peer_type peer_type) argument 876 ath10k_wmi_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN]) argument 892 ath10k_wmi_peer_flush(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN], u32 tid_bitmap) argument 908 ath10k_wmi_peer_set_param(struct ath10k *ar, u32 vdev_id, const u8 *peer_addr, enum wmi_peer_param param_id, u32 param_value) argument 925 ath10k_wmi_set_psmode(struct ath10k *ar, u32 vdev_id, enum wmi_sta_ps_mode psmode) argument 942 ath10k_wmi_set_sta_ps_param(struct ath10k *ar, u32 vdev_id, enum wmi_sta_powersave_param param_id, u32 value) argument 959 ath10k_wmi_set_ap_ps_param(struct ath10k *ar, u32 vdev_id, const u8 *mac, enum wmi_ap_ps_peer_param param_id, u32 value) argument 976 ath10k_wmi_scan_chan_list(struct ath10k *ar, const struct wmi_scan_chan_list_arg *arg) argument 992 ath10k_wmi_scan_prob_req_oui(struct ath10k *ar, const u8 mac_addr[ETH_ALEN]) argument 1012 ath10k_wmi_peer_assoc(struct ath10k *ar, const struct wmi_peer_assoc_complete_arg *arg) argument 1028 ath10k_wmi_beacon_send_ref_nowait(struct ath10k *ar, u32 vdev_id, const void *bcn, size_t bcn_len, u32 bcn_paddr, bool dtim_zero, bool deliver_cab) argument 1055 ath10k_wmi_pdev_set_wmm_params(struct ath10k *ar, const struct wmi_wmm_params_all_arg *arg) argument 1072 ath10k_wmi_request_stats(struct ath10k *ar, u32 stats_mask) argument 1087 ath10k_wmi_request_peer_stats_info(struct ath10k *ar, u32 vdev_id, enum wmi_peer_stats_info_request_type type, u8 *addr, u32 reset) argument 1110 ath10k_wmi_force_fw_hang(struct ath10k *ar, enum wmi_force_fw_hang_type type, u32 delay_ms) argument 1126 ath10k_wmi_dbglog_cfg(struct ath10k *ar, u64 module_enable, u32 log_level) argument 1141 ath10k_wmi_pdev_pktlog_enable(struct ath10k *ar, u32 filter) argument 1156 ath10k_wmi_pdev_pktlog_disable(struct ath10k *ar) argument 1172 ath10k_wmi_pdev_set_quiet_mode(struct ath10k *ar, u32 period, u32 duration, u32 next_offset, u32 enabled) argument 1190 ath10k_wmi_pdev_get_temperature(struct ath10k *ar) argument 1206 ath10k_wmi_addba_clear_resp(struct ath10k *ar, u32 vdev_id, const u8 *mac) argument 1222 ath10k_wmi_addba_send(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 buf_size) argument 1239 ath10k_wmi_addba_set_resp(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 status) argument 1256 ath10k_wmi_delba_send(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 initiator, u32 reason) argument 1274 ath10k_wmi_bcn_tmpl(struct ath10k *ar, u32 vdev_id, u32 tim_ie_offset, struct sk_buff *bcn, u32 prb_caps, u32 prb_erp, void *prb_ies, size_t prb_ies_len) argument 1293 ath10k_wmi_prb_tmpl(struct ath10k *ar, u32 vdev_id, struct sk_buff *prb) argument 1308 ath10k_wmi_p2p_go_bcn_ie(struct ath10k *ar, u32 vdev_id, const u8 *p2p_ie) argument 1323 ath10k_wmi_sta_keepalive(struct ath10k *ar, const struct wmi_sta_keepalive_arg *arg) argument 1341 ath10k_wmi_wow_enable(struct ath10k *ar) argument 1358 ath10k_wmi_wow_add_wakeup_event(struct ath10k *ar, u32 vdev_id, enum wmi_wow_wakeup_event event, u32 enable) argument 1377 ath10k_wmi_wow_host_wakeup_ind(struct ath10k *ar) argument 1394 ath10k_wmi_wow_add_pattern(struct ath10k *ar, u32 vdev_id, u32 pattern_id, const u8 *pattern, const u8 *mask, int pattern_len, int pattern_offset) argument 1415 ath10k_wmi_wow_del_pattern(struct ath10k *ar, u32 vdev_id, u32 pattern_id) argument 1432 ath10k_wmi_wow_config_pno(struct ath10k *ar, u32 vdev_id, struct wmi_pno_scan_req *pno_scan) argument 1450 ath10k_wmi_update_fw_tdls_state(struct ath10k *ar, u32 vdev_id, enum wmi_tdls_state state) argument 1466 ath10k_wmi_tdls_peer_update(struct ath10k *ar, const struct wmi_tdls_peer_update_cmd_arg *arg, const struct wmi_tdls_peer_capab_arg *cap, const struct wmi_channel_arg *chan) argument 1485 ath10k_wmi_adaptive_qcs(struct ath10k *ar, bool enable) argument 1500 ath10k_wmi_pdev_get_tpc_config(struct ath10k *ar, u32 param) argument 1517 ath10k_wmi_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, char *buf) argument 1528 ath10k_wmi_pdev_enable_adaptive_cca(struct ath10k *ar, u8 enable, u32 detect_level, u32 detect_margin) argument 1548 ath10k_wmi_ext_resource_config(struct ath10k *ar, enum wmi_host_platform_type type, u32 fw_feature_bitmap) argument 1568 ath10k_wmi_get_vdev_subtype(struct ath10k *ar, enum wmi_vdev_subtype subtype) argument 1577 ath10k_wmi_pdev_bss_chan_info_request(struct ath10k *ar, enum wmi_bss_survey_req_type type) argument 1595 ath10k_wmi_echo(struct ath10k *ar, u32 value) argument 1611 ath10k_wmi_pdev_get_tpc_table_cmdid(struct ath10k *ar, u32 param) argument 1628 ath10k_wmi_report_radar_found(struct ath10k *ar, const struct ath10k_radar_found_info *arg) argument 1645 ath10k_wmi_pdev_bb_timing(struct ath10k *ar, const struct wmi_bb_timing_cfg_arg *arg) argument 1663 ath10k_wmi_set_per_peer_per_tid_cfg(struct ath10k *ar, const struct wmi_per_peer_per_tid_cfg_arg *arg) argument [all...] |
H A D | thermal.c | 28 struct ath10k *ar = cdev->devdata; local 30 mutex_lock(&ar->conf_mutex); 31 *state = ar->thermal.throttle_state; 32 mutex_unlock(&ar->conf_mutex); 41 struct ath10k *ar = cdev->devdata; local 44 ath10k_warn(ar, "throttle state %ld is exceeding the limit %d\n", 48 mutex_lock(&ar->conf_mutex); 49 ar->thermal.throttle_state = throttle_state; 50 ath10k_thermal_set_throttling(ar); 51 mutex_unlock(&ar 65 struct ath10k *ar = dev_get_drvdata(dev); local 108 ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) argument 125 ath10k_thermal_set_throttling(struct ath10k *ar) argument 154 ath10k_thermal_register(struct ath10k *ar) argument 212 ath10k_thermal_unregister(struct ath10k *ar) argument [all...] |
H A D | ahb.c | 28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) argument 30 return &ath10k_pci_priv(ar)->ahb[0]; 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) argument 35 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) argument 42 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) argument 49 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) argument 56 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); 61 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) argument 68 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) argument 73 ath10k_ahb_get_num_banks(struct ath10k *ar) argument 82 ath10k_ahb_clock_init(struct ath10k *ar) argument 113 ath10k_ahb_clock_deinit(struct ath10k *ar) argument 122 ath10k_ahb_clock_enable(struct ath10k *ar) argument 165 ath10k_ahb_clock_disable(struct ath10k *ar) argument 176 ath10k_ahb_rst_ctrl_init(struct ath10k *ar) argument 226 ath10k_ahb_rst_ctrl_deinit(struct ath10k *ar) argument 237 ath10k_ahb_release_reset(struct ath10k *ar) argument 277 ath10k_ahb_halt_axi_bus(struct ath10k *ar, u32 haltreq_reg, u32 haltack_reg) argument 306 ath10k_ahb_halt_chip(struct ath10k *ar) argument 392 struct ath10k *ar = arg; local 404 ath10k_ahb_request_irq_legacy(struct ath10k *ar) argument 423 ath10k_ahb_release_irq_legacy(struct ath10k *ar) argument 430 ath10k_ahb_irq_disable(struct ath10k *ar) argument 436 ath10k_ahb_resource_init(struct ath10k *ar) argument 524 ath10k_ahb_resource_deinit(struct ath10k *ar) argument 548 ath10k_ahb_prepare_device(struct ath10k *ar) argument 592 ath10k_ahb_chip_reset(struct ath10k *ar) argument 606 ath10k_ahb_wake_target_cpu(struct ath10k *ar) argument 618 ath10k_ahb_hif_start(struct ath10k *ar) argument 631 ath10k_ahb_hif_stop(struct ath10k *ar) argument 645 ath10k_ahb_hif_power_up(struct ath10k *ar, enum ath10k_firmware_mode fw_mode) argument 684 ath10k_ahb_qca4019_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) argument 728 struct ath10k *ar; local 825 struct ath10k *ar = platform_get_drvdata(pdev); local [all...] |
H A D | thermal.h | 29 int ath10k_thermal_register(struct ath10k *ar); 30 void ath10k_thermal_unregister(struct ath10k *ar); 31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature); 32 void ath10k_thermal_set_throttling(struct ath10k *ar); 34 static inline int ath10k_thermal_register(struct ath10k *ar) argument 39 static inline void ath10k_thermal_unregister(struct ath10k *ar) argument 43 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, argument 48 static inline void ath10k_thermal_set_throttling(struct ath10k *ar) argument
|
H A D | testmode.c | 31 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) argument 37 ath10k_dbg(ar, ATH10K_DBG_TESTMODE, 41 ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", skb->data, skb->len); 43 spin_lock_bh(&ar->data_lock); 45 if (!ar->testmode.utf_monitor) { 56 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, 60 ath10k_warn(ar, 67 ath10k_warn(ar, 76 ath10k_warn(ar, 85 ath10k_warn(ar, 100 ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) argument 139 ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, struct ath10k_fw_file *fw_file) argument 173 ath10k_tm_fetch_firmware(struct ath10k *ar) argument 226 ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) argument 323 __ath10k_tm_cmd_utf_stop(struct ath10k *ar) argument 347 ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) argument 371 ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) argument 430 struct ath10k *ar = hw->priv; local 456 ath10k_testmode_destroy(struct ath10k *ar) argument [all...] |
H A D | txrx.c | 14 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) argument 21 if (ath10k_mac_tx_frm_has_freq(ar)) 29 spin_lock_bh(&ar->data_lock); 30 if (ar->offchan_tx_skb != skb) { 31 ath10k_warn(ar, "completed old offchannel frame\n"); 35 complete(&ar->offchan_tx_completed); 36 ar->offchan_tx_skb = NULL; /* just for sanity */ 38 ath10k_dbg(ar, ATH10K_DBG_HTT, "completed offchannel skb %pK\n", skb); 40 spin_unlock_bh(&ar->data_lock); 47 struct ath10k *ar local 150 ath10k_peer_find(struct ath10k *ar, int vdev_id, const u8 *addr) argument 169 ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) argument 185 ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, const u8 *addr, bool expect_mapped) argument 207 ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) argument 212 ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) argument 220 struct ath10k *ar = htt->ar; local 256 struct ath10k *ar = htt->ar; local [all...] |
H A D | debug.c | 31 void ath10k_info(struct ath10k *ar, const char *fmt, ...) argument 41 dev_info(ar->dev, "%pV", &vaf); 46 dev_printk(KERN_DEBUG, ar->dev, "%s", str); 50 trace_ath10k_log_info(ar, &vaf); 55 void ath10k_debug_print_hwfw_info(struct ath10k *ar) argument 61 ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features)); 64 ath10k_info(ar, "%s target 0x%08x chip_id 0x%08x sub %04x:%04x", 66 ath10k_info(ar, "%s target 0x%08x chip_id 0x%08x sub %04x:%04x\n", 68 ar->hw_params.name, 69 ar 91 ath10k_debug_print_board_info(struct ath10k *ar) argument 119 ath10k_debug_print_boot_info(struct ath10k *ar) argument 132 ath10k_print_driver_info(struct ath10k *ar) argument 140 ath10k_err(struct ath10k *ar, const char *fmt, ...) argument 164 ath10k_warn(struct ath10k *ar, const char *fmt, ...) argument 195 struct ath10k *ar = file->private_data; local 284 ath10k_debug_fw_stats_reset(struct ath10k *ar) argument 296 ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) argument 394 ath10k_debug_fw_stats_request(struct ath10k *ar) argument 436 struct ath10k *ar = inode->i_private; local 506 struct ath10k *ar = file->private_data; local 543 ath10k_debug_fw_assert(struct ath10k *ar) argument 587 struct ath10k *ar = file->private_data; local 658 struct ath10k *ar = file->private_data; local 678 struct ath10k *ar = file->private_data; local 696 struct ath10k *ar = file->private_data; local 726 struct ath10k *ar = file->private_data; local 757 struct ath10k *ar = file->private_data; local 797 struct ath10k *ar = file->private_data; local 849 struct ath10k *ar = file->private_data; local 904 ath10k_debug_htt_stats_req(struct ath10k *ar) argument 935 struct ath10k *ar = container_of(work, struct ath10k, local 949 struct ath10k *ar = file->private_data; local 962 struct ath10k *ar = file->private_data; local 1002 struct ath10k *ar = file->private_data; local 1022 struct ath10k *ar = file->private_data; local 1064 struct ath10k *ar = file->private_data; local 1078 struct ath10k *ar = file->private_data; local 1201 struct ath10k *ar = hw->priv; local 1291 ath10k_debug_cal_data_fetch(struct ath10k *ar) argument 1326 struct ath10k *ar = inode->i_private; local 1345 struct ath10k *ar = file->private_data; local 1362 struct ath10k *ar = file->private_data; local 1395 struct ath10k *ar = file->private_data; local 1423 struct ath10k *ar = file->private_data; local 1436 struct ath10k *ar = file->private_data; local 1487 ath10k_debug_tpc_stats_request(struct ath10k *ar) argument 1510 ath10k_debug_tpc_stats_process(struct ath10k *ar, struct ath10k_tpc_stats *tpc_stats) argument 1523 ath10k_debug_tpc_stats_final_process(struct ath10k *ar, struct ath10k_tpc_stats_final *tpc_stats) argument 1581 ath10k_tpc_stats_fill(struct ath10k *ar, struct ath10k_tpc_stats *tpc_stats, char *buf) argument 1671 struct ath10k *ar = inode->i_private; local 1733 ath10k_debug_start(struct ath10k *ar) argument 1784 ath10k_debug_stop(struct ath10k *ar) argument 1806 struct ath10k *ar = file->private_data; local 1842 struct ath10k *ar = file->private_data; local 1895 struct ath10k *ar = file->private_data; local 1942 struct ath10k *ar = file->private_data; local 1963 struct ath10k *ar = file->private_data; local 1986 struct ath10k *ar = file->private_data; local 2007 struct ath10k *ar = file->private_data; local 2070 struct ath10k *ar = file->private_data; local 2091 struct ath10k *ar = file->private_data; local 2125 struct ath10k *ar = file->private_data; local 2146 struct ath10k *ar = file->private_data; local 2194 struct ath10k *ar = file->private_data; local 2215 struct ath10k *ar = file->private_data; local 2270 struct ath10k *ar = file->private_data; local 2282 struct ath10k *ar = file->private_data; local 2308 ath10k_debug_tpc_stats_final_request(struct ath10k *ar) argument 2333 struct ath10k *ar = inode->i_private; local 2401 struct ath10k *ar = file->private_data; local 2443 struct ath10k *ar = data; local 2455 struct ath10k *ar = file->private_data; local 2499 struct ath10k *ar = file->private_data; local 2523 struct ath10k *ar = file->private_data; local 2557 ath10k_debug_create(struct ath10k *ar) argument 2571 ath10k_debug_destroy(struct ath10k *ar) argument 2582 ath10k_debug_register(struct ath10k *ar) argument 2706 ath10k_debug_unregister(struct ath10k *ar) argument 2714 __ath10k_dbg(struct ath10k *ar, enum ath10k_debug_mask mask, const char *fmt, ...) argument 2743 ath10k_dbg_dump(struct ath10k *ar, enum ath10k_debug_mask mask, const char *msg, const char *prefix, const void *buf, size_t len) argument [all...] |
H A D | pci.h | 110 struct ath10k *ar; member in struct:ath10k_pci 171 int (*pci_soft_reset)(struct ath10k *ar); 174 int (*pci_hard_reset)(struct ath10k *ar); 179 u32 (*targ_cpu_to_ce_addr)(struct ath10k *ar, u32 addr); 193 static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) argument 195 return (struct ath10k_pci *)ar->drv_priv; 212 void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value); 213 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val); 214 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val); 216 u32 ath10k_pci_read32(struct ath10k *ar, u3 [all...] |
H A D | core.c | 782 void ath10k_core_get_fw_features_str(struct ath10k *ar, argument 790 if (test_bit(i, ar->normal_mode_fw.fw_file.fw_features)) { 801 static void ath10k_send_suspend_complete(struct ath10k *ar) argument 803 ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot suspend complete\n"); 805 complete(&ar->target_suspend); 808 static int ath10k_init_sdio(struct ath10k *ar, enum ath10k_firmware_mode mode) argument 810 bool mtu_workaround = ar->hw_params.credit_size_workaround; 814 ret = ath10k_bmi_write32(ar, hi_mbox_io_block_sz, 256); 818 ret = ath10k_bmi_write32(ar, hi_mbox_isr_yield_limit, 99); 822 ret = ath10k_bmi_read32(ar, hi_acs_flag 855 ath10k_init_configure_target(struct ath10k *ar) argument 923 ath10k_fetch_fw_file(struct ath10k *ar, const char *dir, const char *file) argument 949 ath10k_push_board_ext_data(struct ath10k *ar, const void *data, size_t data_len) argument 999 ath10k_core_get_board_id_from_otp(struct ath10k *ar) argument 1077 struct ath10k *ar = data; local 1138 ath10k_core_check_smbios(struct ath10k *ar) argument 1149 ath10k_core_check_dt(struct ath10k *ar) argument 1176 ath10k_download_fw(struct ath10k *ar) argument 1225 ath10k_core_free_board_files(struct ath10k *ar) argument 1242 ath10k_core_free_firmware_files(struct ath10k *ar) argument 1266 ath10k_fetch_cal_file(struct ath10k *ar) argument 1293 ath10k_core_fetch_board_data_api_1(struct ath10k *ar, int bd_ie_type) argument 1341 ath10k_core_parse_bd_ie_board(struct ath10k *ar, const void *buf, size_t buf_len, const char *boardname, int bd_ie_type) argument 1439 ath10k_core_search_bd(struct ath10k *ar, const char *boardname, const u8 *data, size_t len) argument 1505 ath10k_core_fetch_board_data_api_n(struct ath10k *ar, const char *boardname, const char *fallback_boardname1, const char *fallback_boardname2, const char *filename) argument 1580 ath10k_core_create_board_name(struct ath10k *ar, char *name, size_t name_len, bool with_variant, bool with_chip_id) argument 1626 ath10k_core_create_eboard_name(struct ath10k *ar, char *name, size_t name_len) argument 1643 ath10k_core_fetch_board_file(struct ath10k *ar, int bd_ie_type) argument 1709 ath10k_core_get_ext_board_id_from_otp(struct ath10k *ar) argument 1761 ath10k_download_board_data(struct ath10k *ar, const void *data, size_t data_len) argument 1830 ath10k_download_and_run_otp(struct ath10k *ar) argument 1889 ath10k_download_cal_file(struct ath10k *ar, const struct firmware *file) argument 1911 ath10k_download_cal_dt(struct ath10k *ar, const char *dt_name) argument 1970 ath10k_download_cal_eeprom(struct ath10k *ar) argument 1999 ath10k_download_cal_nvmem(struct ath10k *ar, const char *cell_name) argument 2038 ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name, struct ath10k_fw_file *fw_file) argument 2239 ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name, size_t fw_name_len, int fw_api) argument 2258 ath10k_core_fetch_firmware_files(struct ath10k *ar) argument 2292 ath10k_core_pre_cal_download(struct ath10k *ar) argument 2333 ath10k_core_pre_cal_config(struct ath10k *ar) argument 2362 ath10k_download_cal_data(struct ath10k *ar) argument 2430 ath10k_core_fetch_btcoex_dt(struct ath10k *ar) argument 2466 ath10k_init_uart(struct ath10k *ar) argument 2517 ath10k_init_hw_params(struct ath10k *ar) argument 2545 ath10k_core_start_recovery(struct ath10k *ar) argument 2556 ath10k_core_napi_enable(struct ath10k *ar) argument 2568 ath10k_core_napi_sync_disable(struct ath10k *ar) argument 2583 struct ath10k *ar = container_of(work, struct ath10k, restart_work); local 2656 struct ath10k *ar = container_of(work, struct ath10k, local 2663 ath10k_core_init_firmware_features(struct ath10k *ar) argument 2845 ath10k_core_reset_rx_filter(struct ath10k *ar) argument 2894 ath10k_core_compat_services(struct ath10k *ar) argument 2918 ath10k_core_copy_target_iram(struct ath10k *ar) argument 2999 ath10k_core_start(struct ath10k *ar, enum ath10k_firmware_mode mode, const struct ath10k_fw_components *fw) argument 3324 ath10k_wait_for_suspend(struct ath10k *ar, u32 suspend_opt) argument 3347 ath10k_core_stop(struct ath10k *ar) argument 3371 ath10k_core_probe_fw(struct ath10k *ar) argument 3524 struct ath10k *ar = container_of(work, struct ath10k, register_work); local 3590 ath10k_core_register(struct ath10k *ar, const struct ath10k_bus_params *bus_params) argument 3601 ath10k_core_unregister(struct ath10k *ar) argument 3638 struct ath10k *ar; local 3776 ath10k_core_destroy(struct ath10k *ar) argument [all...] |
H A D | debug.h | 80 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...); 81 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...); 82 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...); 84 void ath10k_debug_print_hwfw_info(struct ath10k *ar); 85 void ath10k_debug_print_board_info(struct ath10k *ar); 86 void ath10k_debug_print_boot_info(struct ath10k *ar); 87 void ath10k_print_driver_info(struct ath10k *ar); 90 int ath10k_debug_start(struct ath10k *ar); 91 void ath10k_debug_stop(struct ath10k *ar); 92 int ath10k_debug_create(struct ath10k *ar); 115 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) argument 120 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) argument 125 ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) argument 134 ath10k_debug_start(struct ath10k *ar) argument 139 ath10k_debug_stop(struct ath10k *ar) argument 143 ath10k_debug_create(struct ath10k *ar) argument 148 ath10k_debug_destroy(struct ath10k *ar) argument 152 ath10k_debug_register(struct ath10k *ar) argument 157 ath10k_debug_unregister(struct ath10k *ar) argument 161 ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) argument 166 ath10k_debug_tpc_stats_process(struct ath10k *ar, struct ath10k_tpc_stats *tpc_stats) argument 173 ath10k_debug_tpc_stats_final_process(struct ath10k *ar, struct ath10k_tpc_stats_final *tpc_stats) argument 179 ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, int len) argument 184 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) argument 189 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) argument 194 ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) argument 199 ath10k_debug_fw_stats_request(struct ath10k *ar) argument 229 ath10k_sta_update_rx_duration(struct ath10k *ar, struct ath10k_fw_stats *stats) argument 235 ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr, unsigned long num_msdus, enum ath10k_pkt_rx_err err, unsigned long unchain_cnt, unsigned long drop_cnt, unsigned long drop_cnt_filter, unsigned long queued_msdus) argument 246 ath10k_sta_update_rx_tid_stats_ampdu(struct ath10k *ar, u16 peer_id, u8 tid, struct htt_rx_indication_mpdu_range *ranges, int num_ranges) argument 264 __ath10k_dbg(struct ath10k *ar, enum ath10k_debug_mask dbg_mask, const char *fmt, ...) argument 271 ath10k_dbg_dump(struct ath10k *ar, enum ath10k_debug_mask mask, const char *msg, const char *prefix, const void *buf, size_t len) argument [all...] |
H A D | mac.h | 19 struct ath10k *ar; member in struct:ath10k_generic_iter 32 void ath10k_mac_destroy(struct ath10k *ar); 33 int ath10k_mac_register(struct ath10k *ar); 34 void ath10k_mac_unregister(struct ath10k *ar); 35 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id); 36 void __ath10k_scan_finish(struct ath10k *ar); 37 void ath10k_scan_finish(struct ath10k *ar); 39 void ath10k_offchan_tx_purge(struct ath10k *ar); 41 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar); 43 void ath10k_halt(struct ath10k *ar); [all...] |
H A D | spectral.h | 38 int ath10k_spectral_process_fft(struct ath10k *ar, 42 int ath10k_spectral_start(struct ath10k *ar); 44 int ath10k_spectral_create(struct ath10k *ar); 45 void ath10k_spectral_destroy(struct ath10k *ar); 50 ath10k_spectral_process_fft(struct ath10k *ar, argument 58 static inline int ath10k_spectral_start(struct ath10k *ar) argument 68 static inline int ath10k_spectral_create(struct ath10k *ar) argument 73 static inline void ath10k_spectral_destroy(struct ath10k *ar) argument
|
H A D | testmode.h | 10 void ath10k_testmode_destroy(struct ath10k *ar); 12 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb); 18 static inline void ath10k_testmode_destroy(struct ath10k *ar) argument 22 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, argument
|
H A D | txrx.h | 14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 16 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_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,
|
/freebsd-current/usr.bin/clang/llvm-ar/ |
H A D | Makefile | 4 PROG_CXX= llvm-ar 5 MAN= llvm-ar.1 llvm-ranlib.1 7 SRCDIR= llvm/tools/llvm-ar 8 SRCS+= llvm-ar-driver.cpp 9 SRCS+= llvm-ar.cpp 11 LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib 14 LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib 15 MLINKS+= llvm-ar [all...] |
/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | elf_getarsym.c | 34 elf_getarsym(Elf *ar, size_t *ptr) argument 42 if (ar == NULL || ar->e_kind != ELF_K_AR) 44 else if ((symtab = ar->e_u.e_ar.e_symtab) != NULL) 45 n = ar->e_u.e_ar.e_symtabsz; 46 else if (ar->e_u.e_ar.e_rawsymtab) 47 symtab = (ar->e_flags & LIBELF_F_AR_VARIANT_SVR4) ? 48 _libelf_ar_process_svr4_symtab(ar, &n) : 49 _libelf_ar_process_bsd_symtab(ar, &n);
|
H A D | elf_rand.c | 27 #include <ar.h> 35 elf_rand(Elf *ar, off_t offset) argument 40 if (ar == NULL || ar->e_kind != ELF_K_AR || 42 offset >= ar->e_rawsize) { 50 offset_of_member >= ar->e_rawsize) { 55 arh = (struct ar_hdr *) (ar->e_rawfile + offset); 63 ar->e_u.e_ar.e_next = offset;
|
/freebsd-current/sys/security/audit/ |
H A D | audit_arg.c | 72 struct kaudit_record *ar; local 74 ar = currecord(); 75 if (ar == NULL) 78 ar->k_ar.ar_arg_addr = addr; 79 ARG_SET_VALID(ar, ARG_ADDR); 85 struct kaudit_record *ar; local 87 ar = currecord(); 88 if (ar == NULL) 91 ar->k_ar.ar_arg_exitstatus = status; 92 ar 99 struct kaudit_record *ar; local 112 struct kaudit_record *ar; local 125 struct kaudit_record *ar; local 138 struct kaudit_record *ar; local 151 struct kaudit_record *ar; local 164 struct kaudit_record *ar; local 177 struct kaudit_record *ar; local 190 struct kaudit_record *ar; local 203 struct kaudit_record *ar; local 216 struct kaudit_record *ar; local 229 struct kaudit_record *ar; local 242 struct kaudit_record *ar; local 255 struct kaudit_record *ar; local 269 struct kaudit_record *ar; local 291 struct kaudit_record *ar; local 304 struct kaudit_record *ar; local 318 struct kaudit_record *ar; local 331 struct kaudit_record *ar; local 344 struct kaudit_record *ar; local 357 struct kaudit_record *ar; local 370 struct kaudit_record *ar; local 384 struct kaudit_record *ar; local 397 struct kaudit_record *ar; local 424 struct kaudit_record *ar; local 437 struct kaudit_record *ar; local 452 struct kaudit_record *ar; local 485 struct kaudit_record *ar; local 498 struct kaudit_record *ar; local 516 struct kaudit_record *ar; local 538 struct kaudit_record *ar; local 560 struct kaudit_record *ar; local 573 struct kaudit_record *ar; local 586 struct kaudit_record *ar; local 600 struct kaudit_record *ar; local 613 struct kaudit_record *ar; local 626 struct kaudit_record *ar; local 639 struct kaudit_record *ar; local 654 struct kaudit_record *ar; local 672 struct kaudit_record *ar; local 744 struct kaudit_record *ar; local 757 struct kaudit_record *ar; local 781 struct kaudit_record *ar; local 795 struct kaudit_record *ar; local 824 struct kaudit_record *ar; local 837 struct kaudit_record *ar; local 893 struct kaudit_record *ar; local 909 struct kaudit_record *ar; local 928 struct kaudit_record *ar; local 949 struct kaudit_record *ar; local 967 struct kaudit_record *ar; local 980 struct kaudit_record *ar; local 998 struct kaudit_record *ar; local [all...] |
/freebsd-current/lib/msun/ld128/ |
H A D | s_cospil.c | 50 long double ai, ar, ax, c; local 75 /* Split ax = ai + ar with 0 <= ar < 1. */ 76 FFLOORL128(ax, ai, ar); 78 if (ar < 0.5) { 79 if (ar < 0.25) 80 c = ar == 0 ? 1 : __kernel_cospil(ar); 82 c = __kernel_sinpil(0.5 - ar); 84 if (ar < 0.7 [all...] |
/freebsd-current/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_add_passphrase.c | 61 struct archive_read *ar = (struct archive_read *)a; local 67 assertEqualString(NULL, __archive_read_next_passphrase(ar)); 75 struct archive_read *ar = (struct archive_read *)a; local 79 __archive_read_reset_passphrase(ar); 81 assertEqualString("pass1", __archive_read_next_passphrase(ar)); 84 assertEqualString(NULL, __archive_read_next_passphrase(ar)); 92 struct archive_read *ar = (struct archive_read *)a; local 97 __archive_read_reset_passphrase(ar); 99 assertEqualString("pass1", __archive_read_next_passphrase(ar)); 101 assertEqualString("pass2", __archive_read_next_passphrase(ar)); 120 struct archive_read *ar = (struct archive_read *)a; local 164 struct archive_read *ar = (struct archive_read *)a; local 183 struct archive_read *ar = (struct archive_read *)a; local 205 struct archive_read *ar = (struct archive_read *)a; local 230 struct archive_read *ar = (struct archive_read *)a; local [all...] |
/freebsd-current/sys/contrib/dev/athk/ath11k/ |
H A D | thermal.c | 27 struct ath11k *ar = cdev->devdata; local 29 mutex_lock(&ar->conf_mutex); 30 *state = ar->thermal.throttle_state; 31 mutex_unlock(&ar->conf_mutex); 40 struct ath11k *ar = cdev->devdata; local 44 ath11k_warn(ar->ab, "throttle state %ld is exceeding the limit %d\n", 48 mutex_lock(&ar->conf_mutex); 49 ret = ath11k_thermal_set_throttling(ar, throttle_state); 51 ar->thermal.throttle_state = throttle_state; 52 mutex_unlock(&ar 66 struct ath11k *ar = dev_get_drvdata(dev); local 109 ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) argument 126 ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) argument 161 struct ath11k *ar; local 213 struct ath11k *ar; local [all...] |
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_ar.c | 51 struct ar { struct 66 * Define structure of the "ar" header. 93 static int ar_parse_common_header(struct ar *ar, struct archive_entry *, 100 struct ar *ar; local 106 ar = (struct ar *)calloc(1, sizeof(*ar)); 107 if (ar 137 struct ar *ar; local 166 _ar_read_header(struct archive_read *a, struct archive_entry *entry, struct ar *ar, const char *h, size_t *unconsumed) argument 422 struct ar *ar = (struct ar*)(a->format->data); local 455 ar_parse_common_header(struct ar *ar, struct archive_entry *entry, const char *h) argument 484 struct ar *ar; local 533 struct ar* ar; local 553 struct ar *ar; local [all...] |
/freebsd-current/usr.bin/ar/ |
H A D | Makefile | 4 PROG= ar 5 SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h 13 LINKS= ${BINDIR}/ar ${BINDIR}/ranlib 14 MLINKS= ar.1 ranlib.1
|