Home
last modified time | relevance | path

Searched refs:iwl_trans (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-trans.h353 int (*start_hw)(struct iwl_trans *iwl_trans);
354 void (*stop_hw)(struct iwl_trans *iwl_trans);
355 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw);
356 void (*fw_alive)(struct iwl_trans *trans);
357 void (*stop_device)(struct iwl_trans *trans);
359 void (*wowlan_suspend)(struct iwl_trans *trans);
361 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
363 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb,
366 int (*reclaim)(struct iwl_trans *trans, int sta_id, int tid,
369 int (*tx_agg_disable)(struct iwl_trans *trans,
[all …]
Diwl-io.h36 static inline void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8()
42 static inline void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32()
48 static inline u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32()
55 void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask);
56 void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask);
58 int iwl_poll_bit(struct iwl_trans *trans, u32 addr,
60 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask,
63 int iwl_grab_nic_access_silent(struct iwl_trans *trans);
64 bool iwl_grab_nic_access(struct iwl_trans *trans);
65 void iwl_release_nic_access(struct iwl_trans *trans);
[all …]
Diwl-trans-pcie-int.h265 struct iwl_trans *trans;
314 void iwl_irq_tasklet(struct iwl_trans *trans);
315 void iwlagn_rx_replenish(struct iwl_trans *trans);
316 void iwl_rx_queue_update_write_ptr(struct iwl_trans *trans,
322 void iwl_reset_ict(struct iwl_trans *trans);
323 void iwl_disable_ict(struct iwl_trans *trans);
324 int iwl_alloc_isr_ict(struct iwl_trans *trans);
325 void iwl_free_isr_ict(struct iwl_trans *trans);
331 void iwl_txq_update_write_ptr(struct iwl_trans *trans,
333 int iwlagn_txq_attach_buf_to_tfd(struct iwl_trans *trans,
[all …]
Diwl-io.c37 static inline void __iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) in __iwl_set_bit()
42 static inline void __iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) in __iwl_clear_bit()
47 void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_set_bit()
56 void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_clear_bit()
65 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, in iwl_poll_bit()
80 int iwl_grab_nic_access_silent(struct iwl_trans *trans) in iwl_grab_nic_access_silent()
121 bool iwl_grab_nic_access(struct iwl_trans *trans) in iwl_grab_nic_access()
134 void iwl_release_nic_access(struct iwl_trans *trans) in iwl_release_nic_access()
148 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg) in iwl_read_direct32()
162 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) in iwl_write_direct32()
[all …]
Diwl-pci.c278 struct iwl_trans *iwl_trans; in iwl_pci_probe() local
281 shrd = kzalloc(sizeof(*iwl_trans->shrd), GFP_KERNEL); in iwl_pci_probe()
290 iwl_trans = iwl_trans_idi_alloc(shrd, pdev, ent); in iwl_pci_probe()
292 iwl_trans = iwl_trans_pcie_alloc(shrd, pdev, ent); in iwl_pci_probe()
294 if (iwl_trans == NULL) { in iwl_pci_probe()
299 shrd->trans = iwl_trans; in iwl_pci_probe()
300 pci_set_drvdata(pdev, iwl_trans); in iwl_pci_probe()
302 err = iwl_drv_start(shrd, iwl_trans, cfg); in iwl_pci_probe()
309 iwl_trans_free(iwl_trans); in iwl_pci_probe()
318 struct iwl_trans *iwl_trans = pci_get_drvdata(pdev); in iwl_pci_remove() local
[all …]
Diwl-trans-pcie.c85 static int iwl_trans_rx_alloc(struct iwl_trans *trans) in iwl_trans_rx_alloc()
122 static void iwl_trans_rxq_free_rx_bufs(struct iwl_trans *trans) in iwl_trans_rxq_free_rx_bufs()
145 static void iwl_trans_rx_hw_init(struct iwl_trans *trans, in iwl_trans_rx_hw_init()
192 static int iwl_rx_init(struct iwl_trans *trans) in iwl_rx_init()
235 static void iwl_trans_pcie_rx_free(struct iwl_trans *trans) in iwl_trans_pcie_rx_free()
269 static int iwl_trans_rx_stop(struct iwl_trans *trans) in iwl_trans_rx_stop()
278 static inline int iwlagn_alloc_dma_ptr(struct iwl_trans *trans, in iwlagn_alloc_dma_ptr()
292 static inline void iwlagn_free_dma_ptr(struct iwl_trans *trans, in iwlagn_free_dma_ptr()
302 static int iwl_trans_txq_alloc(struct iwl_trans *trans, in iwl_trans_txq_alloc()
372 static int iwl_trans_txq_init(struct iwl_trans *trans, struct iwl_tx_queue *txq, in iwl_trans_txq_init()
[all …]
Diwl-trans-pcie-tx.c84 void iwl_trans_txq_update_byte_cnt_tbl(struct iwl_trans *trans, in iwl_trans_txq_update_byte_cnt_tbl()
131 void iwl_txq_update_write_ptr(struct iwl_trans *trans, struct iwl_tx_queue *txq) in iwl_txq_update_write_ptr()
214 static void iwlagn_unmap_tfd(struct iwl_trans *trans, struct iwl_cmd_meta *meta, in iwlagn_unmap_tfd()
253 void iwlagn_txq_free_tfd(struct iwl_trans *trans, struct iwl_tx_queue *txq, in iwlagn_txq_free_tfd()
284 int iwlagn_txq_attach_buf_to_tfd(struct iwl_trans *trans, in iwlagn_txq_attach_buf_to_tfd()
391 static void iwlagn_txq_inval_byte_cnt_tbl(struct iwl_trans *trans, in iwlagn_txq_inval_byte_cnt_tbl()
417 static int iwlagn_tx_queue_set_q2ratid(struct iwl_trans *trans, u16 ra_tid, in iwlagn_tx_queue_set_q2ratid()
444 static void iwlagn_tx_queue_stop_scheduler(struct iwl_trans *trans, u16 txq_id) in iwlagn_tx_queue_stop_scheduler()
454 void iwl_trans_set_wr_ptrs(struct iwl_trans *trans, in iwl_trans_set_wr_ptrs()
463 void iwl_trans_tx_queue_set_status(struct iwl_trans *trans, in iwl_trans_tx_queue_set_status()
[all …]
Diwl-trans-pcie-rx.c132 void iwl_rx_queue_update_write_ptr(struct iwl_trans *trans, in iwl_rx_queue_update_write_ptr()
199 static void iwlagn_rx_queue_restock(struct iwl_trans *trans) in iwlagn_rx_queue_restock()
251 static void iwlagn_rx_allocate(struct iwl_trans *trans, gfp_t priority) in iwlagn_rx_allocate()
340 void iwlagn_rx_replenish(struct iwl_trans *trans) in iwlagn_rx_replenish()
352 static void iwlagn_rx_replenish_now(struct iwl_trans *trans) in iwlagn_rx_replenish_now()
367 static void iwl_rx_handle_rxbuf(struct iwl_trans *trans, in iwl_rx_handle_rxbuf()
486 static void iwl_rx_handle(struct iwl_trans *trans) in iwl_rx_handle()
612 static void iwl_dump_nic_error_log(struct iwl_trans *trans) in iwl_dump_nic_error_log()
693 static void iwl_irq_handle_error(struct iwl_trans *trans) in iwl_irq_handle_error()
729 static int iwl_print_event_log(struct iwl_trans *trans, u32 start_idx, in iwl_print_event_log()
[all …]
Diwl-op-mode.h67 struct iwl_trans;
130 struct iwl_op_mode *(*start)(struct iwl_trans *trans,
153 const struct iwl_trans *trans;
Diwl-eeprom.c157 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore()
183 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore()
190 static int iwl_eeprom_verify_signature(struct iwl_trans *trans) in iwl_eeprom_verify_signature()
312 static void iwl_set_otp_access(struct iwl_trans *trans, in iwl_set_otp_access()
325 static int iwl_get_nvm_type(struct iwl_trans *trans, u32 hw_rev) in iwl_get_nvm_type()
352 static int iwl_init_otp_access(struct iwl_trans *trans) in iwl_init_otp_access()
386 static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, in iwl_read_otp_word()
428 static bool iwl_is_otp_empty(struct iwl_trans *trans) in iwl_is_otp_empty()
458 static int iwl_find_otp_image(struct iwl_trans *trans, in iwl_find_otp_image()
663 int iwl_eeprom_init(struct iwl_trans *trans, u32 hw_rev) in iwl_eeprom_init()
Diwl-shared.h97 struct iwl_trans;
371 struct iwl_trans *trans;
Diwl-eeprom.h70 struct iwl_trans;
309 int iwl_eeprom_init(struct iwl_trans *trans, u32 hw_rev);
Diwl-drv.h108 struct iwl_trans *trans, const struct iwl_cfg *cfg);
Diwl-testmode.c464 struct iwl_trans *trans = trans(priv); in iwl_testmode_driver()
782 struct iwl_trans *trans = trans(priv); in iwl_testmode_indirect_read()
822 struct iwl_trans *trans = trans(priv); in iwl_testmode_indirect_write()
Diwl-drv.c951 struct iwl_trans *trans, const struct iwl_cfg *cfg) in iwl_drv_start()
Diwl-agn.c1175 static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans, in iwl_op_mode_dvm_start()