Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/i2c/
Ddw9714.c37 u16 current_val; member
67 dw9714_dev->current_val = val; in dw9714_t_focus_vcm()
201 for (val = dw9714_dev->current_val & ~(DW9714_CTRL_STEPS - 1); in dw9714_vcm_suspend()
225 for (val = dw9714_dev->current_val % DW9714_CTRL_STEPS; in dw9714_vcm_resume()
226 val < dw9714_dev->current_val + DW9714_CTRL_STEPS - 1; in dw9714_vcm_resume()
Ddw9807-vcm.c44 u16 current_val; member
120 dev_vcm->current_val = ctrl->val; in dw9807_set_ctrl()
252 for (val = dw9807_dev->current_val & ~(DW9807_CTRL_STEPS - 1); in dw9807_vcm_suspend()
291 for (val = dw9807_dev->current_val % DW9807_CTRL_STEPS; in dw9807_vcm_resume()
292 val < dw9807_dev->current_val + DW9807_CTRL_STEPS - 1; in dw9807_vcm_resume()
Dmt9v111.c337 u16 current_val; in mt9v111_update() local
346 ret = __mt9v111_read(c, reg, &current_val); in mt9v111_update()
350 current_val &= ~mask; in mt9v111_update()
351 current_val |= (val & mask); in mt9v111_update()
352 ret = __mt9v111_write(c, reg, current_val); in mt9v111_update()
/Linux-v5.10/drivers/gpu/host1x/
Dsyncpt.c309 u32 current_val; in host1x_syncpt_is_expired() local
314 current_val = (u32)atomic_read(&sp->min_val); in host1x_syncpt_is_expired()
360 return future_val - thresh >= current_val - thresh; in host1x_syncpt_is_expired()
362 return (s32)(current_val - thresh) >= 0; in host1x_syncpt_is_expired()
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c54 char *current_val; /* For rates */ in libipw_translate_scan() local
111 current_val = start + iwe_stream_lcp_len(info); in libipw_translate_scan()
126 current_val = iwe_stream_add_value(info, start, current_val, in libipw_translate_scan()
134 current_val = iwe_stream_add_value(info, start, current_val, in libipw_translate_scan()
138 if ((current_val - start) > iwe_stream_lcp_len(info)) in libipw_translate_scan()
139 start = current_val; in libipw_translate_scan()
/Linux-v5.10/sound/soc/codecs/
Dcs35l33.c966 unsigned int sticky_val1, sticky_val2, current_val, mask1, mask2; in cs35l33_irq_thread() local
982 &current_val); in cs35l33_irq_thread()
988 if (!(current_val & CS35L33_AMP_SHORT)) { in cs35l33_irq_thread()
1010 if (!(current_val & CS35L33_CAL_ERR)) { in cs35l33_irq_thread()
1026 if (!(current_val & CS35L33_OTE)) { in cs35l33_irq_thread()
1041 if (!(current_val & CS35L33_OTW)) { in cs35l33_irq_thread()
/Linux-v5.10/drivers/net/ethernet/freescale/fman/
Dfman.c1631 u8 total_num_dmas = 0, current_val = 0, current_extra_val = 0; in set_num_of_open_dmas() local
1643 current_val = (u8)(((tmp & BMI_NUM_OF_DMAS_MASK) >> in set_num_of_open_dmas()
1653 fman->state->accumulated_num_of_open_dmas += current_val; in set_num_of_open_dmas()
1654 *num_of_open_dmas = current_val; in set_num_of_open_dmas()
1665 (fman->state->accumulated_num_of_open_dmas - current_val + in set_num_of_open_dmas()
1674 current_val + open_dmas > in set_num_of_open_dmas()
1682 WARN_ON(fman->state->accumulated_num_of_open_dmas < current_val); in set_num_of_open_dmas()
1684 fman->state->accumulated_num_of_open_dmas -= current_val; in set_num_of_open_dmas()
/Linux-v5.10/drivers/staging/ks7010/
Dks_wlan_net.c1187 char *current_val; /* For rates */ in ks_wlan_translate_scan() local
1247 current_val = current_ev + IW_EV_LCP_LEN; in ks_wlan_translate_scan()
1263 current_val = iwe_stream_add_value(info, current_ev, in ks_wlan_translate_scan()
1264 current_val, end_buf, &iwe, in ks_wlan_translate_scan()
1268 if ((current_val - current_ev) > IW_EV_LCP_LEN) in ks_wlan_translate_scan()
1269 current_ev = current_val; in ks_wlan_translate_scan()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c214 char *current_val; in translate_scan() local
304 current_val = start + iwe_stream_lcp_len(info); in translate_scan()
314 current_val = iwe_stream_add_value(info, start, current_val, in translate_scan()
318 if ((current_val - start) > iwe_stream_lcp_len(info)) in translate_scan()
319 start = current_val; in translate_scan()
/Linux-v5.10/drivers/net/wireless/intersil/prism54/
Disl_ioctl.c652 char *current_val = current_ev + iwe_stream_lcp_len(info); in prism54_translate_bss() local
665 current_val = iwe_stream_add_value( in prism54_translate_bss()
666 info, current_ev, current_val, in prism54_translate_bss()
672 if ((current_val - current_ev) > iwe_stream_lcp_len(info)) in prism54_translate_bss()
673 current_ev = current_val; in prism54_translate_bss()
/Linux-v5.10/drivers/iio/accel/
Dmma9553.c199 static u16 mma9553_set_bits(u16 current_val, u16 val, u16 mask) in mma9553_set_bits() argument
201 return (current_val & ~mask) | (val << (ffs(mask) - 1)); in mma9553_set_bits()
/Linux-v5.10/drivers/tty/serial/
Dsirfsoc_uart.c106 unsigned int current_val; in sirfsoc_uart_set_mctrl() local
131 current_val = rd_regl(port, ureg->sirfsoc_afc_ctrl) & ~0xFF; in sirfsoc_uart_set_mctrl()
132 val |= current_val; in sirfsoc_uart_set_mctrl()
/Linux-v5.10/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c1783 char *current_val; in __prism2_translate_scan() local
1886 current_val = current_ev + iwe_stream_lcp_len(info); in __prism2_translate_scan()
1893 current_val = iwe_stream_add_value( in __prism2_translate_scan()
1894 info, current_ev, current_val, end_buf, &iwe, in __prism2_translate_scan()
1898 if ((current_val - current_ev) > iwe_stream_lcp_len(info)) in __prism2_translate_scan()
1899 current_ev = current_val; in __prism2_translate_scan()
/Linux-v5.10/drivers/scsi/esas2r/
Datvda.h510 u8 current_val; member
/Linux-v5.10/drivers/net/wireless/cisco/
Dairo.c7295 char * current_val; /* For rates */ in airo_translate_scan() local
7372 current_val = current_ev + iwe_stream_lcp_len(info); in airo_translate_scan()
7385 current_val = iwe_stream_add_value(info, current_ev, in airo_translate_scan()
7386 current_val, end_buf, in airo_translate_scan()
7390 if ((current_val - current_ev) > iwe_stream_lcp_len(info)) in airo_translate_scan()
7391 current_ev = current_val; in airo_translate_scan()