Lines Matching defs:ishtp_dev
327 if (device->ishtp_dev->resume_flag)
452 device->ishtp_dev = dev;
722 * @ishtp_dev: ishtp device
730 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
737 spin_lock_irqsave(&ishtp_dev->cl_list_lock, flags);
738 list_for_each_entry(cl, &ishtp_dev->cl_list, link) {
761 spin_unlock_irqrestore(&ishtp_dev->cl_list_lock, flags);
764 ishtp_cl_free_dma_buf(ishtp_dev);
767 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags);
768 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list,
775 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags);
777 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags);
779 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags);
782 spin_lock_irqsave(&ishtp_dev->fw_clients_lock, flags);
783 kfree(ishtp_dev->fw_clients);
784 ishtp_dev->fw_clients = NULL;
785 ishtp_dev->fw_clients_num = 0;
786 ishtp_dev->fw_client_presentation_num = 0;
787 ishtp_dev->fw_client_index = 0;
788 bitmap_zero(ishtp_dev->fw_clients_map, ISHTP_CLIENTS_MAX);
789 spin_unlock_irqrestore(&ishtp_dev->fw_clients_lock, flags);
866 return device->ishtp_dev->devc;
879 return cl_device->ishtp_dev->print_log;