Searched refs:fake_hid (Results 1 – 3 of 3) sorted by relevance
24 struct fake_hid;27 struct fake_hid { struct33 int (*setup_uinput) (struct fake_input *fake, struct fake_hid *fake_hid); argument36 struct fake_hid *get_fake_hid(uint16_t vendor, uint16_t product);39 struct fake_hid *fake_hid);
300 struct fake_hid *fake_hid) in ps3remote_setup_uinput() argument320 dev.id.vendor = fake_hid->vendor; in ps3remote_setup_uinput()321 dev.id.product = fake_hid->product; in ps3remote_setup_uinput()367 static struct fake_hid fake_hid_table[] = {382 struct fake_hid *fhid) in fake_hid_match_device()387 struct fake_hid *get_fake_hid(uint16_t vendor, uint16_t product) in get_fake_hid()399 struct fake_hid *fake_hid) in fake_hid_connadd() argument401 if (fake_hid->setup_uinput(fake, fake_hid)) { in fake_hid_connadd()409 (GIOFunc) fake_hid->event, fake); in fake_hid_connadd()
1114 struct fake_hid *fhid = dev->fake->priv; in fake_hid_connect()1121 struct fake_hid *fhid = dev->fake->priv; in fake_hid_disconnect()1129 struct fake_hid *fake_hid; in input_device_connadd() local1137 fake_hid = get_fake_hid(idev->vendor, idev->product); in input_device_connadd()1138 if (fake_hid) { in input_device_connadd()1147 fake->priv = fake_hid; in input_device_connadd()1148 err = fake_hid_connadd(fake, idev->intr_sk, fake_hid); in input_device_connadd()