Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 52) sorted by relevance

123

/drivers/input/joystick/iforce/
Diforce-ff.c195 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier()
196 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier()
197 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier()
198 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier()
199 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier()
200 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier()
484 effect->u.condition[0].right_saturation, in iforce_upload_condition()
485 effect->u.condition[0].left_saturation, in iforce_upload_condition()
486 effect->u.condition[0].right_coeff, in iforce_upload_condition()
487 effect->u.condition[0].left_coeff, in iforce_upload_condition()
[all …]
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dtimed_ctrl.c27 hrt_data condition, in timed_ctrl_snd_commnd() argument
36 timed_ctrl_reg_store(ID, _HRT_TIMED_CONTROLLER_CMD_REG_IDX, condition); in timed_ctrl_snd_commnd()
48 hrt_data condition, in timed_ctrl_snd_sp_commnd() argument
57 timed_ctrl_snd_commnd(ID, mask, condition, counter, in timed_ctrl_snd_sp_commnd()
64 hrt_data condition, in timed_ctrl_snd_gpio_commnd() argument
73 timed_ctrl_snd_commnd(ID, mask, condition, counter, in timed_ctrl_snd_gpio_commnd()
/drivers/staging/r8188eu/hal/
DHalHWImg8188E_MAC.c7 static bool Checkcondition(const u32 condition, const u32 hex) in Checkcondition() argument
12 u32 cond = condition; in Checkcondition()
14 if (condition == 0xCDCDCDCD) in Checkcondition()
17 cond = condition & 0x000000FF; in Checkcondition()
21 cond = condition & 0x0000FF00; in Checkcondition()
26 cond = condition & 0x00FF0000; in Checkcondition()
DHalHWImg8188E_BB.c14 static bool CheckCondition(const u32 condition, const u32 hex) in CheckCondition() argument
19 u32 cond = condition; in CheckCondition()
21 if (condition == 0xCDCDCDCD) in CheckCondition()
24 cond = condition & 0x000000FF; in CheckCondition()
28 cond = condition & 0x0000FF00; in CheckCondition()
33 cond = condition & 0x00FF0000; in CheckCondition()
/drivers/gpu/drm/i915/
Di915_gem.h48 #define GEM_BUG_ON(condition) do { if (unlikely((condition))) { \ argument
50 __func__, __LINE__, __stringify(condition)); \
52 __GEM_BUG(condition); \
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk20a.c118 gk20a_volt_set_id(struct nvkm_volt *base, u8 id, int condition) in gk20a_volt_set_id() argument
127 prev_uv, target_uv, condition); in gk20a_volt_set_id()
128 if (!condition || in gk20a_volt_set_id()
129 (condition < 0 && target_uv < prev_uv) || in gk20a_volt_set_id()
130 (condition > 0 && target_uv > prev_uv)) { in gk20a_volt_set_id()
Dbase.c161 int condition) in nvkm_volt_set_id() argument
166 return volt->func->set_id(volt, id, condition); in nvkm_volt_set_id()
171 if (!condition || prev < 0 || in nvkm_volt_set_id()
172 (condition < 0 && ret < prev) || in nvkm_volt_set_id()
173 (condition > 0 && ret > prev)) { in nvkm_volt_set_id()
Dpriv.h18 int (*set_id)(struct nvkm_volt *, u8 id, int condition);
/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dtimed_ctrl_public.h37 hrt_data condition,
45 hrt_data condition,
54 hrt_data condition,
/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dassert_support.h40 #define COMPILATION_ERROR_IF(condition) ((void)sizeof(char[1 - 2 * !!(condition)])) argument
/drivers/misc/sgi-xp/
Dxp.h24 #define DBUG_ON(condition) BUG_ON(condition) argument
26 #define DBUG_ON(condition) argument
/drivers/usb/core/
Ddriver.c356 intf->condition = USB_INTERFACE_BINDING; in usb_probe_interface()
401 intf->condition = USB_INTERFACE_BOUND; in usb_probe_interface()
413 intf->condition = USB_INTERFACE_UNBOUND; in usb_probe_interface()
438 intf->condition = USB_INTERFACE_UNBINDING; in usb_unbind_interface()
500 intf->condition = USB_INTERFACE_UNBOUND; in usb_unbind_interface()
557 iface->condition = USB_INTERFACE_BOUND; in usb_driver_claim_interface()
581 iface->condition = USB_INTERFACE_UNBOUND; in usb_driver_claim_interface()
620 if (iface->condition != USB_INTERFACE_BOUND) in usb_driver_release_interface()
622 iface->condition = USB_INTERFACE_UNBINDING; in usb_driver_release_interface()
1303 intf->condition == USB_INTERFACE_UNBOUND) in usb_suspend_interface()
[all …]
Dusb.c944 if (iface && (iface->condition == USB_INTERFACE_UNBINDING || in usb_lock_device_for_reset()
945 iface->condition == USB_INTERFACE_UNBOUND)) in usb_lock_device_for_reset()
960 if (iface && (iface->condition == USB_INTERFACE_UNBINDING || in usb_lock_device_for_reset()
961 iface->condition == USB_INTERFACE_UNBOUND)) in usb_lock_device_for_reset()
/drivers/staging/rtl8723bs/include/
Dosdep_service.h89 #define rtw_warn_on(condition) WARN_ON(condition) argument
/drivers/hid/usbhid/
Dhid-pidff.c379 effect->u.condition[i].center); in pidff_set_condition_report()
381 effect->u.condition[i].right_coeff); in pidff_set_condition_report()
383 effect->u.condition[i].left_coeff); in pidff_set_condition_report()
385 effect->u.condition[i].right_saturation); in pidff_set_condition_report()
387 effect->u.condition[i].left_saturation); in pidff_set_condition_report()
389 effect->u.condition[i].deadband); in pidff_set_condition_report()
405 struct ff_condition_effect *cond = &effect->u.condition[i]; in pidff_needs_set_condition()
406 struct ff_condition_effect *old_cond = &old->u.condition[i]; in pidff_needs_set_condition()
/drivers/gpu/drm/via/
Dvia_drv.h162 #define VIA_WAIT_ON( ret, queue, timeout, condition ) \ argument
170 if (condition) \
/drivers/hid/
Dhid-logitech-hidpp.c2448 params[6] = effect->u.condition[0].left_saturation >> 9; in hidpp_ff_upload_effect()
2449 params[7] = (effect->u.condition[0].left_saturation >> 1) & 255; in hidpp_ff_upload_effect()
2450 params[8] = effect->u.condition[0].left_coeff >> 8; in hidpp_ff_upload_effect()
2451 params[9] = effect->u.condition[0].left_coeff & 255; in hidpp_ff_upload_effect()
2452 params[10] = effect->u.condition[0].deadband >> 9; in hidpp_ff_upload_effect()
2453 params[11] = (effect->u.condition[0].deadband >> 1) & 255; in hidpp_ff_upload_effect()
2454 params[12] = effect->u.condition[0].center >> 8; in hidpp_ff_upload_effect()
2455 params[13] = effect->u.condition[0].center & 255; in hidpp_ff_upload_effect()
2456 params[14] = effect->u.condition[0].right_coeff >> 8; in hidpp_ff_upload_effect()
2457 params[15] = effect->u.condition[0].right_coeff & 255; in hidpp_ff_upload_effect()
[all …]
/drivers/char/tpm/st33zp24/
Dst33zp24.c246 bool condition; in wait_for_stat() local
274 condition = wait_for_tpm_stat_cond(chip, mask, in wait_for_stat()
276 if (ret >= 0 && condition) { in wait_for_stat()
/drivers/input/
Dinput-compat.h49 struct ff_condition_effect condition[2]; /* One for each axis */ member
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dvolt.h37 int condition);
/drivers/staging/fwserial/
Ddma_fifo.c21 #define FAIL(fifo, condition, format...) ({ \ argument
22 fifo->corrupt = !!(condition); \
/drivers/hid/intel-ish-hid/ipc/
Dipc.c451 static int timed_wait_for_timeout(struct ishtp_device *dev, int condition, in timed_wait_for_timeout() argument
458 if (condition == WAIT_FOR_FW_RDY) { in timed_wait_for_timeout()
460 } else if (condition == WAIT_FOR_INPUT_RDY) { in timed_wait_for_timeout()
/drivers/thermal/intel/int340x_thermal/
DKconfig41 brightness in order to address a thermal condition or to reduce
/drivers/media/i2c/m5mols/
Dm5mols.h311 int m5mols_wait_interrupt(struct v4l2_subdev *sd, u8 condition, u32 timeout);
/drivers/staging/media/av7110/
Dvideo-get-event.rst63 specified as the wake-up condition. Read-only permissions are sufficient

123