/drivers/hid/ |
D | hid-dr.c | 36 int strong, weak; in drff_play() local 39 weak = effect->u.rumble.weak_magnitude; in drff_play() 41 dbg_hid("called with 0x%04x 0x%04x", strong, weak); in drff_play() 43 if (strong || weak) { in drff_play() 45 weak = weak * 0xff / 0xffff; in drff_play() 50 if (weak == 0x0a) in drff_play() 51 weak = 0x0b; in drff_play() 55 drff->report->field[0]->value[2] = weak; in drff_play() 68 dbg_hid("running with 0x%02x 0x%02x", strong, weak); in drff_play()
|
D | hid-pl.c | 44 s32 *weak; member 62 *plff->weak = right; in hid_plff_play() 81 s32 *weak; in plff_init() local 121 weak = &report->field[0]->value[3]; in plff_init() 134 weak = &report->field[3]->value[0]; in plff_init() 159 plff->weak = weak; in plff_init() 163 *weak = 0x00; in plff_init()
|
D | hid-emsff.c | 27 int weak, strong; in emsff_play() local 29 weak = effect->u.rumble.weak_magnitude; in emsff_play() 32 dbg_hid("called with 0x%04x 0x%04x\n", strong, weak); in emsff_play() 34 weak = weak * 0xff / 0xffff; in emsff_play() 37 emsff->report->field[0]->value[1] = weak; in emsff_play() 40 dbg_hid("running with 0x%02x 0x%02x\n", strong, weak); in emsff_play()
|
D | hid-mf.c | 38 int strong, weak; in mf_play() local 41 weak = effect->u.rumble.weak_magnitude; in mf_play() 43 dbg_hid("Called with 0x%04x 0x%04x.\n", strong, weak); in mf_play() 46 weak = weak * 0xff / 0xffff; in mf_play() 48 dbg_hid("Running with 0x%02x 0x%02x.\n", strong, weak); in mf_play() 50 mf->report->field[0]->value[0] = weak; in mf_play()
|
D | hid-lg2ff.c | 27 int weak, strong; in play_effect() local 30 weak = effect->u.rumble.weak_magnitude; in play_effect() 32 if (weak || strong) { in play_effect() 33 weak = weak * 0xff / 0xffff; in play_effect() 37 lg2ff->report->field[0]->value[2] = weak; in play_effect()
|
D | hid-microsoft.c | 36 __u8 weak; member 300 r->magnitude[MAGNITUDE_WEAK] = ms->weak; /* right actuator */ in ms_ff_worker() 320 ms->weak = ((u32) effect->u.rumble.weak_magnitude * 100) / U16_MAX; in ms_play_effect()
|
/drivers/input/ |
D | ff-memless.c | 248 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/ |
D | xpad.c | 1282 __u16 weak; in xpad_play_effect() local 1290 weak = effect->u.rumble.weak_magnitude; in xpad_play_effect() 1301 packet->data[5] = weak / 256; /* right actuator */ in xpad_play_effect() 1311 packet->data[4] = weak / 256; /* right actuator? */ in xpad_play_effect() 1326 packet->data[6] = weak / 256; in xpad_play_effect() 1346 packet->data[9] = weak / 512; /* right actuator */ in xpad_play_effect()
|
/drivers/android/ |
D | binder.c | 1415 if (ref->data.weak == 0) { in binder_inc_ref_olocked() 1420 ref->data.weak++; in binder_inc_ref_olocked() 1441 ref->data.weak); in binder_dec_ref_olocked() 1448 if (ref->data.weak == 0) { in binder_dec_ref_olocked() 1452 ref->data.weak); in binder_dec_ref_olocked() 1455 ref->data.weak--; in binder_dec_ref_olocked() 1457 if (ref->data.strong == 0 && ref->data.weak == 0) { in binder_dec_ref_olocked() 4096 rdata.weak); in binder_thread_write() 4324 ref->data.weak, ref->node->debug_id); in binder_thread_write() 4726 int strong, weak; in binder_thread_read() local [all …]
|
D | binder_internal.h | 303 int weak; member
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.c | 1943 s32 sr, int weak, int strong, in rs_get_tpc_action() argument 1962 weak != TPC_INVALID) { in rs_get_tpc_action() 2017 int weak, strong; in rs_tpc_perform() local 2044 rs_get_adjacent_txp(mvm, cur, &weak, &strong); in rs_tpc_perform() 2050 if (weak != TPC_INVALID) in rs_tpc_perform() 2051 weak_tpt = window[weak].average_tpt; in rs_tpc_perform() 2057 cur, current_tpt, sr, weak, strong, in rs_tpc_perform() 2060 action = rs_get_tpc_action(mvm, sr, weak, strong, in rs_tpc_perform() 2064 if (weak == TPC_INVALID && action == TPC_ACTION_DECREASE) { in rs_tpc_perform() 2076 lq_sta->lq.reduced_tpc = weak; in rs_tpc_perform()
|
/drivers/infiniband/hw/qib/ |
D | qib_init.c | 778 int __attribute__((weak)) qib_enable_wc(struct qib_devdata *dd) in qib_enable_wc() 783 void __attribute__((weak)) qib_disable_wc(struct qib_devdata *dd) in qib_disable_wc()
|
D | qib_iba6120.c | 2003 int __attribute__((weak)) qib_unordered_wc(void) in qib_unordered_wc()
|
/drivers/media/i2c/m5mols/ |
D | m5mols_core.c | 797 int __attribute__ ((weak)) m5mols_update_fw(struct v4l2_subdev *sd, in m5mols_update_fw()
|