| /linux/drivers/gpu/drm/amd/pm/powerplay/ |
| H A D | amd_powerplay.c | 308 static int pp_dpm_load_fw(void *handle) in pp_dpm_load_fw() 323 static int pp_dpm_fw_loading_complete(void *handle) in pp_dpm_fw_loading_complete() 328 static int pp_set_clockgating_by_smu(void *handle, uint32_t msg_id) in pp_set_clockgating_by_smu() 367 static int pp_dpm_force_performance_level(void *handle, in pp_dpm_force_performance_level() 386 void *handle) in pp_dpm_get_performance_level() 396 static uint32_t pp_dpm_get_sclk(void *handle, bool low) in pp_dpm_get_sclk() 410 static uint32_t pp_dpm_get_mclk(void *handle, bool low) in pp_dpm_get_mclk() 424 static void pp_dpm_powergate_vce(void *handle, bool gate) in pp_dpm_powergate_vce() 438 static void pp_dpm_powergate_uvd(void *handle, bool gate) in pp_dpm_powergate_uvd() 452 static int pp_dpm_dispatch_tasks(void *handle, enum amd_pp_task task_id, in pp_dpm_dispatch_tasks() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_uclo.c | 128 static void qat_uclo_wr_sram_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_sram_by_words() 144 static void qat_uclo_wr_umem_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_umem_by_words() 162 static void qat_uclo_batch_wr_umem(struct icp_qat_fw_loader_handle *handle, in qat_uclo_batch_wr_umem() 185 qat_uclo_cleanup_batch_init_list(struct icp_qat_fw_loader_handle *handle, in qat_uclo_cleanup_batch_init_list() 213 static int qat_uclo_fetch_initmem_ae(struct icp_qat_fw_loader_handle *handle, in qat_uclo_fetch_initmem_ae() 244 static int qat_uclo_create_batch_init_list(struct icp_qat_fw_loader_handle in qat_uclo_create_batch_init_list() 303 static int qat_uclo_init_lmem_seg(struct icp_qat_fw_loader_handle *handle, in qat_uclo_init_lmem_seg() 318 static int qat_uclo_init_umem_seg(struct icp_qat_fw_loader_handle *handle, in qat_uclo_init_umem_seg() 341 static int qat_uclo_init_ae_memory(struct icp_qat_fw_loader_handle *handle, in qat_uclo_init_ae_memory() 360 static int qat_uclo_init_ustore(struct icp_qat_fw_loader_handle *handle, in qat_uclo_init_ustore() [all …]
|
| H A D | icp_qat_hal.h | 125 #define SET_CAP_CSR(handle, csr, val) \ argument 127 #define GET_CAP_CSR(handle, csr) \ argument 129 #define AE_CSR(handle, ae) \ argument 131 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & (csr))) argument 132 #define SET_AE_CSR(handle, ae, csr, val) \ argument 134 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument 135 #define AE_XFER(handle, ae) \ argument 137 #define AE_XFER_ADDR(handle, ae, reg) (AE_XFER(handle, ae) + \ argument 139 #define SET_AE_XFER(handle, ae, reg, val) \ argument 141 #define SRAM_WRITE(handle, addr, val) \ argument
|
| /linux/drivers/firmware/ |
| H A D | ti_sci.c | 115 struct ti_sci_handle handle; member 457 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local 514 static int ti_sci_set_device_state(const struct ti_sci_handle *handle, in ti_sci_set_device_state() 571 static int ti_sci_get_device_state(const struct ti_sci_handle *handle, in ti_sci_get_device_state() 642 static int ti_sci_cmd_get_device(const struct ti_sci_handle *handle, u32 id) in ti_sci_cmd_get_device() 661 static int ti_sci_cmd_get_device_exclusive(const struct ti_sci_handle *handle, in ti_sci_cmd_get_device_exclusive() 680 static int ti_sci_cmd_idle_device(const struct ti_sci_handle *handle, u32 id) in ti_sci_cmd_idle_device() 699 static int ti_sci_cmd_idle_device_exclusive(const struct ti_sci_handle *handle, in ti_sci_cmd_idle_device_exclusive() 718 static int ti_sci_cmd_put_device(const struct ti_sci_handle *handle, u32 id) in ti_sci_cmd_put_device() 732 static int ti_sci_cmd_dev_is_valid(const struct ti_sci_handle *handle, u32 id) in ti_sci_cmd_dev_is_valid() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/ |
| H A D | amdgpu_smu.c | 84 static int smu_sys_get_pp_feature_mask(void *handle, in smu_sys_get_pp_feature_mask() 95 static int smu_sys_set_pp_feature_mask(void *handle, in smu_sys_set_pp_feature_mask() 194 static u32 smu_get_mclk(void *handle, bool low) in smu_get_mclk() 208 static u32 smu_get_sclk(void *handle, bool low) in smu_get_sclk() 389 static int smu_dpm_set_power_gate(void *handle, in smu_dpm_set_power_gate() 578 static int smu_get_power_num_states(void *handle, in smu_get_power_num_states() 627 static int smu_sys_get_pp_table(void *handle, in smu_sys_get_pp_table() 647 static int smu_sys_set_pp_table(void *handle, in smu_sys_set_pp_table() 2287 static int smu_display_configuration_change(void *handle, in smu_display_configuration_change() 2316 static int smu_enable_umd_pstate(void *handle, in smu_enable_umd_pstate() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_main.c | 100 struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle) in hclgevf_ae_get_hdev() 110 static void hclgevf_update_stats(struct hnae3_handle *handle) in hclgevf_update_stats() 122 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count() 132 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings() 139 static void hclgevf_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_get_stats() 259 static u16 hclgevf_get_qid_global(struct hnae3_handle *handle, u16 queue_id) in hclgevf_get_qid_global() 407 struct hnae3_handle *handle = &hdev->nic; in hclgevf_update_link_status() local 475 static int hclgevf_get_vector(struct hnae3_handle *handle, u16 vector_num, in hclgevf_get_vector() 558 static int hclgevf_get_rss(struct hnae3_handle *handle, u32 *indir, u8 *key, in hclgevf_get_rss() 585 static int hclgevf_set_rss(struct hnae3_handle *handle, const u32 *indir, in hclgevf_set_rss() [all …]
|
| /linux/kernel/events/ |
| H A D | ring_buffer.c | 20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() 40 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() 54 static void perf_output_put_handle(struct perf_output_handle *handle) in perf_output_put_handle() 153 __perf_output_begin(struct perf_output_handle *handle, in __perf_output_begin() 273 int perf_output_begin_forward(struct perf_output_handle *handle, in perf_output_begin_forward() 280 int perf_output_begin_backward(struct perf_output_handle *handle, in perf_output_begin_backward() 287 int perf_output_begin(struct perf_output_handle *handle, in perf_output_begin() 296 unsigned int perf_output_copy(struct perf_output_handle *handle, in perf_output_copy() 302 unsigned int perf_output_skip(struct perf_output_handle *handle, in perf_output_skip() 308 void perf_output_end(struct perf_output_handle *handle) in perf_output_end() [all …]
|
| /linux/fs/ext4/ |
| H A D | ext4_jbd2.c | 35 handle_t *handle = current->journal_info; in ext4_get_nojournal() local 49 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() 118 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop() 145 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved() 169 int __ext4_journal_ensure_credits(handle_t *handle, int check_cred, in __ext4_journal_ensure_credits() 187 handle_t *handle, int err) in ext4_journal_abort_handle() 232 handle_t *handle, struct super_block *sb, in __ext4_journal_get_write_access() 267 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, in __ext4_forget() 329 handle_t *handle, struct super_block *sb, in __ext4_journal_get_create_access() 354 handle_t *handle, struct inode *inode, in __ext4_handle_dirty_metadata()
|
| H A D | migrate.c | 21 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() 65 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range() 90 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() 119 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range() 149 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range() 179 static int free_dind_blocks(handle_t *handle, in free_dind_blocks() 220 static int free_tind_blocks(handle_t *handle, in free_tind_blocks() 254 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block() 287 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data() 353 static int free_ext_idx(handle_t *handle, struct inode *inode, in free_ext_idx() [all …]
|
| H A D | inode.c | 167 handle_t *handle; in ext4_evict_inode() local 443 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck() 485 static int ext4_map_query_blocks_next_in_leaf(handle_t *handle, in ext4_map_query_blocks_next_in_leaf() 540 static int ext4_map_query_blocks(handle_t *handle, struct inode *inode, in ext4_map_query_blocks() 587 static int ext4_map_create_blocks(handle_t *handle, struct inode *inode, in ext4_map_create_blocks() 693 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks() 889 static inline int ext4_journal_ensure_extent_credits(handle_t *handle, in ext4_journal_ensure_extent_credits() 969 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk() 1041 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread() 1104 int ext4_walk_page_buffers(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers() [all …]
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | file_handle_test.c | 25 struct file_handle *handle; in TEST() local 80 struct file_handle *handle; in TEST() local 130 struct file_handle *handle; in TEST() local 180 struct file_handle *handle; in TEST() local 230 struct file_handle *handle; in TEST() local 280 struct file_handle *handle; in TEST() local 330 struct file_handle *handle; in TEST() local 382 struct file_handle *handle; in TEST() local 434 struct file_handle *handle; in TEST() local 563 struct file_handle *handle; in TEST() local [all …]
|
| /linux/fs/jbd2/ |
| H A D | transaction.c | 312 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() 457 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() local 470 handle_t *handle = journal_current_handle(); in jbd2__journal_start() local 544 static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) in __jbd2_journal_unreserve_handle() 554 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved() 580 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved() 641 int jbd2_journal_extend(handle_t *handle, int nblocks, int revoke_records) in jbd2_journal_extend() 697 static void stop_this_handle(handle_t *handle) in stop_this_handle() 759 int jbd2__journal_restart(handle_t *handle, int nblocks, int revoke_records, in jbd2__journal_restart() 806 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart() [all …]
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | pkvm.c | 200 static unsigned int vm_handle_to_idx(pkvm_handle_t handle) in vm_handle_to_idx() 232 static struct pkvm_hyp_vm *get_vm_by_handle(pkvm_handle_t handle) in get_vm_by_handle() 246 struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle, in pkvm_load_hyp_vcpu() 298 struct pkvm_hyp_vm *get_pkvm_hyp_vm(pkvm_handle_t handle) in get_pkvm_hyp_vm() 318 struct pkvm_hyp_vm *get_np_pkvm_hyp_vm(pkvm_handle_t handle) in get_np_pkvm_hyp_vm() 416 unsigned int nr_vcpus, pkvm_handle_t handle) in init_pkvm_hyp_vm() 548 static int __insert_vm_table_entry(pkvm_handle_t handle, in __insert_vm_table_entry() 580 static int insert_vm_table_entry(pkvm_handle_t handle, in insert_vm_table_entry() 595 static void remove_vm_table_entry(pkvm_handle_t handle) in remove_vm_table_entry() 678 void __pkvm_unreserve_vm(pkvm_handle_t handle) in __pkvm_unreserve_vm() [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | evrgnini.c | 34 acpi_ev_system_memory_region_setup(acpi_handle handle, in acpi_ev_system_memory_region_setup() 98 acpi_ev_io_space_region_setup(acpi_handle handle, in acpi_ev_io_space_region_setup() 131 acpi_ev_pci_config_region_setup(acpi_handle handle, in acpi_ev_pci_config_region_setup() 373 acpi_ev_pci_bar_region_setup(acpi_handle handle, in acpi_ev_pci_bar_region_setup() 400 acpi_ev_cmos_region_setup(acpi_handle handle, in acpi_ev_cmos_region_setup() 427 acpi_ev_data_table_region_setup(acpi_handle handle, in acpi_ev_data_table_region_setup() 477 acpi_ev_default_region_setup(acpi_handle handle, in acpi_ev_default_region_setup()
|
| /linux/drivers/pci/hotplug/ |
| H A D | acpi_pcihp.c | 38 static acpi_status acpi_run_oshp(acpi_handle handle) in acpi_run_oshp() 73 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local 145 static int pcihp_is_ejectable(acpi_handle handle) in pcihp_is_ejectable() 166 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) in acpi_pci_check_ejectable() 182 check_hotplug(acpi_handle handle, u32 lvl, void *context, void **rv) in check_hotplug() 198 int acpi_pci_detect_ejectable(acpi_handle handle) in acpi_pci_detect_ejectable()
|
| /linux/drivers/platform/x86/intel/ |
| H A D | hid.c | 252 static bool intel_hid_execute_method(acpi_handle handle, in intel_hid_execute_method() 293 static bool intel_hid_evaluate_method(acpi_handle handle, in intel_hid_evaluate_method() 330 static void intel_hid_init_dsm(acpi_handle handle) in intel_hid_init_dsm() 361 acpi_handle handle = ACPI_HANDLE(device); in intel_hid_set_enable() local 375 acpi_handle handle = ACPI_HANDLE(device); in intel_button_array_enable() local 502 acpi_handle handle = ACPI_HANDLE(&device->dev); in report_tablet_mode_state() local 533 static void notify_handler(acpi_handle handle, u32 event, void *context) in notify_handler() 640 acpi_handle handle = ACPI_HANDLE(&device->dev); in button_array_present() local 664 acpi_handle handle = ACPI_HANDLE(&device->dev); in intel_hid_probe() local 764 acpi_handle handle = ACPI_HANDLE(&device->dev); in intel_hid_remove() local [all …]
|
| /linux/arch/mips/fw/cfe/ |
| H A D | cfe_api.c | 43 int cfe_init(u64 handle, u64 ept) in cfe_init() 57 int cfe_close(int handle) in cfe_close() 290 int cfe_inpstat(int handle) in cfe_inpstat() 309 cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, in cfe_ioctl() 351 int cfe_read(int handle, unsigned char *buffer, int length) in cfe_read() 356 int cfe_readblk(int handle, s64 offset, unsigned char *buffer, int length) in cfe_readblk() 396 int cfe_write(int handle, const char *buffer, int length) in cfe_write() 401 int cfe_writeblk(int handle, s64 offset, const char *buffer, int length) in cfe_writeblk() 426 int handle; in cfe_die() local
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | act_stats.c | 36 struct mlx5e_tc_act_stats_handle *handle; in mlx5e_tc_act_stats_create() local 54 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle) in mlx5e_tc_act_stats_free() 61 mlx5e_tc_act_stats_add(struct mlx5e_tc_act_stats_handle *handle, in mlx5e_tc_act_stats_add() 103 mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle, in mlx5e_tc_act_stats_del_flow() 132 mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle, in mlx5e_tc_act_stats_add_flow() 167 mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle, in mlx5e_tc_act_stats_fill_stats()
|
| H A D | post_act.c | 81 struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_offload() 114 struct mlx5e_post_act_handle *handle; in mlx5e_tc_post_act_add() local 153 struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_unoffload() 160 mlx5e_tc_post_act_del(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_del() 177 struct mlx5e_post_act_handle *handle, in mlx5e_tc_post_act_set_handle()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | mpic_timer.h | 36 void mpic_start_timer(struct mpic_timer *handle) { } in mpic_start_timer() 37 void mpic_stop_timer(struct mpic_timer *handle) { } in mpic_stop_timer() 38 void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) { } in mpic_get_remain_time() 39 void mpic_free_timer(struct mpic_timer *handle) { } in mpic_free_timer()
|
| H A D | fsl_hcalls.h | 121 static inline unsigned int fh_partition_get_dtprop(int handle, in fh_partition_get_dtprop() 175 static inline unsigned int fh_partition_set_dtprop(int handle, in fh_partition_set_dtprop() 534 static inline unsigned int fh_get_core_state(unsigned int handle, in fh_get_core_state() 565 static inline unsigned int fh_enter_nap(unsigned int handle, unsigned int vcpu) in fh_enter_nap() 590 static inline unsigned int fh_exit_nap(unsigned int handle, unsigned int vcpu) in fh_exit_nap() 613 static inline unsigned int fh_claim_device(unsigned int handle) in fh_claim_device() 640 static inline unsigned int fh_partition_stop_dma(unsigned int handle) in fh_partition_stop_dma()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-trbe.c | 142 struct perf_output_handle * __percpu *handle; member 268 static void trbe_report_wrap_event(struct perf_output_handle *handle) in trbe_report_wrap_event() 287 static void trbe_stop_and_truncate_event(struct perf_output_handle *handle) in trbe_stop_and_truncate_event() 352 static void trbe_pad_buf(struct perf_output_handle *handle, int len) in trbe_pad_buf() 362 static unsigned long trbe_snapshot_offset(struct perf_output_handle *handle) in trbe_snapshot_offset() 374 static u64 trbe_min_trace_buf_size(struct perf_output_handle *handle) in trbe_min_trace_buf_size() 403 static unsigned long __trbe_normal_offset(struct perf_output_handle *handle) in __trbe_normal_offset() 552 static unsigned long trbe_normal_offset(struct perf_output_handle *handle) in trbe_normal_offset() 574 static unsigned long compute_trbe_buffer_limit(struct perf_output_handle *handle) in compute_trbe_buffer_limit() 653 static enum trbe_fault_action trbe_get_fault_act(struct perf_output_handle *handle, in trbe_get_fault_act() [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | classmate-laptop.c | 72 static acpi_status cmpc_start_accel_v4(acpi_handle handle) in cmpc_start_accel_v4() 92 static acpi_status cmpc_stop_accel_v4(acpi_handle handle) in cmpc_stop_accel_v4() 112 static acpi_status cmpc_accel_set_sensitivity_v4(acpi_handle handle, int val) in cmpc_accel_set_sensitivity_v4() 130 static acpi_status cmpc_accel_set_g_select_v4(acpi_handle handle, int val) in cmpc_accel_set_g_select_v4() 148 static acpi_status cmpc_get_accel_v4(acpi_handle handle, in cmpc_get_accel_v4() 473 static acpi_status cmpc_start_accel(acpi_handle handle) in cmpc_start_accel() 488 static acpi_status cmpc_stop_accel(acpi_handle handle) in cmpc_stop_accel() 503 static acpi_status cmpc_accel_set_sensitivity(acpi_handle handle, int val) in cmpc_accel_set_sensitivity() 517 static acpi_status cmpc_get_accel(acpi_handle handle, in cmpc_get_accel() 707 static acpi_status cmpc_get_tablet(acpi_handle handle, in cmpc_get_tablet() [all …]
|
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_resource.c | 30 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash() 38 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup() 81 struct vmci_handle handle; in vmci_resource_find_id() local 101 struct vmci_handle handle) in vmci_resource_add() 139 struct vmci_handle handle = resource->handle; in vmci_resource_remove() local
|
| /linux/fs/smb/server/ |
| H A D | transport_ipc.c | 62 unsigned int handle; member 258 static void ipc_msg_handle_free(int handle) in ipc_msg_handle_free() 266 unsigned int handle; in handle_response() local 538 static void *ipc_msg_send_request(struct ksmbd_ipc_msg *msg, unsigned int handle) in ipc_msg_send_request() 779 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle) in ksmbd_rpc_open() 801 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle) in ksmbd_rpc_close() 823 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, in ksmbd_rpc_write() 855 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle) in ksmbd_rpc_read() 882 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle, in ksmbd_rpc_ioctl() 962 void ksmbd_rpc_id_free(int handle) in ksmbd_rpc_id_free()
|