/drivers/net/wireless/ath/ath6kl/ |
H A D | testmode.h | 22 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len); 27 static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, argument
|
H A D | core.c | 42 int ath6kl_core_init(struct ath6kl *ar) argument 48 ar->ath6kl_wq = create_singlethread_workqueue("ath6kl"); 49 if (!ar->ath6kl_wq) 52 ret = ath6kl_bmi_init(ar); 61 ret = ath6kl_hif_power_on(ar); 65 ret = ath6kl_bmi_get_target_info(ar, &targ_info); 69 ar->version.target_ver = le32_to_cpu(targ_info.version); 70 ar->target_type = le32_to_cpu(targ_info.type); 71 ar->wiphy->hw_version = le32_to_cpu(targ_info.version); 73 ret = ath6kl_init_hw_params(ar); 203 struct ath6kl *ar; local 264 ath6kl_core_cleanup(struct ath6kl *ar) argument 291 ath6kl_core_destroy(struct ath6kl *ar) argument [all...] |
H A D | testmode.c | 46 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len) argument 53 skb = cfg80211_testmode_alloc_event_skb(ar->wiphy, buf_len, GFP_KERNEL); 70 struct ath6kl *ar = wiphy_priv(wiphy); local 91 ath6kl_wmi_test_cmd(ar->wmi, buf, buf_len);
|
H A D | bmi.c | 23 int ath6kl_bmi_done(struct ath6kl *ar) argument 28 if (ar->bmi.done_sent) { 33 ar->bmi.done_sent = true; 35 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); 44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, argument 50 if (ar->bmi.done_sent) { 55 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); 61 if (ar->hif_type == ATH6KL_HIF_TYPE_USB) { 62 ret = ath6kl_hif_bmi_read(ar, (u8 *)targ_info, 65 ret = ath6kl_hif_bmi_read(ar, (u 114 ath6kl_bmi_read(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) argument 170 ath6kl_bmi_write(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) argument 237 ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) argument 284 ath6kl_bmi_set_app_start(struct ath6kl *ar, u32 addr) argument 320 ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) argument 363 ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) argument 403 ath6kl_bmi_lz_data(struct ath6kl *ar, u8 *buf, u32 len) argument 454 ath6kl_bmi_lz_stream_start(struct ath6kl *ar, u32 addr) argument 493 ath6kl_bmi_fast_download(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) argument 524 ath6kl_bmi_reset(struct ath6kl *ar) argument 529 ath6kl_bmi_init(struct ath6kl *ar) argument 544 ath6kl_bmi_cleanup(struct ath6kl *ar) argument [all...] |
H A D | hif-ops.h | 24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, argument 32 return ar->hif_ops->read_write_sync(ar, addr, buf, len, request); 35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, argument 43 return ar->hif_ops->write_async(ar, address, buffer, length, 46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) argument 50 return ar->hif_ops->irq_enable(ar); 53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) argument 60 hif_scatter_req_get(struct ath6kl *ar) argument 65 hif_scatter_req_add(struct ath6kl *ar, struct hif_scatter_req *s_req) argument 71 ath6kl_hif_enable_scatter(struct ath6kl *ar) argument 76 ath6kl_hif_scat_req_rw(struct ath6kl *ar, struct hif_scatter_req *scat_req) argument 82 ath6kl_hif_cleanup_scatter(struct ath6kl *ar) argument 87 ath6kl_hif_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) argument 99 ath6kl_hif_diag_read32(struct ath6kl *ar, u32 address, u32 *value) argument 109 ath6kl_hif_diag_write32(struct ath6kl *ar, u32 address, __le32 value) argument 115 ath6kl_hif_bmi_read(struct ath6kl *ar, u8 *buf, u32 len) argument 120 ath6kl_hif_bmi_write(struct ath6kl *ar, u8 *buf, u32 len) argument 125 ath6kl_hif_resume(struct ath6kl *ar) argument 132 ath6kl_hif_power_on(struct ath6kl *ar) argument 139 ath6kl_hif_power_off(struct ath6kl *ar) argument 146 ath6kl_hif_stop(struct ath6kl *ar) argument [all...] |
H A D | debug.h | 75 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len); 76 void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war); 77 int ath6kl_debug_roam_tbl_event(struct ath6kl *ar, const void *buf, 79 void ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive); 80 void ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout); 81 void ath6kl_debug_init(struct ath6kl *ar); 82 int ath6kl_debug_init_fs(struct ath6kl *ar); 83 void ath6kl_debug_cleanup(struct ath6kl *ar); 108 static inline void ath6kl_debug_fwlog_event(struct ath6kl *ar, argument 113 static inline void ath6kl_debug_war(struct ath6kl *ar, enu argument 117 ath6kl_debug_roam_tbl_event(struct ath6kl *ar, const void *buf, size_t len) argument 123 ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive) argument 127 ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout) argument 132 ath6kl_debug_init(struct ath6kl *ar) argument 136 ath6kl_debug_init_fs(struct ath6kl *ar) argument 141 ath6kl_debug_cleanup(struct ath6kl *ar) argument [all...] |
H A D | hif.c | 70 static void ath6kl_hif_dump_fw_crash(struct ath6kl *ar) argument 76 if (ar->target_type != TARGET_TYPE_AR6003) 80 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_failure_state)); 81 address = TARG_VTOP(ar->target_type, address); 84 ret = ath6kl_diag_read32(ar, address, ®dump_addr); 94 regdump_addr = TARG_VTOP(ar->target_type, regdump_addr); 97 ret = ath6kl_diag_read(ar, regdump_addr, (u8 *)®dump_val[0], 105 ath6kl_info("hw 0x%x fw %s\n", ar->wiphy->hw_version, 106 ar->wiphy->fw_version); 132 ret = hif_read_write_sync(dev->ar, COUNT_DEC_ADDRES 543 ath6kl_hif_intr_bh_handler(struct ath6kl *ar) argument [all...] |
H A D | usb.c | 30 struct ath6kl *ar; member in struct:ath6kl_usb 115 ath6kl_stop_txrx(ar_usb->ar); 117 ath6kl_core_cleanup(ar_usb->ar); 213 static int ath6kl_usb_diag_read32(struct ath6kl *ar, u32 address, u32 *data) argument 215 struct ath6kl_usb *ar_usb = ar->hif_priv; 246 static int ath6kl_usb_diag_write32(struct ath6kl *ar, u32 address, __le32 data) argument 248 struct ath6kl_usb *ar_usb = ar->hif_priv; 266 static int ath6kl_usb_bmi_read(struct ath6kl *ar, u8 *buf, u32 len) argument 268 struct ath6kl_usb *ar_usb = ar->hif_priv; 284 static int ath6kl_usb_bmi_write(struct ath6kl *ar, u argument 302 ath6kl_usb_power_on(struct ath6kl *ar) argument 307 ath6kl_usb_power_off(struct ath6kl *ar) argument 326 struct ath6kl *ar; local [all...] |
H A D | init.c | 179 static int ath6kl_set_host_app_area(struct ath6kl *ar) argument 186 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_app_host_interest)); 187 address = TARG_VTOP(ar->target_type, address); 189 if (ath6kl_diag_read32(ar, address, &data)) 192 address = TARG_VTOP(ar->target_type, data); 194 if (ath6kl_diag_write(ar, address, (u8 *) &host_app_area, 201 static inline void set_ac2_ep_map(struct ath6kl *ar, argument 205 ar->ac2ep_map[ac] = ep; 206 ar->ep2ac_map[ep] = ac; 210 static int ath6kl_connectservice(struct ath6kl *ar, argument 252 ath6kl_init_service_ep(struct ath6kl *ar) argument 343 ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, u8 htc_ctrl_buf) argument 379 ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) argument 462 ath6kl_configure_target(struct ath6kl *ar) argument 576 ath6kl_get_fw(struct ath6kl *ar, const char *filename, u8 **fw, size_t *fw_len) argument 604 check_device_tree(struct ath6kl *ar) argument 634 check_device_tree(struct ath6kl *ar) argument 640 ath6kl_fetch_board_file(struct ath6kl *ar) argument 685 ath6kl_fetch_otp_file(struct ath6kl *ar) argument 713 ath6kl_fetch_testmode_file(struct ath6kl *ar) argument 753 ath6kl_fetch_fw_file(struct ath6kl *ar) argument 778 ath6kl_fetch_patch_file(struct ath6kl *ar) argument 803 ath6kl_fetch_testscript_file(struct ath6kl *ar) argument 831 ath6kl_fetch_fw_api1(struct ath6kl *ar) argument 854 ath6kl_fetch_fw_apin(struct ath6kl *ar, const char *name) argument 1030 ath6kl_init_fetch_firmwares(struct ath6kl *ar) argument 1066 ath6kl_upload_board_file(struct ath6kl *ar) argument 1160 ath6kl_upload_otp(struct ath6kl *ar) argument 1207 ath6kl_upload_firmware(struct ath6kl *ar) argument 1238 ath6kl_upload_patch(struct ath6kl *ar) argument 1262 ath6kl_upload_testscript(struct ath6kl *ar) argument 1292 ath6kl_init_upload(struct ath6kl *ar) argument 1421 ath6kl_init_hw_params(struct ath6kl *ar) argument 1468 ath6kl_init_hw_start(struct ath6kl *ar) argument 1578 ath6kl_init_hw_stop(struct ath6kl *ar) argument 1628 ath6kl_stop_txrx(struct ath6kl *ar) argument [all...] |
H A D | debug.c | 146 if (dev->ar->mbox_info.gmbox_addr != 0) { 220 void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war) argument 224 ar->debug.war_stats.invalid_rate++; 232 struct ath6kl *ar = file->private_data; local 247 "Invalid rates", ar->debug.war_stats.invalid_rate); 265 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len) argument 288 spin_lock(&ar->debug.fwlog_queue.lock); 290 __skb_queue_tail(&ar->debug.fwlog_queue, skb); 291 complete(&ar->debug.fwlog_completion); 294 while (skb_queue_len(&ar 307 struct ath6kl *ar = inode->i_private; local 320 struct ath6kl *ar = inode->i_private; local 330 struct ath6kl *ar = file->private_data; local 383 struct ath6kl *ar = file->private_data; local 455 struct ath6kl *ar = file->private_data; local 468 struct ath6kl *ar = file->private_data; local 495 struct ath6kl *ar = file->private_data; local 646 struct ath6kl *ar = file->private_data; local 724 struct ath6kl *ar = file->private_data; local 779 struct ath6kl *ar = file->private_data; local 834 struct ath6kl *ar = file->private_data; local 852 struct ath6kl *ar = file->private_data; local 879 struct ath6kl *ar = inode->i_private; local 967 struct ath6kl *ar = file->private_data; local 984 struct ath6kl *ar = file->private_data; local 1005 struct ath6kl *ar = file->private_data; local 1019 struct ath6kl *ar = file->private_data; local 1063 ath6kl_debug_roam_tbl_event(struct ath6kl *ar, const void *buf, size_t len) argument 1100 struct ath6kl *ar = file->private_data; local 1172 struct ath6kl *ar = file->private_data; local 1210 struct ath6kl *ar = file->private_data; local 1246 ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive) argument 1254 struct ath6kl *ar = file->private_data; local 1267 struct ath6kl *ar = file->private_data; local 1290 ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout) argument 1299 struct ath6kl *ar = file->private_data; local 1312 struct ath6kl *ar = file->private_data; local 1340 struct ath6kl *ar = file->private_data; local 1519 struct ath6kl *ar = file->private_data; local 1566 struct ath6kl *ar = file->private_data; local 1599 struct ath6kl *ar = file->private_data; local 1631 struct ath6kl *ar = file->private_data; local 1657 struct ath6kl *ar = file->private_data; local 1713 ath6kl_debug_init(struct ath6kl *ar) argument 1730 ath6kl_debug_init_fs(struct ath6kl *ar) argument 1803 ath6kl_debug_cleanup(struct ath6kl *ar) argument [all...] |
H A D | hif.h | 231 struct ath6kl *ar; member in struct:ath6kl_device 235 int (*read_write_sync)(struct ath6kl *ar, u32 addr, u8 *buf, 237 int (*write_async)(struct ath6kl *ar, u32 address, u8 *buffer, 240 void (*irq_enable)(struct ath6kl *ar); 241 void (*irq_disable)(struct ath6kl *ar); 243 struct hif_scatter_req *(*scatter_req_get)(struct ath6kl *ar); 244 void (*scatter_req_add)(struct ath6kl *ar, 246 int (*enable_scatter)(struct ath6kl *ar); 247 int (*scat_req_rw) (struct ath6kl *ar, 249 void (*cleanup_scatter)(struct ath6kl *ar); [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | cmd.h | 45 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val); 46 int carl9170_read_reg(struct ar9170 *ar, const u32 reg, u32 *val); 47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, 49 int carl9170_echo_test(struct ar9170 *ar, u32 v); 50 int carl9170_reboot(struct ar9170 *ar); 51 int carl9170_mac_reset(struct ar9170 *ar); 52 int carl9170_powersave(struct ar9170 *ar, const bool power_on); 53 int carl9170_collect_tally(struct ar9170 *ar); 54 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, 57 static inline int carl9170_flush_cab(struct ar9170 *ar, argument 63 carl9170_rx_filter(struct ar9170 *ar, const unsigned int _rx_filter) argument [all...] |
H A D | led.c | 43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) argument 45 return carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_DATA, led_state); 48 int carl9170_led_init(struct ar9170 *ar) argument 54 err = carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_TYPE, 3); 59 err = carl9170_led_set_state(ar, 0); 68 struct ar9170 *ar = container_of(work, struct ar9170, led_work.work); local 73 if (!IS_ACCEPTING_CMD(ar)) 76 mutex_lock(&ar->mutex); 78 if (ar->leds[i].registered) { 79 if (ar 110 struct ar9170 *ar = arl->ar; local 124 carl9170_led_register_led(struct ar9170 *ar, int i, char *name, char *trigger) argument 150 carl9170_led_unregister(struct ar9170 *ar) argument 164 carl9170_led_register(struct ar9170 *ar) argument [all...] |
H A D | cmd.c | 43 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) argument 51 err = carl9170_exec_cmd(ar, CARL9170_CMD_WREG, sizeof(buf), 55 wiphy_err(ar->hw->wiphy, "writing reg %#x " 62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, argument 76 err = carl9170_exec_cmd(ar, CARL9170_CMD_RREG, 81 wiphy_err(ar->hw->wiphy, "reading regs failed (%d)\n", 94 int carl9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val) argument 96 return carl9170_read_mreg(ar, 1, ®, val); 99 int carl9170_echo_test(struct ar9170 *ar, const u32 v) argument 104 err = carl9170_exec_cmd(ar, CARL9170_CMD_ECH 118 carl9170_cmd_buf(struct ar9170 *ar, const enum carl9170_cmd_oids cmd, const unsigned int len) argument 132 carl9170_reboot(struct ar9170 *ar) argument 145 carl9170_mac_reset(struct ar9170 *ar) argument 151 carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, const u32 mode, const u32 addr, const u32 len) argument 169 carl9170_collect_tally(struct ar9170 *ar) argument 202 carl9170_powersave(struct ar9170 *ar, const bool ps) argument [all...] |
H A D | fw.c | 38 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], argument 43 carl9170fw_for_each_hdr(iter, ar->fw.desc) { 57 static int carl9170_fw_verify_descs(struct ar9170 *ar, argument 100 static void carl9170_fw_info(struct ar9170 *ar) argument 106 dev_info(&ar->udev->dev, "driver API: %s 2%03d-%02d-%02d [%d-%d]\n", 111 motd_desc = carl9170_fw_find_desc(ar, MOTD_MAGIC, 120 dev_info(&ar->udev->dev, "firmware API: %.*s 2%03d-%02d-%02d\n", 126 strlcpy(ar->hw->wiphy->fw_version, motd_desc->release, 127 sizeof(ar->hw->wiphy->fw_version)); 149 static int carl9170_fw_checksum(struct ar9170 *ar, cons argument 206 carl9170_fw_tx_sequence(struct ar9170 *ar) argument 223 carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) argument 363 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) argument 392 carl9170_parse_firmware(struct ar9170 *ar) argument [all...] |
H A D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) argument 48 if (conf_is_ht40(&ar->hw->conf)) 51 if (ar->hw->conf.channel->band == IEEE80211_BAND_2GHZ) 57 return carl9170_write_reg(ar, AR9170_MAC_REG_DYNAMIC_SIFS_ACK, val); 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) argument 64 if (conf_is_ht(&ar->hw->conf)) { 69 if (ar->hw->conf.channel->band == IEEE80211_BAND_2GHZ) { 80 return carl9170_write_reg(ar, AR9170_MAC_REG_RTS_CTS_RATE, 84 int carl9170_set_slot_time(struct ar9170 *ar) argument 90 vif = carl9170_get_main_vif(ar); 106 carl9170_set_mac_rates(struct ar9170 *ar) argument 136 carl9170_set_qos(struct ar9170 *ar) argument 171 carl9170_init_mac(struct ar9170 *ar) argument 257 carl9170_set_mac_reg(struct ar9170 *ar, const u32 reg, const u8 *mac) argument 275 carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, const u8 *mac) argument 285 carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) argument 301 carl9170_set_operating_mode(struct ar9170 *ar) argument 380 carl9170_set_hwretry_limit(struct ar9170 *ar, const unsigned int max_retry) argument 387 carl9170_set_beacon_timers(struct ar9170 *ar) argument 458 carl9170_upload_key(struct ar9170 *ar, const u8 id, const u8 *mac, const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen) argument 479 carl9170_disable_key(struct ar9170 *ar, const u8 id) argument 489 carl9170_set_mac_tpc(struct ar9170 *ar, struct ieee80211_channel *channel) argument [all...] |
H A D | rx.c | 50 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) argument 57 ar->fw.err_counter++; 58 if (ar->fw.err_counter > 3) { 65 ar->fw.bug_counter++; 71 wiphy_info(ar->hw->wiphy, "FW: %.*s\n", len, buf); 74 carl9170_restart(ar, reason); 77 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) argument 85 if (ar->ps.state != new_ps) { 87 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - 88 ar 97 carl9170_check_sequence(struct ar9170 *ar, unsigned int seq) argument 130 carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) argument 162 carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) argument 292 carl9170_rx_mac_status(struct ar9170 *ar, struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, struct ieee80211_rx_status *status) argument 445 carl9170_rx_phy_status(struct ar9170 *ar, struct ar9170_rx_phystatus *phy, struct ieee80211_rx_status *status) argument 521 carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) argument 579 carl9170_ampdu_check(struct ar9170 *ar, u8 *buf, u8 ms) argument 624 carl9170_handle_mpdu(struct ar9170 *ar, u8 *buf, int len) argument 753 carl9170_rx_untie_cmds(struct ar9170 *ar, const u8 *respbuf, const unsigned int resplen) argument 779 __carl9170_rx(struct ar9170 *ar, u8 *buf, unsigned int len) argument 800 carl9170_rx_stream(struct ar9170 *ar, void *buf, unsigned int len) argument 932 carl9170_rx(struct ar9170 *ar, void *buf, unsigned int len) argument [all...] |
H A D | usb.c | 131 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) argument 136 if (atomic_inc_return(&ar->tx_anch_urbs) > AR9170_NUM_TX_URBS) 139 urb = usb_get_from_anchor(&ar->tx_wait); 143 usb_anchor_urb(urb, &ar->tx_anch); 148 dev_err(&ar->udev->dev, "tx submit failed (%d)\n", 153 usb_anchor_urb(urb, &ar->tx_err); 162 atomic_dec(&ar->tx_anch_urbs); 167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); local 169 if (WARN_ON_ONCE(!ar)) { 174 atomic_dec(&ar 210 carl9170_usb_submit_cmd_urb(struct ar9170 *ar) argument 239 struct ar9170 *ar = urb->context; local 277 struct ar9170 *ar = urb->context; local 307 carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) argument 333 carl9170_usb_rx_work(struct ar9170 *ar) argument 358 carl9170_usb_handle_tx_err(struct ar9170 *ar) argument 373 struct ar9170 *ar = (struct ar9170 *) data; local 391 struct ar9170 *ar = (struct ar9170 *)urb->context; local 450 carl9170_usb_alloc_rx_urb(struct ar9170 *ar, gfp_t gfp) argument 474 carl9170_usb_send_rx_irq_urb(struct ar9170 *ar) argument 504 carl9170_usb_init_rx_bulk_urbs(struct ar9170 *ar) argument 547 carl9170_usb_flush(struct ar9170 *ar) argument 574 carl9170_usb_cancel_urbs(struct ar9170 *ar) argument 595 __carl9170_exec_cmd(struct ar9170 *ar, struct carl9170_cmd *cmd, const bool free_buf) argument 636 carl9170_exec_cmd(struct ar9170 *ar, const enum carl9170_cmd_oids cmd, unsigned int plen, void *payload, unsigned int outlen, void *out) argument 697 carl9170_usb_tx(struct ar9170 *ar, struct sk_buff *skb) argument 741 carl9170_release_firmware(struct ar9170 *ar) argument 749 carl9170_usb_stop(struct ar9170 *ar) argument 778 carl9170_usb_open(struct ar9170 *ar) argument 786 carl9170_usb_load_firmware(struct ar9170 *ar) argument 851 carl9170_usb_restart(struct ar9170 *ar) argument 893 carl9170_usb_reset(struct ar9170 *ar) argument 911 carl9170_usb_init_device(struct ar9170 *ar) argument 954 carl9170_usb_firmware_failed(struct ar9170 *ar) argument 980 carl9170_usb_firmware_finish(struct ar9170 *ar) argument 1013 struct ar9170 *ar = context; local 1028 struct ar9170 *ar; local 1078 struct ar9170 *ar = usb_get_intfdata(intf); local 1106 struct ar9170 *ar = usb_get_intfdata(intf); local 1118 struct ar9170 *ar = usb_get_intfdata(intf); local [all...] |
H A D | debug.c | 55 char *(*read)(struct ar9170 *ar, char *buf, size_t bufsize, 67 struct ar9170 *ar; local 75 ar = file->private_data; 77 if (!ar) 90 mutex_lock(&ar->mutex); 91 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { 97 res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret); 109 mutex_unlock(&ar->mutex); 117 struct ar9170 *ar; local 127 ar 215 carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 242 carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 286 carl9170_debugfs_format_frame(struct ar9170 *ar, struct sk_buff *skb, const char *prefix, char *buf, ssize_t *off, ssize_t bufsize) argument 303 carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 363 carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, ssize_t *len, size_t bufsize, struct sk_buff_head *queue) argument 389 carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 405 carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 423 carl9170_debugfs_phy_noise_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 443 carl9170_debugfs_vif_dump_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *len) argument 555 carl9170_debugfs_hw_ioread32_write(struct ar9170 *ar, const char *buf, size_t count) argument 606 carl9170_debugfs_hw_ioread32_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *ret) argument 627 carl9170_debugfs_bug_write(struct ar9170 *ar, const char *buf, size_t count) argument 674 carl9170_debugfs_bug_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *ret) argument 702 carl9170_debugfs_erp_read(struct ar9170 *ar, char *buf, size_t bufsize, ssize_t *ret) argument 710 carl9170_debugfs_erp_write(struct ar9170 *ar, const char *buf, size_t count) argument 732 carl9170_debugfs_hw_iowrite32_write(struct ar9170 *ar, const char *buf, size_t count) argument 824 carl9170_debugfs_register(struct ar9170 *ar) argument 894 carl9170_debugfs_unregister(struct ar9170 *ar) argument [all...] |
H A D | tx.c | 49 static inline unsigned int __carl9170_get_queue(struct ar9170 *ar, argument 65 static inline unsigned int carl9170_get_queue(struct ar9170 *ar, argument 68 return __carl9170_get_queue(ar, skb_get_queue_mapping(skb)); 71 static bool is_mem_full(struct ar9170 *ar) argument 73 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > 74 atomic_read(&ar->mem_free_blocks)); 77 static void carl9170_tx_accounting(struct ar9170 *ar, struct sk_buff *skb) argument 82 atomic_inc(&ar->tx_total_queued); 85 spin_lock_bh(&ar->tx_stats_lock); 93 ar 108 __carl9170_get_tx_sta(struct ar9170 *ar, struct sk_buff *skb) argument 139 carl9170_tx_ps_unblock(struct ar9170 *ar, struct sk_buff *skb) argument 157 carl9170_tx_accounting_free(struct ar9170 *ar, struct sk_buff *skb) argument 191 carl9170_alloc_dev_space(struct ar9170 *ar, struct sk_buff *skb) argument 227 carl9170_release_dev_space(struct ar9170 *ar, struct sk_buff *skb) argument 265 struct ar9170 *ar; local 347 carl9170_tx_shift_bm(struct ar9170 *ar, struct carl9170_sta_tid *tid_info, u16 seq) argument 379 carl9170_tx_status_process_ampdu(struct ar9170 *ar, struct sk_buff *skb, struct ieee80211_tx_info *txinfo) argument 439 carl9170_tx_status(struct ar9170 *ar, struct sk_buff *skb, const bool success) argument 461 carl9170_tx_callback(struct ar9170 *ar, struct sk_buff *skb) argument 474 carl9170_get_queued_skb(struct ar9170 *ar, u8 cookie, struct sk_buff_head *queue) argument 497 carl9170_tx_fill_rateinfo(struct ar9170 *ar, unsigned int rix, unsigned int tries, struct ieee80211_tx_info *txinfo) argument 519 carl9170_check_queue_stop_timeout(struct ar9170 *ar) argument 564 carl9170_tx_ampdu_timeout(struct ar9170 *ar) argument 602 struct ar9170 *ar = container_of(work, struct ar9170, local 619 __carl9170_tx_process_status(struct ar9170 *ar, const uint8_t cookie, const uint8_t info) argument 650 carl9170_tx_process_status(struct ar9170 *ar, const struct carl9170_rsp *cmd) argument 667 carl9170_tx_rate_tpc_chains(struct ar9170 *ar, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate, unsigned int *phyrate, unsigned int *tpc, unsigned int *chains) argument 726 carl9170_tx_physet(struct ar9170 *ar, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate) argument 786 carl9170_tx_rts_check(struct ar9170 *ar, struct ieee80211_tx_rate *rate, bool ampdu, bool multi) argument 810 carl9170_tx_cts_check(struct ar9170 *ar, struct ieee80211_tx_rate *rate) argument 829 carl9170_tx_prepare(struct ar9170 *ar, struct sk_buff *skb) argument 1017 carl9170_set_immba(struct ar9170 *ar, struct sk_buff *skb) argument 1025 carl9170_set_ampdu_params(struct ar9170 *ar, struct sk_buff *skb) argument 1062 carl9170_tx_rate_check(struct ar9170 *ar, struct sk_buff *_dest, struct sk_buff *_src) argument 1082 carl9170_tx_ampdu(struct ar9170 *ar) argument 1191 carl9170_tx_pick_skb(struct ar9170 *ar, struct sk_buff_head *queue) argument 1222 carl9170_tx_drop(struct ar9170 *ar, struct sk_buff *skb) argument 1235 carl9170_tx_ps_drop(struct ar9170 *ar, struct sk_buff *skb) argument 1268 carl9170_tx(struct ar9170 *ar) argument 1321 carl9170_tx_ampdu_queue(struct ar9170 *ar, struct ieee80211_sta *sta, struct sk_buff *skb) argument 1399 struct ar9170 *ar = hw->priv; local 1443 carl9170_tx_scheduler(struct ar9170 *ar) argument 1453 carl9170_update_beacon(struct ar9170 *ar, const bool submit) argument [all...] |
/drivers/edac/ |
H A D | cell_edac.c | 33 static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) argument 39 dev_dbg(mci->dev, "ECC CE err on node %d, channel %d, ar = 0x%016llx\n", 40 priv->node, chan, ar); 43 address = (ar & 0xffffffffe0000000ul) >> 29; 48 syndrome = (ar & 0x000000001fe00000ul) >> 21; 55 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) argument 61 dev_dbg(mci->dev, "ECC UE err on node %d, channel %d, ar = 0x%016llx\n", 62 priv->node, chan, ar); 65 address = (ar & 0xffffffffe0000000ul) >> 29;
|
/drivers/video/ |
H A D | svgalib.c | 383 u16 am, an, ar; local 388 ar = pll->r_max; 389 f_vco = f_wanted << ar; 392 if ((f_vco >> ar) != f_wanted) 398 while ((ar > pll->r_min) && (f_vco > pll->f_vco_max)) { 399 ar--; 410 *r = ar; 433 pr_debug("fb%d: found frequency: %d kHz (VCO %d kHz)\n", node, (int) (f_current >> ar), (int) f_current);
|
/drivers/media/video/ |
H A D | arv.c | 108 struct ar { struct 124 static struct ar ardev; 248 static void wait_for_vertical_sync(struct ar *ar, int exp_line) argument 263 v4l2_err(&ar->v4l2_dev, "lost %d -> %d\n", exp_line, l); 272 struct ar *ar = video_drvdata(file); local 273 long ret = ar->frame_bytes; /* return read bytes */ 285 if (ar->size == AR_SIZE_QVGA) 287 if (ar 401 struct ar *ar = video_drvdata(file); local 436 struct ar *ar = video_drvdata(file); local 452 struct ar *ar = video_drvdata(file); local 474 struct ar *ar = video_drvdata(file); local 526 struct ar *ar = dev; local 598 ar_initialize(struct ar *ar) argument 731 struct ar *ar; local 858 struct ar *ar; local [all...] |
/drivers/media/video/saa7164/ |
H A D | saa7164-api.c | 251 struct tmComResEncVideoInputAspectRatio ar; local 294 ar.width = 0; 295 ar.height = 0; 298 sizeof(struct tmComResEncVideoInputAspectRatio), &ar); 319 ar.width, ar.height); 327 struct tmComResEncVideoInputAspectRatio ar; local 335 ar.width = 1; 336 ar.height = 1; 339 ar [all...] |
/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fp.c | 117 static u16 MR_ArPdGet(u32 ar, u32 arm, struct MR_FW_RAID_MAP_ALL *map) argument 119 return map->raidMap.arMapInfo[ar].pd[arm];
|