| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | rx.c | |
| H A D | tx.c | |
| H A D | tx-gen2.c | |
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | ctxt-info-v2.c | 6 #include "iwl-trans.h" 34 iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dbg_enable() 42 if (!iwl_trans_dbg_ini_valid(trans)) { in iwl_pcie_ctxt_info_dbg_enable() 43 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_ctxt_info_dbg_enable() 45 iwl_pcie_alloc_fw_monitor(trans, 0); in iwl_pcie_ctxt_info_dbg_enable() 50 IWL_DEBUG_FW(trans, in iwl_pcie_ctxt_info_dbg_enable() 60 fw_mon_cfg = &trans->dbg.fw_mon_cfg[alloc_id]; in iwl_pcie_ctxt_info_dbg_enable() 65 IWL_DEBUG_FW(trans, in iwl_pcie_ctxt_info_dbg_enable() 71 IWL_DEBUG_FW(trans, in iwl_pcie_ctxt_info_dbg_enable() 76 if (trans in iwl_pcie_ctxt_info_dbg_enable() 33 iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans * trans,struct iwl_prph_scratch_hwm_cfg * dbg_cfg,u32 * control_flags) iwl_pcie_ctxt_info_dbg_enable() argument 100 iwl_pcie_ctxt_info_v2_alloc(struct iwl_trans * trans,const struct iwl_fw * fw,const struct fw_img * img) iwl_pcie_ctxt_info_v2_alloc() argument 297 iwl_pcie_ctxt_info_v2_kick(struct iwl_trans * trans) iwl_pcie_ctxt_info_v2_kick() argument 312 iwl_pcie_ctxt_info_v2_free(struct iwl_trans * trans,bool alive) iwl_pcie_ctxt_info_v2_free() argument 353 iwl_pcie_load_payloads_contig(struct iwl_trans * trans,const struct iwl_pnvm_image * pnvm_data,struct iwl_dram_data * dram) iwl_pcie_load_payloads_contig() argument 388 iwl_pcie_load_payloads_segments(struct iwl_trans * trans,struct iwl_dram_regions * dram_regions,const struct iwl_pnvm_image * pnvm_data) iwl_pcie_load_payloads_segments() argument 442 iwl_trans_pcie_ctx_info_v2_load_pnvm(struct iwl_trans * trans,const struct iwl_pnvm_image * pnvm_payloads,const struct iwl_ucode_capabilities * capa) iwl_trans_pcie_ctx_info_v2_load_pnvm() argument 499 iwl_pcie_set_pnvm_segments(struct iwl_trans * trans) iwl_pcie_set_pnvm_segments() argument 512 iwl_pcie_set_contig_pnvm(struct iwl_trans * trans) iwl_pcie_set_contig_pnvm() argument 524 iwl_trans_pcie_ctx_info_v2_set_pnvm(struct iwl_trans * trans,const struct iwl_ucode_capabilities * capa) iwl_trans_pcie_ctx_info_v2_set_pnvm() argument 536 iwl_trans_pcie_ctx_info_v2_load_reduce_power(struct iwl_trans * trans,const struct iwl_pnvm_image * payloads,const struct iwl_ucode_capabilities * capa) iwl_trans_pcie_ctx_info_v2_load_reduce_power() argument 581 iwl_pcie_set_reduce_power_segments(struct iwl_trans * trans) iwl_pcie_set_reduce_power_segments() argument 594 iwl_pcie_set_contig_reduce_power(struct iwl_trans * trans) iwl_pcie_set_contig_reduce_power() argument 607 iwl_trans_pcie_ctx_info_v2_set_reduce_power(struct iwl_trans * trans,const struct iwl_ucode_capabilities * capa) iwl_trans_pcie_ctx_info_v2_set_reduce_power() argument [all...] |
| H A D | ctxt-info.c | 6 #include "iwl-trans.h" 13 static void *_iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans, in _iwl_pcie_ctxt_info_dma_alloc_coherent() 24 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent() 33 result = _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, in _iwl_pcie_ctxt_info_dma_alloc_coherent() 36 dma_free_coherent(trans->dev, size, old, oldphys); in _iwl_pcie_ctxt_info_dma_alloc_coherent() 42 void *iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans, in iwl_pcie_ctxt_info_dma_alloc_coherent() 46 return _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, phys, 0); in iwl_pcie_ctxt_info_dma_alloc_coherent() 49 int iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans *trans, in iwl_pcie_ctxt_info_alloc_dma() 53 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, in iwl_pcie_ctxt_info_alloc_dma() 64 void iwl_pcie_ctxt_info_free_paging(struct iwl_trans *trans) in iwl_pcie_ctxt_info_free_paging() 12 _iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans * trans,size_t size,dma_addr_t * phys,int depth) _iwl_pcie_ctxt_info_dma_alloc_coherent() argument 41 iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans * trans,size_t size,dma_addr_t * phys) iwl_pcie_ctxt_info_dma_alloc_coherent() argument 48 iwl_pcie_ctxt_info_alloc_dma(struct iwl_trans * trans,const void * data,u32 len,struct iwl_dram_data * dram) iwl_pcie_ctxt_info_alloc_dma() argument 63 iwl_pcie_ctxt_info_free_paging(struct iwl_trans * trans) iwl_pcie_ctxt_info_free_paging() argument 84 iwl_pcie_init_fw_sec(struct iwl_trans * trans,const struct fw_img * fw,struct iwl_context_info_dram_nonfseq * ctxt_dram) iwl_pcie_init_fw_sec() argument 168 iwl_pcie_ctxt_info_init(struct iwl_trans * trans,const struct fw_img * img) iwl_pcie_ctxt_info_init() argument 255 iwl_pcie_ctxt_info_free(struct iwl_trans * trans) iwl_pcie_ctxt_info_free() argument [all...] |
| /linux/drivers/net/ipa/ |
| H A D | gsi_trans.c | 219 static void gsi_trans_map(struct gsi_trans *trans, u32 index) in gsi_trans_map() argument 221 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_map() 224 index += trans->used_count - 1; in gsi_trans_map() 227 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_trans_map() 250 return &trans_info->trans[trans_id %= channel->tre_count]; in gsi_channel_trans_complete() 254 static void gsi_trans_move_committed(struct gsi_trans *trans) in gsi_trans_move_committed() argument 256 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_committed() 264 static void gsi_trans_move_pending(struct gsi_trans *trans) in gsi_trans_move_pending() argument 266 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_pending() 268 u16 trans_index = trans - &trans_info->trans[0]; in gsi_trans_move_pending() [all …]
|
| /linux/net/rds/ |
| H A 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/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | pnvm.c | 9 #include "iwl-trans.h" 27 struct iwl_trans *trans = (struct iwl_trans *)data; in iwl_pnvm_complete_fn() local 30 if (IWL_FW_CHECK(trans, in iwl_pnvm_complete_fn() 36 IWL_DEBUG_FW(trans, in iwl_pnvm_complete_fn() 43 static int iwl_pnvm_handle_section(struct iwl_trans *trans, const u8 *data, in iwl_pnvm_handle_section() argument 52 IWL_DEBUG_FW(trans, "Handling PNVM section\n"); in iwl_pnvm_handle_section() 66 IWL_ERR(trans, "invalid TLV len: %zd/%u\n", in iwl_pnvm_handle_section() 76 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 84 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 91 IWL_DEBUG_FW(trans, in iwl_pnvm_handle_section() 176 iwl_pnvm_parse(struct iwl_trans * trans,const u8 * data,size_t len,struct iwl_pnvm_image * pnvm_data,__le32 sku_id[3]) iwl_pnvm_parse() argument 253 iwl_pnvm_get_from_fs(struct iwl_trans * trans,size_t * len) iwl_pnvm_get_from_fs() argument 297 iwl_select_pnvm_source(struct iwl_trans * trans,bool intel_sku) iwl_select_pnvm_source() argument 373 iwl_pnvm_load_pnvm_to_trans(struct iwl_trans * trans,const struct iwl_fw * fw,__le32 sku_id[3]) iwl_pnvm_load_pnvm_to_trans() argument 420 iwl_pnvm_load_reduce_power_to_trans(struct iwl_trans * trans,const struct iwl_ucode_capabilities * capa,__le32 sku_id[3]) iwl_pnvm_load_reduce_power_to_trans() argument 468 iwl_pnvm_load(struct iwl_trans * trans,struct iwl_notif_wait_data * notif_wait,const struct iwl_fw * fw,__le32 sku_id[3]) iwl_pnvm_load() argument [all...] |
| H A D | dump.c | 12 #include "iwl-trans.h" 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_nam in iwl_fwrt_dump_umac_error_log() 140 struct iwl_trans *trans = fwrt->trans; iwl_fwrt_dump_lmac_error_log() local 227 struct iwl_trans *trans = fwrt->trans; iwl_fwrt_dump_tcm_error_log() local 277 struct iwl_trans *trans = fwrt->trans; iwl_fwrt_dump_rcm_error_log() local 298 struct iwl_trans *trans = fwrt->trans; iwl_fwrt_dump_iml_error_log() local 332 struct iwl_trans *trans = fwrt->trans; iwl_fwrt_dump_fseq_regs() local 415 iwl_fwrt_read_err_table(struct iwl_trans * trans,u32 base,u32 * err_id) iwl_fwrt_read_err_table() argument [all...] |
| H A D | uefi.c | 9 #include "iwl-trans.h" 78 void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len) in iwl_uefi_get_pnvm() 88 IWL_DEBUG_FW(trans, in iwl_uefi_get_verified_variable_guid() 94 IWL_DEBUG_FW(trans, "Read PNVM from UEFI with size %lu\n", package_size); in iwl_uefi_get_verified_variable_guid() 101 iwl_uefi_get_variable_guid(struct iwl_trans *trans, in iwl_uefi_get_verified_variable_guid() 115 IWL_DEBUG_RADIO(trans, in iwl_uefi_get_verified_variable_guid() 122 IWL_DEBUG_RADIO(trans, in iwl_uefi_get_verified_variable() 129 IWL_DEBUG_RADIO(trans, "%s from UEFI with size %lu\n", var_name, 158 var = iwl_uefi_get_variable_guid(fwrt->trans, in iwl_uefi_handle_tlv_mem_desc() 208 int iwl_uefi_handle_tlv_mem_desc(struct iwl_trans *trans, cons in iwl_uefi_reduce_power_section() 60 iwl_uefi_get_pnvm(struct iwl_trans * trans,size_t * len) iwl_uefi_get_pnvm() argument 83 iwl_uefi_get_verified_variable_guid(struct iwl_trans * trans,efi_guid_t * guid,efi_char16_t * uefi_var_name,char * var_name,unsigned int expected_size,unsigned long * size) iwl_uefi_get_verified_variable_guid() argument 119 iwl_uefi_get_verified_variable(struct iwl_trans * trans,efi_char16_t * uefi_var_name,char * var_name,unsigned int expected_size,unsigned long * size) iwl_uefi_get_verified_variable() argument 130 iwl_uefi_handle_tlv_mem_desc(struct iwl_trans * trans,const u8 * data,u32 tlv_len,struct iwl_pnvm_image * pnvm_data) iwl_uefi_handle_tlv_mem_desc() argument 166 iwl_uefi_reduce_power_section(struct iwl_trans * trans,const u8 * data,size_t len,struct iwl_pnvm_image * pnvm_data) iwl_uefi_reduce_power_section() argument 220 iwl_uefi_reduce_power_parse(struct iwl_trans * trans,const u8 * data,size_t len,struct iwl_pnvm_image * pnvm_data,__le32 sku_id[3]) iwl_uefi_reduce_power_parse() argument 285 iwl_uefi_get_reduced_power(struct iwl_trans * trans,size_t * len) iwl_uefi_get_reduced_power() argument 315 iwl_uefi_step_parse(struct uefi_cnv_common_step_data * common_step_data,struct iwl_trans * trans) iwl_uefi_step_parse() argument 329 iwl_uefi_get_step_table(struct iwl_trans * trans) iwl_uefi_get_step_table() argument 383 iwl_uefi_get_sgom_table(struct iwl_trans * trans,struct iwl_fw_runtime * fwrt) iwl_uefi_get_sgom_table() argument 420 iwl_uefi_get_uats_table(struct iwl_trans * trans,struct iwl_fw_runtime * fwrt) iwl_uefi_get_uats_table() argument 438 iwl_uefi_get_uneb_table(struct iwl_trans * trans,struct iwl_fw_runtime * fwrt) iwl_uefi_get_uneb_table() argument [all...] |
| /linux/fs/btrfs/ |
| H A D | transaction.c | 66 * | New trans handles can be attached to transaction N by calling all 70 * | Call btrfs_commit_transaction() on any trans handle attached to 84 * | - Wait for all other trans handle holders to release. 95 * | Caller is chosen to commit transaction N, and all other trans handle 155 bool btrfs_is_dummy_transaction(const struct btrfs_trans_handle *trans) in btrfs_put_transaction() 157 return trans->type == TRANS_DUMMY; in btrfs_put_transaction() 160 void btrfs_init_dummy_trans(struct btrfs_trans_handle *trans, in btrfs_put_transaction() 163 memset(trans, 0, sizeof(*trans)); in btrfs_put_transaction() 164 trans in btrfs_put_transaction() 180 switch_commit_roots(struct btrfs_trans_handle * trans) switch_commit_roots() argument 223 extwriter_counter_inc(struct btrfs_transaction * trans,unsigned int type) extwriter_counter_inc() argument 230 extwriter_counter_dec(struct btrfs_transaction * trans,unsigned int type) extwriter_counter_dec() argument 237 extwriter_counter_init(struct btrfs_transaction * trans,unsigned int type) extwriter_counter_init() argument 243 extwriter_counter_read(struct btrfs_transaction * trans) extwriter_counter_read() argument 255 btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle * trans) btrfs_trans_release_chunk_metadata() argument 409 record_root_in_trans(struct btrfs_trans_handle * trans,struct btrfs_root * root,bool force) record_root_in_trans() argument 482 btrfs_add_dropped_root(struct btrfs_trans_handle * trans,struct btrfs_root * root) btrfs_add_dropped_root() argument 501 btrfs_record_root_in_trans(struct btrfs_trans_handle * trans,struct btrfs_root * root) btrfs_record_root_in_trans() argument 526 is_transaction_blocked(struct btrfs_transaction * trans) is_transaction_blocked() argument 907 struct btrfs_trans_handle *trans; btrfs_attach_transaction_barrier() local 1033 btrfs_should_end_transaction(struct btrfs_trans_handle * trans) btrfs_should_end_transaction() argument 1047 btrfs_trans_release_metadata(struct btrfs_trans_handle * trans) btrfs_trans_release_metadata() argument 1086 __btrfs_end_transaction(struct btrfs_trans_handle * trans,int throttle) __btrfs_end_transaction() argument 1146 btrfs_end_transaction(struct btrfs_trans_handle * trans) btrfs_end_transaction() argument 1151 btrfs_end_transaction_throttle(struct btrfs_trans_handle * trans) btrfs_end_transaction_throttle() argument 1294 btrfs_write_and_wait_transaction(struct btrfs_trans_handle * trans) btrfs_write_and_wait_transaction() argument 1326 update_cowonly_root(struct btrfs_trans_handle * trans,struct btrfs_root * root) update_cowonly_root() argument 1363 commit_cowonly_roots(struct btrfs_trans_handle * trans) commit_cowonly_roots() argument 1499 commit_fs_roots(struct btrfs_trans_handle * trans) commit_fs_roots() argument 1576 qgroup_account_snapshot(struct btrfs_trans_handle * trans,struct btrfs_root * src,struct btrfs_root * parent,struct btrfs_qgroup_inherit * inherit,u64 dst_objectid) qgroup_account_snapshot() argument 1673 create_pending_snapshot(struct btrfs_trans_handle * trans,struct btrfs_pending_snapshot * pending) create_pending_snapshot() argument 1963 create_pending_snapshots(struct btrfs_trans_handle * trans) create_pending_snapshots() argument 2011 struct btrfs_transaction *trans; btrfs_transaction_blocked() local 2022 btrfs_commit_transaction_async(struct btrfs_trans_handle * trans) btrfs_commit_transaction_async() argument 2055 struct btrfs_trans_handle *trans; btrfs_commit_current_transaction() local 2067 cleanup_transaction(struct btrfs_trans_handle * trans,int err) cleanup_transaction() argument 2151 btrfs_cleanup_pending_block_groups(struct btrfs_trans_handle * trans) btrfs_cleanup_pending_block_groups() argument 2207 add_pending_snapshot(struct btrfs_trans_handle * trans) add_pending_snapshot() argument 2236 btrfs_commit_transaction(struct btrfs_trans_handle * trans) btrfs_commit_transaction() argument 2748 __btrfs_abort_transaction(struct btrfs_trans_handle * trans,const char * function,unsigned int line,int error) __btrfs_abort_transaction() argument [all...] |
| H A D | free-space-tree.c | 20 static int __add_block_group_free_space(struct btrfs_trans_handle *trans, 68 static int add_new_free_space_info(struct btrfs_trans_handle *trans, in add_new_free_space_info() argument 82 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info() 96 struct btrfs_trans_handle *trans, in btrfs_search_free_space_info() argument 109 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in btrfs_search_free_space_info() 127 static int btrfs_search_prev_slot(struct btrfs_trans_handle *trans, in btrfs_search_prev_slot() argument 134 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow); in btrfs_search_prev_slot() 197 int btrfs_convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, in btrfs_convert_free_space_to_bitmaps() argument 201 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_convert_free_space_to_bitmaps() 229 ret = btrfs_search_prev_slot(trans, root, &key, path, -1, 1); in btrfs_convert_free_space_to_bitmaps() [all …]
|
| H A D | verity.c | 124 struct btrfs_trans_handle *trans; in drop_verity_items() local 137 trans = start_verity_cleanup_trans(root, 1); in drop_verity_items() 138 if (IS_ERR(trans)) in drop_verity_items() 139 return PTR_ERR(trans); in drop_verity_items() 149 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in drop_verity_items() 157 btrfs_end_transaction(trans); in drop_verity_items() 173 ret = btrfs_del_items(trans, root, path, path->slots[0], 1); in drop_verity_items() 175 btrfs_end_transaction(trans); in drop_verity_items() 180 btrfs_end_transaction(trans); in drop_verity_items() 182 btrfs_end_transaction(trans); in drop_verity_items() 228 struct btrfs_trans_handle *trans; write_key_bytes() local 430 del_orphan(struct btrfs_trans_handle * trans,struct btrfs_inode * inode) del_orphan() argument 464 struct btrfs_trans_handle *trans = NULL; rollback_verity() local 531 struct btrfs_trans_handle *trans = NULL; finish_verity() local 587 struct btrfs_trans_handle *trans; btrfs_begin_enable_verity() local [all...] |
| H A D | tree-log.c | 135 struct btrfs_trans_handle *trans; member 164 struct btrfs_fs_info *fs_info = wc->trans->fs_info; in do_abort_log_replay() 180 btrfs_abort_transaction(wc->trans, error); in do_abort_log_replay() 217 static int btrfs_log_inode(struct btrfs_trans_handle *trans, 276 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans() argument 293 ret = btrfs_init_log_root_tree(trans, fs_info); in start_log_trans() 308 if (btrfs_need_log_full_commit(trans)) { in start_log_trans() 327 ret = btrfs_add_log_tree(trans, root); in start_log_trans() 400 struct btrfs_trans_handle *trans = wc->trans; in process_one_buffer() local 458 struct btrfs_trans_handle *trans = wc->trans; overwrite_item() local 691 struct btrfs_trans_handle *trans = wc->trans; replay_one_extent() local 1019 struct btrfs_trans_handle *trans = wc->trans; unlink_inode_for_log_replay() local 1316 struct btrfs_trans_handle *trans = wc->trans; __add_inode_ref() local 1547 struct btrfs_trans_handle *trans = wc->trans; add_inode_ref() local 1854 struct btrfs_trans_handle *trans = wc->trans; fixup_inode_link_count() local 1908 struct btrfs_trans_handle *trans = wc->trans; fixup_inode_link_counts() local 1963 struct btrfs_trans_handle *trans = wc->trans; link_to_fixup_dir() local 2014 insert_one_name(struct btrfs_trans_handle * trans,struct btrfs_root * root,u64 dirid,u64 index,const struct fscrypt_str * name,struct btrfs_key * location) insert_one_name() argument 2088 struct btrfs_trans_handle *trans = wc->trans; replay_one_name() local 2401 struct btrfs_trans_handle *trans = wc->trans; check_item_in_log() local 2487 struct btrfs_trans_handle *trans = wc->trans; replay_xattr_deletes() local 2750 struct btrfs_trans_handle *trans = wc->trans; replay_one_buffer() local 2928 clean_log_buffer(struct btrfs_trans_handle * trans,struct extent_buffer * eb) clean_log_buffer() argument 2970 struct btrfs_trans_handle *trans = wc->trans; walk_down_log_tree() local 3150 update_log_root(struct btrfs_trans_handle * trans,struct btrfs_root * log,struct btrfs_root_item * root_item) update_log_root() argument 3297 btrfs_sync_log(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_log_ctx * ctx) btrfs_sync_log() argument 3604 free_log_tree(struct btrfs_trans_handle * trans,struct btrfs_root * log) free_log_tree() argument 3658 btrfs_free_log(struct btrfs_trans_handle * trans,struct btrfs_root * root) btrfs_free_log() argument 3667 btrfs_free_log_root_tree(struct btrfs_trans_handle * trans,struct btrfs_fs_info * fs_info) btrfs_free_log_root_tree() argument 3676 mark_inode_as_not_logged(const struct btrfs_trans_handle * trans,struct btrfs_inode * inode) mark_inode_as_not_logged() argument 3710 inode_logged(const struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path_in) inode_logged() argument 3829 del_logged_dentry(struct btrfs_trans_handle * trans,struct btrfs_root * log,struct btrfs_path * path,u64 dir_ino,const struct fscrypt_str * name,u64 index) del_logged_dentry() argument 3878 btrfs_del_dir_entries_in_log(struct btrfs_trans_handle * trans,const struct fscrypt_str * name,struct btrfs_inode * dir,u64 index) btrfs_del_dir_entries_in_log() argument 3916 btrfs_del_inode_ref_in_log(struct btrfs_trans_handle * trans,const struct fscrypt_str * name,struct btrfs_inode * inode,struct btrfs_inode * dir) btrfs_del_inode_ref_in_log() argument 3951 insert_dir_log_key(struct btrfs_trans_handle * trans,struct btrfs_root * log,struct btrfs_path * path,u64 dirid,u64 first_offset,u64 last_offset) insert_dir_log_key() argument 3993 flush_dir_items_batch(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct extent_buffer * src,struct btrfs_path * dst_path,int start_slot,int count) flush_dir_items_batch() argument 4108 process_dir_items_leaf(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_path * dst_path,struct btrfs_log_ctx * ctx,u64 * last_old_dentry_offset) process_dir_items_leaf() argument 4221 log_dir_items(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_path * dst_path,struct btrfs_log_ctx * ctx,u64 min_offset,u64 * last_offset_ret) log_dir_items() argument 4480 log_directory_changes(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_path * dst_path,struct btrfs_log_ctx * ctx) log_directory_changes() argument 4516 drop_inode_items(struct btrfs_trans_handle * trans,struct btrfs_root * log,struct btrfs_path * path,struct btrfs_inode * inode,int max_key_type) drop_inode_items() argument 4569 truncate_inode_items(struct btrfs_trans_handle * trans,struct btrfs_root * log_root,struct btrfs_inode * inode,u64 new_size,u32 min_type) truncate_inode_items() argument 4584 fill_inode_item(struct btrfs_trans_handle * trans,struct extent_buffer * leaf,struct btrfs_inode_item * item,struct btrfs_inode * inode,bool log_inode_only,u64 logged_isize) fill_inode_item() argument 4651 log_inode_item(struct btrfs_trans_handle * trans,struct btrfs_root * log,struct btrfs_path * path,struct btrfs_inode * inode,bool inode_item_dropped) log_inode_item() argument 4698 log_csums(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_root * log_root,struct btrfs_ordered_sum * sums) log_csums() argument 4744 copy_items(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * dst_path,struct btrfs_path * src_path,int start_slot,int nr,enum btrfs_log_mode log_mode,u64 logged_isize,struct btrfs_log_ctx * ctx) copy_items() argument 4992 log_extent_csums(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_root * log_root,const struct extent_map * em,struct btrfs_log_ctx * ctx) log_extent_csums() argument 5110 log_one_extent(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,const struct extent_map * em,struct btrfs_path * path,struct btrfs_log_ctx * ctx) log_one_extent() argument 5200 btrfs_log_prealloc_extents(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_log_ctx * ctx) btrfs_log_prealloc_extents() argument 5330 btrfs_log_changed_extents(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_log_ctx * ctx) btrfs_log_changed_extents() argument 5431 get_inode_size_to_log(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,u64 * size_ret) get_inode_size_to_log() argument 5501 btrfs_log_all_xattrs(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_path * dst_path,struct btrfs_log_ctx * ctx) btrfs_log_all_xattrs() argument 5580 btrfs_log_holes(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path) btrfs_log_holes() argument 5820 need_log_inode(const struct btrfs_trans_handle * trans,struct btrfs_inode * inode) need_log_inode() argument 5887 log_new_dir_dentries(struct btrfs_trans_handle * trans,struct btrfs_inode * start_inode,struct btrfs_log_ctx * ctx) log_new_dir_dentries() argument 6083 can_log_conflicting_inode(const struct btrfs_trans_handle * trans,const struct btrfs_inode * inode) can_log_conflicting_inode() argument 6110 add_conflicting_inode(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,u64 ino,u64 parent,struct btrfs_log_ctx * ctx) add_conflicting_inode() argument 6243 log_conflicting_inodes(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_log_ctx * ctx) log_conflicting_inodes() argument 6365 copy_inode_items_to_log(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_key * min_key,const struct btrfs_key * max_key,struct btrfs_path * path,struct btrfs_path * dst_path,const u64 logged_isize,const enum btrfs_log_mode log_mode,struct btrfs_log_ctx * ctx,bool * need_log_inode_item) copy_inode_items_to_log() argument 6521 insert_delayed_items_batch(struct btrfs_trans_handle * trans,struct btrfs_root * log,struct btrfs_path * path,const struct btrfs_item_batch * batch,const struct btrfs_delayed_item * first_item) insert_delayed_items_batch() argument 6549 log_delayed_insertion_items(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,const struct list_head * delayed_ins_list,struct btrfs_log_ctx * ctx) log_delayed_insertion_items() argument 6643 log_delayed_deletions_full(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,const struct list_head * delayed_del_list,struct btrfs_log_ctx * ctx) log_delayed_deletions_full() argument 6689 batch_delete_dir_index_items(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,const struct list_head * delayed_del_list,const struct btrfs_delayed_item * first,const struct btrfs_delayed_item ** last_ret) batch_delete_dir_index_items() argument 6723 log_delayed_deletions_incremental(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,const struct list_head * delayed_del_list,struct btrfs_log_ctx * ctx) log_delayed_deletions_incremental() argument 6797 log_delayed_deletion_items(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,const struct list_head * delayed_del_list,struct btrfs_log_ctx * ctx) log_delayed_deletion_items() argument 6824 log_new_delayed_dentries(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,const struct list_head * delayed_ins_list,struct btrfs_log_ctx * ctx) log_new_delayed_dentries() argument 6911 btrfs_log_inode(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,enum btrfs_log_mode log_mode,struct btrfs_log_ctx * ctx) btrfs_log_inode() argument 7263 btrfs_log_all_parents(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_log_ctx * ctx) btrfs_log_all_parents() argument 7399 log_new_ancestors(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,struct btrfs_log_ctx * ctx) log_new_ancestors() argument 7462 log_new_ancestors_fast(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct dentry * parent,struct btrfs_log_ctx * ctx) log_new_ancestors_fast() argument 7500 log_all_new_ancestors(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct dentry * parent,struct btrfs_log_ctx * ctx) log_all_new_ancestors() argument 7596 btrfs_log_inode_parent(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct dentry * parent,enum btrfs_log_mode log_mode,struct btrfs_log_ctx * ctx) btrfs_log_inode_parent() argument 7737 btrfs_log_dentry_safe(struct btrfs_trans_handle * trans,struct dentry * dentry,struct btrfs_log_ctx * ctx) btrfs_log_dentry_safe() argument 7759 struct btrfs_trans_handle *trans; btrfs_recover_log_trees() local 7947 btrfs_record_unlink_dir(struct btrfs_trans_handle * trans,struct btrfs_inode * dir,struct btrfs_inode * inode,bool for_rename) btrfs_record_unlink_dir() argument 8012 btrfs_record_snapshot_destroy(struct btrfs_trans_handle * trans,struct btrfs_inode * dir) btrfs_record_snapshot_destroy() argument 8034 btrfs_record_new_subvolume(const struct btrfs_trans_handle * trans,struct btrfs_inode * dir) btrfs_record_new_subvolume() argument 8061 btrfs_log_new_name(struct btrfs_trans_handle * trans,struct dentry * old_dentry,struct btrfs_inode * old_dir,u64 old_dir_index,struct dentry * parent) btrfs_log_new_name() argument [all...] |
| H A D | uuid-tree.c | 78 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type, in btrfs_uuid_tree_add() argument 81 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_uuid_tree_add() 101 ret = btrfs_insert_empty_item(trans, uuid_root, path, &key, in btrfs_uuid_tree_add() 113 btrfs_extend_item(trans, path, sizeof(subid_le)); in btrfs_uuid_tree_add() 130 int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type, in btrfs_uuid_tree_remove() argument 133 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_uuid_tree_remove() 155 ret = btrfs_search_slot(trans, uuid_root, &key, path, -1, 1); in btrfs_uuid_tree_remove() 188 return btrfs_del_item(trans, uuid_root, path); in btrfs_uuid_tree_remove() 194 btrfs_truncate_item(trans, path, item_size - sizeof(subid), 1); in btrfs_uuid_tree_remove() 240 struct btrfs_trans_handle *trans; in btrfs_uuid_iter_rem() local [all …]
|
| H A D | relocation.c | 500 struct btrfs_trans_handle *trans, in build_backref_tree() argument 532 ret = btrfs_backref_add_tree_node(trans, cache, path, &iter, in build_backref_tree() 633 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans, in create_reloc_root() argument 673 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root() 696 ret = btrfs_copy_root(trans, root, root->node, &eb, in create_reloc_root() 710 btrfs_set_root_generation(root_item, trans->transid); in create_reloc_root() 722 ret = btrfs_insert_root(trans, fs_info->tree_root, in create_reloc_root() 725 btrfs_abort_transaction(trans, ret); in create_reloc_root() 731 btrfs_abort_transaction(trans, PTR_ERR(reloc_root)); in create_reloc_root() 735 btrfs_set_root_last_trans(reloc_root, trans in create_reloc_root() 746 btrfs_init_reloc_root(struct btrfs_trans_handle * trans,struct btrfs_root * root) btrfs_init_reloc_root() argument 817 btrfs_update_reloc_root(struct btrfs_trans_handle * trans,struct btrfs_root * root) btrfs_update_reloc_root() argument 933 replace_file_extents(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_root * root,struct extent_buffer * leaf) replace_file_extents() argument 1086 replace_path(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_root * dest,struct btrfs_root * src,struct btrfs_path * path,struct btrfs_key * next_key,int lowest_level,int max_level) replace_path() argument 1501 insert_dirty_subvol(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_root * root) insert_dirty_subvol() argument 1620 struct btrfs_trans_handle *trans = NULL; merge_reloc_root() local 1785 struct btrfs_trans_handle *trans; prepare_to_merge() local 2053 record_reloc_root_in_trans(struct btrfs_trans_handle * trans,struct btrfs_root * reloc_root) record_reloc_root_in_trans() argument 2092 select_reloc_root(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_backref_node * node,struct btrfs_backref_edge * edges[]) select_reloc_root() argument 2263 refill_metadata_space(struct btrfs_trans_handle * trans,struct reloc_control * rc,u64 num_bytes) refill_metadata_space() argument 2299 reserve_metadata_space(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_backref_node * node) reserve_metadata_space() argument 2316 do_relocation(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_backref_node * node,struct btrfs_key * key,struct btrfs_path * path,int lowest) do_relocation() argument 2477 link_to_upper(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_backref_node * node,struct btrfs_path * path) link_to_upper() argument 2488 finish_pending_nodes(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_path * path,int err) finish_pending_nodes() argument 2584 relocate_tree_block(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct btrfs_backref_node * node,struct btrfs_key * key,struct btrfs_path * path) relocate_tree_block() argument 2674 relocate_cowonly_block(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct tree_block * block,struct btrfs_path * path) relocate_cowonly_block() argument 2717 relocate_tree_blocks(struct btrfs_trans_handle * trans,struct reloc_control * rc,struct rb_root * blocks) relocate_tree_blocks() argument 3336 struct btrfs_trans_handle *trans; delete_block_group_cache() local 3571 struct btrfs_trans_handle *trans; prepare_to_relocate() local 3619 struct btrfs_trans_handle *trans = NULL; relocate_block_group() local 3789 __insert_orphan_inode(struct btrfs_trans_handle * trans,struct btrfs_root * root,u64 objectid) __insert_orphan_inode() argument 3816 delete_orphan_inode(struct btrfs_trans_handle * trans,struct btrfs_root * root,u64 objectid) delete_orphan_inode() argument 3853 struct btrfs_trans_handle *trans; create_reloc_inode() local 3978 add_remap_tree_entries(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct btrfs_key * entries,unsigned int num_entries) add_remap_tree_entries() argument 4055 adjust_block_group_remap_bytes(struct btrfs_trans_handle * trans,struct btrfs_block_group * bg,s64 diff) adjust_block_group_remap_bytes() argument 4206 add_remap_item(struct btrfs_trans_handle * trans,struct btrfs_path * path,u64 new_addr,u64 length,u64 old_addr) add_remap_item() argument 4235 add_remap_backref_item(struct btrfs_trans_handle * trans,struct btrfs_path * path,u64 new_addr,u64 length,u64 old_addr) add_remap_backref_item() argument 4269 struct btrfs_trans_handle *trans; move_existing_remap() local 4542 create_remap_tree_entries(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct btrfs_block_group * bg) create_remap_tree_entries() argument 4722 find_next_identity_remap(struct btrfs_trans_handle * trans,struct btrfs_path * path,u64 bg_end,u64 last_start,u64 * start,u64 * length) find_next_identity_remap() argument 4776 remove_chunk_stripes(struct btrfs_trans_handle * trans,struct btrfs_chunk_map * chunk_map,struct btrfs_path * path) remove_chunk_stripes() argument 4822 struct btrfs_trans_handle *trans; btrfs_last_identity_remap_gone() local 4888 adjust_identity_remap_count(struct btrfs_trans_handle * trans,struct btrfs_block_group * bg,int delta) adjust_identity_remap_count() argument 4925 add_remap_entry(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct btrfs_block_group * src_bg,u64 old_addr,u64 new_addr,u64 length) add_remap_entry() argument 5011 mark_chunk_remapped(struct btrfs_trans_handle * trans,struct btrfs_path * path,u64 start) mark_chunk_remapped() argument 5064 struct btrfs_trans_handle *trans; do_remap_reloc_trans() local 5310 struct btrfs_trans_handle *trans; start_block_group_remapping() local 5576 struct btrfs_trans_handle *trans; mark_garbage_root() local 5630 struct btrfs_trans_handle *trans; btrfs_recover_relocation() local 5855 btrfs_reloc_cow_block(struct btrfs_trans_handle * trans,struct btrfs_root * root,const struct extent_buffer * buf,struct extent_buffer * cow) btrfs_reloc_cow_block() argument 5961 btrfs_reloc_post_snapshot(struct btrfs_trans_handle * trans,struct btrfs_pending_snapshot * pending) btrfs_reloc_post_snapshot() argument 6025 insert_remap_item(struct btrfs_trans_handle * trans,struct btrfs_path * path,u64 old_addr,u64 length,u64 new_addr) insert_remap_item() argument 6089 remove_range_from_remap_tree(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct btrfs_block_group * bg,u64 hole_start,u64 hole_length) remove_range_from_remap_tree() argument 6207 btrfs_remove_extent_from_remap_tree(struct btrfs_trans_handle * trans,struct btrfs_path * path,u64 bytenr,u64 num_bytes) btrfs_remove_extent_from_remap_tree() argument [all...] |
| /linux/fs/xfs/ |
| H A D | xfs_attr_inactive.c | 84 struct xfs_trans **trans, in xfs_attr3_leaf_inactive() argument 121 xfs_trans_brelse(*trans, bp); in xfs_attr3_leaf_inactive() 132 struct xfs_trans **trans, in xfs_attr3_node_inactive() argument 150 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive() 158 xfs_trans_brelse(*trans, bp); in xfs_attr3_node_inactive() 162 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive() 177 error = xfs_da3_node_read(*trans, dp, child_fsb, &child_bp, in xfs_attr3_node_inactive() 192 error = xfs_attr3_node_inactive(trans, dp, child_bp, in xfs_attr3_node_inactive() 197 error = xfs_attr3_leaf_inactive(trans, dp, child_bp); in xfs_attr3_node_inactive() 201 xfs_trans_brelse(*trans, child_bp); in xfs_attr3_node_inactive() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-scd.h | 9 #include "iwl-trans.h" 13 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, in iwl_scd_txq_set_chain() argument 16 iwl_trans_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_trans_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_trans_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_trans_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 41 iwl_scd_deactivate_fifos(struct iwl_trans * trans) iwl_scd_deactivate_fifos() argument 46 iwl_scd_enable_set_active(struct iwl_trans * trans,u32 value) iwl_scd_enable_set_active() argument 76 iwl_scd_txq_set_inactive(struct iwl_trans * trans,u16 txq_id) iwl_scd_txq_set_inactive() argument [all...] |
| H A D | iwl-dbg-tlv.c | 7 #include "iwl-trans.h" 99 static int iwl_dbg_tlv_alloc_debug_info(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_debug_info() argument 113 IWL_DEBUG_FW(trans, "WRT: Loading debug cfg: %s\n", in iwl_dbg_tlv_alloc_debug_info() 116 if (!iwl_dbg_tlv_add(tlv, &trans->dbg.debug_info_tlv_list)) in iwl_dbg_tlv_alloc_debug_info() 121 static int iwl_dbg_tlv_alloc_buf_alloc(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_buf_alloc() argument 152 IWL_ERR(trans, "WRT: Invalid DRAM buffer allocation requested size (0)\n"); in iwl_dbg_tlv_alloc_buf_alloc() 156 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc() 160 IWL_ERR(trans, in iwl_dbg_tlv_alloc_buf_alloc() 166 static int iwl_dbg_tlv_alloc_hcmd(struct iwl_trans *trans, in iwl_dbg_tlv_alloc_hcmd() argument 183 IWL_ERR(trans, in iwl_dbg_tlv_alloc_hcmd() 192 iwl_dbg_tlv_alloc_region(struct iwl_trans * trans,const struct iwl_ucode_tlv * tlv) iwl_dbg_tlv_alloc_region() argument 250 iwl_dbg_tlv_alloc_trigger(struct iwl_trans * trans,const struct iwl_ucode_tlv * tlv) iwl_dbg_tlv_alloc_trigger() argument 287 iwl_dbg_tlv_config_set(struct iwl_trans * trans,const struct iwl_ucode_tlv * tlv) iwl_dbg_tlv_config_set() argument 323 iwl_dbg_tlv_alloc(struct iwl_trans * trans,const struct iwl_ucode_tlv * tlv,bool ext) iwl_dbg_tlv_alloc() argument 377 iwl_dbg_tlv_del_timers(struct iwl_trans * trans) iwl_dbg_tlv_del_timers() argument 390 iwl_dbg_tlv_fragments_free(struct iwl_trans * trans,enum iwl_fw_ini_allocation_id alloc_id) iwl_dbg_tlv_fragments_free() argument 418 iwl_dbg_tlv_free(struct iwl_trans * trans) iwl_dbg_tlv_free() argument 473 iwl_dbg_tlv_parse_bin(struct iwl_trans * trans,const u8 * data,size_t len) iwl_dbg_tlv_parse_bin() argument 508 iwl_dbg_tlv_load_bin(struct device * dev,struct iwl_trans * trans) iwl_dbg_tlv_load_bin() argument 531 iwl_dbg_tlv_init(struct iwl_trans * trans) iwl_dbg_tlv_init() argument [all...] |
| H A D | iwl-nvm-parse.c | 19 #include "iwl-trans.h" 349 static int iwl_init_channel_map(struct iwl_trans *trans, in iwl_nl80211_band_from_channel_idx() 355 const struct iwl_rf_cfg *cfg = trans->cfg; in iwl_init_channel_map() 356 struct device *dev = trans->dev; in iwl_init_channel_map() 454 static void iwl_init_vht_hw_capab(struct iwl_trans *trans, in iwl_init_channel_map() 459 const struct iwl_rf_cfg *cfg = trans->cfg; in iwl_init_vht_hw_capab() 472 if (!trans->cfg->ht_params.stbc) in iwl_init_vht_hw_capab() 490 if (trans->cfg->ht_params.stbc && num_tx_ants > 1) in iwl_init_vht_hw_capab() 503 if (trans->mac_cfg->mq_rx_supported && !fips_enabled) in iwl_init_vht_hw_capab() 510 if (trans in iwl_init_vht_hw_capab() 351 iwl_init_channel_map(struct iwl_trans * trans,const struct iwl_fw * fw,struct iwl_nvm_data * data,const void * const nvm_ch_flags,u32 sbands_flags,bool v4) iwl_init_channel_map() argument 456 iwl_init_vht_hw_capab(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_sta_vht_cap * vht_cap,u8 tx_chains,u8 rx_chains) iwl_init_vht_hw_capab() argument 828 iwl_init_he_6ghz_capa(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_supported_band * sband,u8 tx_chains,u8 rx_chains) iwl_init_he_6ghz_capa() argument 875 iwl_nvm_fixup_sband_iftd(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_supported_band * sband,struct ieee80211_sband_iftype_data * iftype_data,u8 tx_chains,u8 rx_chains,const struct iwl_fw * fw) iwl_nvm_fixup_sband_iftd() argument 1054 iwl_init_he_hw_capab(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_supported_band * sband,u8 tx_chains,u8 rx_chains,const struct iwl_fw * fw) iwl_init_he_hw_capab() argument 1134 iwl_reinit_cab(struct iwl_trans * trans,struct iwl_nvm_data * data,u8 tx_chains,u8 rx_chains,const struct iwl_fw * fw) iwl_reinit_cab() argument 1167 iwl_init_sbands(struct iwl_trans * trans,struct iwl_nvm_data * data,const void * nvm_ch_flags,u8 tx_chains,u8 rx_chains,u32 sbands_flags,bool v4,const struct iwl_fw * fw) iwl_init_sbands() argument 1312 iwl_set_hw_address_from_csr(struct iwl_trans * trans,struct iwl_nvm_data * data) iwl_set_hw_address_from_csr() argument 1334 iwl_set_hw_address_family_8000(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,struct iwl_nvm_data * data,const __le16 * mac_override,const __be16 * nvm_hw) iwl_set_hw_address_family_8000() argument 1383 iwl_set_hw_address(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,struct iwl_nvm_data * data,const __be16 * nvm_hw,const __le16 * mac_override) iwl_set_hw_address() argument 1419 iwl_nvm_no_wide_in_5ghz(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,const __be16 * nvm_hw) iwl_nvm_no_wide_in_5ghz() argument 1451 iwl_parse_mei_nvm_data(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,const struct iwl_mei_nvm * mei_nvm,const struct iwl_fw * fw,u8 tx_ant,u8 rx_ant) iwl_parse_mei_nvm_data() argument 1513 iwl_parse_nvm_data(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,const struct iwl_fw * fw,const __be16 * nvm_hw,const __le16 * nvm_sw,const __le16 * nvm_calib,const __le16 * regulatory,const __le16 * mac_override,const __le16 * phy_sku,u8 tx_chains,u8 rx_chains) iwl_parse_nvm_data() argument 1739 iwl_parse_nvm_mcc_info(struct iwl_trans * trans,int num_of_ch,__le32 * channels,u16 fw_mcc,u16 geo_info,u32 cap,u8 resp_ver,enum iwl_puncturing_status * puncturing_status) iwl_parse_nvm_mcc_info() argument 1938 iwl_read_external_nvm(struct iwl_trans * trans,const char * nvm_file_name,struct iwl_nvm_section * nvm_sections) iwl_read_external_nvm() argument 2095 iwl_get_nvm(struct iwl_trans * trans,const struct iwl_fw * fw,u8 set_tx_ant,u8 set_rx_ant) iwl_get_nvm() argument [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | eeprom.c | 11 #include "iwl-trans.h" 668 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) in iwl_eeprom_acquire_semaphore() argument 675 iwl_trans_set_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_acquire_semaphore() 679 ret = iwl_trans_poll_bits(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_acquire_semaphore() 683 IWL_DEBUG_EEPROM(trans->dev, in iwl_eeprom_acquire_semaphore() 693 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) in iwl_eeprom_release_semaphore() argument 695 iwl_trans_clear_bit(trans, CSR_HW_IF_CONFIG_REG, in iwl_eeprom_release_semaphore() 699 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) in iwl_eeprom_verify_signature() argument 701 u32 gp = iwl_trans_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in iwl_eeprom_verify_signature() 703 IWL_DEBUG_EEPROM(trans in iwl_eeprom_verify_signature() 735 iwl_set_otp_access_absolute(struct iwl_trans * trans) iwl_set_otp_access_absolute() argument 743 iwl_nvm_is_otp(struct iwl_trans * trans) iwl_nvm_is_otp() argument 765 iwl_init_otp_access(struct iwl_trans * trans) iwl_init_otp_access() argument 790 iwl_read_otp_word(struct iwl_trans * trans,u16 addr,__le16 * eeprom_data) iwl_read_otp_word() argument 831 iwl_is_otp_empty(struct iwl_trans * trans) iwl_is_otp_empty() argument 861 iwl_find_otp_image(struct iwl_trans * trans,u16 * validblockaddr) iwl_find_otp_image() argument 918 iwl_read_eeprom(struct iwl_trans * trans,u8 ** eeprom,size_t * eeprom_size) iwl_read_eeprom() argument 1024 iwl_init_sbands(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,struct iwl_nvm_data * data,const u8 * eeprom,size_t eeprom_size) iwl_init_sbands() argument 1059 iwl_parse_eeprom_data(struct iwl_trans * trans,const struct iwl_rf_cfg * cfg,const u8 * eeprom,size_t eeprom_size) iwl_parse_eeprom_data() argument [all...] |
| /linux/fs/btrfs/tests/ |
| H A D | delayed-refs-tests.c | 43 static void delete_delayed_ref_head(struct btrfs_trans_handle *trans, in delete_delayed_ref_head() argument 46 struct btrfs_fs_info *fs_info = trans->fs_info; in delete_delayed_ref_head() 48 &trans->transaction->delayed_refs; in delete_delayed_ref_head() 166 static int simple_test(struct btrfs_trans_handle *trans, in simple_test() argument 171 &trans->transaction->delayed_refs; in simple_test() 172 struct btrfs_fs_info *fs_info = trans->fs_info; in simple_test() 193 ret = btrfs_add_delayed_tree_ref(trans, &ref, NULL); in simple_test() 195 ret = btrfs_add_delayed_data_ref(trans, &ref, 0); in simple_test() 228 btrfs_destroy_delayed_refs(trans->transaction); in simple_test() 236 static int simple_tests(struct btrfs_trans_handle *trans) in simple_tests() argument [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_audio_regs.h | 85 #define HSW_AUD_CFG(trans) _MMIO_TRANS(trans, _HSW_AUD_CONFIG_A, _HSW_AUD_CONFIG_B) argument 89 #define HSW_AUD_MISC_CTRL(trans) _MMIO_TRANS(trans, _HSW_AUD_MISC_CTRL_A, _HSW_AUD_MISC_CTRL_B) argument 93 #define HSW_AUD_M_CTS_ENABLE(trans) _MMIO_TRANS(trans, _HSW_AUD_M_CTS_ENABLE_A, _HSW_AUD_M_CTS_ENABLE_B) argument 100 #define HSW_AUD_DIP_ELD_CTRL(trans) _MMIO_TRANS(trans, _HSW_AUD_DIP_ELD_CTRL_ST_A, _HSW_AUD_DIP_ELD_CTRL_ST_B) argument 105 #define AUD_DIG_CNVT(trans) _MMIO_TRANS(trans, _HSW_AUD_DIG_CNVT_ argument 110 HSW_AUD_EDID_DATA(trans) global() argument 114 AUDIO_INACTIVE(trans) global() argument 115 AUDIO_OUTPUT_ENABLE(trans) global() argument 116 AUDIO_CP_READY(trans) global() argument 117 AUDIO_ELD_VALID(trans) global() argument 121 AUD_DP_2DOT0_CTRL(trans) global() argument [all...] |
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sriov_common.c | 165 wq = create_singlethread_workqueue("bc-trans"); in qlcnic_sriov_init() 169 "Cannot create bc-trans workqueue\n"); in qlcnic_sriov_init() 240 struct qlcnic_bc_trans *trans; in qlcnic_sriov_cleanup_list() local 247 trans = list_first_entry(&t_list->wait_list, in qlcnic_sriov_cleanup_list() 249 list_del(&trans->list); in qlcnic_sriov_cleanup_list() 251 cmd.req.arg = (u32 *)trans->req_pay; in qlcnic_sriov_cleanup_list() 252 cmd.rsp.arg = (u32 *)trans->rsp_pay; in qlcnic_sriov_cleanup_list() 254 qlcnic_sriov_cleanup_transaction(trans); in qlcnic_sriov_cleanup_list() 699 static inline int qlcnic_sriov_alloc_bc_trans(struct qlcnic_bc_trans **trans) in qlcnic_sriov_alloc_bc_trans() argument 701 *trans in qlcnic_sriov_alloc_bc_trans() 752 qlcnic_sriov_prepare_bc_hdr(struct qlcnic_bc_trans * trans,struct qlcnic_cmd_args * cmd,u16 seq,u8 msg_type) qlcnic_sriov_prepare_bc_hdr() argument 816 qlcnic_sriov_cleanup_transaction(struct qlcnic_bc_trans * trans) qlcnic_sriov_cleanup_transaction() argument 826 qlcnic_sriov_clear_trans(struct qlcnic_vf_info * vf,struct qlcnic_bc_trans * trans,u8 type) qlcnic_sriov_clear_trans() argument 861 qlcnic_sriov_wait_for_resp(struct qlcnic_bc_trans * trans) qlcnic_sriov_wait_for_resp() argument 873 qlcnic_sriov_handle_multi_frags(struct qlcnic_bc_trans * trans,u8 type) qlcnic_sriov_handle_multi_frags() argument 891 qlcnic_sriov_wait_for_channel_free(struct qlcnic_bc_trans * trans,u8 type) qlcnic_sriov_wait_for_channel_free() argument 937 qlcnic_sriov_issue_bc_post(struct qlcnic_bc_trans * trans,u8 type) qlcnic_sriov_issue_bc_post() argument 967 __qlcnic_sriov_send_bc_msg(struct qlcnic_bc_trans * trans,struct qlcnic_vf_info * vf,u8 type) __qlcnic_sriov_send_bc_msg() argument 1008 qlcnic_sriov_send_bc_cmd(struct qlcnic_adapter * adapter,struct qlcnic_bc_trans * trans,int pci_func) qlcnic_sriov_send_bc_cmd() argument 1037 __qlcnic_sriov_process_bc_cmd(struct qlcnic_adapter * adapter,struct qlcnic_bc_trans * trans,struct qlcnic_cmd_args * cmd) __qlcnic_sriov_process_bc_cmd() argument 1054 struct qlcnic_bc_trans *trans = NULL; qlcnic_sriov_process_bc_cmd() local 1090 struct qlcnic_bc_trans *trans; qlcnic_sriov_handle_bc_resp() local 1121 __qlcnic_sriov_add_act_list(struct qlcnic_sriov * sriov,struct qlcnic_vf_info * vf,struct qlcnic_bc_trans * trans) __qlcnic_sriov_add_act_list() argument 1135 qlcnic_sriov_add_act_list(struct qlcnic_sriov * sriov,struct qlcnic_vf_info * vf,struct qlcnic_bc_trans * trans) qlcnic_sriov_add_act_list() argument 1151 struct qlcnic_bc_trans *trans = NULL; qlcnic_sriov_handle_pending_trans() local 1195 struct qlcnic_bc_trans *trans; qlcnic_sriov_handle_bc_cmd() local 1354 qlcnic_sriov_retry_bc_cmd(struct qlcnic_adapter * adapter,struct qlcnic_bc_trans * trans) qlcnic_sriov_retry_bc_cmd() argument 1379 struct qlcnic_bc_trans *trans; __qlcnic_sriov_issue_cmd() local [all...] |
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | trans.c | 18 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd; in qtnf_trans_send_cmd_with_resp() 83 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd; in qtnf_trans_signal_cmdresp() 114 struct qtnf_qlink_transport *trans = &bus->trans; in qtnf_trans_event_enqueue() local 116 if (likely(skb_queue_len(&trans->event_queue) < in qtnf_trans_event_enqueue() 117 trans->event_queue_max_len)) { in qtnf_trans_event_enqueue() 118 skb_queue_tail(&trans->event_queue, skb); in qtnf_trans_event_enqueue() 131 struct qtnf_qlink_transport *trans = &bus->trans; in qtnf_trans_init() local 133 init_completion(&trans->curr_cmd.cmd_resp_completion); in qtnf_trans_init() 134 spin_lock_init(&trans->curr_cmd.resp_lock); in qtnf_trans_init() 136 spin_lock(&trans->curr_cmd.resp_lock); in qtnf_trans_init() [all …]
|