/linux-master/net/rds/ |
H A D | transport.c | 50 void rds_trans_register(struct rds_transport *trans) argument 52 BUG_ON(strlen(trans->t_name) + 1 > TRANSNAMSIZ); 56 if (transports[trans->t_type]) 58 trans->t_type); 60 transports[trans->t_type] = trans; 61 printk(KERN_INFO "Registered RDS/%s transport\n", trans->t_name); 68 void rds_trans_unregister(struct rds_transport *trans) argument 72 transports[trans->t_type] = NULL; 73 printk(KERN_INFO "Unregistered RDS/%s transport\n", trans 79 rds_trans_put(struct rds_transport *trans) argument 90 struct rds_transport *trans; local 118 struct rds_transport *trans; local 148 struct rds_transport *trans; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans-gen2.c | 6 #include "iwl-trans.h" 20 int iwl_pcie_gen2_apm_init(struct iwl_trans *trans) argument 24 IWL_DEBUG_INFO(trans, "Init card's basic functions\n"); 35 iwl_set_bit(trans, CSR_GIO_CHICKEN_BITS, 39 iwl_set_bit(trans, CSR_DBG_HPET_MEM_REG, CSR_DBG_HPET_MEM_REG_VAL); 45 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG, 48 iwl_pcie_apm_config(trans); 50 ret = iwl_finish_nic_init(trans); 54 set_bit(STATUS_DEVICE_ENABLED, &trans->status); 59 static void iwl_pcie_gen2_apm_stop(struct iwl_trans *trans, boo argument 98 iwl_trans_pcie_fw_reset_handshake(struct iwl_trans *trans) argument 133 _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) argument 212 iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans) argument 229 iwl_pcie_gen2_nic_init(struct iwl_trans *trans) argument 260 iwl_pcie_get_rf_name(struct iwl_trans *trans) argument 342 iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans, u32 scd_addr) argument 373 iwl_pcie_set_ltr(struct iwl_trans *trans) argument 422 iwl_pcie_spin_for_iml(struct iwl_trans *trans) argument 460 iwl_trans_pcie_gen2_start_fw(struct iwl_trans *trans, const struct fw_img *fw, bool run_in_rfkill) argument [all...] |
H A D | ctxt-info-gen3.c | 5 #include "iwl-trans.h" 12 iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans, argument 20 if (!iwl_trans_dbg_ini_valid(trans)) { 21 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; 23 iwl_pcie_alloc_fw_monitor(trans, 0); 28 IWL_DEBUG_FW(trans, 38 fw_mon_cfg = &trans->dbg.fw_mon_cfg[alloc_id]; 43 IWL_DEBUG_FW(trans, 49 IWL_DEBUG_FW(trans, 54 if (trans 78 iwl_pcie_ctxt_info_gen3_init(struct iwl_trans *trans, const struct fw_img *fw) argument 245 iwl_pcie_ctxt_info_gen3_free(struct iwl_trans *trans, bool alive) argument 284 iwl_pcie_load_payloads_continuously(struct iwl_trans *trans, const struct iwl_pnvm_image *pnvm_data, struct iwl_dram_data *dram) argument 318 iwl_pcie_load_payloads_segments(struct iwl_trans *trans, struct iwl_dram_regions *dram_regions, const struct iwl_pnvm_image *pnvm_data) argument 373 iwl_trans_pcie_ctx_info_gen3_load_pnvm(struct iwl_trans *trans, const struct iwl_pnvm_image *pnvm_payloads, const struct iwl_ucode_capabilities *capa) argument 432 iwl_pcie_set_pnvm_segments(struct iwl_trans *trans) argument 445 iwl_pcie_set_continuous_pnvm(struct iwl_trans *trans) argument 457 iwl_trans_pcie_ctx_info_gen3_set_pnvm(struct iwl_trans *trans, const struct iwl_ucode_capabilities *capa) argument 469 iwl_trans_pcie_ctx_info_gen3_load_reduce_power(struct iwl_trans *trans, const struct iwl_pnvm_image *payloads, const struct iwl_ucode_capabilities *capa) argument 516 iwl_pcie_set_reduce_power_segments(struct iwl_trans *trans) argument 529 iwl_pcie_set_continuous_reduce_power(struct iwl_trans *trans) argument 542 iwl_trans_pcie_ctx_info_gen3_set_reduce_power(struct iwl_trans *trans, const struct iwl_ucode_capabilities *capa) argument [all...] |
H A D | rx.c | 144 int iwl_pcie_rx_stop(struct iwl_trans *trans) argument 146 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { 148 iwl_write_umac_prph(trans, RFH_RXF_DMA_CFG_GEN3, 0); 149 return iwl_poll_umac_prph_bit(trans, RFH_GEN_STATUS_GEN3, 151 } else if (trans->trans_cfg->mq_rx_supported) { 152 iwl_write_prph(trans, RFH_RXF_DMA_CFG, 0); 153 return iwl_poll_prph_bit(trans, RFH_GEN_STATUS, 156 iwl_write_direct32(trans, FH_MEM_RCSR_CHNL0_CONFIG_REG, 0); 157 return iwl_poll_direct_bit(trans, FH_MEM_RSSR_RX_STATUS_REG, 166 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, argument 203 iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans) argument 220 iwl_pcie_restock_bd(struct iwl_trans *trans, struct iwl_rxq *rxq, struct iwl_rx_mem_buffer *rxb) argument 244 iwl_pcie_rxmq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 291 iwl_pcie_rxsq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 349 iwl_pcie_rxq_restock(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 361 iwl_pcie_rx_alloc_page(struct iwl_trans *trans, u32 *offset, gfp_t priority) argument 429 iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority, struct iwl_rxq *rxq) argument 488 iwl_pcie_free_rbs_pool(struct iwl_trans *trans) argument 513 iwl_pcie_rx_allocator(struct iwl_trans *trans) argument 613 iwl_pcie_rx_allocator_get(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 658 iwl_pcie_free_bd_size(struct iwl_trans *trans) argument 667 iwl_pcie_used_bd_size(struct iwl_trans *trans) argument 678 iwl_pcie_free_rxq_dma(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 702 iwl_pcie_rb_stts_size(struct iwl_trans *trans) argument 713 iwl_pcie_alloc_rxq_dma(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 765 iwl_pcie_rx_alloc(struct iwl_trans *trans) argument 835 iwl_pcie_rx_hw_init(struct iwl_trans *trans, struct iwl_rxq *rxq) argument 903 iwl_pcie_rx_mq_hw_init(struct iwl_trans *trans) argument 1007 struct iwl_trans *trans; local 1034 struct iwl_trans *trans; local 1062 iwl_pcie_rx_napi_sync(struct iwl_trans *trans) argument 1078 _iwl_pcie_rx_init(struct iwl_trans *trans) argument 1165 iwl_pcie_rx_init(struct iwl_trans *trans) argument 1187 iwl_pcie_gen2_rx_init(struct iwl_trans *trans) argument 1199 iwl_pcie_rx_free(struct iwl_trans *trans) argument 1260 iwl_pcie_rx_reuse_rbd(struct iwl_trans *trans, struct iwl_rx_mem_buffer *rxb, struct iwl_rxq *rxq, bool emergency) argument 1292 iwl_pcie_rx_handle_rb(struct iwl_trans *trans, struct iwl_rxq *rxq, struct iwl_rx_mem_buffer *rxb, bool emergency, int i) argument 1441 iwl_pcie_get_rxb(struct iwl_trans *trans, struct iwl_rxq *rxq, int i, bool *join) argument 1496 iwl_pcie_rx_handle(struct iwl_trans *trans, int queue, int budget) argument 1641 struct iwl_trans *trans = trans_pcie->trans; local 1674 iwl_pcie_irq_handle_error(struct iwl_trans *trans) argument 1705 iwl_pcie_int_cause_non_ict(struct iwl_trans *trans) argument 1733 iwl_pcie_int_cause_ict(struct iwl_trans *trans) argument 1785 iwl_pcie_handle_rfkill_irq(struct iwl_trans *trans, bool from_irq) argument 1827 struct iwl_trans *trans = dev_id; local 2087 iwl_pcie_free_ict(struct iwl_trans *trans) argument 2105 iwl_pcie_alloc_ict(struct iwl_trans *trans) argument 2127 iwl_pcie_reset_ict(struct iwl_trans *trans) argument 2157 iwl_pcie_disable_ict(struct iwl_trans *trans) argument 2168 struct iwl_trans *trans = data; local 2192 struct iwl_trans *trans = trans_pcie->trans; local [all...] |
H A D | internal.h | 20 #include "iwl-trans.h" 192 * @trans: transport pointer (for configuration) 195 static inline u16 iwl_get_closed_rb_stts(struct iwl_trans *trans, argument 198 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { 305 * @trans: pointer to the generic transport area 387 struct iwl_trans *trans; member in struct:iwl_trans_pcie 470 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans) argument 472 return (void *)trans->trans_specific; 475 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, int queue) argument 485 iwl_write32(trans, CSR_MSIX_AUTOMASK_ST_A 568 _iwl_disable_interrupts(struct iwl_trans *trans) argument 606 iwl_pcie_ctxt_info_free_fw_img(struct iwl_trans *trans) argument 625 iwl_disable_interrupts(struct iwl_trans *trans) argument 634 _iwl_enable_interrupts(struct iwl_trans *trans) argument 657 iwl_enable_interrupts(struct iwl_trans *trans) argument 665 iwl_enable_hw_int_msk_msix(struct iwl_trans *trans, u32 msk) argument 673 iwl_enable_fh_int_msk_msix(struct iwl_trans *trans, u32 msk) argument 681 iwl_enable_fw_load_int(struct iwl_trans *trans) argument 697 iwl_enable_fw_load_int_ctx_info(struct iwl_trans *trans) argument 747 iwl_enable_rfkill_int(struct iwl_trans *trans) argument 775 iwl_is_rfkill_set(struct iwl_trans *trans) argument 788 __iwl_trans_pcie_set_bits_mask(struct iwl_trans *trans, u32 reg, u32 mask, u32 value) argument 803 __iwl_trans_pcie_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument 809 __iwl_trans_pcie_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument 815 iwl_pcie_dbg_on(struct iwl_trans *trans) argument 826 iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans) argument [all...] |
H A D | trans.c | 19 #include "iwl-trans.h" 36 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) argument 42 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); 66 IWL_ERR(trans, "iwlwifi transaction failed, dumping registers\n"); 70 IWL_ERR(trans, "iwlwifi device config registers:\n"); 76 IWL_ERR(trans, "iwlwifi device memory mapped registers:\n"); 78 *ptr = iwl_read32(trans, i); 83 IWL_ERR(trans, "iwlwifi device AER capability structure:\n"); 98 IWL_ERR(trans, "iwlwifi parent port (%s) config registers:\n", 111 IWL_ERR(trans, "iwlwif 130 iwl_trans_pcie_sw_reset(struct iwl_trans *trans, bool retake_ownership) argument 150 iwl_pcie_free_fw_monitor(struct iwl_trans *trans) argument 165 iwl_pcie_alloc_fw_monitor_block(struct iwl_trans *trans, u8 max_power) argument 207 iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans, u8 max_power) argument 224 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg) argument 231 iwl_trans_pcie_write_shr(struct iwl_trans *trans, u32 reg, u32 val) argument 238 iwl_pcie_set_pwr(struct iwl_trans *trans, bool vaux) argument 256 iwl_pcie_apm_config(struct iwl_trans *trans) argument 284 iwl_pcie_apm_init(struct iwl_trans *trans) argument 382 iwl_pcie_apm_lp_xtal_enable(struct iwl_trans *trans) argument 466 iwl_pcie_apm_stop_master(struct iwl_trans *trans) argument 495 iwl_pcie_apm_stop(struct iwl_trans *trans, bool op_mode_leave) argument 540 iwl_pcie_nic_init(struct iwl_trans *trans) argument 580 iwl_pcie_set_hw_ready(struct iwl_trans *trans) argument 601 iwl_pcie_prepare_card_hw(struct iwl_trans *trans) argument 659 iwl_pcie_load_firmware_chunk_fh(struct iwl_trans *trans, u32 dst_addr, dma_addr_t phy_addr, u32 byte_cnt) argument 687 iwl_pcie_load_firmware_chunk(struct iwl_trans *trans, u32 dst_addr, dma_addr_t phy_addr, u32 byte_cnt) argument 714 iwl_pcie_load_section(struct iwl_trans *trans, u8 section_num, const struct fw_desc *section) argument 771 iwl_pcie_load_cpu_sections_8000(struct iwl_trans *trans, const struct fw_img *image, int cpu, int *first_ucode_section) argument 841 iwl_pcie_load_cpu_sections(struct iwl_trans *trans, const struct fw_img *image, int cpu, int *first_ucode_section) argument 882 iwl_pcie_apply_destination_ini(struct iwl_trans *trans) argument 919 iwl_pcie_apply_destination(struct iwl_trans *trans) argument 991 iwl_pcie_load_given_ucode(struct iwl_trans *trans, const struct fw_img *image) argument 1029 iwl_pcie_load_given_ucode_8000(struct iwl_trans *trans, const struct fw_img *image) argument 1066 iwl_pcie_check_hw_rf_kill(struct iwl_trans *trans) argument 1132 iwl_pcie_map_list(struct iwl_trans *trans, const struct iwl_causes_list *causes, int arr_size, int val) argument 1145 iwl_pcie_map_non_rx_causes(struct iwl_trans *trans) argument 1164 iwl_pcie_map_rx_causes(struct iwl_trans *trans) argument 1196 struct iwl_trans *trans = trans_pcie->trans; local 1227 struct iwl_trans *trans = trans_pcie->trans; local 1240 _iwl_trans_pcie_stop_device(struct iwl_trans *trans, bool from_irq) argument 1325 iwl_pcie_synchronize_irqs(struct iwl_trans *trans) argument 1339 iwl_trans_pcie_start_fw(struct iwl_trans *trans, const struct fw_img *fw, bool run_in_rfkill) argument 1426 iwl_trans_pcie_fw_alive(struct iwl_trans *trans, u32 scd_addr) argument 1432 iwl_trans_pcie_handle_stop_rfkill(struct iwl_trans *trans, bool was_in_rfkill) argument 1461 iwl_trans_pcie_stop_device(struct iwl_trans *trans) argument 1478 iwl_trans_pcie_rf_kill(struct iwl_trans *trans, bool state, bool from_irq) argument 1492 iwl_pcie_d3_complete_suspend(struct iwl_trans *trans, bool test, bool reset) argument 1524 iwl_pcie_d3_handshake(struct iwl_trans *trans, bool suspend) argument 1555 iwl_trans_pcie_d3_suspend(struct iwl_trans *trans, bool test, bool reset) argument 1574 iwl_trans_pcie_d3_resume(struct iwl_trans *trans, enum iwl_d3_status *status, bool test, bool reset) argument 1641 iwl_pcie_set_interrupt_capa(struct pci_dev *pdev, struct iwl_trans *trans, const struct iwl_cfg_trans_params *cfg_trans) argument 1716 iwl_pcie_irq_set_affinity(struct iwl_trans *trans) argument 1777 iwl_trans_pcie_clear_persistence_bit(struct iwl_trans *trans) argument 1808 iwl_pcie_gen2_force_power_gating(struct iwl_trans *trans) argument 1829 _iwl_trans_pcie_start_hw(struct iwl_trans *trans) argument 1877 iwl_trans_pcie_start_hw(struct iwl_trans *trans) argument 1889 iwl_trans_pcie_op_mode_leave(struct iwl_trans *trans) argument 1909 iwl_trans_pcie_write8(struct iwl_trans *trans, u32 ofs, u8 val) argument 1914 iwl_trans_pcie_write32(struct iwl_trans *trans, u32 ofs, u32 val) argument 1919 iwl_trans_pcie_read32(struct iwl_trans *trans, u32 ofs) argument 1924 iwl_trans_pcie_prph_msk(struct iwl_trans *trans) argument 1932 iwl_trans_pcie_read_prph(struct iwl_trans *trans, u32 reg) argument 1941 iwl_trans_pcie_write_prph(struct iwl_trans *trans, u32 addr, u32 val) argument 1951 iwl_trans_pcie_configure(struct iwl_trans *trans, const struct iwl_trans_config *trans_cfg) argument 2023 iwl_pcie_free_invalid_tx_cmd(struct iwl_trans *trans) argument 2028 iwl_pcie_alloc_invalid_tx_cmd(struct iwl_trans *trans) argument 2047 iwl_trans_pcie_free(struct iwl_trans *trans) argument 2090 iwl_trans_pcie_set_pmi(struct iwl_trans *trans, bool state) argument 2139 iwl_trans_pcie_remove(struct iwl_trans *trans, bool rescan) argument 2184 __iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans) argument 2261 iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans) argument 2275 iwl_trans_pcie_release_nic_access(struct iwl_trans *trans) argument 2305 iwl_trans_pcie_read_mem(struct iwl_trans *trans, u32 addr, void *buf, int dwords) argument 2355 iwl_trans_pcie_write_mem(struct iwl_trans *trans, u32 addr, const void *buf, int dwords) argument 2373 iwl_trans_pcie_read_config32(struct iwl_trans *trans, u32 ofs, u32 *val) argument 2382 iwl_trans_pcie_rxq_dma_data(struct iwl_trans *trans, int queue, struct iwl_trans_rxq_dma_data *data) argument 2398 iwl_trans_pcie_wait_txq_empty(struct iwl_trans *trans, int txq_idx) argument 2459 iwl_trans_pcie_wait_txqs_empty(struct iwl_trans *trans, u32 txq_bm) argument 2484 iwl_trans_pcie_set_bits_mask(struct iwl_trans *trans, u32 reg, u32 mask, u32 value) argument 2528 iwl_pcie_dump_csr(struct iwl_trans *trans) argument 2598 struct iwl_trans *trans; member in struct:iwl_dbgfs_tx_queue_priv 2643 struct iwl_trans *trans = priv->trans; local 2691 struct iwl_trans *trans = file->private_data; local 2740 struct iwl_trans *trans = file->private_data; local 2798 struct iwl_trans *trans = file->private_data; local 2817 struct iwl_trans *trans = file->private_data; local 2828 struct iwl_trans *trans = file->private_data; local 2846 struct iwl_trans *trans = file->private_data; local 2863 struct iwl_trans *trans = file->private_data; local 2884 struct iwl_trans *trans = inode->i_private; local 2933 struct iwl_trans *trans = file->private_data; local 3016 struct iwl_trans *trans = file->private_data; local 3049 iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans) argument 3063 iwl_trans_pcie_debugfs_cleanup(struct iwl_trans *trans) argument 3074 iwl_trans_pcie_get_cmdlen(struct iwl_trans *trans, void *tfd) argument 3085 iwl_trans_pcie_dump_rbs(struct iwl_trans *trans, struct iwl_fw_error_dump_data **data, int allocated_rb_nums) argument 3125 iwl_trans_pcie_dump_csr(struct iwl_trans *trans, struct iwl_fw_error_dump_data **data) argument 3144 iwl_trans_pcie_fh_regs_dump(struct iwl_trans *trans, struct iwl_fw_error_dump_data **data) argument 3177 iwl_trans_pci_dump_marbh_monitor(struct iwl_trans *trans, struct iwl_fw_error_dump_fw_mon *fw_mon_data, u32 monitor_len) argument 3200 iwl_trans_pcie_dump_pointers(struct iwl_trans *trans, struct iwl_fw_error_dump_fw_mon *fw_mon_data) argument 3236 iwl_trans_pcie_dump_monitor(struct iwl_trans *trans, struct iwl_fw_error_dump_data **data, u32 monitor_len) argument 3294 iwl_trans_get_fw_monitor_len(struct iwl_trans *trans, u32 *len) argument 3341 iwl_trans_pcie_dump_data(struct iwl_trans *trans, u32 dump_mask, const struct iwl_dump_sanitize_ops *sanitize_ops, void *sanitize_ctx) argument 3491 iwl_trans_pci_interrupts(struct iwl_trans *trans, bool enable) argument 3499 iwl_trans_pcie_sync_nmi(struct iwl_trans *trans) argument 3598 struct iwl_trans *trans; local 3765 iwl_trans_pcie_copy_imr_fh(struct iwl_trans *trans, u32 dst_addr, u64 src_addr, u32 byte_cnt) argument 3783 iwl_trans_pcie_copy_imr(struct iwl_trans *trans, u32 dst_addr, u64 src_addr, u32 byte_cnt) argument [all...] |
H A D | tx.c | 46 int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, argument 52 ptr->addr = dma_alloc_coherent(trans->dev, size, 60 void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr) argument 65 dma_free_coherent(trans->dev, ptr->size, ptr->addr, ptr->dma); 72 static void iwl_pcie_txq_inc_wr_ptr(struct iwl_trans *trans, argument 86 if (!trans->trans_cfg->base_params->shadow_reg_enable && 87 txq_id != trans->txqs.cmd.q_id && 88 test_bit(STATUS_TPOWER_PMI, &trans->status)) { 94 reg = iwl_read32(trans, CSR_UCODE_DRV_GP1); 97 IWL_DEBUG_INFO(trans, "T 116 iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans) argument 135 iwl_pcie_txq_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, dma_addr_t addr, u16 len, bool reset) argument 164 iwl_pcie_clear_cmd_in_flight(struct iwl_trans *trans) argument 187 iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) argument 237 iwl_pcie_txq_free(struct iwl_trans *trans, int txq_id) argument 278 iwl_pcie_tx_start(struct iwl_trans *trans, u32 scd_base_addr) argument 336 iwl_trans_pcie_tx_reset(struct iwl_trans *trans) argument 376 iwl_pcie_tx_stop_fh(struct iwl_trans *trans) argument 409 iwl_pcie_tx_stop(struct iwl_trans *trans) argument 446 iwl_pcie_tx_free(struct iwl_trans *trans) argument 475 iwl_pcie_tx_alloc(struct iwl_trans *trans) argument 546 iwl_pcie_tx_init(struct iwl_trans *trans) argument 612 iwl_pcie_set_cmd_in_flight(struct iwl_trans *trans, const struct iwl_host_cmd *cmd) argument 651 iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx) argument 689 iwl_pcie_txq_set_ratid_map(struct iwl_trans *trans, u16 ra_tid, u16 txq_id) argument 718 iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, u16 ssn, const struct iwl_trans_txq_scd_cfg *cfg, unsigned int wdg_timeout) argument 830 iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id, bool shared_mode) argument 838 iwl_trans_pcie_txq_disable(struct iwl_trans *trans, int txq_id, bool configure_scd) argument 876 iwl_trans_pcie_block_txq_ptrs(struct iwl_trans *trans, bool block) argument 912 iwl_pcie_enqueue_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument 1186 iwl_pcie_hcmd_complete(struct iwl_trans *trans, struct iwl_rx_cmd_buffer *rxb) argument 1257 iwl_fill_data_tbs(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta) argument 1309 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) argument 1440 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) argument 1453 iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int txq_id) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-eeprom-read.c | 36 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) argument 43 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG, 47 ret = iwl_poll_bit(trans, CSR_HW_IF_CONFIG_REG, 52 IWL_DEBUG_EEPROM(trans->dev, 62 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) argument 64 iwl_clear_bit(trans, CSR_HW_IF_CONFIG_REG, 68 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) argument 70 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; 72 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); 77 IWL_ERR(trans, "EEPRO 104 iwl_set_otp_access_absolute(struct iwl_trans *trans) argument 112 iwl_nvm_is_otp(struct iwl_trans *trans) argument 134 iwl_init_otp_access(struct iwl_trans *trans) argument 159 iwl_read_otp_word(struct iwl_trans *trans, u16 addr, __le16 *eeprom_data) argument 201 iwl_is_otp_empty(struct iwl_trans *trans) argument 231 iwl_find_otp_image(struct iwl_trans *trans, u16 *validblockaddr) argument 288 iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) argument [all...] |
H A D | iwl-trans.c | 11 #include "iwl-trans.h" 23 struct iwl_trans *trans; local 28 trans = devm_kzalloc(dev, sizeof(*trans) + priv_size, GFP_KERNEL); 29 if (!trans) 32 trans->trans_cfg = cfg_trans; 35 lockdep_init_map(&trans->sync_cmd_lockdep_map, "sync_cmd_lockdep_map", 39 trans->dev = dev; 40 trans->ops = ops; 41 trans 59 iwl_trans_init(struct iwl_trans *trans) argument 127 iwl_trans_free(struct iwl_trans *trans) argument 146 iwl_trans_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument 212 iwl_get_cmd_string(struct iwl_trans *trans, u32 id) argument 234 iwl_cmd_groups_verify_sorted(const struct iwl_trans_config *trans) argument [all...] |
H A D | iwl-io.h | 9 #include "iwl-trans.h" 11 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 12 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 13 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 14 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 16 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument 18 iwl_trans_set_bits_mask(trans, reg, mask, mask); 21 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument 23 iwl_trans_set_bits_mask(trans, reg, mask, 0); 26 int iwl_poll_bit(struct iwl_trans *trans, u3 42 iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) argument 65 iwl_umac_prph(struct iwl_trans *trans, u32 ofs) argument 70 iwl_read_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs) argument 76 iwl_read_umac_prph(struct iwl_trans *trans, u32 ofs) argument 81 iwl_write_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) argument 88 iwl_write_umac_prph(struct iwl_trans *trans, u32 ofs, u32 val) argument 94 iwl_poll_umac_prph_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) argument [all...] |
H A D | iwl-io.c | 17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) argument 19 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); 20 iwl_trans_write8(trans, ofs, val); 24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) argument 26 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); 27 iwl_trans_write32(trans, ofs, val); 31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) argument 33 trace_iwlwifi_dev_iowrite64(trans->dev, ofs, val); 34 iwl_trans_write32(trans, ofs, lower_32_bits(val)); 35 iwl_trans_write32(trans, of 39 iwl_read32(struct iwl_trans *trans, u32 ofs) argument 50 iwl_poll_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) argument 66 iwl_read_direct32(struct iwl_trans *trans, u32 reg) argument 80 iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) argument 89 iwl_write_direct64(struct iwl_trans *trans, u64 reg, u64 value) argument 98 iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, int timeout) argument 114 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) argument 122 iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) argument 129 iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val) argument 137 iwl_read_prph(struct iwl_trans *trans, u32 ofs) argument 152 iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) argument 162 iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) argument 177 iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) argument 188 iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, u32 bits, u32 mask) argument 200 iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) argument 212 iwl_force_nmi(struct iwl_trans *trans) argument 260 iwl_dump_rfh(struct iwl_trans *trans, char **buf) argument 356 iwl_dump_fh(struct iwl_trans *trans, char **buf) argument 412 iwl_dump_host_monitor_block(struct iwl_trans *trans, u32 block, u32 vec, u32 iter) argument 424 iwl_dump_host_monitor(struct iwl_trans *trans) argument 446 iwl_finish_nic_init(struct iwl_trans *trans) argument 496 iwl_trans_sync_nmi_with_addr(struct iwl_trans *trans, u32 inta_addr, u32 sw_err_bit) argument [all...] |
H A D | iwl-scd.h | 8 #include "iwl-trans.h" 13 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, argument 16 iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id)); 19 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, argument 22 iwl_set_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); 25 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, argument 28 iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); 31 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) argument 33 iwl_set_bits_prph(trans, SCD_AGGR_SEL, 0); 36 static inline void iwl_scd_activate_fifos(struct iwl_trans *trans) argument 41 iwl_scd_deactivate_fifos(struct iwl_trans *trans) argument 46 iwl_scd_enable_set_active(struct iwl_trans *trans, u32 value) argument 76 iwl_scd_txq_set_inactive(struct iwl_trans *trans, u16 txq_id) argument [all...] |
H A D | iwl-trans.h | 63 #define IWL_TRANS_FW_DBG_DOMAIN(trans) IWL_FW_INI_DOMAIN_ALWAYS_ON 116 * trans->system_pm_mode to IWL_PLAT_PM_MODE_D3. 174 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3) 302 * @STATUS_TRANS_GOING_IDLE: shutting down the trans, only special commands 304 * @STATUS_TRANS_IDLE: the trans is idle - general commands are not to be sent 305 * @STATUS_TRANS_DEAD: trans is dead - avoid any read/write operation 564 * of the trans debugfs 579 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw, 581 void (*fw_alive)(struct iwl_trans *trans, u3 981 struct iwl_trans *trans; member in struct:iwl_txq 1188 iwl_trans_configure(struct iwl_trans *trans, const struct iwl_trans_config *trans_cfg) argument 1197 iwl_trans_start_hw(struct iwl_trans *trans) argument 1204 iwl_trans_op_mode_leave(struct iwl_trans *trans) argument 1216 iwl_trans_fw_alive(struct iwl_trans *trans, u32 scd_addr) argument 1225 iwl_trans_start_fw(struct iwl_trans *trans, const struct fw_img *fw, bool run_in_rfkill) argument 1243 iwl_trans_stop_device(struct iwl_trans *trans) argument 1252 iwl_trans_d3_suspend(struct iwl_trans *trans, bool test, bool reset) argument 1262 iwl_trans_d3_resume(struct iwl_trans *trans, enum iwl_d3_status *status, bool test, bool reset) argument 1274 iwl_trans_dump_data(struct iwl_trans *trans, u32 dump_mask, const struct iwl_dump_sanitize_ops *sanitize_ops, void *sanitize_ctx) argument 1285 iwl_trans_alloc_tx_cmd(struct iwl_trans *trans) argument 1292 iwl_trans_free_tx_cmd(struct iwl_trans *trans, struct iwl_device_tx_cmd *dev_cmd) argument 1298 iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int queue) argument 1312 iwl_trans_reclaim(struct iwl_trans *trans, int queue, int ssn, struct sk_buff_head *skbs, bool is_flush) argument 1324 iwl_trans_set_q_ptrs(struct iwl_trans *trans, int queue, int ptr) argument 1335 iwl_trans_txq_disable(struct iwl_trans *trans, int queue, bool configure_scd) argument 1342 iwl_trans_txq_enable_cfg(struct iwl_trans *trans, int queue, u16 ssn, const struct iwl_trans_txq_scd_cfg *cfg, unsigned int queue_wdg_timeout) argument 1358 iwl_trans_get_rxq_dma_data(struct iwl_trans *trans, int queue, struct iwl_trans_rxq_dma_data *data) argument 1368 iwl_trans_txq_free(struct iwl_trans *trans, int queue) argument 1377 iwl_trans_txq_alloc(struct iwl_trans *trans, u32 flags, u32 sta_mask, u8 tid, int size, unsigned int wdg_timeout) argument 1395 iwl_trans_txq_set_shared_mode(struct iwl_trans *trans, int queue, bool shared_mode) argument 1402 iwl_trans_txq_enable(struct iwl_trans *trans, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn, unsigned int queue_wdg_timeout) argument 1419 iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue, int fifo, unsigned int queue_wdg_timeout) argument 1433 iwl_trans_freeze_txq_timer(struct iwl_trans *trans, unsigned long txqs, bool freeze) argument 1446 iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs) argument 1461 iwl_trans_wait_txq_empty(struct iwl_trans *trans, int queue) argument 1474 iwl_trans_write8(struct iwl_trans *trans, u32 ofs, u8 val) argument 1479 iwl_trans_write32(struct iwl_trans *trans, u32 ofs, u32 val) argument 1484 iwl_trans_read32(struct iwl_trans *trans, u32 ofs) argument 1489 iwl_trans_read_prph(struct iwl_trans *trans, u32 ofs) argument 1494 iwl_trans_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) argument 1500 iwl_trans_read_mem(struct iwl_trans *trans, u32 addr, void *buf, int dwords) argument 1513 iwl_trans_write_imr_mem(struct iwl_trans *trans, u32 dst_addr, u64 src_addr, u32 byte_cnt) argument 1522 iwl_trans_read_mem32(struct iwl_trans *trans, u32 addr) argument 1532 iwl_trans_write_mem(struct iwl_trans *trans, u32 addr, const void *buf, int dwords) argument 1538 iwl_trans_write_mem32(struct iwl_trans *trans, u32 addr, u32 val) argument 1544 iwl_trans_set_pmi(struct iwl_trans *trans, bool state) argument 1550 iwl_trans_sw_reset(struct iwl_trans *trans, bool retake_ownership) argument 1559 iwl_trans_set_bits_mask(struct iwl_trans *trans, u32 reg, u32 mask, u32 value) argument 1569 iwl_trans_release_nic_access(struct iwl_trans *trans) argument 1575 iwl_trans_fw_error(struct iwl_trans *trans, bool sync) argument 1587 iwl_trans_fw_running(struct iwl_trans *trans) argument 1592 iwl_trans_sync_nmi(struct iwl_trans *trans) argument 1601 iwl_trans_load_pnvm(struct iwl_trans *trans, const struct iwl_pnvm_image *pnvm_data, const struct iwl_ucode_capabilities *capa) argument 1608 iwl_trans_set_pnvm(struct iwl_trans *trans, const struct iwl_ucode_capabilities *capa) argument 1615 iwl_trans_load_reduce_power(struct iwl_trans *trans, const struct iwl_pnvm_image *payloads, const struct iwl_ucode_capabilities *capa) argument 1624 iwl_trans_set_reduce_power(struct iwl_trans *trans, const struct iwl_ucode_capabilities *capa) argument 1631 iwl_trans_dbg_ini_valid(struct iwl_trans *trans) argument 1637 iwl_trans_interrupts(struct iwl_trans *trans, bool enable) argument [all...] |
H A D | iwl-eeprom-read.h | 8 #include "iwl-trans.h" 10 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | pnvm.c | 25 struct iwl_trans *trans = (struct iwl_trans *)data; local 28 IWL_DEBUG_FW(trans, 35 static int iwl_pnvm_handle_section(struct iwl_trans *trans, const u8 *data, argument 44 IWL_DEBUG_FW(trans, "Handling PNVM section\n"); 58 IWL_ERR(trans, "invalid TLV len: %zd/%u\n", 68 IWL_DEBUG_FW(trans, 76 IWL_DEBUG_FW(trans, 83 IWL_DEBUG_FW(trans, 95 IWL_DEBUG_FW(trans, 99 if (mac_type == CSR_HW_REV_TYPE(trans 168 iwl_pnvm_parse(struct iwl_trans *trans, const u8 *data, size_t len, struct iwl_pnvm_image *pnvm_data) argument 238 iwl_pnvm_get_from_fs(struct iwl_trans *trans, u8 **data, size_t *len) argument 297 iwl_pnvm_load_pnvm_to_trans(struct iwl_trans *trans, const struct iwl_ucode_capabilities *capa) argument 341 iwl_pnvm_load_reduce_power_to_trans(struct iwl_trans *trans, const struct iwl_ucode_capabilities *capa) argument 387 iwl_pnvm_load(struct iwl_trans *trans, struct iwl_notif_wait_data *notif_wait, const struct iwl_ucode_capabilities *capa) argument [all...] |
H A D | pnvm.h | 15 int iwl_pnvm_load(struct iwl_trans *trans, 20 void iwl_pnvm_get_fs_name(struct iwl_trans *trans, argument 26 iwl_drv_get_fwname_pre(trans, _fw_name_pre));
|
/linux-master/fs/bcachefs/ |
H A D | btree_trans_commit.c | 22 static void verify_update_old_key(struct btree_trans *trans, struct btree_insert_entry *i) argument 25 struct bch_fs *c = trans->c; 27 struct bkey_s_c k = bch2_btree_path_peek_slot_exact(trans->paths + i->path, &u); 29 if (unlikely(trans->journal_replay_not_finished)) { 45 static inline struct btree_path_level *insert_l(struct btree_trans *trans, struct btree_insert_entry *i) argument 47 return (trans->paths + i->path)->l + i->level; 50 static inline bool same_leaf_as_prev(struct btree_trans *trans, argument 53 return i != trans->updates && 54 insert_l(trans, &i[0])->b == insert_l(trans, 57 same_leaf_as_next(struct btree_trans *trans, struct btree_insert_entry *i) argument 64 bch2_btree_node_prep_for_write(struct btree_trans *trans, struct btree_path *path, struct btree *b) argument 82 trans_lock_write_fail(struct btree_trans *trans, struct btree_insert_entry *i) argument 95 bch2_trans_lock_write(struct btree_trans *trans) argument 114 bch2_trans_unlock_write(struct btree_trans *trans) argument 128 bch2_btree_bset_insert_key(struct btree_trans *trans, struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bkey_i *insert) argument 209 struct btree_trans *trans = bch2_trans_get(c); local 264 bch2_btree_insert_key_leaf(struct btree_trans *trans, struct btree_path *path, struct bkey_i *insert, u64 journal_seq) argument 307 btree_insert_entry_checks(struct btree_trans *trans, struct btree_insert_entry *i) argument 324 bch2_trans_journal_res_get(struct btree_trans *trans, unsigned flags) argument 333 journal_transaction_name(struct btree_trans *trans) argument 347 btree_key_can_insert(struct btree_trans *trans, struct btree *b, unsigned u64s) argument 357 btree_key_can_insert_cached_slowpath(struct btree_trans *trans, unsigned flags, struct btree_path *path, unsigned new_u64s) argument 393 btree_key_can_insert_cached(struct btree_trans *trans, unsigned flags, struct btree_path *path, unsigned u64s) argument 434 run_one_mem_trigger(struct btree_trans *trans, struct btree_insert_entry *i, unsigned flags) argument 463 run_one_trans_trigger(struct btree_trans *trans, struct btree_insert_entry *i, bool overwrite) argument 502 run_btree_triggers(struct btree_trans *trans, enum btree_id btree_id, unsigned btree_id_start) argument 535 bch2_trans_commit_run_triggers(struct btree_trans *trans) argument 582 bch2_trans_commit_run_gc_triggers(struct btree_trans *trans) argument 603 bch2_trans_commit_write_locked(struct btree_trans *trans, unsigned flags, struct btree_insert_entry **stopped_at, unsigned long trace_ip) argument 762 bch2_drop_overwrites_from_journal(struct btree_trans *trans) argument 768 bch2_trans_commit_bkey_invalid(struct btree_trans *trans, enum bkey_invalid_flags flags, struct btree_insert_entry *i, struct printbuf *err) argument 793 bch2_trans_commit_journal_entry_invalid(struct btree_trans *trans, struct jset_entry *i) argument 823 do_bch2_trans_commit(struct btree_trans *trans, unsigned flags, struct btree_insert_entry **stopped_at, unsigned long trace_ip) argument 887 bch2_trans_commit_error(struct btree_trans *trans, unsigned flags, struct btree_insert_entry *i, int ret, unsigned long trace_ip) argument 948 bch2_trans_commit_get_rw_cold(struct btree_trans *trans, unsigned flags) argument 971 do_bch2_trans_commit_to_journal_replay(struct btree_trans *trans) argument 985 __bch2_trans_commit(struct btree_trans *trans, unsigned flags) argument [all...] |
H A D | logged_ops.c | 33 static int resume_logged_op(struct btree_trans *trans, struct btree_iter *iter, argument 36 struct bch_fs *c = trans->c; 39 u32 restart_count = trans->restart_count; 47 fn->resume(trans, sk.k); 51 return trans_was_restarted(trans, restart_count); 57 for_each_btree_key(trans, iter, 60 resume_logged_op(trans, &iter, k))); 65 static int __bch2_logged_op_start(struct btree_trans *trans, struct bkey_i *k) argument 70 ret = bch2_bkey_get_empty_slot(trans, &iter, BTREE_ID_logged_ops, POS_MAX); 76 ret = bch2_trans_update(trans, 81 bch2_logged_op_start(struct btree_trans *trans, struct bkey_i *k) argument 87 bch2_logged_op_finish(struct btree_trans *trans, struct bkey_i *k) argument [all...] |
H A D | btree_iter.c | 121 static void bch2_btree_path_verify_cached(struct btree_trans *trans, argument 127 if (!bch2_btree_node_relock(trans, path, 0)) 135 btree_node_unlock(trans, path, 0); 138 static void bch2_btree_path_verify_level(struct btree_trans *trans, argument 159 bch2_btree_path_verify_cached(trans, path); 166 if (!bch2_btree_node_relock_notrace(trans, path, level)) 192 btree_node_unlock(trans, path, level); 220 static void bch2_btree_path_verify(struct btree_trans *trans, argument 223 struct bch_fs *c = trans->c; 235 bch2_btree_path_verify_level(trans, pat 241 bch2_trans_verify_paths(struct btree_trans *trans) argument 252 struct btree_trans *trans = iter->trans; local 284 struct btree_trans *trans = iter->trans; local 332 bch2_assert_pos_locked(struct btree_trans *trans, enum btree_id id, struct bpos pos, bool key_cache) argument 374 bch2_btree_path_verify_level(struct btree_trans *trans, struct btree_path *path, unsigned l) argument 376 bch2_btree_path_verify(struct btree_trans *trans, struct btree_path *path) argument 416 bch2_btree_path_fix_key_modified(struct btree_trans *trans, struct btree *b, struct bkey_packed *where) argument 520 bch2_btree_node_iter_fix(struct btree_trans *trans, struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument 575 btree_path_level_peek(struct btree_trans *trans, struct btree_path *path, struct btree_path_level *l, struct bkey *u) argument 589 btree_path_level_prev(struct btree_trans *trans, struct btree_path *path, struct btree_path_level *l, struct bkey *u) argument 637 bch2_btree_path_level_init(struct btree_trans *trans, struct btree_path *path, struct btree *b) argument 652 bch2_trans_revalidate_updates_in_node(struct btree_trans *trans, struct btree *b) argument 681 bch2_trans_node_add(struct btree_trans *trans, struct btree_path *path, struct btree *b) argument 716 bch2_trans_node_reinit_iter(struct btree_trans *trans, struct btree *b) argument 729 btree_path_lock_root(struct btree_trans *trans, struct btree_path *path, unsigned depth_want, unsigned long trace_ip) argument 790 btree_path_prefetch(struct btree_trans *trans, struct btree_path *path) argument 826 btree_path_prefetch_j(struct btree_trans *trans, struct btree_path *path, struct btree_and_journal_iter *jiter) argument 861 btree_node_mem_ptr_set(struct btree_trans *trans, struct btree_path *path, unsigned plevel, struct btree *b) argument 883 btree_node_iter_and_journal_peek(struct btree_trans *trans, struct btree_path *path, unsigned flags, struct bkey_buf *out) argument 908 btree_path_down(struct btree_trans *trans, struct btree_path *path, unsigned flags, unsigned long trace_ip) argument 979 bch2_btree_path_traverse_all(struct btree_trans *trans) argument 1063 btree_path_good_node(struct btree_trans *trans, struct btree_path *path, unsigned l, int check_pos) argument 1072 btree_path_set_level_down(struct btree_trans *trans, struct btree_path *path, unsigned new_level) argument 1088 __btree_path_up_until_good_node(struct btree_trans *trans, struct btree_path *path, int check_pos) argument 1111 btree_path_up_until_good_node(struct btree_trans *trans, struct btree_path *path, int check_pos) argument 1130 bch2_btree_path_traverse_one(struct btree_trans *trans, btree_path_idx_t path_idx, unsigned flags, unsigned long trace_ip) argument 1206 btree_path_copy(struct btree_trans *trans, struct btree_path *dst, struct btree_path *src) argument 1223 btree_path_clone(struct btree_trans *trans, btree_path_idx_t src, bool intent) argument 1233 __bch2_btree_path_make_mut(struct btree_trans *trans, btree_path_idx_t path, bool intent, unsigned long ip) argument 1243 __bch2_btree_path_set_pos(struct btree_trans *trans, btree_path_idx_t path_idx, struct bpos new_pos, bool intent, unsigned long ip) argument 1300 have_path_at_pos(struct btree_trans *trans, struct btree_path *path) argument 1315 have_node_at_pos(struct btree_trans *trans, struct btree_path *path) argument 1330 __bch2_path_free(struct btree_trans *trans, btree_path_idx_t path) argument 1337 bch2_path_put(struct btree_trans *trans, btree_path_idx_t path_idx, bool intent) argument 1364 bch2_path_put_nokeep(struct btree_trans *trans, btree_path_idx_t path, bool intent) argument 1373 bch2_trans_restart_error(struct btree_trans *trans, u32 restart_count) argument 1380 bch2_trans_in_restart_error(struct btree_trans *trans) argument 1388 bch2_trans_updates_to_text(struct printbuf *buf, struct btree_trans *trans) argument 1422 bch2_dump_trans_updates(struct btree_trans *trans) argument 1431 bch2_btree_path_to_text(struct printbuf *out, struct btree_trans *trans, btree_path_idx_t path_idx) argument 1451 __bch2_trans_paths_to_text(struct printbuf *out, struct btree_trans *trans, bool nosort) argument 1464 bch2_trans_paths_to_text(struct printbuf *out, struct btree_trans *trans) argument 1470 __bch2_dump_trans_paths_updates(struct btree_trans *trans, bool nosort) argument 1482 bch2_dump_trans_paths_updates(struct btree_trans *trans) argument 1488 bch2_trans_update_max_paths(struct btree_trans *trans) argument 1511 __bch2_btree_trans_too_many_iters(struct btree_trans *trans) argument 1526 btree_path_overflow(struct btree_trans *trans) argument 1532 btree_paths_realloc(struct btree_trans *trans) argument 1572 btree_path_alloc(struct btree_trans *trans, btree_path_idx_t pos) argument 1605 bch2_path_get(struct btree_trans *trans, enum btree_id btree_id, struct bpos pos, unsigned locks_want, unsigned level, unsigned flags, unsigned long ip) argument 1733 struct btree_trans *trans = iter->trans; local 1755 struct btree_trans *trans = iter->trans; local 1803 struct btree_trans *trans = iter->trans; local 1905 bch2_btree_trans_peek_prev_updates(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c *k) argument 1921 bch2_btree_trans_peek_updates(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c *k) argument 1938 bch2_btree_trans_peek_slot_updates(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c *k) argument 1950 bch2_btree_journal_peek(struct btree_trans *trans, struct btree_iter *iter, struct bpos end_pos) argument 1964 btree_trans_peek_slot_journal(struct btree_trans *trans, struct btree_iter *iter) argument 1979 btree_trans_peek_journal(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c k) argument 2003 struct btree_trans *trans = iter->trans; local 2045 struct btree_trans *trans = iter->trans; local 2141 struct btree_trans *trans = iter->trans; local 2311 struct btree_trans *trans = iter->trans; local 2450 struct btree_trans *trans = iter->trans; local 2601 btree_trans_verify_sorted_refs(struct btree_trans *trans) argument 2621 btree_trans_verify_sorted(struct btree_trans *trans) argument 2638 btree_trans_verify_sorted_refs(struct btree_trans *trans) argument 2639 btree_trans_verify_sorted(struct btree_trans *trans) argument 2642 __bch2_btree_trans_sort_paths(struct btree_trans *trans) argument 2683 btree_path_list_remove(struct btree_trans *trans, struct btree_path *path) argument 2700 btree_path_list_add(struct btree_trans *trans, btree_path_idx_t pos, btree_path_idx_t path_idx) argument 2725 bch2_trans_iter_exit(struct btree_trans *trans, struct btree_iter *iter) argument 2742 bch2_trans_iter_init_outlined(struct btree_trans *trans, struct btree_iter *iter, enum btree_id btree_id, struct bpos pos, unsigned flags) argument 2752 bch2_trans_node_iter_init(struct btree_trans *trans, struct btree_iter *iter, enum btree_id btree_id, struct bpos pos, unsigned locks_want, unsigned depth, unsigned flags) argument 2778 struct btree_trans *trans = src->trans; local 2791 __bch2_trans_kmalloc(struct btree_trans *trans, size_t size) argument 2869 check_srcu_held_too_long(struct btree_trans *trans) argument 2876 bch2_trans_srcu_unlock(struct btree_trans *trans) argument 2893 bch2_trans_srcu_lock(struct btree_trans *trans) argument 2912 bch2_trans_begin(struct btree_trans *trans) argument 2992 struct btree_trans *trans; variable in typeref:struct:btree_trans 3075 check_btree_paths_leaked(struct btree_trans *trans) argument 3103 bch2_trans_unlock(trans); variable 3110 check_btree_paths_leaked(trans); variable 3113 check_srcu_held_too_long(trans); variable 3179 bch2_btree_trans_to_text(struct printbuf *out, struct btree_trans *trans) argument 3248 struct btree_trans *trans; local 3253 struct btree_trans *trans = local [all...] |
/linux-master/fs/btrfs/ |
H A D | tree-log.h | 62 static inline void btrfs_set_log_full_commit(struct btrfs_trans_handle *trans) argument 64 WRITE_ONCE(trans->fs_info->last_trans_log_full_commit, trans->transid); 67 static inline int btrfs_need_log_full_commit(struct btrfs_trans_handle *trans) argument 69 return READ_ONCE(trans->fs_info->last_trans_log_full_commit) == 70 trans->transid; 73 int btrfs_sync_log(struct btrfs_trans_handle *trans, 75 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); 76 int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans, 79 int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, [all...] |
/linux-master/drivers/net/ipa/ |
H A D | gsi_private.h | 21 * @trans: Transaction whose state is to be updated 23 void gsi_trans_move_complete(struct gsi_trans *trans); 27 * @trans: Transaction whose state is to be updated 29 void gsi_trans_move_polled(struct gsi_trans *trans); 33 * @trans: Transaction to complete 37 void gsi_trans_complete(struct gsi_trans *trans); 114 * @trans: TX endpoint transaction being committed 119 void gsi_trans_tx_committed(struct gsi_trans *trans); 123 * @trans: Transaction being passed to hardware 128 void gsi_trans_tx_queued(struct gsi_trans *trans); [all...] |
H A D | gsi_trans.c | 219 static void gsi_trans_map(struct gsi_trans *trans, u32 index) argument 221 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; 224 index += trans->used_count - 1; 227 channel->trans_info.map[index % channel->tre_ring.count] = trans; 250 return &trans_info->trans[trans_id %= channel->tre_count]; 254 static void gsi_trans_move_committed(struct gsi_trans *trans) argument 256 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; 264 static void gsi_trans_move_pending(struct gsi_trans *trans) argument 277 gsi_trans_move_complete(struct gsi_trans *trans) argument 291 gsi_trans_move_polled(struct gsi_trans *trans) argument 341 struct gsi_trans *trans; local 377 gsi_trans_free(struct gsi_trans *trans) argument 407 gsi_trans_cmd_add(struct gsi_trans *trans, void *buf, u32 size, dma_addr_t addr, enum ipa_cmd_opcode opcode) argument 438 gsi_trans_page_add(struct gsi_trans *trans, struct page *page, u32 size, u32 offset) argument 460 gsi_trans_skb_add(struct gsi_trans *trans, struct sk_buff *skb) argument 545 __gsi_trans_commit(struct gsi_trans *trans, bool ring_db) argument 604 gsi_trans_commit(struct gsi_trans *trans, bool ring_db) argument 613 gsi_trans_commit_wait(struct gsi_trans *trans) argument 629 gsi_trans_complete(struct gsi_trans *trans) argument 657 struct gsi_trans *trans; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.h | 27 void iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id); 29 static inline void iwl_wake_queue(struct iwl_trans *trans, argument 32 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { 33 IWL_DEBUG_TX_QUEUES(trans, "Wake hwq %d\n", txq->id); 34 iwl_op_mode_queue_not_full(trans->op_mode, txq->id); 38 static inline void *iwl_txq_get_tfd(struct iwl_trans *trans, argument 41 if (trans->trans_cfg->gen2) 44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; 47 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, 59 int iwl_txq_space(struct iwl_trans *trans, cons 61 iwl_txq_stop(struct iwl_trans *trans, struct iwl_txq *txq) argument 77 iwl_txq_inc_wrap(struct iwl_trans *trans, int index) argument 88 iwl_txq_dec_wrap(struct iwl_trans *trans, int index) argument 135 iwl_txq_gen1_tfd_get_num_tbs(struct iwl_trans *trans, struct iwl_tfd *tfd) argument 141 iwl_txq_gen1_tfd_tb_get_len(struct iwl_trans *trans, void *_tfd, u8 idx) argument 160 iwl_pcie_gen1_tfd_set_tb(struct iwl_trans *trans, struct iwl_tfd *tfd, u8 idx, dma_addr_t addr, u16 len) argument [all...] |
H A D | tx.c | 22 static void iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, argument 46 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { 50 WARN_ON(trans->txqs.bc_table_dword); 58 WARN_ON(!trans->txqs.bc_table_dword); 69 void iwl_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq) argument 73 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq->id, txq->write_ptr); 79 iwl_write32(trans, HBUS_TARG_WRPTR, txq->write_ptr | (txq->id << 16)); 82 static u8 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, argument 88 int iwl_txq_gen2_set_tb(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd, argument 91 int idx = iwl_txq_gen2_get_num_tbs(trans, tf 123 iwl_txq_set_tfd_invalid_gen2(struct iwl_trans *trans, struct iwl_tfh_tfd *tfd) argument 132 iwl_txq_gen2_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, struct iwl_tfh_tfd *tfd) argument 162 iwl_txq_gen2_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) argument 190 get_workaround_page(struct iwl_trans *trans, struct sk_buff *skb) argument 215 iwl_txq_gen2_set_tb_with_wa(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, dma_addr_t phys, void *virt, u16 len, struct iwl_cmd_meta *meta) argument 292 get_page_hdr(struct iwl_trans *trans, size_t len, struct sk_buff *skb) argument 337 iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, int start_len, u8 hdr_len, struct iwl_device_tx_cmd *dev_cmd) argument 465 iwl_txq_gen2_build_tx_amsdu(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len) argument 523 iwl_txq_gen2_tx_add_frags(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, struct iwl_cmd_meta *out_meta) argument 552 iwl_txq_gen2_build_tx(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len, bool pad) argument 647 iwl_txq_gen2_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta) argument 694 iwl_txq_space(struct iwl_trans *trans, const struct iwl_txq *q) argument 723 iwl_txq_gen2_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int txq_id) argument 820 iwl_txq_gen2_unmap(struct iwl_trans *trans, int txq_id) argument 852 iwl_txq_gen2_free_memory(struct iwl_trans *trans, struct iwl_txq *txq) argument 882 iwl_txq_gen2_free(struct iwl_trans *trans, int txq_id) argument 939 iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, bool cmd_queue) argument 973 iwl_txq_free_tso_page(struct iwl_trans *trans, struct sk_buff *skb) argument 991 iwl_txq_log_scd_error(struct iwl_trans *trans, struct iwl_txq *txq) argument 1024 struct iwl_trans *trans = txq->trans; local 1039 iwl_txq_set_tfd_invalid_gen1(struct iwl_trans *trans, struct iwl_tfd *tfd) argument 1048 iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, bool cmd_queue) argument 1127 iwl_txq_dyn_alloc_dma(struct iwl_trans *trans, int size, unsigned int timeout) argument 1173 iwl_txq_alloc_response(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_host_cmd *hcmd) argument 1227 iwl_txq_dyn_alloc(struct iwl_trans *trans, u32 flags, u32 sta_mask, u8 tid, int size, unsigned int timeout) argument 1294 iwl_txq_dyn_free(struct iwl_trans *trans, int queue) argument 1317 iwl_txq_gen2_tx_free(struct iwl_trans *trans) argument 1332 iwl_txq_gen2_init(struct iwl_trans *trans, int txq_id, int queue_size) argument 1370 iwl_txq_gen1_tfd_tb_get_addr(struct iwl_trans *trans, struct iwl_tfd *tfd, u8 idx) argument 1392 iwl_txq_gen1_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, struct iwl_txq *txq, int index) argument 1438 iwl_txq_gen1_update_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_txq *txq, u16 byte_cnt, int num_tbs) argument 1482 iwl_txq_gen1_inval_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_txq *txq) argument 1516 iwl_txq_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) argument 1578 iwl_txq_reclaim(struct iwl_trans *trans, int txq_id, int ssn, struct sk_buff_head *skbs, bool is_flush) argument 1705 iwl_txq_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr) argument 1717 iwl_trans_txq_freeze_timer(struct iwl_trans *trans, unsigned long txqs, bool freeze) argument 1771 iwl_trans_txq_send_hcmd_sync(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument 1861 iwl_trans_txq_send_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_hdcp_regs.h | 84 #define TRANS_HDCP_CONF(trans) _MMIO_TRANS(trans, _TRANSA_HDCP_CONF, \ 86 #define HDCP_CONF(dev_priv, trans, port) \ 88 TRANS_HDCP_CONF(trans) : \ 96 #define TRANS_HDCP_ANINIT(trans) _MMIO_TRANS(trans, \ 99 #define HDCP_ANINIT(dev_priv, trans, port) \ 101 TRANS_HDCP_ANINIT(trans) : \ 107 #define TRANS_HDCP_ANLO(trans) _MMIO_TRANS(trans, _TRANSA_HDCP_ANL [all...] |