/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 195 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/ |
D | timed_ctrl.c | 27 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/rtl8188eu/hal/ |
D | rf_cfg.c | 12 static bool check_condition(struct adapter *adapt, const u32 condition) in check_condition() argument 20 if (condition == 0xCDCDCDCD) in check_condition() 23 cond = condition & 0x000000FF; in check_condition() 27 cond = condition & 0x0000FF00; in check_condition() 32 cond = condition & 0x00FF0000; in check_condition()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | gk20a.c | 118 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()
|
D | base.c | 161 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()
|
D | priv.h | 18 int (*set_id)(struct nvkm_volt *, u8 id, int condition);
|
/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
D | timed_ctrl_public.h | 37 hrt_data condition, 45 hrt_data condition, 54 hrt_data condition,
|
/drivers/gpu/drm/i915/ |
D | i915_gem.h | 41 #define GEM_BUG_ON(condition) do { if (unlikely((condition))) { \ argument 43 __func__, __LINE__, __stringify(condition)); \
|
/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
D | assert_support.h | 40 #define COMPILATION_ERROR_IF(condition) ((void)sizeof(char[1 - 2 * !!(condition)])) argument
|
/drivers/misc/sgi-xp/ |
D | xp.h | 24 #define DBUG_ON(condition) BUG_ON(condition) argument 26 #define DBUG_ON(condition) argument
|
/drivers/usb/core/ |
D | driver.c | 356 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() 561 iface->condition = USB_INTERFACE_BOUND; in usb_driver_claim_interface() 585 iface->condition = USB_INTERFACE_UNBOUND; in usb_driver_claim_interface() 624 if (iface->condition != USB_INTERFACE_BOUND) in usb_driver_release_interface() 626 iface->condition = USB_INTERFACE_UNBINDING; in usb_driver_release_interface() 1307 intf->condition == USB_INTERFACE_UNBOUND) in usb_suspend_interface() [all …]
|
D | usb.c | 898 if (iface && (iface->condition == USB_INTERFACE_UNBINDING || in usb_lock_device_for_reset() 899 iface->condition == USB_INTERFACE_UNBOUND)) in usb_lock_device_for_reset() 914 if (iface && (iface->condition == USB_INTERFACE_UNBINDING || in usb_lock_device_for_reset() 915 iface->condition == USB_INTERFACE_UNBOUND)) in usb_lock_device_for_reset()
|
/drivers/staging/rtl8723bs/include/ |
D | osdep_service.h | 123 #define rtw_warn_on(condition) WARN_ON(condition) argument
|
/drivers/hid/usbhid/ |
D | hid-pidff.c | 379 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/ |
D | via_drv.h | 162 #define VIA_WAIT_ON( ret, queue, timeout, condition ) \ argument 170 if (condition) \
|
/drivers/hid/ |
D | hid-logitech-hidpp.c | 2184 params[6] = effect->u.condition[0].left_saturation >> 9; in hidpp_ff_upload_effect() 2185 params[7] = (effect->u.condition[0].left_saturation >> 1) & 255; in hidpp_ff_upload_effect() 2186 params[8] = effect->u.condition[0].left_coeff >> 8; in hidpp_ff_upload_effect() 2187 params[9] = effect->u.condition[0].left_coeff & 255; in hidpp_ff_upload_effect() 2188 params[10] = effect->u.condition[0].deadband >> 9; in hidpp_ff_upload_effect() 2189 params[11] = (effect->u.condition[0].deadband >> 1) & 255; in hidpp_ff_upload_effect() 2190 params[12] = effect->u.condition[0].center >> 8; in hidpp_ff_upload_effect() 2191 params[13] = effect->u.condition[0].center & 255; in hidpp_ff_upload_effect() 2192 params[14] = effect->u.condition[0].right_coeff >> 8; in hidpp_ff_upload_effect() 2193 params[15] = effect->u.condition[0].right_coeff & 255; in hidpp_ff_upload_effect() [all …]
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | volt.h | 37 int condition);
|
/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 246 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/ |
D | input-compat.h | 49 struct ff_condition_effect condition[2]; /* One for each axis */ member
|
/drivers/staging/fwserial/ |
D | dma_fifo.c | 21 #define FAIL(fifo, condition, format...) ({ \ argument 22 fifo->corrupt = !!(condition); \
|
/drivers/hid/intel-ish-hid/ipc/ |
D | ipc.c | 423 static int timed_wait_for_timeout(struct ishtp_device *dev, int condition, in timed_wait_for_timeout() argument 430 if (condition == WAIT_FOR_FW_RDY) { in timed_wait_for_timeout() 432 } else if (condition == WAIT_FOR_INPUT_RDY) { in timed_wait_for_timeout()
|
/drivers/thermal/intel/int340x_thermal/ |
D | Kconfig | 40 brightness in order to address a thermal condition or to reduce
|
/drivers/media/i2c/m5mols/ |
D | m5mols.h | 309 int m5mols_wait_interrupt(struct v4l2_subdev *sd, u8 condition, u32 timeout);
|
/drivers/ssb/ |
D | sdio.c | 464 #define GOTO_ERROR_ON(condition, description) do { \ argument 465 if (unlikely(condition)) { \
|
/drivers/net/wireless/marvell/libertas/ |
D | if_sdio.c | 297 static int if_sdio_wait_status(struct if_sdio_card *card, const u8 condition) in if_sdio_wait_status() argument 308 if ((status & condition) == condition) in if_sdio_wait_status()
|