/Linux-v5.4/sound/pci/asihpi/ |
D | hpifunc.c | 100 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 …]
|
D | hpioctl.c | 83 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 …]
|
D | hpimsgx.c | 225 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 …]
|
D | hpi6205.c | 626 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()
|
D | asihpi.c | 165 struct hpi_response hr; in hpi_stream_host_buffer_attach() local 170 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach() 181 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach() 182 return hr.error; in hpi_stream_host_buffer_attach() 188 struct hpi_response hr; in hpi_stream_host_buffer_detach() local 194 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_detach() 202 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_detach() 203 return hr.error; in hpi_stream_host_buffer_detach()
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | book3s_hv_nested.c | 28 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 …]
|
D | book3s_64_mmu_hv.c | 1670 unsigned long v, r, hr; in record_hpte() local 1697 hr = be64_to_cpu(hptp[1]); in record_hpte() 1699 v = hpte_new_to_old_v(v, hr); in record_hpte() 1700 hr = hpte_new_to_old_r(hr); in record_hpte() 1709 if (valid && (rcbits_unset & hr)) { in record_hpte() 1710 revp->guest_rpte |= (hr & in record_hpte() 2059 unsigned long v, hr, gr; in debugfs_htab_read() local 2101 hr = be64_to_cpu(hptp[1]); in debugfs_htab_read() 2111 i, v, hr, gr); in debugfs_htab_read()
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 230 u64 hr, mask; in ixgbe_zca_free() local 234 hr = rx_ring->xsk_umem->headroom + XDP_PACKET_HEADROOM; in ixgbe_zca_free() 246 bi->dma += hr; in ixgbe_zca_free() 249 bi->addr += hr; in ixgbe_zca_free() 260 u64 handle, hr; in ixgbe_alloc_buffer_zc() local 270 hr = umem->headroom + XDP_PACKET_HEADROOM; in ixgbe_alloc_buffer_zc() 273 bi->dma += hr; in ixgbe_alloc_buffer_zc() 276 bi->addr += hr; in ixgbe_alloc_buffer_zc() 288 u64 handle, hr; in ixgbe_alloc_buffer_slow_zc() local 297 hr = umem->headroom + XDP_PACKET_HEADROOM; in ixgbe_alloc_buffer_slow_zc() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 250 u64 handle, hr; in i40e_alloc_buffer_zc() local 262 hr = umem->headroom + XDP_PACKET_HEADROOM; in i40e_alloc_buffer_zc() 265 bi->dma += hr; in i40e_alloc_buffer_zc() 268 bi->addr += hr; in i40e_alloc_buffer_zc() 290 u64 handle, hr; in i40e_alloc_buffer_slow_zc() local 299 hr = umem->headroom + XDP_PACKET_HEADROOM; in i40e_alloc_buffer_slow_zc() 302 bi->dma += hr; in i40e_alloc_buffer_slow_zc() 305 bi->addr += hr; in i40e_alloc_buffer_slow_zc() 451 u64 hr, mask; in i40e_zca_free() local 455 hr = rx_ring->xsk_umem->headroom + XDP_PACKET_HEADROOM; in i40e_zca_free() [all …]
|
/Linux-v5.4/drivers/hwtracing/stm/ |
D | heartbeat.c | 32 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()
|
/Linux-v5.4/drivers/rtc/ |
D | rtc-mxc.c | 108 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()
|
D | rtc-bd70528.c | 404 unsigned int hr; in bd70528_probe() local 424 ret = regmap_read(mfd->regmap, BD70528_REG_RTC_HOUR, &hr); in bd70528_probe() 431 if (!(hr & BD70528_MASK_RTC_HOUR_24H)) { in bd70528_probe()
|
/Linux-v5.4/drivers/scsi/device_handler/ |
D | scsi_dh_emc.c | 426 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()
|
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/ |
D | charger-manager.txt | 60 /* Allow charging for 5hr */ 62 /* Allow discharging for 2hr */
|
/Linux-v5.4/drivers/clk/qcom/ |
D | lcc-mdm9615.c | 196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument 235 .halt_reg = hr, \ 266 .halt_reg = hr, \
|
D | lcc-msm8960.c | 194 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument 233 .halt_reg = hr, \ 264 .halt_reg = hr, \
|
/Linux-v5.4/drivers/usb/dwc2/ |
D | hcd.c | 5308 struct dwc2_hregs_backup *hr; in dwc2_backup_host_registers() local 5314 hr = &hsotg->hr_backup; in dwc2_backup_host_registers() 5315 hr->hcfg = dwc2_readl(hsotg, HCFG); in dwc2_backup_host_registers() 5316 hr->haintmsk = dwc2_readl(hsotg, HAINTMSK); in dwc2_backup_host_registers() 5318 hr->hcintmsk[i] = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_backup_host_registers() 5320 hr->hprt0 = dwc2_read_hprt0(hsotg); in dwc2_backup_host_registers() 5321 hr->hfir = dwc2_readl(hsotg, HFIR); in dwc2_backup_host_registers() 5322 hr->hptxfsiz = dwc2_readl(hsotg, HPTXFSIZ); in dwc2_backup_host_registers() 5323 hr->valid = true; in dwc2_backup_host_registers() 5337 struct dwc2_hregs_backup *hr; in dwc2_restore_host_registers() local [all …]
|
D | core.c | 257 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()
|
/Linux-v5.4/sound/firewire/digi00x/ |
D | amdtp-dot.c | 93 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()
|
/Linux-v5.4/arch/x86/events/intel/ |
D | rapl.c | 240 struct hrtimer *hr = &pmu->hrtimer; in rapl_hrtimer_init() local 242 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rapl_hrtimer_init() 243 hr->function = rapl_hrtimer_handle; in rapl_hrtimer_init()
|
/Linux-v5.4/arch/arm64/boot/dts/marvell/ |
D | armada-3720-uDPU.dts | 9 * Vladimir Vid <vladimir.vid@sartura.hr>
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 40 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()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 305 void kvmhv_save_hv_regs(struct kvm_vcpu *vcpu, struct hv_guest_state *hr); 307 struct hv_guest_state *hr);
|
/Linux-v5.4/arch/mips/include/asm/ |
D | sgiarcs.h | 137 unsigned short hr; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.h | 466 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, 474 enum mlxsw_reg_qeec_hr hr, u8 index,
|