Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 3258) sorted by relevance

12345678910>>...131

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_hal.c36 #define AE(handle, ae) ((handle)->hal_handle->aes[ae]) argument
828 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in qat_hal_init()
829 if (!handle) in qat_hal_init()
832 handle->hal_handle = kzalloc(sizeof(*handle->hal_handle), GFP_KERNEL); in qat_hal_init()
838 handle->chip_info = kzalloc(sizeof(*handle->chip_info), GFP_KERNEL); in qat_hal_init()
839 if (!handle->chip_info) { in qat_hal_init()
868 kfree(handle->chip_info); in qat_hal_init()
872 kfree(handle); in qat_hal_init()
878 if (!handle) in qat_hal_deinit()
880 kfree(handle->chip_info); in qat_hal_deinit()
[all …]
H A Dqat_uclo.c1017 if (qat_uclo_map_ae(handle, handle->hal_handle->ae_max_num)) { in qat_uclo_parse_uof_obj()
1137 kfree(handle->sobj_handle); in qat_uclo_del_suof()
1138 handle->sobj_handle = NULL; in qat_uclo_del_suof()
1581 qat_uclo_del_suof(handle); in qat_uclo_map_suof_obj()
1641 handle->obj_handle = NULL; in qat_uclo_map_uof_obj()
1683 kfree(handle->mobj_handle); in qat_uclo_del_mof()
1923 if (handle->mobj_handle) in qat_uclo_del_obj()
1924 qat_uclo_del_mof(handle); in qat_uclo_del_obj()
1925 if (handle->sobj_handle) in qat_uclo_del_obj()
1940 handle->obj_handle = NULL; in qat_uclo_del_obj()
[all …]
H A Dicp_qat_hal.h125 #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
133 ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val)
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
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
H A Drmgr_vbuf.c74 if ((!handle) || (!*handle)) { in ia_css_rmgr_refcount_retain_vbuf()
80 h = *handle; in ia_css_rmgr_refcount_retain_vbuf()
81 *handle = NULL; in ia_css_rmgr_refcount_retain_vbuf()
91 if (!*handle) { in ia_css_rmgr_refcount_retain_vbuf()
109 if ((!handle) || ((*handle) == NULL) || (((*handle)->count) == 0)) { in ia_css_rmgr_refcount_release_vbuf()
119 *handle = NULL; in ia_css_rmgr_refcount_release_vbuf()
206 assert(handle); in rmgr_push_handle()
233 assert(handle); in rmgr_pop_handle()
257 if ((!pool) || (!handle) || (!*handle)) { in ia_css_rmgr_acq_vbuf()
313 if ((!pool) || (!handle) || (!*handle)) { in ia_css_rmgr_rel_vbuf()
[all …]
/openbmc/linux/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.c86 handle->state--; in qcafrm_fsm_decode()
90 handle->state = handle->init; in qcafrm_fsm_decode()
95 handle->state--; in qcafrm_fsm_decode()
104 handle->state = handle->init; in qcafrm_fsm_decode()
106 handle->state--; in qcafrm_fsm_decode()
116 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode()
126 handle->state = handle->init; in qcafrm_fsm_decode()
137 handle->state--; in qcafrm_fsm_decode()
142 handle->state = handle->init; in qcafrm_fsm_decode()
150 handle->state = handle->init; in qcafrm_fsm_decode()
[all …]
/openbmc/linux/fs/ext4/
H A Dext4_jbd2.c44 return handle; in ext4_get_nojournal()
127 err = handle->h_err; in __ext4_journal_stop()
164 return handle; in __ext4_journal_start_reserved()
195 if (!handle->h_err) in ext4_journal_abort_handle()
196 handle->h_err = err; in ext4_journal_abort_handle()
244 handle, err); in __ext4_journal_get_write_access()
298 bh, handle, err); in __ext4_forget()
311 bh, handle, err); in __ext4_forget()
359 handle, err); in __ext4_handle_dirty_metadata()
375 handle->h_type, in __ext4_handle_dirty_metadata()
[all …]
H A Dext4_jbd2.h210 ext4_mark_iloc_dirty(handle_t *handle,
282 if (ext4_handle_valid(handle)) in ext4_handle_sync()
283 handle->h_sync = 1; in ext4_handle_sync()
288 if (ext4_handle_valid(handle)) in ext4_handle_is_aborted()
289 return is_handle_aborted(handle); in ext4_handle_is_aborted()
330 #define ext4_journal_stop(handle) \ argument
346 if (ext4_handle_valid(handle)) in ext4_journal_extend()
354 if (ext4_handle_valid(handle)) in ext4_journal_restart()
423 if (ext4_handle_valid(handle)) in ext4_jbd2_inode_add_write()
432 if (ext4_handle_valid(handle)) in ext4_jbd2_inode_add_wait()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_offload.sh19 local handle=$1; shift
23 h=$(qdisc_stats_get $h1 "$handle" .handle)
34 local handle=$1; shift
54 local handle=$1; shift
57 tc qdisc add dev $h1 $locus handle $handle \
68 tc qdisc add dev $h1 $locus handle $handle \
79 tc qdisc add dev $h1 $locus handle $handle \
90 tc qdisc add dev $h1 $locus handle $handle \
101 tc qdisc add dev $h1 $locus handle $handle pfifo limit 100K
111 tc qdisc add dev $h1 $locus handle $handle bfifo limit 100K
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch113 if (!handle || !handle->buffer)
177 if (!handle)
213 if (!handle || !handle->proto || !handle->proto->uncompress_block || !chunk || !data)
340 ret = read(handle->cpu_data[cpu].pipe_fd, map, handle->page_size);
352 ret = read(handle->fd, map, handle->page_size);
421 if (!handle->cpu_data[cpu].page && !handle->use_pipe)
496 - handle->options_start = lseek64(handle->fd, 0, SEEK_CUR);
497 + handle->options_start = lseek(handle->fd, 0, SEEK_CUR);
560 - handle->total_file_size = lseek64(handle->fd, 0, SEEK_END);
563 + handle->total_file_size = lseek(handle->fd, 0, SEEK_END);
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c186 int q_num = handle->q_num; in hns_ae_ring_enable_all()
316 q = handle->qs[i]; in hns_ae_set_mtu()
363 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_TX); in hns_ae_stop()
374 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_RX); in hns_ae_stop()
595 assert(handle); in hns_ae_get_coalesce_range()
640 queue = handle->qs[idx]; in hns_ae_update_stats()
709 if (!handle || !data) { in hns_ae_get_stats()
744 assert(handle); in hns_ae_get_strings()
772 assert(handle); in hns_ae_get_sset_count()
816 assert(handle); in hns_ae_update_led_status()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h194 struct hnae3_handle *handle; member
589 int (*start)(struct hnae3_handle *handle);
590 void (*stop)(struct hnae3_handle *handle);
593 int (*get_status)(struct hnae3_handle *handle);
644 int (*do_ioctl)(struct hnae3_handle *handle,
648 int (*rm_uc_addr)(struct hnae3_handle *handle,
653 int (*rm_mc_addr)(struct hnae3_handle *handle,
714 int (*set_led_id)(struct hnae3_handle *handle,
776 void (*get_wol)(struct hnae3_handle *handle,
778 int (*set_wol)(struct hnae3_handle *handle,
[all …]
/openbmc/u-boot/include/linux/soc/ti/
H A Dti_sci_protocol.h50 int (*board_config)(const struct ti_sci_handle *handle,
52 int (*board_config_rm)(const struct ti_sci_handle *handle,
54 int (*board_config_security)(const struct ti_sci_handle *handle,
56 int (*board_config_pm)(const struct ti_sci_handle *handle,
119 int (*get_device)(const struct ti_sci_handle *handle, u32 id);
121 int (*put_device)(const struct ti_sci_handle *handle, u32 id);
122 int (*is_valid)(const struct ti_sci_handle *handle, u32 id);
125 int (*is_idle)(const struct ti_sci_handle *handle, u32 id,
127 int (*is_stop)(const struct ti_sci_handle *handle, u32 id,
129 int (*is_on)(const struct ti_sci_handle *handle, u32 id,
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c323 struct pp_hwmgr *hwmgr = handle; in pp_dpm_load_fw()
343 struct pp_hwmgr *hwmgr = handle; in pp_set_clockgating_by_smu()
383 struct pp_hwmgr *hwmgr = handle; in pp_dpm_force_performance_level()
399 void *handle) in pp_dpm_get_performance_level() argument
401 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_performance_level()
411 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_sclk()
425 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_mclk()
439 struct pp_hwmgr *hwmgr = handle; in pp_dpm_powergate_vce()
453 struct pp_hwmgr *hwmgr = handle; in pp_dpm_powergate_uvd()
468 struct pp_hwmgr *hwmgr = handle; in pp_dpm_dispatch_tasks()
[all …]
/openbmc/u-boot/drivers/firmware/
H A Dti_sci.c233 if (!handle) in ti_sci_cmd_get_revision()
299 if (!handle) in cmd_set_board_config_using_msg()
419 if (!handle) in ti_sci_set_device_state()
472 if (!handle) in ti_sci_get_device_state()
731 if (!handle) in ti_sci_cmd_set_device_resets()
801 if (!handle) in ti_sci_set_clock_state()
856 if (!handle) in ti_sci_cmd_get_clock_state()
1075 if (!handle) in ti_sci_cmd_clk_set_parent()
1313 if (!handle) in ti_sci_cmd_clk_set_freq()
1416 if (!handle) in ti_sci_cmd_core_reboot()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dacpi_pcihp.c73 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local
105 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware()
106 if (!handle) { in acpi_get_hp_hw_control_from_firmware()
114 if (handle) in acpi_get_hp_hw_control_from_firmware()
119 while (handle) { in acpi_get_hp_hw_control_from_firmware()
123 status = acpi_run_oshp(handle); in acpi_get_hp_hw_control_from_firmware()
126 if (acpi_is_root_bridge(handle)) in acpi_get_hp_hw_control_from_firmware()
128 chandle = handle; in acpi_get_hp_hw_control_from_firmware()
177 return pcihp_is_ejectable(handle); in acpi_pci_check_ejectable()
185 if (pcihp_is_ejectable(handle)) { in check_hotplug()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Dkgd_pp_interface.h315 int (*set_power_state)(void *handle);
319 bool (*vblank_too_short)(void *handle);
321 int (*check_state_equal)(void *handle,
334 int (*get_sclk_od)(void *handle);
336 int (*get_mclk_od)(void *handle);
354 int (*load_firmware)(void *handle);
372 u32 (*get_sclk)(void *handle, bool low);
373 u32 (*get_mclk)(void *handle, bool low);
378 int (*get_current_clocks)(void *handle,
380 int (*get_clock_by_type)(void *handle,
[all …]
H A Damd_shared.h290 int (*early_init)(void *handle);
291 int (*late_init)(void *handle);
292 int (*sw_init)(void *handle);
293 int (*sw_fini)(void *handle);
294 int (*early_fini)(void *handle);
295 int (*hw_init)(void *handle);
296 int (*hw_fini)(void *handle);
297 void (*late_fini)(void *handle);
299 int (*suspend)(void *handle);
300 int (*resume)(void *handle);
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.c96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr); in mlx5e_tc_post_act_offload()
97 if (IS_ERR(handle->rule)) { in mlx5e_tc_post_act_offload()
98 err = PTR_ERR(handle->rule); in mlx5e_tc_post_act_offload()
120 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in mlx5e_tc_post_act_add()
121 if (!handle) in mlx5e_tc_post_act_add()
142 handle->attr = post_attr; in mlx5e_tc_post_act_add()
144 return handle; in mlx5e_tc_post_act_add()
147 kfree(handle); in mlx5e_tc_post_act_add()
155 mlx5e_tc_rule_unoffload(post_act->priv, handle->rule, handle->attr); in mlx5e_tc_post_act_unoffload()
156 handle->rule = NULL; in mlx5e_tc_post_act_unoffload()
[all …]
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_resource.c47 u32 cid = r->handle.context; in vmci_resource_lookup()
48 u32 rid = r->handle.resource; in vmci_resource_lookup()
51 rid == handle.resource && in vmci_resource_lookup()
81 struct vmci_handle handle; in vmci_resource_find_id() local
101 struct vmci_handle handle) in vmci_resource_add() argument
109 if (handle.resource == VMCI_INVALID_ID) { in vmci_resource_add()
110 handle.resource = vmci_resource_find_id(handle.context, in vmci_resource_add()
121 resource->handle = handle; in vmci_resource_add()
139 struct vmci_handle handle = resource->handle; in vmci_resource_remove() local
147 if (vmci_handle_is_equal(r->handle, resource->handle) && in vmci_resource_remove()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dibuf_ctrl_rmgr.c27 ibuf_handle_t *handle = NULL; in getHandle() local
31 return handle; in getHandle()
53 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_acquire() local
66 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_acquire()
67 if (!handle->active) { in ia_css_isys_ibuf_rmgr_acquire()
69 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire()
87 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire()
110 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_release() local
115 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_release()
116 if (handle->active && handle->start_addr == *start_addr) { in ia_css_isys_ibuf_rmgr_release()
[all …]
/openbmc/linux/drivers/input/
H A Devbug.c31 struct input_handle *handle; in evbug_connect() local
35 if (!handle) in evbug_connect()
38 handle->dev = dev; in evbug_connect()
39 handle->handler = handler; in evbug_connect()
40 handle->name = "evbug"; in evbug_connect()
46 error = input_open_device(handle); in evbug_connect()
58 input_unregister_handle(handle); in evbug_connect()
60 kfree(handle); in evbug_connect()
69 input_close_device(handle); in evbug_disconnect()
70 input_unregister_handle(handle); in evbug_disconnect()
[all …]
H A Dapm-power.c52 struct input_handle *handle; in apmpower_connect() local
56 if (!handle) in apmpower_connect()
59 handle->dev = dev; in apmpower_connect()
60 handle->handler = handler; in apmpower_connect()
61 handle->name = "apm-power"; in apmpower_connect()
67 kfree(handle); in apmpower_connect()
74 input_unregister_handle(handle); in apmpower_connect()
75 kfree(handle); in apmpower_connect()
84 input_close_device(handle); in apmpower_disconnect()
85 input_unregister_handle(handle); in apmpower_disconnect()
[all …]
/openbmc/linux/fs/jbd2/
H A Dtransaction.c462 if (!handle) in new_handle()
467 return handle; in new_handle()
480 if (handle) { in jbd2__journal_start()
483 return handle; in jbd2__journal_start()
489 if (!handle) in jbd2__journal_start()
518 return handle; in jbd2__journal_start()
685 handle->h_type, handle->h_line_no, in jbd2_journal_extend()
803 handle->h_type, handle->h_line_no, in jbd2__journal_restart()
1511 handle->h_type, handle->h_line_no, in jbd2_journal_dirty_metadata()
1841 tid, handle->h_type, handle->h_line_no, in jbd2_journal_stop()
[all …]
/openbmc/linux/kernel/events/
H A Dring_buffer.c182 handle->rb = rb; in __perf_output_begin()
183 handle->event = event; in __perf_output_begin()
240 handle->addr = rb->data_pages[handle->page] + offset; in __perf_output_begin()
416 handle->rb = rb; in perf_aux_output_begin()
417 handle->event = event; in perf_aux_output_begin()
419 handle->size = 0; in perf_aux_output_begin()
420 handle->aux_flags = 0; in perf_aux_output_begin()
454 handle->event = NULL; in perf_aux_output_begin()
528 handle->event = NULL; in perf_aux_output_end()
557 handle->size -= size; in perf_aux_output_skip()
[all …]
/openbmc/linux/drivers/sh/intc/
H A Dchip.c28 addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu); in _intc_enable()
29 intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\ in _intc_enable()
30 [_INTC_FN(handle)], irq); in _intc_enable()
57 intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\ in intc_disable()
58 [_INTC_FN(handle)], irq); in intc_disable()
91 if (handle) { in intc_mask_ack()
97 switch (_INTC_FN(handle)) { in intc_mask_ack()
124 key.handle = 0; in intc_find_irq()
150 if (_INTC_FN(ihp->handle) != REG_FN_ERR) in intc_set_priority()
151 _intc_enable(data, ihp->handle); in intc_set_priority()
[all …]

12345678910>>...131