Home
last modified time | relevance | path

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

/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()
/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.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()
/drivers/clk/qcom/
Dlcc-msm8960.c194 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
233 .halt_reg = hr, \
264 .halt_reg = hr, \
Dlcc-mdm9615.c196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
235 .halt_reg = hr, \
266 .halt_reg = hr, \
/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()
/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/scsi/ufs/
Dufs.h541 struct utp_hpb_rsp hr; member
Dufshpb.c1236 struct utp_hpb_rsp *rsp_field = &lrbp->ucd_rsp_ptr->hr; in ufshpb_rsp_upiu()
/drivers/net/ethernet/mellanox/mlxsw/
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()
Dspectrum.h584 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index,
589 enum mlxsw_reg_qeec_hr hr, u8 index,
Dreg.h3647 enum mlxsw_reg_qeec_hr hr, u8 index, in mlxsw_reg_qeec_pack() argument
3652 mlxsw_reg_qeec_element_hierarchy_set(payload, hr); in mlxsw_reg_qeec_pack()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4048 u32 hr = mlx5e_get_linear_rq_headroom(new_params, &xsk); in mlx5e_xsk_validate_mtu() local
4055 max_mtu_frame = MLX5E_HW2SW_MTU(new_params, xsk.chunk_size - hr); in mlx5e_xsk_validate_mtu()