Searched refs:weak (Results 1 - 17 of 17) sorted by relevance

/drivers/hid/
H A Dhid-lg2ff.c41 int weak, strong; local
44 weak = effect->u.rumble.weak_magnitude;
46 if (weak || strong) {
47 weak = weak * 0xff / 0xffff;
51 lg2ff->report->field[0]->value[2] = weak;
H A Dhid-pl.c55 s32 *weak; member in struct:plff_device
73 *plff->weak = right;
91 s32 *weak; local
130 weak = &report->field[0]->value[3];
137 weak = &report->field[3]->value[0];
160 plff->weak = weak;
163 *weak = 0x00;
H A Dhid-emsff.c41 int weak, strong; local
43 weak = effect->u.rumble.weak_magnitude;
46 dbg_hid("called with 0x%04x 0x%04x\n", strong, weak);
48 weak = weak * 0xff / 0xffff;
51 emsff->report->field[0]->value[1] = weak;
54 dbg_hid("running with 0x%02x 0x%02x\n", strong, weak);
H A Dhid-dr.c50 int strong, weak; local
53 weak = effect->u.rumble.weak_magnitude;
55 dbg_hid("called with 0x%04x 0x%04x", strong, weak);
57 if (strong || weak) {
59 weak = weak * 0xff / 0xffff;
64 if (weak == 0x0a)
65 weak = 0x0b;
69 drff->report->field[0]->value[2] = weak;
82 dbg_hid("running with 0x%02x 0x%02x", strong, weak);
[all...]
/drivers/input/
H A Dff-memless.c247 unsigned int strong, weak, i; local
272 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff;
279 else if (effect->u.rumble.weak_magnitude + weak)
283 new->direction, weak);
290 min(weak + effect->u.rumble.weak_magnitude, 0xffffU);
/drivers/regulator/
H A Ddbx500-prcmu.c169 int __attribute__((weak)) dbx500_regulator_testcase(
/drivers/staging/android/
H A Dbinder.c257 int weak; member in struct:binder_ref
1032 printk(KERN_ERR "binder: invalid inc weak node "
1210 if (ref->weak == 0) {
1215 ref->weak++;
1228 ref->desc, ref->strong, ref->weak);
1239 if (ref->weak == 0) {
1240 binder_user_error("binder: %d invalid dec weak, "
1243 ref->desc, ref->strong, ref->weak);
1246 ref->weak--;
1248 if (ref->strong == 0 && ref->weak
2354 int weak = !hlist_empty(&node->refs) || node->local_weak_refs || strong; local
3448 int count, strong, weak; local
[all...]
/drivers/staging/sep/
H A Dsep_crypto.c602 * Returns: 1 (weak), 0 (not weak)
652 goto weak;
655 goto weak;
659 goto weak;
662 goto weak;
668 goto weak;
671 goto weak;
675 goto weak;
678 goto weak;
[all...]
/drivers/acpi/
H A Dnuma.c195 void __init __attribute__ ((weak))
H A Dpci_irq.c499 void __attribute__ ((weak)) acpi_unregister_gsi(u32 i)
/drivers/input/joystick/
H A Dxpad.c611 __u16 weak = effect->u.rumble.weak_magnitude; local
621 xpad->odata[5] = weak / 256; /* right actuator */
631 xpad->odata[4] = weak / 256; /* right actuator? */
646 xpad->odata[6] = weak / 256;
/drivers/infiniband/hw/qib/
H A Dqib_init.c648 int __attribute__((weak)) qib_enable_wc(struct qib_devdata *dd)
653 void __attribute__((weak)) qib_disable_wc(struct qib_devdata *dd)
H A Dqib_iba6120.c2031 int __attribute__((weak)) qib_unordered_wc(void)
/drivers/pci/
H A Dpci.c1351 void __attribute__ ((weak)) pcibios_disable_device (struct pci_dev *dev) {}
1415 int __attribute__ ((weak)) pcibios_set_pcie_reset_state(struct pci_dev *dev,
3846 int __attribute__ ((weak)) pci_ext_cfg_avail(struct pci_dev *dev)
H A Dpci-sysfs.c1110 int __attribute__ ((weak)) pcibios_add_platform_entries(struct pci_dev *dev)
/drivers/media/video/m5mols/
H A Dm5mols_core.c758 int __attribute__ ((weak)) m5mols_update_fw(struct v4l2_subdev *sd,
/drivers/infiniband/hw/ipath/
H A Dipath_driver.c291 int __attribute__((weak)) ipath_enable_wc(struct ipath_devdata *dd)
296 void __attribute__((weak)) ipath_disable_wc(struct ipath_devdata *dd)

Completed in 628 milliseconds