Home
last modified time | relevance | path

Searched refs:weak (Results 1 – 14 of 14) sorted by relevance

/drivers/hid/
Dhid-dr.c48 int strong, weak; in drff_play() local
51 weak = effect->u.rumble.weak_magnitude; in drff_play()
53 dbg_hid("called with 0x%04x 0x%04x", strong, weak); in drff_play()
55 if (strong || weak) { in drff_play()
57 weak = weak * 0xff / 0xffff; in drff_play()
62 if (weak == 0x0a) in drff_play()
63 weak = 0x0b; in drff_play()
67 drff->report->field[0]->value[2] = weak; in drff_play()
80 dbg_hid("running with 0x%02x 0x%02x", strong, weak); in drff_play()
Dhid-emsff.c39 int weak, strong; in emsff_play() local
41 weak = effect->u.rumble.weak_magnitude; in emsff_play()
44 dbg_hid("called with 0x%04x 0x%04x\n", strong, weak); in emsff_play()
46 weak = weak * 0xff / 0xffff; in emsff_play()
49 emsff->report->field[0]->value[1] = weak; in emsff_play()
52 dbg_hid("running with 0x%02x 0x%02x\n", strong, weak); in emsff_play()
Dhid-lg2ff.c39 int weak, strong; in play_effect() local
42 weak = effect->u.rumble.weak_magnitude; in play_effect()
44 if (weak || strong) { in play_effect()
45 weak = weak * 0xff / 0xffff; in play_effect()
49 lg2ff->report->field[0]->value[2] = weak; in play_effect()
Dhid-pl.c56 s32 *weak; member
74 *plff->weak = right; in hid_plff_play()
93 s32 *weak; in plff_init() local
133 weak = &report->field[0]->value[3]; in plff_init()
146 weak = &report->field[3]->value[0]; in plff_init()
171 plff->weak = weak; in plff_init()
175 *weak = 0x00; in plff_init()
/drivers/input/
Dff-memless.c248 unsigned int strong, weak, i; in ml_combine_effects() local
273 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff; in ml_combine_effects()
280 else if (effect->u.rumble.weak_magnitude + weak) in ml_combine_effects()
284 new->direction, weak); in ml_combine_effects()
291 min(weak + effect->u.rumble.weak_magnitude, 0xffffU); in ml_combine_effects()
/drivers/input/joystick/
Dxpad.c805 __u16 weak; in xpad_play_effect() local
811 weak = effect->u.rumble.weak_magnitude; in xpad_play_effect()
820 xpad->odata[5] = weak / 256; /* right actuator */ in xpad_play_effect()
829 xpad->odata[4] = weak / 256; /* right actuator? */ in xpad_play_effect()
843 xpad->odata[6] = weak / 256; in xpad_play_effect()
862 xpad->odata[9] = weak / 256; /* right actuator */ in xpad_play_effect()
/drivers/staging/android/
Dbinder.c430 int weak; member
1786 if (ref->data.weak == 0) { in binder_inc_ref_olocked()
1791 ref->data.weak++; in binder_inc_ref_olocked()
1812 ref->data.weak); in binder_dec_ref_olocked()
1819 if (ref->data.weak == 0) { in binder_dec_ref_olocked()
1823 ref->data.weak); in binder_dec_ref_olocked()
1826 ref->data.weak--; in binder_dec_ref_olocked()
1828 if (ref->data.strong == 0 && ref->data.weak == 0) { in binder_dec_ref_olocked()
3536 rdata.weak); in binder_thread_write()
3785 ref->data.weak, ref->node->debug_id); in binder_thread_write()
[all …]
/drivers/net/wireless/iwlwifi/mvm/
Drs.c1809 s32 sr, int weak, int strong, in rs_get_tpc_action() argument
1826 if (weak != TPC_INVALID) { in rs_get_tpc_action()
1880 int weak, strong; in rs_tpc_perform() local
1907 rs_get_adjacent_txp(mvm, cur, &weak, &strong); in rs_tpc_perform()
1913 if (weak != TPC_INVALID) in rs_tpc_perform()
1914 weak_tpt = window[weak].average_tpt; in rs_tpc_perform()
1920 cur, current_tpt, sr, weak, strong, in rs_tpc_perform()
1923 action = rs_get_tpc_action(mvm, sr, weak, strong, in rs_tpc_perform()
1927 if (weak == TPC_INVALID && action == TPC_ACTION_DECREASE) { in rs_tpc_perform()
1939 lq_sta->lq.reduced_tpc = weak; in rs_tpc_perform()
/drivers/regulator/
Ddbx500-prcmu.c172 int __attribute__((weak)) dbx500_regulator_testcase( in dbx500_regulator_testcase()
/drivers/infiniband/hw/qib/
Dqib_init.c808 int __attribute__((weak)) qib_enable_wc(struct qib_devdata *dd) in qib_enable_wc()
813 void __attribute__((weak)) qib_disable_wc(struct qib_devdata *dd) in qib_disable_wc()
Dqib_iba6120.c2038 int __attribute__((weak)) qib_unordered_wc(void) in qib_unordered_wc()
/drivers/media/i2c/m5mols/
Dm5mols_core.c788 int __attribute__ ((weak)) m5mols_update_fw(struct v4l2_subdev *sd, in m5mols_update_fw()
/drivers/infiniband/hw/ipath/
Dipath_driver.c287 int __attribute__((weak)) ipath_enable_wc(struct ipath_devdata *dd) in ipath_enable_wc()
292 void __attribute__((weak)) ipath_disable_wc(struct ipath_devdata *dd) in ipath_disable_wc()
/drivers/mfd/
Dab8500-debugfs.c1578 bool __attribute__((weak)) suspend_test_wake_cause_interrupt_is_mine(u32 my_int) in suspend_test_wake_cause_interrupt_is_mine()