/drivers/net/wireless/iwlwifi/ |
D | iwl-trans.h | 491 int (*start_fw)(struct iwl_trans *trans, const struct fw_img *fw, 493 int (*update_sf)(struct iwl_trans *trans, 495 void (*fw_alive)(struct iwl_trans *trans, u32 scd_addr); 496 void (*stop_device)(struct iwl_trans *trans); 498 void (*d3_suspend)(struct iwl_trans *trans, bool test); 499 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status, 502 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd); 504 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb, 506 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn, 509 void (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn, [all …]
|
D | iwl-eeprom-read.c | 97 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore() argument 104 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_acquire_semaphore() 108 ret = iwl_poll_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_acquire_semaphore() 113 IWL_DEBUG_EEPROM(trans->dev, in iwl_eeprom_acquire_semaphore() 123 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore() argument 125 iwl_clear_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_release_semaphore() 129 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) in iwl_eeprom_verify_signature() argument 131 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in iwl_eeprom_verify_signature() 133 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); in iwl_eeprom_verify_signature() 138 IWL_ERR(trans, "EEPROM with bad signature: 0x%08x\n", in iwl_eeprom_verify_signature() [all …]
|
D | iwl-io.c | 41 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, in iwl_poll_bit() argument 47 if ((iwl_read32(trans, addr) & mask) == (bits & mask)) in iwl_poll_bit() 57 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg) in iwl_read_direct32() argument 61 if (iwl_trans_grab_nic_access(trans, false, &flags)) { in iwl_read_direct32() 62 value = iwl_read32(trans, reg); in iwl_read_direct32() 63 iwl_trans_release_nic_access(trans, &flags); in iwl_read_direct32() 70 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) in iwl_write_direct32() argument 74 if (iwl_trans_grab_nic_access(trans, false, &flags)) { in iwl_write_direct32() 75 iwl_write32(trans, reg, value); in iwl_write_direct32() 76 iwl_trans_release_nic_access(trans, &flags); in iwl_write_direct32() [all …]
|
D | iwl-io.h | 35 static inline void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() argument 37 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8() 38 iwl_trans_write8(trans, ofs, val); in iwl_write8() 41 static inline void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() argument 43 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); in iwl_write32() 44 iwl_trans_write32(trans, ofs, val); in iwl_write32() 47 static inline u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32() argument 49 u32 val = iwl_trans_read32(trans, ofs); in iwl_read32() 50 trace_iwlwifi_dev_ioread32(trans->dev, ofs, val); in iwl_read32() 54 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_set_bit() argument [all …]
|
D | iwl-scd.h | 72 static inline void iwl_scd_txq_set_inactive(struct iwl_trans *trans, in iwl_scd_txq_set_inactive() argument 75 iwl_write_prph(trans, SCD_QUEUE_STATUS_BITS(txq_id), in iwl_scd_txq_set_inactive() 80 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, in iwl_scd_txq_set_chain() argument 83 iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id)); in iwl_scd_txq_set_chain() 86 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, in iwl_scd_txq_enable_agg() argument 89 iwl_set_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); in iwl_scd_txq_enable_agg() 92 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, in iwl_scd_txq_disable_agg() argument 95 iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); in iwl_scd_txq_disable_agg() 98 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) in iwl_scd_disable_agg() argument 100 iwl_set_bits_prph(trans, SCD_AGGR_SEL, 0); in iwl_scd_disable_agg() [all …]
|
D | iwl-phy-db.c | 98 struct iwl_trans *trans; member 136 struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans) in iwl_phy_db_init() argument 144 phy_db->trans = trans; in iwl_phy_db_init() 244 IWL_DEBUG_INFO(phy_db->trans, in iwl_phy_db_set_section() 335 IWL_DEBUG_INFO(phy_db->trans, in iwl_phy_db_get_section_data() 350 IWL_DEBUG_INFO(phy_db->trans, in iwl_send_phy_db_cmd() 365 return iwl_trans_send_cmd(phy_db->trans, &cmd); in iwl_send_phy_db_cmd() 394 IWL_ERR(phy_db->trans, in iwl_phy_db_send_all_channel_groups() 400 IWL_DEBUG_INFO(phy_db->trans, in iwl_phy_db_send_all_channel_groups() 414 IWL_DEBUG_INFO(phy_db->trans, in iwl_send_phy_db_data() [all …]
|
/drivers/net/wireless/iwlwifi/pcie/ |
D | trans.c | 86 static void iwl_pcie_free_fw_monitor(struct iwl_trans *trans) in iwl_pcie_free_fw_monitor() argument 88 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_free_fw_monitor() 93 dma_unmap_page(trans->dev, trans_pcie->fw_mon_phys, in iwl_pcie_free_fw_monitor() 102 static void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans) in iwl_pcie_alloc_fw_monitor() argument 104 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_alloc_fw_monitor() 111 dma_sync_single_for_device(trans->dev, trans_pcie->fw_mon_phys, in iwl_pcie_alloc_fw_monitor() 128 phys = dma_map_page(trans->dev, page, 0, PAGE_SIZE << order, in iwl_pcie_alloc_fw_monitor() 130 if (dma_mapping_error(trans->dev, phys)) { in iwl_pcie_alloc_fw_monitor() 135 IWL_INFO(trans, in iwl_pcie_alloc_fw_monitor() 149 static u32 iwl_trans_pcie_read_shr(struct iwl_trans *trans, u32 reg) in iwl_trans_pcie_read_shr() argument [all …]
|
D | rx.c | 139 int iwl_pcie_rx_stop(struct iwl_trans *trans) in iwl_pcie_rx_stop() argument 141 iwl_write_direct32(trans, FH_MEM_RCSR_CHNL0_CONFIG_REG, 0); in iwl_pcie_rx_stop() 142 return iwl_poll_direct_bit(trans, FH_MEM_RSSR_RX_STATUS_REG, in iwl_pcie_rx_stop() 149 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans) in iwl_pcie_rxq_inc_wr_ptr() argument 151 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxq_inc_wr_ptr() 162 if (!trans->cfg->base_params->shadow_reg_enable && in iwl_pcie_rxq_inc_wr_ptr() 163 test_bit(STATUS_TPOWER_PMI, &trans->status)) { in iwl_pcie_rxq_inc_wr_ptr() 164 reg = iwl_read32(trans, CSR_UCODE_DRV_GP1); in iwl_pcie_rxq_inc_wr_ptr() 167 IWL_DEBUG_INFO(trans, "Rx queue requesting wakeup, GP1 = 0x%x\n", in iwl_pcie_rxq_inc_wr_ptr() 169 iwl_set_bit(trans, CSR_GP_CNTRL, in iwl_pcie_rxq_inc_wr_ptr() [all …]
|
D | tx.c | 123 static int iwl_pcie_alloc_dma_ptr(struct iwl_trans *trans, in iwl_pcie_alloc_dma_ptr() argument 129 ptr->addr = dma_alloc_coherent(trans->dev, size, in iwl_pcie_alloc_dma_ptr() 137 static void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, in iwl_pcie_free_dma_ptr() argument 143 dma_free_coherent(trans->dev, ptr->size, ptr->addr, ptr->dma); in iwl_pcie_free_dma_ptr() 152 struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); in iwl_pcie_txq_stuck_timer() local 166 IWL_ERR(trans, "Queue %d stuck for %u ms.\n", txq->q.id, in iwl_pcie_txq_stuck_timer() 168 IWL_ERR(trans, "Current SW read_ptr %d write_ptr %d\n", in iwl_pcie_txq_stuck_timer() 171 iwl_trans_read_mem_bytes(trans, scd_sram_addr, buf, sizeof(buf)); in iwl_pcie_txq_stuck_timer() 173 iwl_print_hex_error(trans, buf, sizeof(buf)); in iwl_pcie_txq_stuck_timer() 176 IWL_ERR(trans, "FH TRBs(%d) = 0x%08x\n", i, in iwl_pcie_txq_stuck_timer() [all …]
|
D | internal.h | 272 struct iwl_trans *trans; member 344 void iwl_trans_pcie_free(struct iwl_trans *trans); 349 int iwl_pcie_rx_init(struct iwl_trans *trans); 351 int iwl_pcie_rx_stop(struct iwl_trans *trans); 352 void iwl_pcie_rx_free(struct iwl_trans *trans); 358 int iwl_pcie_alloc_ict(struct iwl_trans *trans); 359 void iwl_pcie_free_ict(struct iwl_trans *trans); 360 void iwl_pcie_reset_ict(struct iwl_trans *trans); 361 void iwl_pcie_disable_ict(struct iwl_trans *trans); 366 int iwl_pcie_tx_init(struct iwl_trans *trans); [all …]
|
D | drv.c | 437 static u64 splx_get_pwr_limit(struct iwl_trans *trans, union acpi_object *splx) in splx_get_pwr_limit() argument 445 IWL_ERR(trans, "Unsupported splx structure\n"); in splx_get_pwr_limit() 454 IWL_ERR(trans, "Invalid limits element\n"); in splx_get_pwr_limit() 461 IWL_DEBUG_INFO(trans, "WiFi power is not limited\n"); in splx_get_pwr_limit() 468 static void set_dflt_pwr_limit(struct iwl_trans *trans, struct pci_dev *pdev) in set_dflt_pwr_limit() argument 477 IWL_DEBUG_INFO(trans, in set_dflt_pwr_limit() 485 IWL_DEBUG_INFO(trans, "SPL method not found\n"); in set_dflt_pwr_limit() 492 IWL_ERR(trans, "SPLC invocation failed (0x%x)\n", status); in set_dflt_pwr_limit() 496 trans->dflt_pwr_limit = splx_get_pwr_limit(trans, splx.pointer); in set_dflt_pwr_limit() 497 IWL_DEBUG_INFO(trans, "Default power limit set to %lld\n", in set_dflt_pwr_limit() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 231 struct qlcnic_bc_trans *trans; in qlcnic_sriov_cleanup_list() local 238 trans = list_first_entry(&t_list->wait_list, in qlcnic_sriov_cleanup_list() 240 list_del(&trans->list); in qlcnic_sriov_cleanup_list() 242 cmd.req.arg = (u32 *)trans->req_pay; in qlcnic_sriov_cleanup_list() 243 cmd.rsp.arg = (u32 *)trans->rsp_pay; in qlcnic_sriov_cleanup_list() 245 qlcnic_sriov_cleanup_transaction(trans); in qlcnic_sriov_cleanup_list() 687 static inline int qlcnic_sriov_alloc_bc_trans(struct qlcnic_bc_trans **trans) in qlcnic_sriov_alloc_bc_trans() argument 689 *trans = kzalloc(sizeof(struct qlcnic_bc_trans), GFP_ATOMIC); in qlcnic_sriov_alloc_bc_trans() 690 if (!*trans) in qlcnic_sriov_alloc_bc_trans() 693 init_completion(&(*trans)->resp_cmpl); in qlcnic_sriov_alloc_bc_trans() [all …]
|
D | qlcnic_sriov_pf.c | 738 static int qlcnic_sriov_pf_channel_cfg_cmd(struct qlcnic_bc_trans *trans, in qlcnic_sriov_pf_channel_cfg_cmd() argument 741 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_channel_cfg_cmd() 752 if (trans->req_hdr->cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT) { in qlcnic_sriov_pf_channel_cfg_cmd() 774 if (trans->req_hdr->cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT) in qlcnic_sriov_pf_channel_cfg_cmd() 910 static int qlcnic_sriov_pf_mac_address_cmd(struct qlcnic_bc_trans *trans, in qlcnic_sriov_pf_mac_address_cmd() argument 913 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_mac_address_cmd() 942 static int qlcnic_sriov_pf_create_tx_ctx_cmd(struct qlcnic_bc_trans *trans, in qlcnic_sriov_pf_create_tx_ctx_cmd() argument 945 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_create_tx_ctx_cmd() 980 static int qlcnic_sriov_pf_del_rx_ctx_cmd(struct qlcnic_bc_trans *trans, in qlcnic_sriov_pf_del_rx_ctx_cmd() argument 983 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_rx_ctx_cmd() [all …]
|
/drivers/staging/lustre/lnet/selftest/ |
D | conrpc.c | 188 lstcon_rpc_trans_t *trans = crpc->crp_trans; in lstcon_rpc_post() local 190 LASSERT(trans != NULL); in lstcon_rpc_post() 192 atomic_inc(&trans->tas_remaining); in lstcon_rpc_post() 241 lstcon_rpc_trans_t *trans; in lstcon_rpc_trans_prep() local 244 list_for_each_entry(trans, translist, tas_link) { in lstcon_rpc_trans_prep() 247 if ((trans->tas_opc & transop) == LST_TRANS_PRIVATE) in lstcon_rpc_trans_prep() 253 LIBCFS_ALLOC(trans, sizeof(*trans)); in lstcon_rpc_trans_prep() 254 if (trans == NULL) in lstcon_rpc_trans_prep() 257 trans->tas_opc = transop; in lstcon_rpc_trans_prep() 260 INIT_LIST_HEAD(&trans->tas_olink); in lstcon_rpc_trans_prep() [all …]
|
D | console.c | 407 lstcon_rpc_trans_t *trans; in lstcon_group_nodes_add() local 446 tmp, lstcon_sesrpc_condition, &trans); in lstcon_group_nodes_add() 454 lstcon_rpc_trans_postwait(trans, LST_TRANS_TIMEOUT); in lstcon_group_nodes_add() 456 rc = lstcon_rpc_trans_interpreter(trans, result_up, in lstcon_group_nodes_add() 458 *featp = trans->tas_features; in lstcon_group_nodes_add() 461 lstcon_rpc_trans_destroy(trans); in lstcon_group_nodes_add() 474 lstcon_rpc_trans_t *trans; in lstcon_group_nodes_remove() local 502 tmp, lstcon_sesrpc_condition, &trans); in lstcon_group_nodes_remove() 508 lstcon_rpc_trans_postwait(trans, LST_TRANS_TIMEOUT); in lstcon_group_nodes_remove() 510 rc = lstcon_rpc_trans_interpreter(trans, result_up, NULL); in lstcon_group_nodes_remove() [all …]
|
D | conrpc.h | 130 void lstcon_rpc_trans_stat(lstcon_rpc_trans_t *trans, 132 int lstcon_rpc_trans_interpreter(lstcon_rpc_trans_t *trans, 135 void lstcon_rpc_trans_abort(lstcon_rpc_trans_t *trans, int error); 136 void lstcon_rpc_trans_destroy(lstcon_rpc_trans_t *trans); 137 void lstcon_rpc_trans_addreq(lstcon_rpc_trans_t *trans, lstcon_rpc_t *req); 138 int lstcon_rpc_trans_postwait(lstcon_rpc_trans_t *trans, int timeout);
|
/drivers/mfd/ |
D | cros_ec_spi.c | 119 struct spi_transfer trans; in cros_ec_spi_receive_response() local 131 memset(&trans, 0, sizeof(trans)); in cros_ec_spi_receive_response() 132 trans.cs_change = 1; in cros_ec_spi_receive_response() 133 trans.rx_buf = ptr = ec_dev->din; in cros_ec_spi_receive_response() 134 trans.len = EC_MSG_PREAMBLE_COUNT; in cros_ec_spi_receive_response() 137 spi_message_add_tail(&trans, &msg); in cros_ec_spi_receive_response() 190 memset(&trans, 0, sizeof(trans)); in cros_ec_spi_receive_response() 191 trans.cs_change = 1; in cros_ec_spi_receive_response() 192 trans.rx_buf = ptr; in cros_ec_spi_receive_response() 193 trans.len = todo; in cros_ec_spi_receive_response() [all …]
|
/drivers/hid/ |
D | hid-apple.c | 170 const struct apple_key_translation *trans; in apple_find_translation() local 173 for (trans = table; trans->from; trans++) in apple_find_translation() 174 if (trans->from == from) in apple_find_translation() 175 return trans; in apple_find_translation() 184 const struct apple_key_translation *trans, *table; in hidinput_apple_event() local 203 trans = apple_find_translation (table, usage->code); in hidinput_apple_event() 205 if (trans) { in hidinput_apple_event() 208 else if (trans->flags & APPLE_FLAG_FKEY) in hidinput_apple_event() 220 input_event(input, usage->type, trans->to, in hidinput_apple_event() 230 trans = apple_find_translation(powerbook_numlock_keys, in hidinput_apple_event() [all …]
|
D | hid-icade.c | 170 const struct icade_key *trans; in icade_event() local 180 trans = icade_find_translation(usage->hid & HID_USAGE); in icade_event() 182 if (!trans) in icade_event() 186 trans->to, trans->press); in icade_event() 195 const struct icade_key *trans; in icade_input_mapping() local 198 trans = icade_find_translation(usage->hid & HID_USAGE); in icade_input_mapping() 200 if (!trans) in icade_input_mapping() 203 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); in icade_input_mapping() 204 set_bit(trans->to, hi->input->keybit); in icade_input_mapping()
|
/drivers/input/serio/ |
D | hp_sdc_mlc.c | 55 hp_sdc_transaction trans; member 196 if (priv->trans.act.semaphore != &mlc->csem) in hp_sdc_mlc_cts() 206 priv->trans.act.semaphore = &mlc->csem; in hp_sdc_mlc_cts() 207 priv->trans.actidx = 0; in hp_sdc_mlc_cts() 208 priv->trans.idx = 1; in hp_sdc_mlc_cts() 209 priv->trans.endidx = 5; in hp_sdc_mlc_cts() 216 __hp_sdc_enqueue_transaction(&priv->trans); in hp_sdc_mlc_cts() 220 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_cts() 246 priv->trans.actidx = 0; in hp_sdc_mlc_out() 247 priv->trans.idx = 1; in hp_sdc_mlc_out() [all …]
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | main.c | 358 if (!iwl_trans_grab_nic_access(priv->trans, false, ®_flags)) in iwl_print_cont_event_trace() 362 iwl_write32(priv->trans, HBUS_TARG_MEM_RADDR, ptr); in iwl_print_cont_event_trace() 378 ev = iwl_read32(priv->trans, HBUS_TARG_MEM_RDAT); in iwl_print_cont_event_trace() 379 time = iwl_read32(priv->trans, HBUS_TARG_MEM_RDAT); in iwl_print_cont_event_trace() 382 priv->trans->dev, 0, time, ev); in iwl_print_cont_event_trace() 384 data = iwl_read32(priv->trans, HBUS_TARG_MEM_RDAT); in iwl_print_cont_event_trace() 386 priv->trans->dev, time, data, ev); in iwl_print_cont_event_trace() 390 iwl_trans_release_nic_access(priv->trans, ®_flags); in iwl_print_cont_event_trace() 409 iwl_trans_read_mem_bytes(priv->trans, base, in iwl_continuous_event_trace() 450 trace_iwlwifi_dev_ucode_wrap_event(priv->trans->dev, in iwl_continuous_event_trace() [all …]
|
/drivers/xen/xenbus/ |
D | xenbus_dev_frontend.c | 310 struct xenbus_transaction_holder *trans = NULL; in xenbus_write_transaction() local 314 trans = kmalloc(sizeof(*trans), GFP_KERNEL); in xenbus_write_transaction() 315 if (!trans) { in xenbus_write_transaction() 320 list_for_each_entry(trans, &u->transactions, list) in xenbus_write_transaction() 321 if (trans->handle.id == u->u.msg.tx_id) in xenbus_write_transaction() 323 if (&trans->list == &u->transactions) in xenbus_write_transaction() 330 kfree(trans); in xenbus_write_transaction() 337 kfree(trans); in xenbus_write_transaction() 339 trans->handle.id = simple_strtoul(reply, NULL, 0); in xenbus_write_transaction() 340 list_add(&trans->list, &u->transactions); in xenbus_write_transaction() [all …]
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | nvm.c | 163 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_chunk() 168 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_chunk() 248 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_section() 256 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_section() 268 if (mvm->trans->cfg->device_family != IWL_DEVICE_FAMILY_8000) { in iwl_parse_nvm_sections() 301 return iwl_parse_nvm_data(mvm->trans->dev, mvm->cfg, hw, sw, calib, in iwl_parse_nvm_sections() 348 IWL_DEBUG_EEPROM(mvm->trans->dev, "Read from external NVM\n"); in iwl_mvm_read_external_nvm() 351 if (mvm->trans->cfg->device_family != IWL_DEVICE_FAMILY_8000) in iwl_mvm_read_external_nvm() 353 else if (CSR_HW_REV_STEP(mvm->trans->hw_rev) == SILICON_A_STEP) in iwl_mvm_read_external_nvm() 365 mvm->trans->dev); in iwl_mvm_read_external_nvm() [all …]
|
D | ops.c | 158 reg_val |= CSR_HW_REV_STEP(mvm->trans->hw_rev) << in iwl_mvm_nic_config() 160 reg_val |= CSR_HW_REV_DASH(mvm->trans->hw_rev) << in iwl_mvm_nic_config() 178 if (mvm->trans->cfg->device_family != IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config() 181 iwl_trans_set_bits_mask(mvm->trans, CSR_HW_IF_CONFIG_REG, in iwl_mvm_nic_config() 199 if (mvm->trans->cfg->device_family != IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config() 200 iwl_set_bits_mask_prph(mvm->trans, APMG_PS_CTRL_REG, in iwl_mvm_nic_config() 354 static u32 calc_min_backoff(struct iwl_trans *trans, const struct iwl_cfg *cfg) in calc_min_backoff() argument 362 if (trans->dflt_pwr_limit >= pwr_tx_backoff->pwr) in calc_min_backoff() 374 iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, in iwl_op_mode_mvm_start() argument 410 mvm->dev = trans->dev; in iwl_op_mode_mvm_start() [all …]
|
D | utils.c | 95 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd() 151 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd_status() 412 struct iwl_trans *trans = mvm->trans; in iwl_mvm_dump_umac_error_log() local 427 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_mvm_dump_umac_error_log() 430 IWL_ERR(trans, "Start IWL Error Log Dump:\n"); in iwl_mvm_dump_umac_error_log() 431 IWL_ERR(trans, "Status: 0x%08lX, count: %d\n", in iwl_mvm_dump_umac_error_log() 454 struct iwl_trans *trans = mvm->trans; in iwl_mvm_dump_nic_error_log() local 476 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_mvm_dump_nic_error_log() 479 IWL_ERR(trans, "Start IWL Error Log Dump:\n"); in iwl_mvm_dump_nic_error_log() 480 IWL_ERR(trans, "Status: 0x%08lX, count: %d\n", in iwl_mvm_dump_nic_error_log() [all …]
|