Lines Matching refs:client
4 * Responsible for setting up and managing QSEECOM client devices.
24 struct qseecom_client *client;
26 client = container_of(dev, struct qseecom_client, aux_dev.dev);
27 kfree(client);
32 struct qseecom_client *client = data;
34 auxiliary_device_delete(&client->aux_dev);
35 auxiliary_device_uninit(&client->aux_dev);
41 struct qseecom_client *client;
50 dev_info(&qseecom_dev->dev, "setting up client for %s\n", desc->app_name);
52 /* Allocate and set-up the client device */
53 client = kzalloc(sizeof(*client), GFP_KERNEL);
54 if (!client)
57 client->aux_dev.name = desc->dev_name;
58 client->aux_dev.dev.parent = &qseecom_dev->dev;
59 client->aux_dev.dev.release = qseecom_client_release;
60 client->app_id = app_id;
62 ret = auxiliary_device_init(&client->aux_dev);
64 kfree(client);
68 ret = auxiliary_device_add(&client->aux_dev);
70 auxiliary_device_uninit(&client->aux_dev);
74 ret = devm_add_action_or_reset(&qseecom_dev->dev, qseecom_client_remove, client);
82 * List of supported applications. One client device will be created per entry,
95 /* Set up client devices for each base application */