Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/sound/pci/asihpi/
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 …]
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 …]
Dhpimsgx.c225 struct hpi_response hr; in adapter_message() local
226 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message()
229 hw_entry_point(&hm, &hr); in adapter_message()
386 struct hpi_response hr; in instream_open() local
406 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open()
410 hw_entry_point(&hm, &hr); in instream_open()
413 if (hr.error) { in instream_open()
416 phr->error = hr.error; in instream_open()
436 struct hpi_response hr; in instream_close() local
451 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_close()
[all …]
Dhpi6205.c626 struct hpi_response hr; in create_adapter_obj() local
636 memset(&hr, 0, sizeof(hr)); in create_adapter_obj()
637 hr.size = sizeof(hr); in create_adapter_obj()
639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj()
645 if (hr.error) in create_adapter_obj()
646 return hr.error; in create_adapter_obj()
648 pao->type = hr.u.ax.info.adapter_type; in create_adapter_obj()
649 pao->index = hr.u.ax.info.adapter_index; in create_adapter_obj()
653 hr.u.ax.info.adapter_type, hr.u.ax.info.adapter_index, in create_adapter_obj()
654 hr.u.ax.info.serial_number); in create_adapter_obj()
Dasihpi.c164 struct hpi_response hr; in hpi_stream_host_buffer_attach() local
169 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach()
180 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach()
181 return hr.error; in hpi_stream_host_buffer_attach()
187 struct hpi_response hr; in hpi_stream_host_buffer_detach() local
193 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_detach()
201 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_detach()
202 return hr.error; in hpi_stream_host_buffer_detach()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_nested.c28 void kvmhv_save_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr) in kvmhv_save_hv_regs() argument
32 hr->pcr = vc->pcr | PCR_MASK; in kvmhv_save_hv_regs()
33 hr->dpdes = vc->dpdes; in kvmhv_save_hv_regs()
34 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs()
35 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs()
36 hr->dawr0 = vcpu->arch.dawr; in kvmhv_save_hv_regs()
37 hr->dawrx0 = vcpu->arch.dawrx; in kvmhv_save_hv_regs()
38 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs()
39 hr->purr = vcpu->arch.purr; in kvmhv_save_hv_regs()
40 hr->spurr = vcpu->arch.spurr; in kvmhv_save_hv_regs()
[all …]
Dbook3s_64_mmu_hv.c1658 unsigned long v, r, hr; in record_hpte() local
1685 hr = be64_to_cpu(hptp[1]); in record_hpte()
1687 v = hpte_new_to_old_v(v, hr); in record_hpte()
1688 hr = hpte_new_to_old_r(hr); in record_hpte()
1697 if (valid && (rcbits_unset & hr)) { in record_hpte()
1698 revp->guest_rpte |= (hr & in record_hpte()
2047 unsigned long v, hr, gr; in debugfs_htab_read() local
2089 hr = be64_to_cpu(hptp[1]); in debugfs_htab_read()
2099 i, v, hr, gr); in debugfs_htab_read()
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
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()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-mxc.c108 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local
123 hr = hr_min >> 8; in get_alarm_or_time()
126 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time()
134 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local
141 hr = tod / 3600; in set_alarm_or_time()
142 tod -= hr * 3600; in set_alarm_or_time()
148 temp = (hr << 8) + min; in set_alarm_or_time()
Drtc-bd70528.c506 unsigned int hr; in bd70528_probe() local
550 ret = regmap_read(parent->regmap, hour_reg, &hr); in bd70528_probe()
557 if (!(hr & BD70528_MASK_RTC_HOUR_24H)) { in bd70528_probe()
/kernel/linux/linux-5.10/drivers/scsi/device_handler/
Dscsi_dh_emc.c426 unsigned int hr = 0, st = 0, argc; in clariion_set_params() local
440 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1)) in clariion_set_params()
448 if (hr) in clariion_set_params()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dlcc-mdm9615.c196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
235 .halt_reg = hr, \
266 .halt_reg = hr, \
Dlcc-msm8960.c194 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
233 .halt_reg = hr, \
264 .halt_reg = hr, \
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dcharger-manager.txt70 /* Allow charging for 5hr */
72 /* Allow discharging for 2hr */
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dhcd.c5314 struct dwc2_hregs_backup *hr; in dwc2_backup_host_registers() local
5320 hr = &hsotg->hr_backup; in dwc2_backup_host_registers()
5321 hr->hcfg = dwc2_readl(hsotg, HCFG); in dwc2_backup_host_registers()
5322 hr->haintmsk = dwc2_readl(hsotg, HAINTMSK); in dwc2_backup_host_registers()
5324 hr->hcintmsk[i] = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_backup_host_registers()
5326 hr->hprt0 = dwc2_read_hprt0(hsotg); in dwc2_backup_host_registers()
5327 hr->hfir = dwc2_readl(hsotg, HFIR); in dwc2_backup_host_registers()
5328 hr->hptxfsiz = dwc2_readl(hsotg, HPTXFSIZ); in dwc2_backup_host_registers()
5329 hr->valid = true; in dwc2_backup_host_registers()
5343 struct dwc2_hregs_backup *hr; in dwc2_restore_host_registers() local
[all …]
Dcore.c257 struct dwc2_hregs_backup *hr; in dwc2_restore_essential_regs() local
261 hr = &hsotg->hr_backup; in dwc2_restore_essential_regs()
290 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs()
/kernel/linux/linux-5.10/sound/firewire/digi00x/
Damdtp-dot.c93 const u8 hr = (hn == 0x9) ? 0x9 : hir[(hio[hn] + off) % 15]; in dot_scrt() local
98 return ((nib[14 + off - len[ln]]) | (hr << 4)); in dot_scrt()
/kernel/linux/linux-5.10/arch/x86/events/
Drapl.c239 struct hrtimer *hr = &pmu->hrtimer; in rapl_hrtimer_init() local
241 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rapl_hrtimer_init()
242 hr->function = rapl_hrtimer_handle; in rapl_hrtimer_init()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s.h303 void kvmhv_save_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr);
305 struct hv_guest_state *hr);
/kernel/linux/linux-5.10/arch/arm64/boot/dts/marvell/
Darmada-3720-uDPU.dts9 * Vladimir Vid <vladimir.vid@sartura.hr>
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c40 int hr = mlx5e_get_linear_rq_headroom(params, xsk); in mlx5e_xdp_max_mtu() local
55 return MLX5E_HW2SW_MTU(params, SKB_MAX_HEAD(hr)); in mlx5e_xdp_max_mtu()
/kernel/linux/linux-5.10/net/xdp/
Dxsk.c383 u32 hr, tr; in xsk_generic_xmit() local
390 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(xs->dev->needed_headroom)); in xsk_generic_xmit()
404 skb = sock_alloc_send_skb(sk, hr + len + tr, 1, &err); in xsk_generic_xmit()
408 skb_reserve(skb, hr); in xsk_generic_xmit()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsgiarcs.h139 unsigned short hr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h584 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index,
589 enum mlxsw_reg_qeec_hr hr, u8 index,
Dspectrum.c1222 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, in mlxsw_sp_port_ets_set() argument
1228 mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, in mlxsw_sp_port_ets_set()
1237 enum mlxsw_reg_qeec_hr hr, u8 index, in mlxsw_sp_port_ets_maxrate_set() argument
1243 mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, in mlxsw_sp_port_ets_maxrate_set()
1252 enum mlxsw_reg_qeec_hr hr, u8 index, in mlxsw_sp_port_min_bw_set() argument
1258 mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, in mlxsw_sp_port_min_bw_set()

12