Home
last modified time | relevance | path

Searched refs:old_cond (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_pm.c151 union ipc_pm_cond old_cond; in ipc_pm_trigger() local
157 old_cond = ipc_pm->pm_cond; in ipc_pm_trigger()
178 if (old_cond.raw == new_cond.raw) { in ipc_pm_trigger()
180 link_active = old_cond.link == IPC_PM_ACTIVE; in ipc_pm_trigger()
191 if (old_cond.link == IPC_PM_SLEEP && new_cond.raw) { in ipc_pm_trigger()
196 link_active = old_cond.link == IPC_PM_ACTIVE; in ipc_pm_trigger()
/linux/drivers/hid/usbhid/
H A Dhid-pidff.c406 struct ff_condition_effect *old_cond = &old->u.condition[i]; in pidff_needs_set_condition() local
408 ret |= cond->center != old_cond->center || in pidff_needs_set_condition()
409 cond->right_coeff != old_cond->right_coeff || in pidff_needs_set_condition()
410 cond->left_coeff != old_cond->left_coeff || in pidff_needs_set_condition()
411 cond->right_saturation != old_cond->right_saturation || in pidff_needs_set_condition()
412 cond->left_saturation != old_cond->left_saturation || in pidff_needs_set_condition()
413 cond->deadband != old_cond->deadband; in pidff_needs_set_condition()