/linux-6.6.21/drivers/media/i2c/ |
D | dw9807-vcm.c | 44 u16 current_val; member 120 dev_vcm->current_val = ctrl->val; in dw9807_set_ctrl() 242 for (val = dw9807_dev->current_val & ~(DW9807_CTRL_STEPS - 1); in dw9807_vcm_suspend() 281 for (val = dw9807_dev->current_val % DW9807_CTRL_STEPS; in dw9807_vcm_resume() 282 val < dw9807_dev->current_val + DW9807_CTRL_STEPS - 1; in dw9807_vcm_resume()
|
D | dw9714.c | 39 u16 current_val; member 70 dw9714_dev->current_val = val; in dw9714_t_focus_vcm() 226 for (val = dw9714_dev->current_val & ~(DW9714_CTRL_STEPS - 1); in dw9714_vcm_suspend() 265 for (val = dw9714_dev->current_val % DW9714_CTRL_STEPS; in dw9714_vcm_resume() 266 val < dw9714_dev->current_val + DW9714_CTRL_STEPS - 1; in dw9714_vcm_resume()
|
D | ov9282.c | 611 u32 current_val; in ov9282_set_ctrl_hflip() local 613 ¤t_val); in ov9282_set_ctrl_hflip() 618 current_val |= OV9282_FLIP_BIT; in ov9282_set_ctrl_hflip() 620 current_val &= ~OV9282_FLIP_BIT; in ov9282_set_ctrl_hflip() 623 current_val); in ov9282_set_ctrl_hflip() 628 u32 current_val; in ov9282_set_ctrl_vflip() local 630 ¤t_val); in ov9282_set_ctrl_vflip() 635 current_val |= OV9282_FLIP_BIT; in ov9282_set_ctrl_vflip() 637 current_val &= ~OV9282_FLIP_BIT; in ov9282_set_ctrl_vflip() 640 current_val); in ov9282_set_ctrl_vflip()
|
D | mt9v111.c | 337 u16 current_val; in mt9v111_update() local 346 ret = __mt9v111_read(c, reg, ¤t_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-6.6.21/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_device_pci.c | 78 u32 current_val; in proc_thermal_mmio_write() local 81 current_val = ioread32(((u8 __iomem *)pci_info->proc_priv->mmio_base + in proc_thermal_mmio_write() 84 current_val &= ~mask; in proc_thermal_mmio_write() 89 current_val |= value; in proc_thermal_mmio_write() 90 iowrite32(current_val, ((u8 __iomem *)pci_info->proc_priv->mmio_base + in proc_thermal_mmio_write()
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_pmu_caps_test.c | 63 static void guest_code(uint64_t current_val) in guest_code() argument 67 guest_test_perf_capabilities_gp(current_val); in guest_code() 71 guest_test_perf_capabilities_gp(current_val ^ BIT_ULL(i)); in guest_code()
|
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 54 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-6.6.21/drivers/gpu/host1x/ |
D | syncpt.c | 271 u32 current_val; in host1x_syncpt_is_expired() local 275 current_val = (u32)atomic_read(&sp->min_val); in host1x_syncpt_is_expired() 277 return ((current_val - thresh) & 0x80000000U) == 0U; in host1x_syncpt_is_expired()
|
/linux-6.6.21/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | enum-attributes.c | 76 static struct kobj_attribute current_val = variable 103 ¤t_val.attr,
|
/linux-6.6.21/sound/soc/codecs/ |
D | cs35l33.c | 964 unsigned int sticky_val1, sticky_val2, current_val, mask1, mask2; in cs35l33_irq_thread() local 980 ¤t_val); in cs35l33_irq_thread() 986 if (!(current_val & CS35L33_AMP_SHORT)) { in cs35l33_irq_thread() 1008 if (!(current_val & CS35L33_CAL_ERR)) { in cs35l33_irq_thread() 1024 if (!(current_val & CS35L33_OTE)) { in cs35l33_irq_thread() 1039 if (!(current_val & CS35L33_OTW)) { in cs35l33_irq_thread()
|
/linux-6.6.21/drivers/net/ethernet/freescale/fman/ |
D | fman.c | 1605 u8 total_num_dmas = 0, current_val = 0, current_extra_val = 0; in set_num_of_open_dmas() local 1617 current_val = (u8)(((tmp & BMI_NUM_OF_DMAS_MASK) >> in set_num_of_open_dmas() 1627 fman->state->accumulated_num_of_open_dmas += current_val; in set_num_of_open_dmas() 1628 *num_of_open_dmas = current_val; in set_num_of_open_dmas() 1639 (fman->state->accumulated_num_of_open_dmas - current_val + in set_num_of_open_dmas() 1648 current_val + open_dmas > in set_num_of_open_dmas() 1656 WARN_ON(fman->state->accumulated_num_of_open_dmas < current_val); in set_num_of_open_dmas() 1658 fman->state->accumulated_num_of_open_dmas -= current_val; in set_num_of_open_dmas()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_pmdemand.c | 492 u32 current_val = serialized ? 0 : REG_FIELD_GET((mask), *(reg)); \ in intel_pmdemand_update_params() 497 *(reg) |= REG_FIELD_PREP((mask), max3(old_val, new_val, current_val)); \ in intel_pmdemand_update_params()
|
/linux-6.6.21/drivers/platform/x86/hp/hp-bioscfg/ |
D | bioscfg.c | 527 void hp_update_attribute_permissions(bool is_readonly, struct kobj_attribute *current_val) in hp_update_attribute_permissions() argument 529 current_val->attr.mode = is_readonly ? 0444 : 0644; in hp_update_attribute_permissions()
|
D | bioscfg.h | 481 void hp_update_attribute_permissions(bool isreadonly, struct kobj_attribute *current_val);
|
/linux-6.6.21/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 1188 char *current_val; /* For rates */ in ks_wlan_translate_scan() local 1248 current_val = current_ev + IW_EV_LCP_LEN; in ks_wlan_translate_scan() 1264 current_val = iwe_stream_add_value(info, current_ev, in ks_wlan_translate_scan() 1265 current_val, end_buf, &iwe, in ks_wlan_translate_scan() 1269 if ((current_val - current_ev) > IW_EV_LCP_LEN) in ks_wlan_translate_scan() 1270 current_ev = current_val; in ks_wlan_translate_scan()
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 212 char *current_val; in translate_scan() local 302 current_val = start + iwe_stream_lcp_len(info); in translate_scan() 312 current_val = iwe_stream_add_value(info, start, current_val, in translate_scan() 316 if ((current_val - start) > iwe_stream_lcp_len(info)) in translate_scan() 317 start = current_val; in translate_scan()
|
/linux-6.6.21/drivers/iio/accel/ |
D | mma9553.c | 199 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-6.6.21/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 1801 char *current_val; in __prism2_translate_scan() local 1904 current_val = current_ev + iwe_stream_lcp_len(info); in __prism2_translate_scan() 1911 current_val = iwe_stream_add_value( in __prism2_translate_scan() 1912 info, current_ev, current_val, end_buf, &iwe, in __prism2_translate_scan() 1916 if ((current_val - current_ev) > iwe_stream_lcp_len(info)) in __prism2_translate_scan() 1917 current_ev = current_val; in __prism2_translate_scan()
|
/linux-6.6.21/drivers/scsi/esas2r/ |
D | atvda.h | 510 u8 current_val; member
|
/linux-6.6.21/drivers/net/wireless/cisco/ |
D | airo.c | 7344 char * current_val; /* For rates */ in airo_translate_scan() local 7421 current_val = current_ev + iwe_stream_lcp_len(info); in airo_translate_scan() 7434 current_val = iwe_stream_add_value(info, current_ev, in airo_translate_scan() 7435 current_val, end_buf, in airo_translate_scan() 7439 if ((current_val - current_ev) > iwe_stream_lcp_len(info)) in airo_translate_scan() 7440 current_ev = current_val; in airo_translate_scan()
|