Lines Matching refs:cl_device
575 void ishtp_get_device(struct ishtp_cl_device *cl_device) in ishtp_get_device() argument
577 cl_device->reference_count++; in ishtp_get_device()
587 void ishtp_put_device(struct ishtp_cl_device *cl_device) in ishtp_put_device() argument
589 cl_device->reference_count--; in ishtp_put_device()
600 void ishtp_set_drvdata(struct ishtp_cl_device *cl_device, void *data) in ishtp_set_drvdata() argument
602 cl_device->driver_data = data; in ishtp_set_drvdata()
614 void *ishtp_get_drvdata(struct ishtp_cl_device *cl_device) in ishtp_get_drvdata() argument
616 return cl_device->driver_data; in ishtp_get_drvdata()
647 struct ishtp_cl_device *cl_device; in ishtp_bus_new_client() local
662 cl_device = ishtp_bus_add_device(dev, device_uuid, dev_name); in ishtp_bus_new_client()
663 if (!cl_device) { in ishtp_bus_new_client()
683 struct ishtp_cl_device *cl_device; in ishtp_cl_device_bind() local
692 list_for_each_entry(cl_device, &cl->dev->device_list, in ishtp_cl_device_bind()
694 if (cl_device->fw_client && in ishtp_cl_device_bind()
695 cl_device->fw_client->client_id == cl->fw_client_id) { in ishtp_cl_device_bind()
696 cl->device = cl_device; in ishtp_cl_device_bind()
718 struct ishtp_cl_device *cl_device, *n; in ishtp_bus_remove_all_clients() local
753 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
755 cl_device->fw_client = NULL; in ishtp_bus_remove_all_clients()
756 if (warm_reset && cl_device->reference_count) in ishtp_bus_remove_all_clients()
759 list_del(&cl_device->device_link); in ishtp_bus_remove_all_clients()
761 ishtp_bus_remove_device(cl_device); in ishtp_bus_remove_all_clients()
887 ishtp_print_log ishtp_trace_callback(struct ishtp_cl_device *cl_device) in ishtp_trace_callback() argument
889 return cl_device->ishtp_dev->print_log; in ishtp_trace_callback()