Home
last modified time | relevance | path

Searched refs:hr (Results 1 – 25 of 100) sorted by relevance

1234

/openbmc/qemu/qga/vss-win32/
H A Drequester.cpp63 HRESULT hr = CoInitializeSecurity( in requester_init() local
66 if (FAILED(hr)) { in requester_init()
67 qga_debug("failed to CoInitializeSecurity (error %lx)", hr); in requester_init()
68 return hr; in requester_init()
150 HRESULT ret, hr; in WaitForAsync() local
153 hr = pAsync->Wait(); in WaitForAsync()
154 if (FAILED(hr)) { in WaitForAsync()
155 ret = hr; in WaitForAsync()
158 hr = pAsync->QueryStatus(&ret, NULL); in WaitForAsync()
159 if (FAILED(hr)) { in WaitForAsync()
[all …]
H A Dinstall.cpp75 #define _chk(hr, status, msg, err_label) \ argument
77 hr = (status); \
78 if (FAILED(hr)) { \
79 errmsg(hr, msg); \
84 #define chk(status) _chk(hr, status, "Failed to " #status, out)
88 void __stdcall _com_issue_error(HRESULT hr) in _com_issue_error() argument
90 errmsg(hr, "Unexpected error in COM"); in _com_issue_error()
105 HRESULT hr; in GetAdminName() local
126 hr = E_FAIL; in GetAdminName()
127 errmsg(hr, "Failed to query for Administrators"); in GetAdminName()
[all …]
H A Dprovider.cpp357 HRESULT hr = S_OK; in CommitSnapshots() local
390 return hr; in CommitSnapshots()
499 HRESULT hr = pObj->QueryInterface(iid, ppv); in CreateInstance() local
500 if (FAILED(hr)) { in CreateInstance()
503 return hr; in CreateInstance()
520 HRESULT hr = factory->QueryInterface(riid, ppv); in DllGetClassObject() local
522 return hr; in DllGetClassObject()
/openbmc/linux/sound/pci/asihpi/
H A Dhpifunc.c100 struct hpi_response hr; in hpi_subsys_get_version_ex() local
102 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_version_ex()
104 hpi_send_recv(&hm, &hr); in hpi_subsys_get_version_ex()
105 *pversion_ex = hr.u.s.data; in hpi_subsys_get_version_ex()
106 return hr.error; in hpi_subsys_get_version_ex()
112 struct hpi_response hr; in hpi_subsys_get_num_adapters() local
113 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_num_adapters()
115 hpi_send_recv(&hm, &hr); in hpi_subsys_get_num_adapters()
116 *pn_num_adapters = (int)hr.u.s.num_adapters; in hpi_subsys_get_num_adapters()
117 return hr.error; in hpi_subsys_get_num_adapters()
[all …]
H A Dhpioctl.c83 struct hpi_response hr; in asihpi_hpi_release() local
87 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in asihpi_hpi_release()
89 hpi_send_recv_ex(&hm, &hr, file); in asihpi_hpi_release()
99 union hpi_response_buffer_v1 *hr; in asihpi_hpi_ioctl() local
109 hr = kzalloc(sizeof(*hr), GFP_KERNEL); in asihpi_hpi_ioctl()
110 if (!hm || !hr) { in asihpi_hpi_ioctl()
155 res_max_size = min_t(size_t, res_max_size, sizeof(*hr)); in asihpi_hpi_ioctl()
161 hr->h.size = sizeof(hr->h); in asihpi_hpi_ioctl()
162 hr->h.error = HPI_ERROR_INVALID_OPERATION; in asihpi_hpi_ioctl()
163 hr->h.function = hm->h.function; in asihpi_hpi_ioctl()
[all …]
H A Dhpimsgx.c220 struct hpi_response hr; in adapter_message() local
221 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message()
224 hw_entry_point(&hm, &hr); in adapter_message()
381 struct hpi_response hr; in instream_open() local
401 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open()
405 hw_entry_point(&hm, &hr); in instream_open()
408 if (hr.error) { in instream_open()
411 phr->error = hr.error; in instream_open()
431 struct hpi_response hr; in instream_close() local
446 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_close()
[all …]
/openbmc/qemu/audio/
H A Ddsoundaudio.c67 static void dsound_log_hresult (HRESULT hr) in dsound_log_hresult() argument
71 switch (hr) { in dsound_log_hresult()
218 AUD_log (AUDIO_CAP, "Reason: Unknown (HRESULT 0x%lx)\n", hr); in dsound_log_hresult()
226 HRESULT hr, in dsound_logerr() argument
237 dsound_log_hresult (hr); in dsound_logerr()
241 HRESULT hr, in dsound_logerr2() argument
254 dsound_log_hresult (hr); in dsound_logerr2()
272 HRESULT hr; in dsound_restore_out() local
274 hr = IDirectSoundBuffer_Restore (dsb); in dsound_restore_out()
276 if (hr != DS_OK) { in dsound_restore_out()
[all …]
H A Ddsound_template.h54 HRESULT hr; in glue() local
56 hr = glue (IFACE, _Unlock) (buf, p1, blen1, p2, blen2); in glue()
57 if (FAILED (hr)) { in glue()
58 dsound_logerr (hr, "Could not unlock " NAME "\n"); in glue()
78 HRESULT hr; in glue() local
86 hr = glue(IFACE, _Lock)(buf, pos, len, p1p, blen1p, p2p, blen2p, flag); in glue()
88 if (FAILED (hr)) { in glue()
90 if (hr == DSERR_BUFFERLOST) { in glue()
92 dsound_logerr (hr, "Could not lock " NAME "\n"); in glue()
97 dsound_logerr (hr, "Could not lock " NAME "\n"); in glue()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c30 void kvmhv_save_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) in kvmhv_save_hv_regs() argument
34 hr->pcr = vc->pcr | PCR_MASK; in kvmhv_save_hv_regs()
35 hr->dpdes = vcpu->arch.doorbell_request; in kvmhv_save_hv_regs()
36 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs()
37 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs()
38 hr->dawr0 = vcpu->arch.dawr0; in kvmhv_save_hv_regs()
39 hr->dawrx0 = vcpu->arch.dawrx0; in kvmhv_save_hv_regs()
40 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs()
41 hr->purr = vcpu->arch.purr; in kvmhv_save_hv_regs()
42 hr->spurr = vcpu->arch.spurr; in kvmhv_save_hv_regs()
[all …]
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-all.c304 HRESULT hr; in whpx_set_xcrs() local
315 hr = whp_dispatch.WHvSetVirtualProcessorRegisters( in whpx_set_xcrs()
317 if (FAILED(hr)) { in whpx_set_xcrs()
318 error_report("WHPX: Failed to set register xcr0, hr=%08lx", hr); in whpx_set_xcrs()
326 HRESULT hr; in whpx_set_tsc() local
341 hr = whp_dispatch.WHvSuspendPartitionTime(whpx->partition); in whpx_set_tsc()
342 if (FAILED(hr)) { in whpx_set_tsc()
343 warn_report("WHPX: Failed to suspend partition, hr=%08lx", hr); in whpx_set_tsc()
348 hr = whp_dispatch.WHvSetVirtualProcessorRegisters( in whpx_set_tsc()
350 if (FAILED(hr)) { in whpx_set_tsc()
[all …]
H A Dwhpx-apic.c101 HRESULT hr; in whpx_put_apic_base() local
105 hr = whp_dispatch.WHvSetVirtualProcessorRegisters( in whpx_put_apic_base()
111 if (FAILED(hr)) { in whpx_put_apic_base()
112 error_report("WHPX: Failed to set MSR APIC base, hr=%08lx", hr); in whpx_put_apic_base()
135 HRESULT hr; in whpx_apic_put() local
140 hr = whp_dispatch.WHvSetVirtualProcessorInterruptControllerState2( in whpx_apic_put()
145 if (FAILED(hr)) { in whpx_apic_put()
148 hr); in whpx_apic_put()
160 HRESULT hr = whp_dispatch.WHvGetVirtualProcessorInterruptControllerState2( in whpx_apic_get() local
166 if (FAILED(hr)) { in whpx_apic_get()
[all …]
/openbmc/qemu/qga/
H A Dvss-win32.c98 HRESULT hr = call_vss_provider_func("requester_init"); in vss_init() local
99 if (FAILED(hr)) { in vss_init()
126 HRESULT hr; in ga_install_vss_provider() local
133 hr = call_vss_provider_func("COMRegister"); in ga_install_vss_provider()
136 return SUCCEEDED(hr) ? 0 : EXIT_FAILURE; in ga_install_vss_provider()
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/dvb-scan-table/dvb-t/
H A Dde-Hessen27 [CH24: hr, Bayerisches Fernsehen, SWR-RP, WDR]
75 [CH35: hr, Bayerisches Fernsehen, SWR-RP, MDR]
99 [CH39: hr, Bayerisches Fernsehen, SWR-RP, rbb]
159 [CH53: hr, Bayerisches Fernsehen, SWR-BW, WDR]
183 [CH55: hr, NDR, MDR, WDR]
H A Dde-Baden-Wuerttemberg63 [CH39: SWR-BW, Bayerisches Fernsehen, hr, WDR]
75 [CH40: SWR-BW, Bayerisches Fernsehen, hr, WDR]
87 [CH41: SWR-BW, Bayerisches Fernsehen, hr, WDR]
123 [CH49: SWR-BW, Bayerisches Fernsehen, hr, WDR]
135 [CH50: SWR-BW, Bayerisches Fernsehen, hr, WDR]
H A Dde-Rheinland-Pfalz27 [CH33: SWR-RP, Bayerisches Fernsehen, hr, WDR]
39 [CH44: SWR-RP, Bayerisches Fernsehen, hr, WDR]
63 [CH48: SWR-RP, Bayerisches Fernsehen, hr, WDR]
H A Dde-Thueringen39 [CH27: MDR-TH, rbb, hr, Bayerisches Fernsehen]
51 [CH48: MDR-TH, rbb, hr, Bayerisches Fernsehen]
/openbmc/linux/drivers/rtc/
H A Drtc-mxc.c92 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local
107 hr = hr_min >> 8; in get_alarm_or_time()
110 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time()
118 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local
125 hr = tod / 3600; in set_alarm_or_time()
126 tod -= hr * 3600; in set_alarm_or_time()
132 temp = (hr << 8) + min; in set_alarm_or_time()
/openbmc/qemu/ui/
H A Ddbus-listener.c132 HRESULT hr; in d3d_texture2d_share() local
134 hr = d3d_texture->lpVtbl->QueryInterface(d3d_texture, in d3d_texture2d_share()
137 if (FAILED(hr)) { in d3d_texture2d_share()
141 hr = dxgiResource->lpVtbl->CreateSharedHandle( in d3d_texture2d_share()
151 if (SUCCEEDED(hr)) { in d3d_texture2d_share()
163 HRESULT hr; in d3d_texture2d_acquire0() local
165 hr = d3d_texture->lpVtbl->QueryInterface(d3d_texture, in d3d_texture2d_acquire0()
168 if (FAILED(hr)) { in d3d_texture2d_acquire0()
172 hr = dxgiMutex->lpVtbl->AcquireSync(dxgiMutex, 0, INFINITE); in d3d_texture2d_acquire0()
176 if (SUCCEEDED(hr)) { in d3d_texture2d_acquire0()
[all …]
/openbmc/linux/drivers/clk/qcom/
H A Dlcc-msm8960.c126 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ argument
128 .halt_reg = hr, \
163 #define CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, en_bit) \ argument
165 .halt_reg = hr, \
209 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
211 CLK_AIF_OSR_CLK(prefix, _ns, hr, 21) \
213 CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, 19) \
/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v2_hr.c33 return &ctx->hdev->mmu_priv.hr.mmu_asid_hop0[ctx->asid]; in hl_mmu_v2_hr_get_hop0_pgt_info()
50 return hl_mmu_hr_init(hdev, &hdev->mmu_priv.hr, prop->mmu_hop_table_size, in hl_mmu_v2_hr_init()
68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->mmu_hop_table_size); in hl_mmu_v2_hr_fini()
110 hl_mmu_hr_free_hop_remove_pgt(pgt_info, &ctx->hdev->mmu_priv.hr, in hl_mmu_v2_hr_ctx_fini()
174 if (hl_mmu_hr_put_pte(ctx, hops_pgt_info[i], &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_unmap()
247 &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_map()
305 hl_mmu_hr_free_hop_remove_pgt(hops_pgt_info[i], &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_map()
/openbmc/linux/drivers/hwtracing/stm/
H A Dheartbeat.c32 static enum hrtimer_restart stm_heartbeat_hrtimer_handler(struct hrtimer *hr) in stm_heartbeat_hrtimer_handler() argument
34 struct stm_heartbeat *heartbeat = container_of(hr, struct stm_heartbeat, in stm_heartbeat_hrtimer_handler()
39 hrtimer_forward_now(hr, ms_to_ktime(interval_ms)); in stm_heartbeat_hrtimer_handler()
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c219 struct devlink_health_reporter *hr; in pdsc_init_pf() local
276 hr = devl_health_reporter_create(dl, &pdsc_fw_reporter_ops, 0, pdsc); in pdsc_init_pf()
277 if (IS_ERR(hr)) { in pdsc_init_pf()
279 dev_warn(pdsc->dev, "Failed to create fw reporter: %pe\n", hr); in pdsc_init_pf()
280 err = PTR_ERR(hr); in pdsc_init_pf()
283 pdsc->fw_reporter = hr; in pdsc_init_pf()
/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_emc.c429 unsigned int hr = 0, st = 0, argc; in clariion_set_params() local
443 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1)) in clariion_set_params()
451 if (hr) in clariion_set_params()
/openbmc/qemu/pc-bios/keymaps/
H A Dmeson.build18 'hr': '-l hr',
/openbmc/u-boot/drivers/rtc/
H A Dds1302.c56 unsigned char hr:4; member
272 tmp->tm_hour=10*bbclk.hr10+bbclk.hr; in rtc_get()
310 bbclk.hr=tmp->tm_hour%10; in rtc_set()

1234