• Home
  • Raw
  • Download

Lines Matching refs:seat

84 	struct udev_seat *seat;  in device_added()  local
105 seat = udev_seat_get_named(input, seat_name); in device_added()
111 if (filter_duplicates(seat, udev_device)) in device_added()
114 if (seat) in device_added()
115 libinput_seat_ref(&seat->base); in device_added()
117 seat = udev_seat_create(input, device_seat, seat_name); in device_added()
118 if (!seat) in device_added()
122 device = evdev_device_create(&seat->base, udev_device); in device_added()
123 libinput_seat_unref(&seat->base); in device_added()
151 struct udev_seat *seat; in device_removed() local
155 list_for_each(seat, &input->base.seat_list, base.link) { in device_removed()
157 &seat->base.devices_list, base.link) { in device_removed()
245 struct udev_seat *seat, *tmp; in udev_input_remove_devices() local
247 list_for_each_safe(seat, tmp, &input->base.seat_list, base.link) { in udev_input_remove_devices()
248 libinput_seat_ref(&seat->base); in udev_input_remove_devices()
250 &seat->base.devices_list, base.link) { in udev_input_remove_devices()
253 libinput_seat_unref(&seat->base); in udev_input_remove_devices()
332 udev_seat_destroy(struct libinput_seat *seat) in udev_seat_destroy() argument
334 struct udev_seat *useat = (struct udev_seat*)seat; in udev_seat_destroy()
343 struct udev_seat *seat; in udev_seat_create() local
345 seat = zalloc(sizeof *seat); in udev_seat_create()
347 libinput_seat_init(&seat->base, &input->base, in udev_seat_create()
351 return seat; in udev_seat_create()
357 struct udev_seat *seat; in udev_seat_get_named() local
359 list_for_each(seat, &input->base.seat_list, base.link) { in udev_seat_get_named()
360 if (streq(seat->base.logical_name, seat_name)) in udev_seat_get_named()
361 return seat; in udev_seat_get_named()
371 struct libinput *libinput = device->seat->libinput; in udev_device_change_seat()