Searched refs:handle (Results 26 - 50 of 1672) sorted by relevance

1234567891011>>

/linux-master/fs/smb/server/
H A Dtransport_ipc.h34 void ksmbd_rpc_id_free(int handle);
35 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle);
36 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle);
37 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle,
39 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle);
40 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle,
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddm_cp_psp.h51 bool (*enable_assr)(void *handle, struct dc_link *link);
52 void (*update_stream_config)(void *handle, struct cp_psp_stream_config *config);
56 void *handle; member in struct:cp_psp
/linux-master/drivers/acpi/acpica/
H A Dutxfmutex.c17 acpi_ut_get_mutex_object(acpi_handle handle,
25 * PARAMETERS: handle - Mutex or prefix handle (optional)
38 acpi_ut_get_mutex_object(acpi_handle handle, argument
48 if (!ret_obj || (!handle && !pathname)) {
54 mutex_node = handle;
57 acpi_get_handle(handle, pathname,
85 * PARAMETERS: handle - Mutex or prefix handle (optional)
100 acpi_acquire_mutex(acpi_handle handle, acpi_strin argument
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-designware-baytrail.c19 acpi_handle handle; local
24 handle = ACPI_HANDLE(dev->dev);
25 if (!handle)
28 status = acpi_evaluate_integer(handle, "_SEM", NULL, &shared_host);
/linux-master/drivers/platform/x86/
H A Dideapad-laptop.h44 static inline int eval_int_with_arg(acpi_handle handle, const char *name, unsigned long arg, unsigned long *res) argument
56 status = acpi_evaluate_integer(handle, (char *)name, &params, &result);
66 static inline int eval_vpcr(acpi_handle handle, unsigned long cmd, unsigned long *res) argument
68 return eval_int_with_arg(handle, "VPCR", cmd, res);
71 static inline int eval_vpcw(acpi_handle handle, unsigned long cmd, unsigned long data) argument
84 status = acpi_evaluate_object(handle, "VPCW", &params, NULL);
93 static inline int read_ec_data(acpi_handle handle, unsigned long cmd, unsigned long *data) argument
98 err = eval_vpcw(handle, 1, cmd);
107 err = eval_vpcr(handle, 1, &val);
112 return eval_vpcr(handle,
120 write_ec_cmd(acpi_handle handle, unsigned long cmd, unsigned long data) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.h25 mlx5e_tc_post_act_del(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle);
29 struct mlx5e_post_act_handle *handle);
33 struct mlx5e_post_act_handle *handle);
40 struct mlx5e_post_act_handle *handle,
H A Dact_stats.c36 struct mlx5e_tc_act_stats_handle *handle; local
39 handle = kvzalloc(sizeof(*handle), GFP_KERNEL);
40 if (!handle)
43 err = rhashtable_init(&handle->ht, &act_counters_ht_params);
47 spin_lock_init(&handle->ht_lock);
48 return handle;
50 kvfree(handle);
54 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle) argument
56 rhashtable_destroy(&handle
61 mlx5e_tc_act_stats_add(struct mlx5e_tc_act_stats_handle *handle, unsigned long act_cookie, struct mlx5_fc *counter) argument
103 mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle, struct mlx5e_tc_flow *flow) argument
132 mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle, struct mlx5e_tc_flow *flow) argument
167 mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle, struct flow_offload_action *fl_act) argument
[all...]
/linux-master/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.h103 static inline void qcafrm_fsm_init_spi(struct qcafrm_handle *handle) argument
105 handle->init = QCAFRM_HW_LEN0;
106 handle->state = handle->init;
109 static inline void qcafrm_fsm_init_uart(struct qcafrm_handle *handle) argument
111 handle->init = QCAFRM_WAIT_AA1;
112 handle->state = handle->init;
115 s32 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte);
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) argument
18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) argument
32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
138 static void hns_ae_put_handle(struct hnae_handle *handle) argument
140 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
143 for (i = 0; i < handle->q_num; i++)
144 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0;
149 static int hns_ae_wait_flow_down(struct hnae_handle *handle) argument
157 for (i = 0; i < handle
184 hns_ae_ring_enable_all(struct hnae_handle *handle, int val) argument
209 hns_ae_set_mac_address(struct hnae_handle *handle, const void *p) argument
229 hns_ae_add_uc_address(struct hnae_handle *handle, const unsigned char *addr) argument
240 hns_ae_rm_uc_address(struct hnae_handle *handle, const unsigned char *addr) argument
251 hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr) argument
284 hns_ae_clr_multicast(struct hnae_handle *handle) argument
294 hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu) argument
325 hns_ae_set_tso_stats(struct hnae_handle *handle, int enable) argument
332 hns_ae_start(struct hnae_handle *handle) argument
358 hns_ae_stop(struct hnae_handle *handle) argument
379 hns_ae_reset(struct hnae_handle *handle) argument
413 hns_ae_get_link_status(struct hnae_handle *handle) argument
423 hns_ae_get_mac_info(struct hnae_handle *handle, u8 *auto_neg, u16 *speed, u8 *duplex) argument
431 hns_ae_need_adjust_link(struct hnae_handle *handle, int speed, int duplex) argument
439 hns_ae_adjust_link(struct hnae_handle *handle, int speed, int duplex) argument
472 hns_ae_get_pauseparam(struct hnae_handle *handle, u32 *auto_neg, u32 *rx_en, u32 *tx_en) argument
487 hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en) argument
495 hns_ae_set_pauseparam(struct hnae_handle *handle, u32 autoneg, u32 rx_en, u32 tx_en) argument
517 hns_ae_get_coalesce_usecs(struct hnae_handle *handle, u32 *tx_usecs, u32 *rx_usecs) argument
529 hns_ae_get_max_coalesced_frames(struct hnae_handle *handle, u32 *tx_frames, u32 *rx_frames) argument
547 hns_ae_set_coalesce_usecs(struct hnae_handle *handle, u32 timeout) argument
557 hns_ae_set_coalesce_frames(struct hnae_handle *handle, u32 tx_frames, u32 rx_frames) argument
587 hns_ae_get_coalesce_range(struct hnae_handle *handle, u32 *tx_frames_low, u32 *rx_frames_low, u32 *tx_frames_high, u32 *rx_frames_high, u32 *tx_usecs_low, u32 *rx_usecs_low, u32 *tx_usecs_high, u32 *rx_usecs_high) argument
618 hns_ae_update_stats(struct hnae_handle *handle, struct net_device_stats *net_stats) argument
701 hns_ae_get_stats(struct hnae_handle *handle, u64 *data) argument
733 hns_ae_get_strings(struct hnae_handle *handle, u32 stringset, u8 *data) argument
766 hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) argument
786 hns_ae_config_loopback(struct hnae_handle *handle, enum hnae_loop loop, int en) argument
812 hns_ae_update_led_status(struct hnae_handle *handle) argument
824 hns_ae_cpld_set_led_id(struct hnae_handle *handle, enum hnae_led_state status) argument
836 hns_ae_get_regs(struct hnae_handle *handle, void *data) argument
861 hns_ae_get_regs_len(struct hnae_handle *handle) argument
877 hns_ae_get_rss_key_size(struct hnae_handle *handle) argument
882 hns_ae_get_rss_indir_size(struct hnae_handle *handle) argument
887 hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key, u8 *hfunc) argument
908 hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir, const u8 *key, const u8 hfunc) argument
[all...]
/linux-master/drivers/gpu/drm/amd/include/
H A Damd_shared.h281 * @prepare_suspend: handle IP specific changes to prepare for suspend
303 int (*early_init)(void *handle);
304 int (*late_init)(void *handle);
305 int (*sw_init)(void *handle);
306 int (*sw_fini)(void *handle);
307 int (*early_fini)(void *handle);
308 int (*hw_init)(void *handle);
309 int (*hw_fini)(void *handle);
310 void (*late_fini)(void *handle);
311 int (*prepare_suspend)(void *handle);
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c78 static int pp_early_init(void *handle) argument
81 struct amdgpu_device *adev = handle;
134 static int pp_sw_init(void *handle) argument
136 struct amdgpu_device *adev = handle;
151 static int pp_sw_fini(void *handle) argument
153 struct amdgpu_device *adev = handle;
163 static int pp_hw_init(void *handle) argument
166 struct amdgpu_device *adev = handle;
177 static int pp_hw_fini(void *handle) argument
179 struct amdgpu_device *adev = handle;
220 pp_late_init(void *handle) argument
234 pp_late_fini(void *handle) argument
244 pp_is_idle(void *handle) argument
249 pp_wait_for_idle(void *handle) argument
254 pp_sw_reset(void *handle) argument
259 pp_set_powergating_state(void *handle, enum amd_powergating_state state) argument
265 pp_suspend(void *handle) argument
275 pp_resume(void *handle) argument
283 pp_set_clockgating_state(void *handle, enum amd_clockgating_state state) argument
323 pp_dpm_load_fw(void *handle) argument
338 pp_dpm_fw_loading_complete(void *handle) argument
343 pp_set_clockgating_by_smu(void *handle, uint32_t msg_id) argument
382 pp_dpm_force_performance_level(void *handle, enum amd_dpm_forced_level level) argument
400 pp_dpm_get_performance_level( void *handle) argument
411 pp_dpm_get_sclk(void *handle, bool low) argument
425 pp_dpm_get_mclk(void *handle, bool low) argument
439 pp_dpm_powergate_vce(void *handle, bool gate) argument
453 pp_dpm_powergate_uvd(void *handle, bool gate) argument
467 pp_dpm_dispatch_tasks(void *handle, enum amd_pp_task task_id, enum amd_pm_state_type *user_state) argument
478 pp_dpm_get_current_power_state(void *handle) argument
510 pp_dpm_set_fan_control_mode(void *handle, uint32_t mode) argument
528 pp_dpm_get_fan_control_mode(void *handle, uint32_t *fan_mode) argument
545 pp_dpm_set_fan_speed_pwm(void *handle, uint32_t speed) argument
561 pp_dpm_get_fan_speed_pwm(void *handle, uint32_t *speed) argument
577 pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm) argument
593 pp_dpm_set_fan_speed_rpm(void *handle, uint32_t rpm) argument
609 pp_dpm_get_pp_num_states(void *handle, struct pp_states_info *data) argument
645 pp_dpm_get_pp_table(void *handle, char **table) argument
656 amd_powerplay_reset(void *handle) argument
672 pp_dpm_set_pp_table(void *handle, const char *buf, size_t size) argument
702 pp_dpm_force_clock_level(void *handle, enum pp_clock_type type, uint32_t mask) argument
723 pp_dpm_emit_clock_levels(void *handle, enum pp_clock_type type, char *buf, int *offset) argument
739 pp_dpm_print_clock_levels(void *handle, enum pp_clock_type type, char *buf) argument
754 pp_dpm_get_sclk_od(void *handle) argument
768 pp_dpm_set_sclk_od(void *handle, uint32_t value) argument
783 pp_dpm_get_mclk_od(void *handle) argument
797 pp_dpm_set_mclk_od(void *handle, uint32_t value) argument
811 pp_dpm_read_sensor(void *handle, int idx, void *value, int *size) argument
844 pp_dpm_get_vce_clock_state(void *handle, unsigned idx) argument
856 pp_get_power_profile_mode(void *handle, char *buf) argument
868 pp_set_power_profile_mode(void *handle, long *input, uint32_t size) argument
883 pp_set_fine_grain_clk_vol(void *handle, uint32_t type, long *input, uint32_t size) argument
896 pp_odn_edit_dpm_table(void *handle, enum PP_OD_DPM_TABLE_COMMAND type, long *input, uint32_t size) argument
912 pp_dpm_set_mp1_state(void *handle, enum pp_mp1_state mp1_state) argument
928 pp_dpm_switch_power_profile(void *handle, enum PP_SMC_POWER_PROFILE type, bool en) argument
970 pp_set_power_limit(void *handle, uint32_t limit) argument
1000 pp_get_power_limit(void *handle, uint32_t *limit, enum pp_power_limit_level pp_limit_level, enum pp_power_type power_type) argument
1038 pp_display_configuration_change(void *handle, const struct amd_pp_display_configuration *display_config) argument
1050 pp_get_display_power_level(void *handle, struct amd_pp_simple_clock_info *output) argument
1061 pp_get_current_clocks(void *handle, struct amd_pp_clock_info *clocks) argument
1109 pp_get_clock_by_type(void *handle, enum amd_pp_clock_type type, struct amd_pp_clocks *clocks) argument
1122 pp_get_clock_by_type_with_latency(void *handle, enum amd_pp_clock_type type, struct pp_clock_levels_with_latency *clocks) argument
1134 pp_get_clock_by_type_with_voltage(void *handle, enum amd_pp_clock_type type, struct pp_clock_levels_with_voltage *clocks) argument
1146 pp_set_watermarks_for_clocks_ranges(void *handle, void *clock_ranges) argument
1158 pp_display_clock_voltage_request(void *handle, struct pp_display_clock_request *clock) argument
1169 pp_get_display_mode_validation_clocks(void *handle, struct amd_pp_simple_clock_info *clocks) argument
1186 pp_dpm_powergate_mmhub(void *handle) argument
1201 pp_dpm_powergate_gfx(void *handle, bool gate) argument
1216 pp_dpm_powergate_acp(void *handle, bool gate) argument
1231 pp_dpm_powergate_sdma(void *handle, bool gate) argument
1246 pp_set_powergating_by_smu(void *handle, uint32_t block_type, bool gate) argument
1282 pp_notify_smu_enable_pwe(void *handle) argument
1299 pp_enable_mgpu_fan_boost(void *handle) argument
1315 pp_set_min_deep_sleep_dcefclk(void *handle, uint32_t clock) argument
1332 pp_set_hard_min_dcefclk_by_freq(void *handle, uint32_t clock) argument
1349 pp_set_hard_min_fclk_by_freq(void *handle, uint32_t clock) argument
1366 pp_set_active_display_count(void *handle, uint32_t count) argument
1376 pp_get_asic_baco_capability(void *handle) argument
1390 pp_get_asic_baco_state(void *handle, int *state) argument
1405 pp_set_asic_baco_state(void *handle, int state) argument
1421 pp_get_ppfeature_status(void *handle, char *buf) argument
1436 pp_set_ppfeature_status(void *handle, uint64_t ppfeature_masks) argument
1451 pp_asic_reset_mode_2(void *handle) argument
1466 pp_smu_i2c_bus_access(void *handle, bool acquire) argument
1481 pp_set_df_cstate(void *handle, enum pp_df_cstate state) argument
1496 pp_set_xgmi_pstate(void *handle, uint32_t pstate) argument
1511 pp_get_gpu_metrics(void *handle, void **table) argument
1524 pp_gfx_state_change_set(void *handle, uint32_t state) argument
1540 pp_get_prv_buffer_details(void *handle, void **addr, size_t *size) argument
1561 pp_pm_compute_clocks(void *handle) argument
[all...]
/linux-master/tools/build/feature/
H A Dtest-file-handle.c12 } handle; local
15 name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0);
/linux-master/tools/testing/selftests/powerpc/nx-gzip/include/
H A Dnx.h33 int nx_function(void *handle, struct nxbuf_t *in, struct nxbuf_t *out,
36 int nx_function_end(void *handle);
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dwil_platform.c21 * It returns a handle which is used with the rest of the API
27 void *handle = ops; /* to return some non-NULL for 'void' impl. */ local
37 return handle;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mdio.h12 int hclge_mac_connect_phy(struct hnae3_handle *handle);
13 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
H A Dhclge_regs.h14 int hclge_get_regs_len(struct hnae3_handle *handle);
15 void hclge_get_regs(struct hnae3_handle *handle, u32 *version,
/linux-master/include/xen/
H A Dswiotlb-xen.h8 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
10 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
/linux-master/include/linux/
H A Dacpi_mdio.h16 acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *handle) argument
18 return __acpi_mdiobus_register(mdio, handle, THIS_MODULE);
H A Dstackdepot.h28 * Number of bits in the handle that stack depot doesn't use. Users may store
45 depot_stack_handle_t handle; member in union:handle_parts
57 union handle_parts handle; /* Constant after initialization */ member in struct:stack_record
183 * @handle: Stack depot handle
189 struct stack_record *__stack_depot_get_stack_record(depot_stack_handle_t handle);
194 * @handle: Stack depot handle returned from stack_depot_save()
199 unsigned int stack_depot_fetch(depot_stack_handle_t handle,
205 * @stack: Stack depot handle returne
[all...]
H A Dzpool.h18 * Control how a handle is mapped. It will be ignored if the
47 unsigned long *handle);
49 void zpool_free(struct zpool *pool, unsigned long handle);
51 void *zpool_map_handle(struct zpool *pool, unsigned long handle,
54 void zpool_unmap_handle(struct zpool *pool, unsigned long handle);
68 * @map: map a handle.
69 * @unmap: unmap a handle.
86 unsigned long *handle);
87 void (*free)(void *pool, unsigned long handle);
90 void *(*map)(void *pool, unsigned long handle,
[all...]
/linux-master/include/trace/events/
H A Dnbd.h12 TP_PROTO(struct request *req, u64 handle),
14 TP_ARGS(req, handle),
18 __field(u64, handle)
23 __entry->handle = handle;
27 "nbd transport event: request %p, handle 0x%016llx",
29 __entry->handle
35 TP_PROTO(struct request *req, u64 handle),
37 TP_ARGS(req, handle)
42 TP_PROTO(struct request *req, u64 handle),
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_hal.h125 #define SET_CAP_CSR(handle, csr, val) \
126 ADF_CSR_WR((handle)->hal_cap_g_ctl_csr_addr_v, csr, val)
127 #define GET_CAP_CSR(handle, csr) \
128 ADF_CSR_RD((handle)->hal_cap_g_ctl_csr_addr_v, csr)
129 #define AE_CSR(handle, ae) \
130 ((char __iomem *)(handle)->hal_cap_ae_local_csr_addr_v + ((ae) << 12))
131 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & (csr)))
132 #define SET_AE_CSR(handle, ae, csr, val) \
133 ADF_CSR_WR(AE_CSR_ADDR(handle, a
[all...]
/linux-master/drivers/sh/intc/
H A Dbalancing.c17 unsigned long handle = dist_handle[irq]; local
20 if (irq_balancing_disabled(irq) || !handle)
23 addr = INTC_REG(d, _INTC_ADDR_D(handle), 0);
24 intc_reg_fns[_INTC_FN(handle)](addr, handle, 1);
30 unsigned long handle = dist_handle[irq]; local
33 if (irq_balancing_disabled(irq) || !handle)
36 addr = INTC_REG(d, _INTC_ADDR_D(handle), 0);
37 intc_reg_fns[_INTC_FN(handle)](addr, handle,
[all...]
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.h30 struct vmci_handle handle; member in struct:vmci_qp_alloc_info
43 struct vmci_handle handle; member in struct:vmci_qp_set_va_info
79 struct vmci_handle handle; member in struct:vmci_qp_page_file_info
92 struct vmci_handle handle; member in struct:vmci_qp_dtch_info
142 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer,
147 int vmci_qp_broker_set_page_store(struct vmci_handle handle,
150 int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context);
154 int vmci_qp_alloc(struct vmci_handle *handle,
160 int vmci_qp_broker_map(struct vmci_handle handle,
162 int vmci_qp_broker_unmap(struct vmci_handle handle,
[all...]
/linux-master/kernel/events/
H A Dring_buffer.c20 static void perf_output_wakeup(struct perf_output_handle *handle) argument
22 atomic_set(&handle->rb->poll, EPOLLIN);
24 handle->event->pending_wakeup = 1;
26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill)
27 handle->event->pending_kill = POLL_IN;
29 irq_work_queue(&handle->event->pending_irq);
40 static void perf_output_get_handle(struct perf_output_handle *handle) argument
42 struct perf_buffer *rb = handle->rb;
51 handle
54 perf_output_put_handle(struct perf_output_handle *handle) argument
153 __perf_output_begin(struct perf_output_handle *handle, struct perf_sample_data *data, struct perf_event *event, unsigned int size, bool backward) argument
272 perf_output_begin_forward(struct perf_output_handle *handle, struct perf_sample_data *data, struct perf_event *event, unsigned int size) argument
279 perf_output_begin_backward(struct perf_output_handle *handle, struct perf_sample_data *data, struct perf_event *event, unsigned int size) argument
286 perf_output_begin(struct perf_output_handle *handle, struct perf_sample_data *data, struct perf_event *event, unsigned int size) argument
295 perf_output_copy(struct perf_output_handle *handle, const void *buf, unsigned int len) argument
301 perf_output_skip(struct perf_output_handle *handle, unsigned int len) argument
307 perf_output_end(struct perf_output_handle *handle) argument
342 perf_aux_output_flag(struct perf_output_handle *handle, u64 flags) argument
369 perf_aux_output_begin(struct perf_output_handle *handle, struct perf_event *event) argument
485 perf_aux_output_end(struct perf_output_handle *handle, unsigned long size) argument
543 perf_aux_output_skip(struct perf_output_handle *handle, unsigned long size) argument
565 perf_get_aux(struct perf_output_handle *handle) argument
578 perf_output_copy_aux(struct perf_output_handle *aux_handle, struct perf_output_handle *handle, unsigned long from, unsigned long to) argument
[all...]

Completed in 429 milliseconds

1234567891011>>