Lines Matching refs:list

30 	struct list_head list;
51 INIT_LIST_HEAD(&subdev->list);
55 list_add_tail(&subdev->list, &device->subdevs);
80 list_del(&subdev->list);
117 * Move the subdevice to the list of active (registered) subdevices
123 list_move_tail(&client->list, &device->clients);
124 list_move_tail(&subdev->list, &device->active);
156 * Move the subdevice back to the list of idle subdevices and remove
157 * it from list of clients.
162 list_move_tail(&subdev->list, &device->subdevs);
171 list_del_init(&client->list);
200 list_for_each_entry(client, &device->clients, list) {
211 list_for_each_entry(client, &device->clients, list) {
228 list_for_each_entry_continue_reverse(client, &device->clients, list)
232 /* reset client to end of list for late teardown */
233 client = list_entry(&device->clients, struct host1x_client, list);
236 list_for_each_entry_continue_reverse(client, &device->clients, list)
261 list_for_each_entry_reverse(client, &device->clients, list) {
274 list_for_each_entry_reverse(client, &device->clients, list) {
300 list_for_each_entry(device, &host1x->devices, list) {
301 list_for_each_entry(subdev, &device->subdevs, list) {
322 list_for_each_entry_safe(device, dt, &host1x->devices, list) {
323 list_for_each_entry(subdev, &device->active, list) {
384 list_for_each_entry_safe(subdev, sd, &device->active, list) {
388 * list of idle clients.
398 /* add the client to the list of idle clients */
400 list_add_tail(&client->list, &clients);
405 list_for_each_entry_safe(subdev, sd, &device->subdevs, list)
410 /* move clients to idle list */
414 list_for_each_entry_safe(client, cl, &device->clients, list)
415 list_move_tail(&client->list, &clients);
421 list_del_init(&device->list);
451 INIT_LIST_HEAD(&device->list);
472 list_add_tail(&device->list, &host1x->devices);
476 list_for_each_entry_safe(client, tmp, &clients, list) {
477 list_for_each_entry(subdev, &device->subdevs, list) {
492 * itself from the list of devices.
515 list_for_each_entry(device, &host1x->devices, list) {
536 list_for_each_entry_safe(device, tmp, &host1x->devices, list)
550 list_for_each_entry(device, &host1x->devices, list) {
557 list_for_each_entry(subdev, &device->active, list)
561 list_for_each_entry(subdev, &device->subdevs, list)
586 list_add_tail(&host1x->list, &devices);
591 list_for_each_entry(driver, &drivers, list)
615 list_for_each_entry(driver, &drivers, list)
621 list_del_init(&host1x->list);
673 INIT_LIST_HEAD(&driver->list);
676 list_add_tail(&driver->list, &drivers);
681 list_for_each_entry(host1x, &devices, list)
711 list_for_each_entry(host1x, &devices, list)
717 list_del_init(&driver->list);
730 INIT_LIST_HEAD(&client->list);
764 list_for_each_entry(host1x, &devices, list) {
775 list_add_tail(&client->list, &clients);
797 list_for_each_entry(host1x, &devices, list) {
808 list_for_each_entry(c, &clients, list) {
810 list_del_init(&c->list);
914 list_add_tail(&mapping->list, &bo->mappings);
947 list_del(&mapping->list);