Home
last modified time | relevance | path

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

/drivers/clk/qcom/
Dlcc-msm8960.c125 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ argument
127 .halt_reg = hr, \
162 #define CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, en_bit) \ argument
164 .halt_reg = hr, \
208 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
210 CLK_AIF_OSR_CLK(prefix, _ns, hr, 21) \
212 CLK_AIF_OSR_BIT_DIV_CLK(prefix, _ns, hr, 19) \
Dlcc-mdm9615.c196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
235 .halt_reg = hr, \
266 .halt_reg = hr, \
/drivers/rtc/
Drtc-mxc.c93 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local
108 hr = hr_min >> 8; in get_alarm_or_time()
111 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time()
119 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local
126 hr = tod / 3600; in set_alarm_or_time()
127 tod -= hr * 3600; in set_alarm_or_time()
133 temp = (hr << 8) + min; in set_alarm_or_time()
Drtc-bd70528.c243 unsigned int hr; in bd70528_probe() local
296 ret = regmap_read(bd_rtc->regmap, hour_reg, &hr); in bd70528_probe()
303 if (!(hr & BD70528_MASK_RTC_HOUR_24H)) { in bd70528_probe()
/drivers/misc/habanalabs/common/mmu/
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()
/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()
/drivers/scsi/device_handler/
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()
/drivers/usb/dwc2/
Dhcd.c5401 struct dwc2_hregs_backup *hr; in dwc2_backup_host_registers() local
5407 hr = &hsotg->hr_backup; in dwc2_backup_host_registers()
5408 hr->hcfg = dwc2_readl(hsotg, HCFG); in dwc2_backup_host_registers()
5409 hr->haintmsk = dwc2_readl(hsotg, HAINTMSK); in dwc2_backup_host_registers()
5411 hr->hcintmsk[i] = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_backup_host_registers()
5413 hr->hprt0 = dwc2_read_hprt0(hsotg); in dwc2_backup_host_registers()
5414 hr->hfir = dwc2_readl(hsotg, HFIR); in dwc2_backup_host_registers()
5415 hr->hptxfsiz = dwc2_readl(hsotg, HPTXFSIZ); in dwc2_backup_host_registers()
5416 hr->valid = true; in dwc2_backup_host_registers()
5430 struct dwc2_hregs_backup *hr; in dwc2_restore_host_registers() local
[all …]
Dcore.c152 struct dwc2_hregs_backup *hr; in dwc2_restore_essential_regs() local
156 hr = &hsotg->hr_backup; in dwc2_restore_essential_regs()
185 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs()
/drivers/net/wwan/iosm/
Diosm_ipc_mux_codec.c1455 union mux_type_header hr; in ipc_mux_ul_encoded_process() local
1460 hr.adgh = (struct mux_adgh *)skb->data; in ipc_mux_ul_encoded_process()
1461 adgh_len = le16_to_cpu(hr.adgh->length); in ipc_mux_ul_encoded_process()
1462 if (hr.adgh->signature == cpu_to_le32(IOSM_AGGR_MUX_SIG_ADGH) && in ipc_mux_ul_encoded_process()
1467 hr.adbh = (struct mux_adbh *)(skb->data); in ipc_mux_ul_encoded_process()
1468 payload = ipc_mux_get_payload_from_adb(ipc_mux, hr.adbh); in ipc_mux_ul_encoded_process()
/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()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c939 enum mlxsw_reg_qeec_hr hr = mlxsw_sp_qdisc_tbf_hr(mlxsw_sp_port, in mlxsw_sp_qdisc_tbf_destroy() local
944 return mlxsw_sp_port_ets_maxrate_set(mlxsw_sp_port, hr, tclass_num, 0, in mlxsw_sp_qdisc_tbf_destroy()
1026 enum mlxsw_reg_qeec_hr hr = mlxsw_sp_qdisc_tbf_hr(mlxsw_sp_port, in mlxsw_sp_qdisc_tbf_replace() local
1048 return mlxsw_sp_port_ets_maxrate_set(mlxsw_sp_port, hr, tclass_num, 0, in mlxsw_sp_qdisc_tbf_replace()
Dspectrum.h677 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index,
682 enum mlxsw_reg_qeec_hr hr, u8 index,
Dspectrum.c1401 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, in mlxsw_sp_port_ets_set() argument
1407 mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, in mlxsw_sp_port_ets_set()
1416 enum mlxsw_reg_qeec_hr hr, u8 index, in mlxsw_sp_port_ets_maxrate_set() argument
1422 mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, in mlxsw_sp_port_ets_maxrate_set()
1431 enum mlxsw_reg_qeec_hr hr, u8 index, in mlxsw_sp_port_min_bw_set() argument
1437 mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, in mlxsw_sp_port_min_bw_set()
Dreg.h4065 enum mlxsw_reg_qeec_hr hr, u8 index, in mlxsw_reg_qeec_pack() argument
4070 mlxsw_reg_qeec_element_hierarchy_set(payload, hr); in mlxsw_reg_qeec_pack()
/drivers/ufs/core/
Dufshpb.c1309 struct utp_hpb_rsp *rsp_field = &lrbp->ucd_rsp_ptr->hr; in ufshpb_rsp_upiu()
/drivers/misc/habanalabs/common/
Dhabanalabs.h2730 struct hl_mmu_hr_priv hr; member
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4132 u32 hr = mlx5e_get_linear_rq_headroom(new_params, &xsk); in mlx5e_xsk_validate_mtu() local
4139 max_mtu_frame = MLX5E_HW2SW_MTU(new_params, xsk.chunk_size - hr); in mlx5e_xsk_validate_mtu()
/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c5046 hop0_addr = hdev->mmu_priv.hr.mmu_asid_hop0[asid].phys_addr; in gaudi2_mmu_update_hop0_addr()