Lines Matching refs:ps_device

31 struct ps_device {
48 int (*parse_report)(struct ps_device *dev, struct hid_report *report, u8 *data, int size);
49 void (*remove)(struct ps_device *dev);
147 struct ps_device base;
360 struct ps_device base;
540 * Add a new ps_device to ps_devices if it doesn't exist.
544 static int ps_devices_list_add(struct ps_device *dev)
546 struct ps_device *entry;
563 static int ps_devices_list_remove(struct ps_device *dev)
571 static int ps_device_set_player_id(struct ps_device *dev)
582 static void ps_device_release_player_id(struct ps_device *dev)
628 struct ps_device *dev = power_supply_get_drvdata(psy);
660 static int ps_device_register_battery(struct ps_device *dev)
777 static int ps_led_register(struct ps_device *ps_dev, struct led_classdev *led,
811 static int ps_lightbar_register(struct ps_device *ps_dev, struct led_classdev_mc *lightbar_mc_dev,
919 struct ps_device *ps_dev = hid_get_drvdata(hdev);
931 struct ps_device *ps_dev = hid_get_drvdata(hdev);
943 ATTRIBUTE_GROUPS(ps_device);
1308 static int dualsense_parse_report(struct ps_device *ps_dev, struct hid_report *report,
1504 static void dualsense_remove(struct ps_device *ps_dev)
1578 static struct ps_device *dualsense_create(struct hid_device *hdev)
1581 struct ps_device *ps_dev;
2174 static int dualshock4_parse_report(struct ps_device *ps_dev, struct hid_report *report,
2355 static int dualshock4_dongle_parse_report(struct ps_device *ps_dev, struct hid_report *report,
2430 static void dualshock4_remove(struct ps_device *ps_dev)
2486 static struct ps_device *dualshock4_create(struct hid_device *hdev)
2489 struct ps_device *ps_dev;
2627 struct ps_device *dev = hid_get_drvdata(hdev);
2637 struct ps_device *dev;
2688 struct ps_device *dev = hid_get_drvdata(hdev);