/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans-gen2.c | 20 int iwl_pcie_gen2_apm_init(struct iwl_trans *trans) in iwl_pcie_gen2_apm_init() argument 24 IWL_DEBUG_INFO(trans, "Init card's basic functions\n"); in iwl_pcie_gen2_apm_init() 35 iwl_set_bit(trans, CSR_GIO_CHICKEN_BITS, in iwl_pcie_gen2_apm_init() 39 iwl_set_bit(trans, CSR_DBG_HPET_MEM_REG, CSR_DBG_HPET_MEM_REG_VAL); in iwl_pcie_gen2_apm_init() 45 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_pcie_gen2_apm_init() 48 iwl_pcie_apm_config(trans); in iwl_pcie_gen2_apm_init() 50 ret = iwl_finish_nic_init(trans); in iwl_pcie_gen2_apm_init() 54 set_bit(STATUS_DEVICE_ENABLED, &trans->status); in iwl_pcie_gen2_apm_init() 59 static void iwl_pcie_gen2_apm_stop(struct iwl_trans *trans, bool op_mode_leave) in iwl_pcie_gen2_apm_stop() argument 61 IWL_DEBUG_INFO(trans, "Stop card, put in low power state\n"); in iwl_pcie_gen2_apm_stop() [all …]
|
D | trans.c | 36 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans) in iwl_trans_pcie_dump_regs() argument 42 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_dump_regs() 66 IWL_ERR(trans, "iwlwifi transaction failed, dumping registers\n"); in iwl_trans_pcie_dump_regs() 70 IWL_ERR(trans, "iwlwifi device config registers:\n"); in iwl_trans_pcie_dump_regs() 76 IWL_ERR(trans, "iwlwifi device memory mapped registers:\n"); in iwl_trans_pcie_dump_regs() 78 *ptr = iwl_read32(trans, i); in iwl_trans_pcie_dump_regs() 83 IWL_ERR(trans, "iwlwifi device AER capability structure:\n"); in iwl_trans_pcie_dump_regs() 98 IWL_ERR(trans, "iwlwifi parent port (%s) config registers:\n", in iwl_trans_pcie_dump_regs() 111 IWL_ERR(trans, "iwlwifi root port (%s) AER cap structure:\n", in iwl_trans_pcie_dump_regs() 124 IWL_ERR(trans, "Read failed at 0x%X\n", i); in iwl_trans_pcie_dump_regs() [all …]
|
D | tx.c | 46 int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, in iwl_pcie_alloc_dma_ptr() argument 52 ptr->addr = dma_alloc_coherent(trans->dev, size, in iwl_pcie_alloc_dma_ptr() 60 void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr) in iwl_pcie_free_dma_ptr() argument 65 dma_free_coherent(trans->dev, ptr->size, ptr->addr, ptr->dma); in iwl_pcie_free_dma_ptr() 72 static void iwl_pcie_txq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_txq_inc_wr_ptr() argument 86 if (!trans->trans_cfg->base_params->shadow_reg_enable && in iwl_pcie_txq_inc_wr_ptr() 87 txq_id != trans->txqs.cmd.q_id && in iwl_pcie_txq_inc_wr_ptr() 88 test_bit(STATUS_TPOWER_PMI, &trans->status)) { in iwl_pcie_txq_inc_wr_ptr() 94 reg = iwl_read32(trans, CSR_UCODE_DRV_GP1); in iwl_pcie_txq_inc_wr_ptr() 97 IWL_DEBUG_INFO(trans, "Tx queue %d requesting wakeup, GP1 = 0x%x\n", in iwl_pcie_txq_inc_wr_ptr() [all …]
|
D | internal.h | 192 static inline __le16 iwl_get_closed_rb_stts(struct iwl_trans *trans, in iwl_get_closed_rb_stts() argument 195 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_get_closed_rb_stts() 364 struct iwl_trans *trans; member 447 IWL_TRANS_GET_PCIE_TRANS(struct iwl_trans *trans) in IWL_TRANS_GET_PCIE_TRANS() argument 449 return (void *)trans->trans_specific; in IWL_TRANS_GET_PCIE_TRANS() 452 static inline void iwl_pcie_clear_irq(struct iwl_trans *trans, int queue) in iwl_pcie_clear_irq() argument 462 iwl_write32(trans, CSR_MSIX_AUTOMASK_ST_AD, BIT(queue)); in iwl_pcie_clear_irq() 480 void iwl_trans_pcie_free(struct iwl_trans *trans); 482 bool __iwl_trans_pcie_grab_nic_access(struct iwl_trans *trans); 483 #define _iwl_trans_pcie_grab_nic_access(trans) \ argument [all …]
|
D | rx.c | 144 int iwl_pcie_rx_stop(struct iwl_trans *trans) in iwl_pcie_rx_stop() argument 146 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_pcie_rx_stop() 148 iwl_write_umac_prph(trans, RFH_RXF_DMA_CFG_GEN3, 0); in iwl_pcie_rx_stop() 149 return iwl_poll_umac_prph_bit(trans, RFH_GEN_STATUS_GEN3, in iwl_pcie_rx_stop() 151 } else if (trans->trans_cfg->mq_rx_supported) { in iwl_pcie_rx_stop() 152 iwl_write_prph(trans, RFH_RXF_DMA_CFG, 0); in iwl_pcie_rx_stop() 153 return iwl_poll_prph_bit(trans, RFH_GEN_STATUS, in iwl_pcie_rx_stop() 156 iwl_write_direct32(trans, FH_MEM_RCSR_CHNL0_CONFIG_REG, 0); in iwl_pcie_rx_stop() 157 return iwl_poll_direct_bit(trans, FH_MEM_RSSR_RX_STATUS_REG, in iwl_pcie_rx_stop() 166 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, in iwl_pcie_rxq_inc_wr_ptr() argument [all …]
|
D | ctxt-info-gen3.c | 12 iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dbg_enable() argument 20 if (!iwl_trans_dbg_ini_valid(trans)) { in iwl_pcie_ctxt_info_dbg_enable() 21 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_ctxt_info_dbg_enable() 23 iwl_pcie_alloc_fw_monitor(trans, 0); in iwl_pcie_ctxt_info_dbg_enable() 28 IWL_DEBUG_FW(trans, in iwl_pcie_ctxt_info_dbg_enable() 38 fw_mon_cfg = &trans->dbg.fw_mon_cfg[alloc_id]; in iwl_pcie_ctxt_info_dbg_enable() 43 IWL_DEBUG_FW(trans, in iwl_pcie_ctxt_info_dbg_enable() 49 IWL_DEBUG_FW(trans, in iwl_pcie_ctxt_info_dbg_enable() 54 if (trans->dbg.fw_mon_ini[alloc_id].num_frags) { in iwl_pcie_ctxt_info_dbg_enable() 56 &trans->dbg.fw_mon_ini[alloc_id].frags[0]; in iwl_pcie_ctxt_info_dbg_enable() [all …]
|
D | ctxt-info.c | 12 static void *_iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans, in _iwl_pcie_ctxt_info_dma_alloc_coherent() argument 23 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent() 32 result = _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, in _iwl_pcie_ctxt_info_dma_alloc_coherent() 35 dma_free_coherent(trans->dev, size, old, oldphys); in _iwl_pcie_ctxt_info_dma_alloc_coherent() 41 static void *iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dma_alloc_coherent() argument 45 return _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, phys, 0); in iwl_pcie_ctxt_info_dma_alloc_coherent() 48 int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans, in iwl_pcie_ctxt_info_alloc_dma() argument 52 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, in iwl_pcie_ctxt_info_alloc_dma() 63 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free_paging() argument 65 struct iwl_self_init_dram *dram = &trans->init_dram; in iwl_pcie_ctxt_info_free_paging() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 59 #define IWL_TRANS_FW_DBG_DOMAIN(trans) IWL_FW_INI_DOMAIN_ALWAYS_ON argument 170 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3) argument 552 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw, 554 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr); 555 void (*stop_device)(struct iwl_trans *trans); 557 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset); 558 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status, 561 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd); 563 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb, 565 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn, [all …]
|
D | iwl-trans.c | 23 struct iwl_trans *trans; in iwl_trans_alloc() local 28 trans = devm_kzalloc(dev, sizeof(*trans) + priv_size, GFP_KERNEL); in iwl_trans_alloc() 29 if (!trans) in iwl_trans_alloc() 32 trans->trans_cfg = cfg_trans; in iwl_trans_alloc() 35 lockdep_init_map(&trans->sync_cmd_lockdep_map, "sync_cmd_lockdep_map", in iwl_trans_alloc() 39 trans->dev = dev; in iwl_trans_alloc() 40 trans->ops = ops; in iwl_trans_alloc() 41 trans->num_rx_queues = 1; in iwl_trans_alloc() 45 if (trans->trans_cfg->use_tfh) { in iwl_trans_alloc() 46 trans->txqs.tfd.addr_size = 64; in iwl_trans_alloc() [all …]
|
D | iwl-io.c | 17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() argument 19 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8() 20 iwl_trans_write8(trans, ofs, val); in iwl_write8() 24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() argument 26 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); in iwl_write32() 27 iwl_trans_write32(trans, ofs, val); in iwl_write32() 31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() argument 33 trace_iwlwifi_dev_iowrite64(trans->dev, ofs, val); in iwl_write64() 34 iwl_trans_write32(trans, ofs, lower_32_bits(val)); in iwl_write64() 35 iwl_trans_write32(trans, ofs + 4, upper_32_bits(val)); in iwl_write64() [all …]
|
D | iwl-eeprom-read.c | 36 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore() argument 43 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_acquire_semaphore() 47 ret = iwl_poll_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_acquire_semaphore() 52 IWL_DEBUG_EEPROM(trans->dev, in iwl_eeprom_acquire_semaphore() 62 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore() argument 64 iwl_clear_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_release_semaphore() 68 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) in iwl_eeprom_verify_signature() argument 70 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in iwl_eeprom_verify_signature() 72 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); in iwl_eeprom_verify_signature() 77 IWL_ERR(trans, "EEPROM with bad signature: 0x%08x\n", in iwl_eeprom_verify_signature() [all …]
|
D | iwl-io.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) in iwl_set_bit() argument 18 iwl_trans_set_bits_mask(trans, reg, mask, mask); in iwl_set_bit() 21 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_clear_bit() argument 23 iwl_trans_set_bits_mask(trans, reg, mask, 0); in iwl_clear_bit() 26 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, 28 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, [all …]
|
D | iwl-scd.h | 13 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, in iwl_scd_txq_set_chain() argument 16 iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id)); in iwl_scd_txq_set_chain() 19 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, in iwl_scd_txq_enable_agg() argument 22 iwl_set_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); in iwl_scd_txq_enable_agg() 25 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, in iwl_scd_txq_disable_agg() argument 28 iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); in iwl_scd_txq_disable_agg() 31 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) in iwl_scd_disable_agg() argument 33 iwl_set_bits_prph(trans, SCD_AGGR_SEL, 0); in iwl_scd_disable_agg() 36 static inline void iwl_scd_activate_fifos(struct iwl_trans *trans) in iwl_scd_activate_fifos() argument 38 iwl_write_prph(trans, SCD_TXFACT, IWL_MASK(0, 7)); in iwl_scd_activate_fifos() [all …]
|
D | iwl-dbg-tlv.c | 98 static int iwl_dbg_tlv_alloc_debug_info(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_debug_info() argument 106 IWL_DEBUG_FW(trans, "WRT: Loading debug cfg: %s\n", in iwl_dbg_tlv_alloc_debug_info() 109 return iwl_dbg_tlv_add(tlv, &trans->dbg.debug_info_tlv_list); in iwl_dbg_tlv_alloc_debug_info() 112 static int iwl_dbg_tlv_alloc_buf_alloc(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_buf_alloc() argument 141 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc() 145 IWL_ERR(trans, in iwl_dbg_tlv_alloc_buf_alloc() 151 static int iwl_dbg_tlv_alloc_hcmd(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_hcmd() argument 166 IWL_ERR(trans, in iwl_dbg_tlv_alloc_hcmd() 172 return iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].hcmd_list); in iwl_dbg_tlv_alloc_hcmd() 175 static int iwl_dbg_tlv_alloc_region(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_region() argument [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/queue/ |
D | tx.c | 21 static void iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, in iwl_pcie_gen2_update_byte_tbl() argument 45 if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) { in iwl_pcie_gen2_update_byte_tbl() 49 WARN_ON(trans->txqs.bc_table_dword); in iwl_pcie_gen2_update_byte_tbl() 57 WARN_ON(!trans->txqs.bc_table_dword); in iwl_pcie_gen2_update_byte_tbl() 68 void iwl_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq) in iwl_txq_inc_wr_ptr() argument 72 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq->id, txq->write_ptr); in iwl_txq_inc_wr_ptr() 78 iwl_write32(trans, HBUS_TARG_WRPTR, txq->write_ptr | (txq->id << 16)); in iwl_txq_inc_wr_ptr() 81 static u8 iwl_txq_gen2_get_num_tbs(struct iwl_trans *trans, in iwl_txq_gen2_get_num_tbs() argument 87 void iwl_txq_gen2_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, in iwl_txq_gen2_tfd_unmap() argument 93 num_tbs = iwl_txq_gen2_get_num_tbs(trans, tfd); in iwl_txq_gen2_tfd_unmap() [all …]
|
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, in iwl_wake_queue() argument 32 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_wake_queue() 33 IWL_DEBUG_TX_QUEUES(trans, "Wake hwq %d\n", txq->id); in iwl_wake_queue() 34 iwl_op_mode_queue_not_full(trans->op_mode, txq->id); in iwl_wake_queue() 38 static inline void *iwl_txq_get_tfd(struct iwl_trans *trans, in iwl_txq_get_tfd() argument 41 if (trans->trans_cfg->use_tfh) in iwl_txq_get_tfd() 44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; in iwl_txq_get_tfd() 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, const struct iwl_txq *q); [all …]
|
/linux-6.1.9/net/rds/ |
D | transport.c | 50 void rds_trans_register(struct rds_transport *trans) in rds_trans_register() argument 52 BUG_ON(strlen(trans->t_name) + 1 > TRANSNAMSIZ); in rds_trans_register() 56 if (transports[trans->t_type]) in rds_trans_register() 58 trans->t_type); in rds_trans_register() 60 transports[trans->t_type] = trans; in rds_trans_register() 61 printk(KERN_INFO "Registered RDS/%s transport\n", trans->t_name); in rds_trans_register() 68 void rds_trans_unregister(struct rds_transport *trans) in rds_trans_unregister() argument 72 transports[trans->t_type] = NULL; in rds_trans_unregister() 73 printk(KERN_INFO "Unregistered RDS/%s transport\n", trans->t_name); in rds_trans_unregister() 79 void rds_trans_put(struct rds_transport *trans) in rds_trans_put() argument [all …]
|
/linux-6.1.9/drivers/net/ipa/ |
D | gsi_trans.c | 216 static void gsi_trans_map(struct gsi_trans *trans, u32 index) in gsi_trans_map() argument 218 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_map() 221 index += trans->used_count - 1; in gsi_trans_map() 224 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_trans_map() 247 return &trans_info->trans[trans_id %= channel->tre_count]; in gsi_channel_trans_complete() 251 static void gsi_trans_move_committed(struct gsi_trans *trans) in gsi_trans_move_committed() argument 253 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_committed() 261 static void gsi_trans_move_pending(struct gsi_trans *trans) in gsi_trans_move_pending() argument 263 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_pending() 265 u16 trans_index = trans - &trans_info->trans[0]; in gsi_trans_move_pending() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/ |
D | pnvm.c | 23 struct iwl_trans *trans = (struct iwl_trans *)data; in iwl_pnvm_complete_fn() local 26 IWL_DEBUG_FW(trans, in iwl_pnvm_complete_fn() 33 static int iwl_pnvm_handle_section(struct iwl_trans *trans, const u8 *data, in iwl_pnvm_handle_section() argument 44 IWL_DEBUG_FW(trans, "Handling PNVM section\n"); in iwl_pnvm_handle_section() 56 IWL_ERR(trans, "invalid TLV len: %zd/%u\n", in iwl_pnvm_handle_section() 67 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 75 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 81 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 93 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 97 if (mac_type == CSR_HW_REV_TYPE(trans->hw_rev) && in iwl_pnvm_handle_section() [all …]
|
D | uefi.c | 20 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm() argument 45 IWL_DEBUG_FW(trans, in iwl_uefi_get_pnvm() 52 IWL_DEBUG_FW(trans, "Read PNVM from UEFI with size %lu\n", package_size); in iwl_uefi_get_pnvm() 58 static void *iwl_uefi_reduce_power_section(struct iwl_trans *trans, in iwl_uefi_reduce_power_section() argument 65 IWL_DEBUG_FW(trans, "Handling REDUCE_POWER section\n"); in iwl_uefi_reduce_power_section() 77 IWL_ERR(trans, "invalid TLV len: %zd/%u\n", in iwl_uefi_reduce_power_section() 88 IWL_DEBUG_FW(trans, in iwl_uefi_reduce_power_section() 92 IWL_DEBUG_FW(trans, "Adding data (size %d)\n", tlv_len); in iwl_uefi_reduce_power_section() 96 IWL_DEBUG_FW(trans, in iwl_uefi_reduce_power_section() 113 IWL_DEBUG_FW(trans, in iwl_uefi_reduce_power_section() [all …]
|
D | dump.c | 101 struct iwl_trans *trans = fwrt->trans; in iwl_fwrt_dump_umac_error_log() local 103 u32 base = fwrt->trans->dbg.umac_error_event_table; in iwl_fwrt_dump_umac_error_log() 107 !(fwrt->trans->dbg.error_event_table_tlv_status & in iwl_fwrt_dump_umac_error_log() 111 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_umac_error_log() 117 IWL_ERR(trans, "Start IWL Error Log Dump:\n"); in iwl_fwrt_dump_umac_error_log() 118 IWL_ERR(trans, "Transport status: 0x%08lX, valid: %d\n", in iwl_fwrt_dump_umac_error_log() 119 fwrt->trans->status, table.valid); in iwl_fwrt_dump_umac_error_log() 124 iwl_pnvm_get_fs_name(trans, pnvm_name, sizeof(pnvm_name)); in iwl_fwrt_dump_umac_error_log() 148 struct iwl_trans *trans = fwrt->trans; in iwl_fwrt_dump_lmac_error_log() local 150 u32 val, base = fwrt->trans->dbg.lmac_error_event_table[lmac_num]; in iwl_fwrt_dump_lmac_error_log() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_hdcp_regs.h | 82 #define TRANS_HDCP_CONF(trans) _MMIO_TRANS(trans, _TRANSA_HDCP_CONF, \ argument 84 #define HDCP_CONF(dev_priv, trans, port) \ argument 86 TRANS_HDCP_CONF(trans) : \ 94 #define TRANS_HDCP_ANINIT(trans) _MMIO_TRANS(trans, \ argument 97 #define HDCP_ANINIT(dev_priv, trans, port) \ argument 99 TRANS_HDCP_ANINIT(trans) : \ 105 #define TRANS_HDCP_ANLO(trans) _MMIO_TRANS(trans, _TRANSA_HDCP_ANLO, \ argument 107 #define HDCP_ANLO(dev_priv, trans, port) \ argument 109 TRANS_HDCP_ANLO(trans) : \ 115 #define TRANS_HDCP_ANHI(trans) _MMIO_TRANS(trans, _TRANSA_HDCP_ANHI, \ argument [all …]
|
D | intel_audio_regs.h | 94 #define HSW_AUD_CFG(trans) _MMIO_TRANS(trans, _HSW_AUD_CONFIG_A, _HSW_AUD_CONFIG_B) argument 98 #define HSW_AUD_MISC_CTRL(trans) _MMIO_TRANS(trans, _HSW_AUD_MISC_CTRL_A, _HSW_AUD_MISC_CTRL_B) argument 102 #define HSW_AUD_M_CTS_ENABLE(trans) _MMIO_TRANS(trans, _HSW_AUD_M_CTS_ENABLE_A, _HSW_AUD_M_CTS_ENAB… argument 109 #define HSW_AUD_DIP_ELD_CTRL(trans) _MMIO_TRANS(trans, _HSW_AUD_DIP_ELD_CTRL_ST_A, _HSW_AUD_DIP_ELD… argument 114 #define AUD_DIG_CNVT(trans) _MMIO_TRANS(trans, _HSW_AUD_DIG_CNVT_1, _HSW_AUD_DIG_CNVT_2) argument 119 #define HSW_AUD_EDID_DATA(trans) _MMIO_TRANS(trans, _HSW_AUD_EDID_DATA_A, _HSW_AUD_EDID_DATA_B) argument 123 #define AUDIO_INACTIVE(trans) ((1 << 3) << ((trans) * 4)) argument 124 #define AUDIO_OUTPUT_ENABLE(trans) ((1 << 2) << ((trans) * 4)) argument 125 #define AUDIO_CP_READY(trans) ((1 << 1) << ((trans) * 4)) argument 126 #define AUDIO_ELD_VALID(trans) ((1 << 0) << ((trans) * 4)) argument [all …]
|
/linux-6.1.9/fs/btrfs/ |
D | transaction.c | 159 static noinline void switch_commit_roots(struct btrfs_trans_handle *trans) in switch_commit_roots() argument 161 struct btrfs_transaction *cur_trans = trans->transaction; in switch_commit_roots() 162 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() 174 fs_info->last_reloc_trans = trans->transid; in switch_commit_roots() 192 btrfs_free_log(trans, root); in switch_commit_roots() 201 static inline void extwriter_counter_inc(struct btrfs_transaction *trans, in extwriter_counter_inc() argument 205 atomic_inc(&trans->num_extwriters); in extwriter_counter_inc() 208 static inline void extwriter_counter_dec(struct btrfs_transaction *trans, in extwriter_counter_dec() argument 212 atomic_dec(&trans->num_extwriters); in extwriter_counter_dec() 215 static inline void extwriter_counter_init(struct btrfs_transaction *trans, in extwriter_counter_init() argument [all …]
|
/linux-6.1.9/fs/xfs/ |
D | xfs_attr_inactive.c | 83 struct xfs_trans **trans, in xfs_attr3_leaf_inactive() argument 120 xfs_trans_brelse(*trans, bp); in xfs_attr3_leaf_inactive() 131 struct xfs_trans **trans, in xfs_attr3_node_inactive() argument 149 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive() 156 xfs_trans_brelse(*trans, bp); in xfs_attr3_node_inactive() 160 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive() 175 error = xfs_da3_node_read(*trans, dp, child_fsb, &child_bp, in xfs_attr3_node_inactive() 190 error = xfs_attr3_node_inactive(trans, dp, child_bp, in xfs_attr3_node_inactive() 195 error = xfs_attr3_leaf_inactive(trans, dp, child_bp); in xfs_attr3_node_inactive() 199 xfs_trans_brelse(*trans, child_bp); in xfs_attr3_node_inactive() [all …]
|