Home
last modified time | relevance | path

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

12

/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 …]
H A 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()
/linux/include/linux/net/intel/libie/
H A Drx.h14 #define LIBIE_RX_BUF_LEN(hr) min_t(u32, LIBETH_RX_PAGE_LEN(hr), \ argument
20 #define LIBIE_MAX_RX_FRM_LEN(hr) \ argument
21 min_t(u32, __LIBIE_MAX_RX_FRM_LEN, LIBIE_RX_BUF_LEN(hr) * 5)
/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()
H A Drtc-bd70528.c242 unsigned int hr; in bd70528_probe() local
293 ret = regmap_read(bd_rtc->regmap, hour_reg, &hr); in bd70528_probe()
300 if (!(hr & BD70528_MASK_RTC_HOUR_24H)) { in bd70528_probe()
/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->pmmu.hop_table_size, in hl_mmu_v2_hr_init()
68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->pmmu.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()
/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) \
/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c220 struct devlink_health_reporter *hr; in pdsc_init_pf() local
278 hr = devl_health_reporter_create(dl, &pdsc_fw_reporter_ops, 0, pdsc); in pdsc_init_pf()
279 if (IS_ERR(hr)) { in pdsc_init_pf()
281 dev_warn(pdsc->dev, "Failed to create fw reporter: %pe\n", hr); in pdsc_init_pf()
282 err = PTR_ERR(hr); in pdsc_init_pf()
285 pdsc->fw_reporter = hr; in pdsc_init_pf()
/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()
/linux/drivers/usb/dwc2/
H A Dhcd.c5406 struct dwc2_hregs_backup *hr; in dwc2_backup_host_registers() local
5412 hr = &hsotg->hr_backup; in dwc2_backup_host_registers()
5413 hr->hcfg = dwc2_readl(hsotg, HCFG); in dwc2_backup_host_registers()
5414 hr->hflbaddr = dwc2_readl(hsotg, HFLBADDR); in dwc2_backup_host_registers()
5415 hr->haintmsk = dwc2_readl(hsotg, HAINTMSK); in dwc2_backup_host_registers()
5417 hr->hcchar[i] = dwc2_readl(hsotg, HCCHAR(i)); in dwc2_backup_host_registers()
5418 hr->hcsplt[i] = dwc2_readl(hsotg, HCSPLT(i)); in dwc2_backup_host_registers()
5419 hr->hcintmsk[i] = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_backup_host_registers()
5420 hr->hctsiz[i] = dwc2_readl(hsotg, HCTSIZ(i)); in dwc2_backup_host_registers()
5421 hr->hcidma[i] = dwc2_readl(hsotg, HCDMA(i)); in dwc2_backup_host_registers()
[all …]
/linux/include/net/libeth/
H A Drx.h28 #define LIBETH_RX_PAGE_LEN(hr) \ argument
29 ALIGN_DOWN(SKB_MAX_ORDER(hr, LIBETH_RX_PAGE_ORDER), \
/linux/arch/arm/boot/dts/marvell/
H A Darmada-xp-crs326-24g-2s.dts6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
H A Darmada-xp-crs305-1g-4s.dts6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
H A Darmada-xp-crs328-4c-20s-4s.dts6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
H A Darmada-xp-crs305-1g-4s-bit.dts6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
H A Darmada-xp-crs326-24g-2s-bit.dts6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
H A Darmada-xp-crs328-4c-20s-4s-bit.dts6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
/linux/net/xdp/
H A Dxsk.c606 u32 hr, len, ts, offset, copy, copied; in xsk_build_skb_zerocopy() local
614 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(xs->dev->needed_headroom)); in xsk_build_skb_zerocopy()
616 skb = sock_alloc_send_skb(&xs->sk, hr, 1, &err); in xsk_build_skb_zerocopy()
620 skb_reserve(skb, hr); in xsk_build_skb_zerocopy()
671 u32 hr, tr, len; in xsk_build_skb() local
680 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(dev->needed_headroom)); in xsk_build_skb()
682 skb = sock_alloc_send_skb(&xs->sk, hr + len + tr, 1, &err); in xsk_build_skb()
686 skb_reserve(skb, hr); in xsk_build_skb()
736 skb->csum_start = hr + meta->request.csum_start; in xsk_build_skb()
/linux/Documentation/hwmon/
H A Dtps23861.rst13 Author: Robert Marko <robert.marko@sartura.hr>
H A Ddps920ab.rst15 Robert Marko <robert.marko@sartura.hr>
/linux/sound/firewire/digi00x/
H A 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()
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_mux_codec.c1452 union mux_type_header hr; in ipc_mux_ul_encoded_process() local
1457 hr.adgh = (struct mux_adgh *)skb->data; in ipc_mux_ul_encoded_process()
1458 adgh_len = le16_to_cpu(hr.adgh->length); in ipc_mux_ul_encoded_process()
1459 if (hr.adgh->signature == cpu_to_le32(IOSM_AGGR_MUX_SIG_ADGH) && in ipc_mux_ul_encoded_process()
1464 hr.adbh = (struct mux_adbh *)(skb->data); in ipc_mux_ul_encoded_process()
1465 payload = ipc_mux_get_payload_from_adb(ipc_mux, hr.adbh); in ipc_mux_ul_encoded_process()
/linux/arch/x86/events/
H A Drapl.c264 struct hrtimer *hr = &pmu->hrtimer; in rapl_hrtimer_init() local
266 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rapl_hrtimer_init()
267 hr->function = rapl_hrtimer_handle; in rapl_hrtimer_init()

12