Searched refs:iwl_trans (Results 1 - 27 of 27) sorted by relevance

/linux-4.4.14/drivers/net/wireless/iwlwifi/
H A Diwl-io.h35 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val);
36 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val);
37 u32 iwl_read32(struct iwl_trans *trans, u32 ofs);
39 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) iwl_set_bit()
44 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) iwl_clear_bit()
49 int iwl_poll_bit(struct iwl_trans *trans, u32 addr,
51 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask,
54 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg);
55 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value);
58 u32 __iwl_read_prph(struct iwl_trans *trans, u32 ofs);
59 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs);
60 void __iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val);
61 void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val);
62 int iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr,
64 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask);
65 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs,
67 void iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask);
68 void iwl_force_nmi(struct iwl_trans *trans);
71 int iwl_dump_fh(struct iwl_trans *trans, char **buf);
H A Diwl-io.c39 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) iwl_write8()
46 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write32()
53 u32 iwl_read32(struct iwl_trans *trans, u32 ofs) iwl_read32()
64 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, iwl_poll_bit()
80 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg) iwl_read_direct32()
93 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) iwl_write_direct32()
104 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, iwl_poll_direct_bit()
120 u32 __iwl_read_prph(struct iwl_trans *trans, u32 ofs) __iwl_read_prph()
127 void __iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) __iwl_write_prph()
133 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs) iwl_read_prph()
146 void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) iwl_write_prph()
157 int iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, iwl_poll_prph_bit()
172 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) iwl_set_bits_prph()
184 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, iwl_set_bits_mask_prph()
197 void iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) iwl_clear_bits_prph()
210 void iwl_force_nmi(struct iwl_trans *trans) iwl_force_nmi()
245 int iwl_dump_fh(struct iwl_trans *trans, char **buf) iwl_dump_fh()
H A Diwl-trans.h473 struct iwl_trans;
560 int (*start_hw)(struct iwl_trans *iwl_trans, bool low_power);
561 void (*op_mode_leave)(struct iwl_trans *iwl_trans);
562 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw,
564 int (*update_sf)(struct iwl_trans *trans,
566 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr);
567 void (*stop_device)(struct iwl_trans *trans, bool low_power);
569 void (*d3_suspend)(struct iwl_trans *trans, bool test);
570 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status,
573 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
575 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
577 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
580 void (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
583 void (*txq_disable)(struct iwl_trans *trans, int queue,
586 int (*dbgfs_register)(struct iwl_trans *trans, struct dentry* dir);
587 int (*wait_tx_queue_empty)(struct iwl_trans *trans, u32 txq_bm);
588 void (*freeze_txq_timer)(struct iwl_trans *trans, unsigned long txqs,
591 void (*write8)(struct iwl_trans *trans, u32 ofs, u8 val);
592 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val);
593 u32 (*read32)(struct iwl_trans *trans, u32 ofs);
594 u32 (*read_prph)(struct iwl_trans *trans, u32 ofs);
595 void (*write_prph)(struct iwl_trans *trans, u32 ofs, u32 val);
596 int (*read_mem)(struct iwl_trans *trans, u32 addr,
598 int (*write_mem)(struct iwl_trans *trans, u32 addr,
600 void (*configure)(struct iwl_trans *trans,
602 void (*set_pmi)(struct iwl_trans *trans, bool state);
603 bool (*grab_nic_access)(struct iwl_trans *trans, bool silent,
605 void (*release_nic_access)(struct iwl_trans *trans,
607 void (*set_bits_mask)(struct iwl_trans *trans, u32 reg, u32 mask,
609 void (*ref)(struct iwl_trans *trans);
610 void (*unref)(struct iwl_trans *trans);
611 int (*suspend)(struct iwl_trans *trans);
612 void (*resume)(struct iwl_trans *trans);
614 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
646 * struct iwl_trans - transport common data
683 struct iwl_trans { struct
738 static inline void iwl_trans_configure(struct iwl_trans *trans, iwl_trans_configure()
746 static inline int _iwl_trans_start_hw(struct iwl_trans *trans, bool low_power) _iwl_trans_start_hw()
753 static inline int iwl_trans_start_hw(struct iwl_trans *trans) iwl_trans_start_hw()
758 static inline void iwl_trans_op_mode_leave(struct iwl_trans *trans) iwl_trans_op_mode_leave()
770 static inline void iwl_trans_fw_alive(struct iwl_trans *trans, u32 scd_addr) iwl_trans_fw_alive()
779 static inline int iwl_trans_start_fw(struct iwl_trans *trans, iwl_trans_start_fw()
791 static inline int iwl_trans_update_sf(struct iwl_trans *trans, iwl_trans_update_sf()
802 static inline void _iwl_trans_stop_device(struct iwl_trans *trans, _iwl_trans_stop_device()
812 static inline void iwl_trans_stop_device(struct iwl_trans *trans) iwl_trans_stop_device()
817 static inline void iwl_trans_d3_suspend(struct iwl_trans *trans, bool test) iwl_trans_d3_suspend()
824 static inline int iwl_trans_d3_resume(struct iwl_trans *trans, iwl_trans_d3_resume()
835 static inline void iwl_trans_ref(struct iwl_trans *trans) iwl_trans_ref()
841 static inline void iwl_trans_unref(struct iwl_trans *trans) iwl_trans_unref()
847 static inline int iwl_trans_suspend(struct iwl_trans *trans) iwl_trans_suspend()
855 static inline void iwl_trans_resume(struct iwl_trans *trans) iwl_trans_resume()
862 iwl_trans_dump_data(struct iwl_trans *trans, iwl_trans_dump_data()
870 static inline int iwl_trans_send_cmd(struct iwl_trans *trans, iwl_trans_send_cmd()
899 iwl_trans_alloc_tx_cmd(struct iwl_trans *trans) iwl_trans_alloc_tx_cmd()
910 static inline void iwl_trans_free_tx_cmd(struct iwl_trans *trans, iwl_trans_free_tx_cmd()
918 static inline int iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb, iwl_trans_tx()
930 static inline void iwl_trans_reclaim(struct iwl_trans *trans, int queue, iwl_trans_reclaim()
939 static inline void iwl_trans_txq_disable(struct iwl_trans *trans, int queue, iwl_trans_txq_disable()
946 iwl_trans_txq_enable_cfg(struct iwl_trans *trans, int queue, u16 ssn, iwl_trans_txq_enable_cfg()
958 static inline void iwl_trans_txq_enable(struct iwl_trans *trans, int queue, iwl_trans_txq_enable()
975 void iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue, int fifo, iwl_trans_ac_txq_enable()
989 static inline void iwl_trans_freeze_txq_timer(struct iwl_trans *trans, iwl_trans_freeze_txq_timer()
1000 static inline int iwl_trans_wait_tx_queue_empty(struct iwl_trans *trans, iwl_trans_wait_tx_queue_empty()
1009 static inline int iwl_trans_dbgfs_register(struct iwl_trans *trans, iwl_trans_dbgfs_register()
1015 static inline void iwl_trans_write8(struct iwl_trans *trans, u32 ofs, u8 val) iwl_trans_write8()
1020 static inline void iwl_trans_write32(struct iwl_trans *trans, u32 ofs, u32 val) iwl_trans_write32()
1025 static inline u32 iwl_trans_read32(struct iwl_trans *trans, u32 ofs) iwl_trans_read32()
1030 static inline u32 iwl_trans_read_prph(struct iwl_trans *trans, u32 ofs) iwl_trans_read_prph()
1035 static inline void iwl_trans_write_prph(struct iwl_trans *trans, u32 ofs, iwl_trans_write_prph()
1041 static inline int iwl_trans_read_mem(struct iwl_trans *trans, u32 addr, iwl_trans_read_mem()
1054 static inline u32 iwl_trans_read_mem32(struct iwl_trans *trans, u32 addr) iwl_trans_read_mem32()
1064 static inline int iwl_trans_write_mem(struct iwl_trans *trans, u32 addr, iwl_trans_write_mem()
1070 static inline u32 iwl_trans_write_mem32(struct iwl_trans *trans, u32 addr, iwl_trans_write_mem32()
1076 static inline void iwl_trans_set_pmi(struct iwl_trans *trans, bool state) iwl_trans_set_pmi()
1083 iwl_trans_set_bits_mask(struct iwl_trans *trans, u32 reg, u32 mask, u32 value) iwl_trans_set_bits_mask()
1093 iwl_trans_release_nic_access(struct iwl_trans *trans, unsigned long *flags) iwl_trans_release_nic_access()
1099 static inline void iwl_trans_fw_error(struct iwl_trans *trans) iwl_trans_fw_error()
1112 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size,
1117 void iwl_trans_free(struct iwl_trans *trans);
H A Diwl-scd.h72 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, iwl_scd_txq_set_chain()
78 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, iwl_scd_txq_enable_agg()
84 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, iwl_scd_txq_disable_agg()
90 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) iwl_scd_disable_agg()
95 static inline void iwl_scd_activate_fifos(struct iwl_trans *trans) iwl_scd_activate_fifos()
100 static inline void iwl_scd_deactivate_fifos(struct iwl_trans *trans) iwl_scd_deactivate_fifos()
105 static inline void iwl_scd_enable_set_active(struct iwl_trans *trans, iwl_scd_enable_set_active()
135 static inline void iwl_scd_txq_set_inactive(struct iwl_trans *trans, iwl_scd_txq_set_inactive()
H A Diwl-eeprom-read.c97 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) iwl_eeprom_acquire_semaphore()
123 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) iwl_eeprom_release_semaphore()
129 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) iwl_eeprom_verify_signature()
165 static void iwl_set_otp_access_absolute(struct iwl_trans *trans) iwl_set_otp_access_absolute()
173 static int iwl_nvm_is_otp(struct iwl_trans *trans) iwl_nvm_is_otp()
195 static int iwl_init_otp_access(struct iwl_trans *trans) iwl_init_otp_access()
229 static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, iwl_read_otp_word()
271 static bool iwl_is_otp_empty(struct iwl_trans *trans) iwl_is_otp_empty()
301 static int iwl_find_otp_image(struct iwl_trans *trans, iwl_find_otp_image()
358 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) iwl_read_eeprom()
H A Diwl-trans.c66 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size, iwl_trans_alloc()
72 struct iwl_trans *trans; iwl_trans_alloc()
110 void iwl_trans_free(struct iwl_trans *trans) iwl_trans_free()
H A Diwl-devtrace-data.h56 const struct iwl_trans *trans,
H A Diwl-devtrace.h43 static inline size_t iwl_rx_trace_len(const struct iwl_trans *trans, iwl_rx_trace_len()
H A Diwl-eeprom-read.h68 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
H A Diwl-phy-db.h72 struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans);
H A Diwl-drv.h115 struct iwl_trans;
128 struct iwl_drv *iwl_drv_start(struct iwl_trans *trans,
H A Diwl-eeprom-parse.h132 struct iwl_trans *trans);
H A Diwl-op-mode.h74 struct iwl_trans;
149 struct iwl_op_mode *(*start)(struct iwl_trans *trans,
H A Diwl-phy-db.c98 struct iwl_trans *trans;
136 struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans) iwl_phy_db_init()
H A Diwl-devtrace-iwlwifi.h71 TP_PROTO(const struct device *dev, const struct iwl_trans *trans,
H A Diwl-eeprom-parse.c932 struct iwl_trans *trans) iwl_nvm_check_version()
H A Diwl-drv.c113 struct iwl_trans *trans;
1451 struct iwl_drv *iwl_drv_start(struct iwl_trans *trans, iwl_drv_start()
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
H A Dinternal.h320 struct iwl_trans *trans;
384 static inline struct iwl_trans * iwl_trans_pcie_get_trans()
387 return container_of((void *)trans_pcie, struct iwl_trans, iwl_trans_pcie_get_trans()
395 struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
398 void iwl_trans_pcie_free(struct iwl_trans *trans);
403 int iwl_pcie_rx_init(struct iwl_trans *trans);
405 int iwl_pcie_rx_stop(struct iwl_trans *trans);
406 void iwl_pcie_rx_free(struct iwl_trans *trans);
412 int iwl_pcie_alloc_ict(struct iwl_trans *trans);
413 void iwl_pcie_free_ict(struct iwl_trans *trans);
414 void iwl_pcie_reset_ict(struct iwl_trans *trans);
415 void iwl_pcie_disable_ict(struct iwl_trans *trans);
420 int iwl_pcie_tx_init(struct iwl_trans *trans);
421 void iwl_pcie_tx_start(struct iwl_trans *trans, u32 scd_base_addr);
422 int iwl_pcie_tx_stop(struct iwl_trans *trans);
423 void iwl_pcie_tx_free(struct iwl_trans *trans);
424 void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int queue, u16 ssn,
427 void iwl_trans_pcie_txq_disable(struct iwl_trans *trans, int queue,
429 int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
431 void iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans);
432 int iwl_trans_pcie_send_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
433 void iwl_pcie_hcmd_complete(struct iwl_trans *trans,
435 void iwl_trans_pcie_reclaim(struct iwl_trans *trans, int txq_id, int ssn,
437 void iwl_trans_pcie_tx_reset(struct iwl_trans *trans);
439 void iwl_trans_pcie_ref(struct iwl_trans *trans);
440 void iwl_trans_pcie_unref(struct iwl_trans *trans);
452 void iwl_pcie_dump_csr(struct iwl_trans *trans);
457 static inline void iwl_disable_interrupts(struct iwl_trans *trans) iwl_disable_interrupts()
471 static inline void iwl_enable_interrupts(struct iwl_trans *trans) iwl_enable_interrupts()
481 static inline void iwl_enable_rfkill_int(struct iwl_trans *trans) iwl_enable_rfkill_int()
490 static inline void iwl_wake_queue(struct iwl_trans *trans, iwl_wake_queue()
501 static inline void iwl_stop_queue(struct iwl_trans *trans, iwl_stop_queue()
534 static inline bool iwl_is_rfkill_set(struct iwl_trans *trans) iwl_is_rfkill_set()
540 static inline void __iwl_trans_pcie_set_bits_mask(struct iwl_trans *trans, __iwl_trans_pcie_set_bits_mask()
555 static inline void __iwl_trans_pcie_clear_bit(struct iwl_trans *trans, __iwl_trans_pcie_clear_bit()
561 static inline void __iwl_trans_pcie_set_bit(struct iwl_trans *trans, __iwl_trans_pcie_set_bit()
567 void iwl_trans_pcie_rf_kill(struct iwl_trans *trans, bool state);
H A Ddrv.c484 static u64 splx_get_pwr_limit(struct iwl_trans *trans, union acpi_object *splx) splx_get_pwr_limit()
515 static void set_dflt_pwr_limit(struct iwl_trans *trans, struct pci_dev *pdev) set_dflt_pwr_limit()
550 static void set_dflt_pwr_limit(struct iwl_trans *trans, struct pci_dev *pdev) {} set_dflt_pwr_limit()
560 struct iwl_trans *iwl_trans; iwl_pci_probe() local
564 iwl_trans = iwl_trans_pcie_alloc(pdev, ent, cfg); iwl_pci_probe()
565 if (IS_ERR(iwl_trans)) iwl_pci_probe()
566 return PTR_ERR(iwl_trans); iwl_pci_probe()
583 (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D) { iwl_pci_probe()
585 iwl_trans->cfg = cfg_7265d; iwl_pci_probe()
589 pci_set_drvdata(pdev, iwl_trans); iwl_pci_probe()
591 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); iwl_pci_probe()
592 trans_pcie->drv = iwl_drv_start(iwl_trans, cfg); iwl_pci_probe()
599 set_dflt_pwr_limit(iwl_trans, pdev); iwl_pci_probe()
602 ret = iwl_trans_dbgfs_register(iwl_trans, iwl_trans->dbgfs_dir); iwl_pci_probe()
611 iwl_trans_pcie_free(iwl_trans); iwl_pci_probe()
617 struct iwl_trans *trans = pci_get_drvdata(pdev); iwl_pci_remove()
639 struct iwl_trans *trans = pci_get_drvdata(pdev); iwl_pci_resume()
H A Dtrans.c90 static void iwl_pcie_free_fw_monitor(struct iwl_trans *trans) iwl_pcie_free_fw_monitor()
106 static void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) iwl_pcie_alloc_fw_monitor()
171 static u32 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg) iwl_trans_pcie_read_shr()
178 static void iwl_trans_pcie_write_shr(struct iwl_trans *trans, u32 reg, u32 val) iwl_trans_pcie_write_shr()
185 static void iwl_pcie_set_pwr(struct iwl_trans *trans, bool vaux) iwl_pcie_set_pwr()
203 static void iwl_pcie_apm_config(struct iwl_trans *trans) iwl_pcie_apm_config()
236 static int iwl_pcie_apm_init(struct iwl_trans *trans) iwl_pcie_apm_init()
350 static void iwl_pcie_apm_lp_xtal_enable(struct iwl_trans *trans) iwl_pcie_apm_lp_xtal_enable()
453 static int iwl_pcie_apm_stop_master(struct iwl_trans *trans) iwl_pcie_apm_stop_master()
471 static void iwl_pcie_apm_stop(struct iwl_trans *trans, bool op_mode_leave) iwl_pcie_apm_stop()
519 static int iwl_pcie_nic_init(struct iwl_trans *trans) iwl_pcie_nic_init()
552 static int iwl_pcie_set_hw_ready(struct iwl_trans *trans) iwl_pcie_set_hw_ready()
573 static int iwl_pcie_prepare_card_hw(struct iwl_trans *trans) iwl_pcie_prepare_card_hw()
614 static int iwl_pcie_load_firmware_chunk(struct iwl_trans *trans, u32 dst_addr, iwl_pcie_load_firmware_chunk()
661 static int iwl_pcie_load_section(struct iwl_trans *trans, u8 section_num, iwl_pcie_load_section()
723 static int iwl_pcie_rsa_race_bug_wa(struct iwl_trans *trans) iwl_pcie_rsa_race_bug_wa()
759 static int iwl_pcie_load_cpu_sections_8000(struct iwl_trans *trans, iwl_pcie_load_cpu_sections_8000()
815 static int iwl_pcie_load_cpu_sections(struct iwl_trans *trans, iwl_pcie_load_cpu_sections()
868 static void iwl_pcie_apply_destination(struct iwl_trans *trans) iwl_pcie_apply_destination()
942 static int iwl_pcie_load_given_ucode(struct iwl_trans *trans, iwl_pcie_load_given_ucode()
992 static int iwl_pcie_load_given_ucode_8000(struct iwl_trans *trans, iwl_pcie_load_given_ucode_8000()
1024 static int iwl_trans_pcie_start_fw(struct iwl_trans *trans, iwl_trans_pcie_start_fw()
1094 static void iwl_trans_pcie_fw_alive(struct iwl_trans *trans, u32 scd_addr) iwl_trans_pcie_fw_alive()
1100 static void _iwl_trans_pcie_stop_device(struct iwl_trans *trans, bool low_power) _iwl_trans_pcie_stop_device()
1201 static void iwl_trans_pcie_stop_device(struct iwl_trans *trans, bool low_power) iwl_trans_pcie_stop_device()
1210 void iwl_trans_pcie_rf_kill(struct iwl_trans *trans, bool state) iwl_trans_pcie_rf_kill()
1221 static void iwl_trans_pcie_d3_suspend(struct iwl_trans *trans, bool test) iwl_trans_pcie_d3_suspend()
1261 static int iwl_trans_pcie_d3_resume(struct iwl_trans *trans, iwl_trans_pcie_d3_resume()
1321 static int _iwl_trans_pcie_start_hw(struct iwl_trans *trans, bool low_power) _iwl_trans_pcie_start_hw()
1359 static int iwl_trans_pcie_start_hw(struct iwl_trans *trans, bool low_power) iwl_trans_pcie_start_hw()
1371 static void iwl_trans_pcie_op_mode_leave(struct iwl_trans *trans) iwl_trans_pcie_op_mode_leave()
1395 static void iwl_trans_pcie_write8(struct iwl_trans *trans, u32 ofs, u8 val) iwl_trans_pcie_write8()
1400 static void iwl_trans_pcie_write32(struct iwl_trans *trans, u32 ofs, u32 val) iwl_trans_pcie_write32()
1405 static u32 iwl_trans_pcie_read32(struct iwl_trans *trans, u32 ofs) iwl_trans_pcie_read32()
1410 static u32 iwl_trans_pcie_read_prph(struct iwl_trans *trans, u32 reg) iwl_trans_pcie_read_prph()
1417 static void iwl_trans_pcie_write_prph(struct iwl_trans *trans, u32 addr, iwl_trans_pcie_write_prph()
1431 static void iwl_trans_pcie_configure(struct iwl_trans *trans, iwl_trans_pcie_configure()
1473 void iwl_trans_pcie_free(struct iwl_trans *trans) iwl_trans_pcie_free()
1498 static void iwl_trans_pcie_set_pmi(struct iwl_trans *trans, bool state) iwl_trans_pcie_set_pmi()
1506 static bool iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans, bool silent, iwl_trans_pcie_grab_nic_access()
1567 static void iwl_trans_pcie_release_nic_access(struct iwl_trans *trans, iwl_trans_pcie_release_nic_access()
1596 static int iwl_trans_pcie_read_mem(struct iwl_trans *trans, u32 addr, iwl_trans_pcie_read_mem()
1614 static int iwl_trans_pcie_write_mem(struct iwl_trans *trans, u32 addr, iwl_trans_pcie_write_mem()
1633 static void iwl_trans_pcie_freeze_txq_timer(struct iwl_trans *trans, iwl_trans_pcie_freeze_txq_timer()
1689 static int iwl_trans_pcie_wait_txq_empty(struct iwl_trans *trans, u32 txq_bm) iwl_trans_pcie_wait_txq_empty()
1777 static void iwl_trans_pcie_set_bits_mask(struct iwl_trans *trans, u32 reg, iwl_trans_pcie_set_bits_mask()
1788 void iwl_trans_pcie_ref(struct iwl_trans *trans) iwl_trans_pcie_ref()
1802 void iwl_trans_pcie_unref(struct iwl_trans *trans) iwl_trans_pcie_unref()
1854 void iwl_pcie_dump_csr(struct iwl_trans *trans) iwl_pcie_dump_csr()
1928 struct iwl_trans *trans = file->private_data; iwl_dbgfs_tx_queue_read()
1967 struct iwl_trans *trans = file->private_data; iwl_dbgfs_rx_queue_read()
1998 struct iwl_trans *trans = file->private_data; iwl_dbgfs_interrupt_read()
2056 struct iwl_trans *trans = file->private_data; iwl_dbgfs_interrupt_write()
2080 struct iwl_trans *trans = file->private_data; iwl_dbgfs_csr_write()
2101 struct iwl_trans *trans = file->private_data; iwl_dbgfs_fh_reg_read()
2125 static int iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans, iwl_trans_pcie_dbgfs_register()
2140 static int iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans, iwl_trans_pcie_dbgfs_register()
2257 static u32 iwl_trans_pcie_dump_prph(struct iwl_trans *trans, iwl_trans_pcie_dump_prph()
2296 static u32 iwl_trans_pcie_dump_rbs(struct iwl_trans *trans, iwl_trans_pcie_dump_rbs()
2339 static u32 iwl_trans_pcie_dump_csr(struct iwl_trans *trans, iwl_trans_pcie_dump_csr()
2358 static u32 iwl_trans_pcie_fh_regs_dump(struct iwl_trans *trans, iwl_trans_pcie_fh_regs_dump()
2384 iwl_trans_pci_dump_marbh_monitor(struct iwl_trans *trans, iwl_trans_pci_dump_marbh_monitor()
2407 iwl_trans_pcie_dump_monitor(struct iwl_trans *trans, iwl_trans_pcie_dump_monitor()
2485 *iwl_trans_pcie_dump_data(struct iwl_trans *trans, iwl_trans_pcie_dump_data()
2659 struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev, iwl_trans_pcie_alloc()
2664 struct iwl_trans *trans; iwl_trans_pcie_alloc()
H A Drx.c166 int iwl_pcie_rx_stop(struct iwl_trans *trans) iwl_pcie_rx_stop()
176 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans) iwl_pcie_rxq_inc_wr_ptr()
207 static void iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans) iwl_pcie_rxq_check_wrptr()
235 static void iwl_pcie_rxq_restock(struct iwl_trans *trans) iwl_pcie_rxq_restock()
284 static struct page *iwl_pcie_rx_alloc_page(struct iwl_trans *trans, iwl_pcie_rx_alloc_page()
328 static void iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority) iwl_pcie_rxq_alloc_rbs()
389 static void iwl_pcie_rxq_free_rbs(struct iwl_trans *trans) iwl_pcie_rxq_free_rbs()
416 static void iwl_pcie_rx_replenish(struct iwl_trans *trans) iwl_pcie_rx_replenish()
429 static void iwl_pcie_rx_allocator(struct iwl_trans *trans) iwl_pcie_rx_allocator()
520 static int iwl_pcie_rx_allocator_get(struct iwl_trans *trans, iwl_pcie_rx_allocator_get()
561 static int iwl_pcie_rx_alloc(struct iwl_trans *trans) iwl_pcie_rx_alloc()
599 static void iwl_pcie_rx_hw_init(struct iwl_trans *trans, struct iwl_rxq *rxq) iwl_pcie_rx_hw_init()
680 static void iwl_pcie_rx_free_rba(struct iwl_trans *trans) iwl_pcie_rx_free_rba()
699 int iwl_pcie_rx_init(struct iwl_trans *trans) iwl_pcie_rx_init()
751 void iwl_pcie_rx_free(struct iwl_trans *trans) iwl_pcie_rx_free()
799 static void iwl_pcie_rx_reuse_rbd(struct iwl_trans *trans, iwl_pcie_rx_reuse_rbd()
833 static void iwl_pcie_rx_handle_rb(struct iwl_trans *trans, iwl_pcie_rx_handle_rb()
962 static void iwl_pcie_rx_handle(struct iwl_trans *trans) iwl_pcie_rx_handle()
1077 static void iwl_pcie_irq_handle_error(struct iwl_trans *trans) iwl_pcie_irq_handle_error()
1111 static u32 iwl_pcie_int_cause_non_ict(struct iwl_trans *trans) iwl_pcie_int_cause_non_ict()
1139 static u32 iwl_pcie_int_cause_ict(struct iwl_trans *trans) iwl_pcie_int_cause_ict()
1193 struct iwl_trans *trans = dev_id; iwl_pcie_irq_handler()
1449 void iwl_pcie_free_ict(struct iwl_trans *trans) iwl_pcie_free_ict()
1467 int iwl_pcie_alloc_ict(struct iwl_trans *trans) iwl_pcie_alloc_ict()
1494 void iwl_pcie_reset_ict(struct iwl_trans *trans) iwl_pcie_reset_ict()
1524 void iwl_pcie_disable_ict(struct iwl_trans *trans) iwl_pcie_disable_ict()
1535 struct iwl_trans *trans = data; iwl_pcie_isr()
H A Dtx.c123 static int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, iwl_pcie_alloc_dma_ptr()
137 static void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, iwl_pcie_free_dma_ptr()
151 struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); iwl_pcie_txq_stuck_timer()
206 static void iwl_pcie_txq_update_byte_cnt_tbl(struct iwl_trans *trans, iwl_pcie_txq_update_byte_cnt_tbl()
252 static void iwl_pcie_txq_inval_byte_cnt_tbl(struct iwl_trans *trans, iwl_pcie_txq_inval_byte_cnt_tbl()
281 static void iwl_pcie_txq_inc_wr_ptr(struct iwl_trans *trans, iwl_pcie_txq_inc_wr_ptr()
324 void iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans) iwl_pcie_txq_check_wrptrs()
373 static void iwl_pcie_tfd_unmap(struct iwl_trans *trans, iwl_pcie_tfd_unmap()
415 static void iwl_pcie_txq_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) iwl_pcie_txq_free_tfd()
449 static int iwl_pcie_txq_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, iwl_pcie_txq_build_tfd()
481 static int iwl_pcie_txq_alloc(struct iwl_trans *trans, iwl_pcie_txq_alloc()
551 static int iwl_pcie_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, iwl_pcie_txq_init()
582 static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) iwl_pcie_txq_unmap()
610 static void iwl_pcie_txq_free(struct iwl_trans *trans, int txq_id) iwl_pcie_txq_free()
651 void iwl_pcie_tx_start(struct iwl_trans *trans, u32 scd_base_addr) iwl_pcie_tx_start()
708 void iwl_trans_pcie_tx_reset(struct iwl_trans *trans) iwl_trans_pcie_tx_reset()
736 static void iwl_pcie_tx_stop_fh(struct iwl_trans *trans) iwl_pcie_tx_stop_fh()
770 int iwl_pcie_tx_stop(struct iwl_trans *trans) iwl_pcie_tx_stop()
806 void iwl_pcie_tx_free(struct iwl_trans *trans) iwl_pcie_tx_free()
830 static int iwl_pcie_tx_alloc(struct iwl_trans *trans) iwl_pcie_tx_alloc()
888 int iwl_pcie_tx_init(struct iwl_trans *trans) iwl_pcie_tx_init()
964 void iwl_trans_pcie_reclaim(struct iwl_trans *trans, int txq_id, int ssn, iwl_trans_pcie_reclaim()
1036 static int iwl_pcie_set_cmd_in_flight(struct iwl_trans *trans, iwl_pcie_set_cmd_in_flight()
1079 static int iwl_pcie_clear_cmd_in_flight(struct iwl_trans *trans) iwl_pcie_clear_cmd_in_flight()
1109 static void iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx) iwl_pcie_cmdq_reclaim()
1146 static int iwl_pcie_txq_set_ratid_map(struct iwl_trans *trans, u16 ra_tid, iwl_pcie_txq_set_ratid_map()
1175 void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, u16 ssn, iwl_trans_pcie_txq_enable()
1271 void iwl_trans_pcie_txq_disable(struct iwl_trans *trans, int txq_id, iwl_trans_pcie_txq_disable()
1318 static int iwl_pcie_enqueue_hcmd(struct iwl_trans *trans, iwl_pcie_enqueue_hcmd()
1599 void iwl_pcie_hcmd_complete(struct iwl_trans *trans, iwl_pcie_hcmd_complete()
1662 static int iwl_pcie_send_hcmd_async(struct iwl_trans *trans, iwl_pcie_send_hcmd_async()
1682 static int iwl_pcie_send_hcmd_sync(struct iwl_trans *trans, iwl_pcie_send_hcmd_sync()
1781 int iwl_trans_pcie_send_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) iwl_trans_pcie_send_hcmd()
1797 int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb, iwl_trans_pcie_tx()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dutils.c454 struct iwl_trans *trans = mvm->trans; iwl_mvm_dump_umac_error_log()
496 struct iwl_trans *trans = mvm->trans; iwl_mvm_dump_nic_error_log_old()
577 struct iwl_trans *trans = mvm->trans; iwl_mvm_dump_nic_error_log()
H A Dops.c372 static u32 calc_min_backoff(struct iwl_trans *trans, const struct iwl_cfg *cfg) calc_min_backoff()
392 iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, iwl_op_mode_mvm_start()
H A Dmvm.h563 struct iwl_trans *trans;
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
H A Dmain.c1144 static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans, iwl_op_mode_dvm_start()
1516 struct iwl_trans *trans = priv->trans; iwl_dump_nic_error_log()
1606 struct iwl_trans *trans = priv->trans; iwl_print_event_log()
1721 struct iwl_trans *trans = priv->trans; iwl_dump_nic_event_log()
H A Ddev.h651 struct iwl_trans *trans;

Completed in 488 milliseconds