/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 131 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() 167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() local 210 static int carl9170_usb_submit_cmd_urb(struct ar9170 *ar) in carl9170_usb_submit_cmd_urb() 239 struct ar9170 *ar = urb->context; in carl9170_usb_cmd_complete() local 277 struct ar9170 *ar = urb->context; in carl9170_usb_rx_irq_complete() local 307 static int carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) in carl9170_usb_submit_rx_urb() 333 static void carl9170_usb_rx_work(struct ar9170 *ar) in carl9170_usb_rx_work() 358 void carl9170_usb_handle_tx_err(struct ar9170 *ar) in carl9170_usb_handle_tx_err() 373 struct ar9170 *ar = (struct ar9170 *) data; in carl9170_usb_tasklet() local 391 struct ar9170 *ar = (struct ar9170 *)urb->context; in carl9170_usb_rx_complete() local [all …]
|
D | main.c | 185 static void carl9170_ampdu_gc(struct ar9170 *ar) in carl9170_ampdu_gc() 220 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) in carl9170_flush() 250 static void carl9170_flush_ba(struct ar9170 *ar) in carl9170_flush_ba() 277 static void carl9170_zap_queues(struct ar9170 *ar) in carl9170_zap_queues() 340 struct ar9170 *ar = hw->priv; in carl9170_op_start() local 427 static void carl9170_cancel_worker(struct ar9170 *ar) in carl9170_cancel_worker() 441 struct ar9170 *ar = hw->priv; in carl9170_op_stop() local 466 struct ar9170 *ar = container_of(work, struct ar9170, in carl9170_restart_work() local 504 void carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) in carl9170_restart() 543 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); in carl9170_ping_work() local [all …]
|
D | tx.c | 49 static inline unsigned int __carl9170_get_queue(struct ar9170 *ar, in __carl9170_get_queue() 65 static inline unsigned int carl9170_get_queue(struct ar9170 *ar, in carl9170_get_queue() 71 static bool is_mem_full(struct ar9170 *ar) in is_mem_full() 77 static void carl9170_tx_accounting(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting() 108 static struct ieee80211_sta *__carl9170_get_tx_sta(struct ar9170 *ar, in __carl9170_get_tx_sta() 139 static void carl9170_tx_ps_unblock(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_ps_unblock() 157 static void carl9170_tx_accounting_free(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting_free() 191 static int carl9170_alloc_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_alloc_dev_space() 227 static void carl9170_release_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_release_dev_space() 265 struct ar9170 *ar; in carl9170_tx_release() local [all …]
|
D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) in carl9170_set_dyn_sifs_ack() 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) in carl9170_set_rts_cts_rate() 84 int carl9170_set_slot_time(struct ar9170 *ar) in carl9170_set_slot_time() 106 int carl9170_set_mac_rates(struct ar9170 *ar) in carl9170_set_mac_rates() 136 int carl9170_set_qos(struct ar9170 *ar) in carl9170_set_qos() 171 int carl9170_init_mac(struct ar9170 *ar) in carl9170_init_mac() 257 static int carl9170_set_mac_reg(struct ar9170 *ar, in carl9170_set_mac_reg() 275 int carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, in carl9170_mod_virtual_mac() 285 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) in carl9170_update_multicast() 301 int carl9170_set_operating_mode(struct ar9170 *ar) in carl9170_set_operating_mode() [all …]
|
D | cmd.c | 43 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) in carl9170_write_reg() 62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, in carl9170_read_mreg() 94 int carl9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val) in carl9170_read_reg() 99 int carl9170_echo_test(struct ar9170 *ar, const u32 v) in carl9170_echo_test() 118 struct carl9170_cmd *carl9170_cmd_buf(struct ar9170 *ar, in carl9170_cmd_buf() 132 int carl9170_reboot(struct ar9170 *ar) in carl9170_reboot() 145 int carl9170_mac_reset(struct ar9170 *ar) in carl9170_mac_reset() 151 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, in carl9170_bcn_ctrl() 169 int carl9170_collect_tally(struct ar9170 *ar) in carl9170_collect_tally() 202 int carl9170_powersave(struct ar9170 *ar, const bool ps) in carl9170_powersave()
|
D | rx.c | 50 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) in carl9170_dbg_message() 77 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) in carl9170_handle_ps() 97 static int carl9170_check_sequence(struct ar9170 *ar, unsigned int seq) in carl9170_check_sequence() 130 static void carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) in carl9170_cmd_callback() 162 void carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) in carl9170_handle_command_response() 292 static int carl9170_rx_mac_status(struct ar9170 *ar, in carl9170_rx_mac_status() 445 static void carl9170_rx_phy_status(struct ar9170 *ar, in carl9170_rx_phy_status() 521 static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ps_beacon() 579 static bool carl9170_ampdu_check(struct ar9170 *ar, u8 *buf, u8 ms) in carl9170_ampdu_check() 624 static void carl9170_handle_mpdu(struct ar9170 *ar, u8 *buf, int len) in carl9170_handle_mpdu() [all …]
|
D | debug.c | 67 struct ar9170 *ar; in carl9170_debugfs_read() local 117 struct ar9170 *ar; in carl9170_debugfs_write() local 215 static char *carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_mem_usage_read() 242 static char *carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_qos_stat_read() 286 static void carl9170_debugfs_format_frame(struct ar9170 *ar, in carl9170_debugfs_format_frame() 303 static char *carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_ampdu_state_read() 363 static void carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, in carl9170_debugfs_queue_dump() 389 static char *carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_sta_psm_read() 405 static char *carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_tx_stuck_read() 423 static char *carl9170_debugfs_phy_noise_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_phy_noise_read() [all …]
|
D | led.c | 43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) in carl9170_led_set_state() 48 int carl9170_led_init(struct ar9170 *ar) in carl9170_led_init() 68 struct ar9170 *ar = container_of(work, struct ar9170, led_work.work); in carl9170_led_update() local 110 struct ar9170 *ar = arl->ar; in carl9170_led_set_brightness() local 124 static int carl9170_led_register_led(struct ar9170 *ar, int i, char *name, in carl9170_led_register_led() 150 void carl9170_led_unregister(struct ar9170 *ar) in carl9170_led_unregister() 164 int carl9170_led_register(struct ar9170 *ar) in carl9170_led_register()
|
D | fw.c | 38 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], in carl9170_fw_find_desc() 57 static int carl9170_fw_verify_descs(struct ar9170 *ar, in carl9170_fw_verify_descs() 100 static void carl9170_fw_info(struct ar9170 *ar) in carl9170_fw_info() 149 static int carl9170_fw_checksum(struct ar9170 *ar, const __u8 *data, in carl9170_fw_checksum() 206 static int carl9170_fw_tx_sequence(struct ar9170 *ar) in carl9170_fw_tx_sequence() 223 static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) in carl9170_fw() 363 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) in carl9170_find_fw_desc() 392 int carl9170_parse_firmware(struct ar9170 *ar) in carl9170_parse_firmware()
|
D | phy.c | 44 static int carl9170_init_power_cal(struct ar9170 *ar) in carl9170_init_power_cal() 432 static int carl9170_init_phy_from_eeprom(struct ar9170 *ar, in carl9170_init_phy_from_eeprom() 543 static int carl9170_init_phy(struct ar9170 *ar, enum ieee80211_band band) in carl9170_init_phy() 672 static int carl9170_init_rf_banks_0_7(struct ar9170 *ar, bool band5ghz) in carl9170_init_rf_banks_0_7() 966 static int carl9170_init_rf_bank4_pwr(struct ar9170 *ar, bool band5ghz, in carl9170_init_rf_bank4_pwr() 1117 static int carl9170_set_freq_cal_data(struct ar9170 *ar, in carl9170_set_freq_cal_data() 1218 static u8 carl9170_get_max_edge_power(struct ar9170 *ar, in carl9170_get_max_edge_power() 1260 static u8 carl9170_get_heavy_clip(struct ar9170 *ar, u32 freq, in carl9170_get_heavy_clip() 1292 static void carl9170_calc_ctl(struct ar9170 *ar, u32 freq, enum carl9170_bw bw) in carl9170_calc_ctl() 1429 static void carl9170_set_power_cal(struct ar9170 *ar, u32 freq, in carl9170_set_power_cal() [all …]
|
D | cmd.h | 57 static inline int carl9170_flush_cab(struct ar9170 *ar, in carl9170_flush_cab() 63 static inline int carl9170_rx_filter(struct ar9170 *ar, in carl9170_rx_filter() 82 #define carl9170_regwrite_begin(ar) \ argument
|
/drivers/net/wireless/ath/ath6kl/ |
D | hif-ops.h | 24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in hif_read_write_sync() 35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() 46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) in ath6kl_hif_irq_enable() 53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) in ath6kl_hif_irq_disable() 60 static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar) in hif_scatter_req_get() 65 static inline void hif_scatter_req_add(struct ath6kl *ar, in hif_scatter_req_add() 71 static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar) in ath6kl_hif_enable_scatter() 76 static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar, in ath6kl_hif_scat_req_rw() 82 static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar) in ath6kl_hif_cleanup_scatter() 87 static inline int ath6kl_hif_suspend(struct ath6kl *ar, in ath6kl_hif_suspend() [all …]
|
D | init.c | 179 static int ath6kl_set_host_app_area(struct ath6kl *ar) in ath6kl_set_host_app_area() 201 static inline void set_ac2_ep_map(struct ath6kl *ar, in set_ac2_ep_map() 210 static int ath6kl_connectservice(struct ath6kl *ar, in ath6kl_connectservice() 252 static int ath6kl_init_service_ep(struct ath6kl *ar) in ath6kl_init_service_ep() 343 static int ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, in ath6kl_set_htc_params() 379 static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) in ath6kl_target_config_wlan_params() 462 int ath6kl_configure_target(struct ath6kl *ar) in ath6kl_configure_target() 576 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, in ath6kl_get_fw() 604 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() 634 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() [all …]
|
D | main.c | 26 struct ath6kl *ar = vif->ar; in ath6kl_find_sta() local 42 struct ath6kl_sta *ath6kl_find_sta_by_aid(struct ath6kl *ar, u8 aid) in ath6kl_find_sta_by_aid() 60 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta() local 81 static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i) in ath6kl_sta_cleanup() 112 static u8 ath6kl_remove_sta(struct ath6kl *ar, u8 *mac, u16 reason) in ath6kl_remove_sta() 146 struct ath6kl *ar = devt; in ath6kl_ac2_endpoint_id() local 150 struct ath6kl_cookie *ath6kl_alloc_cookie(struct ath6kl *ar) in ath6kl_alloc_cookie() 163 void ath6kl_cookie_init(struct ath6kl *ar) in ath6kl_cookie_init() 176 void ath6kl_cookie_cleanup(struct ath6kl *ar) in ath6kl_cookie_cleanup() 182 void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie) in ath6kl_free_cookie() [all …]
|
D | cfg80211.c | 138 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() local 155 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() local 277 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_ready() local 315 struct ath6kl *ar = vif->ar; in ath6kl_set_assoc_req_ies() local 384 static bool ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, in ath6kl_is_valid_iftype() 419 static bool ath6kl_is_tx_pending(struct ath6kl *ar) in ath6kl_is_tx_pending() 428 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_connect() local 643 struct ath6kl *ar = vif->ar; in ath6kl_add_bss_if_needed() local 697 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_connect_event() local 772 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_disconnect() local [all …]
|
D | bmi.c | 23 int ath6kl_bmi_done(struct ath6kl *ar) in ath6kl_bmi_done() 44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, in ath6kl_bmi_get_target_info() 114 int ath6kl_bmi_read(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_read() 170 int ath6kl_bmi_write(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_write() 237 int ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_execute() 284 int ath6kl_bmi_set_app_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_set_app_start() 320 int ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_reg_read() 363 int ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) in ath6kl_bmi_reg_write() 403 int ath6kl_bmi_lz_data(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_bmi_lz_data() 454 int ath6kl_bmi_lz_stream_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_lz_stream_start() [all …]
|
D | sdio.c | 44 struct ath6kl *ar; member 77 static inline struct ath6kl_sdio *ath6kl_sdio_priv(struct ath6kl *ar) in ath6kl_sdio_priv() 93 static void ath6kl_sdio_set_mbox_info(struct ath6kl *ar) in ath6kl_sdio_set_mbox_info() 397 static int ath6kl_sdio_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in ath6kl_sdio_read_write_sync() 490 static int ath6kl_sdio_power_on(struct ath6kl *ar) in ath6kl_sdio_power_on() 523 static int ath6kl_sdio_power_off(struct ath6kl *ar) in ath6kl_sdio_power_off() 546 static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in ath6kl_sdio_write_async() 572 static void ath6kl_sdio_irq_enable(struct ath6kl *ar) in ath6kl_sdio_irq_enable() 587 static bool ath6kl_sdio_is_on_irq(struct ath6kl *ar) in ath6kl_sdio_is_on_irq() 594 static void ath6kl_sdio_irq_disable(struct ath6kl *ar) in ath6kl_sdio_irq_disable() [all …]
|
D | debug.c | 220 void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war) in ath6kl_debug_war() 232 struct ath6kl *ar = file->private_data; in read_file_war_stats() local 265 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len) in ath6kl_debug_fwlog_event() 307 struct ath6kl *ar = inode->i_private; in ath6kl_fwlog_open() local 320 struct ath6kl *ar = inode->i_private; in ath6kl_fwlog_release() local 330 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_read() local 383 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_block_read() local 455 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_mask_read() local 468 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_mask_write() local 495 struct ath6kl *ar = file->private_data; in read_file_tgt_stats() local [all …]
|
D | debug.h | 108 static inline void ath6kl_debug_fwlog_event(struct ath6kl *ar, in ath6kl_debug_fwlog_event() 113 static inline void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war) in ath6kl_debug_war() 117 static inline int ath6kl_debug_roam_tbl_event(struct ath6kl *ar, in ath6kl_debug_roam_tbl_event() 123 static inline void ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive) in ath6kl_debug_set_keepalive() 127 static inline void ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, in ath6kl_debug_set_disconnect_timeout() 132 static inline void ath6kl_debug_init(struct ath6kl *ar) in ath6kl_debug_init() 136 static inline int ath6kl_debug_init_fs(struct ath6kl *ar) in ath6kl_debug_init_fs() 141 static inline void ath6kl_debug_cleanup(struct ath6kl *ar) in ath6kl_debug_cleanup()
|
D | core.c | 42 int ath6kl_core_init(struct ath6kl *ar) in ath6kl_core_init() 203 struct ath6kl *ar; in ath6kl_core_create() local 264 void ath6kl_core_cleanup(struct ath6kl *ar) in ath6kl_core_cleanup() 291 void ath6kl_core_destroy(struct ath6kl *ar) in ath6kl_core_destroy()
|
D | txrx.c | 41 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_ibss_map_epid() local 103 struct ath6kl *ar = vif->ar; in ath6kl_process_uapsdq() local 176 struct ath6kl *ar = vif->ar; in ath6kl_process_psq() local 210 struct ath6kl *ar = vif->ar; in ath6kl_powersave_ap() local 284 struct ath6kl *ar = devt; in ath6kl_control_tx() local 341 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_data_tx() local 517 struct ath6kl *ar = devt; in ath6kl_indicate_tx_activity() local 579 struct ath6kl *ar = target->dev->ar; in ath6kl_tx_queue_full() local 635 struct ath6kl *ar = vif->ar; in ath6kl_tx_clear_node_map() local 671 struct ath6kl *ar = context; in ath6kl_tx_complete() local [all …]
|
D | usb.c | 30 struct ath6kl *ar; member 213 static int ath6kl_usb_diag_read32(struct ath6kl *ar, u32 address, u32 *data) in ath6kl_usb_diag_read32() 246 static int ath6kl_usb_diag_write32(struct ath6kl *ar, u32 address, __le32 data) in ath6kl_usb_diag_write32() 266 static int ath6kl_usb_bmi_read(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_usb_bmi_read() 284 static int ath6kl_usb_bmi_write(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_usb_bmi_write() 302 static int ath6kl_usb_power_on(struct ath6kl *ar) in ath6kl_usb_power_on() 307 static int ath6kl_usb_power_off(struct ath6kl *ar) in ath6kl_usb_power_off() 326 struct ath6kl *ar; in ath6kl_usb_probe() local
|
D | testmode.c | 46 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len) in ath6kl_tm_rx_event() 70 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_tm_cmd() local
|
D | bmi.h | 226 #define ath6kl_bmi_write_hi32(ar, item, val) \ argument 236 #define ath6kl_bmi_read_hi32(ar, item, val) \ argument
|
/drivers/media/video/ |
D | arv.c | 108 struct ar { struct 111 unsigned int start_capture; /* duaring capture in INT. mode. */ argument 113 unsigned char *line_buff; /* DMA line buffer */ argument 115 unsigned char *frame[MAX_AR_HEIGHT]; /* frame data */ argument 124 static struct ar ardev; argument 248 static void wait_for_vertical_sync(struct ar *ar, int exp_line) in wait_for_vertical_sync() 272 struct ar *ar = video_drvdata(file); in ar_read() local 401 struct ar *ar = video_drvdata(file); in ar_querycap() local 436 struct ar *ar = video_drvdata(file); in ar_g_fmt_vid_cap() local 452 struct ar *ar = video_drvdata(file); in ar_try_fmt_vid_cap() local [all …]
|