Lines Matching refs:ishtp_dev
437 device->ishtp_dev = dev;
707 * @ishtp_dev: ishtp device
715 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
722 spin_lock_irqsave(&ishtp_dev->cl_list_lock, flags);
723 list_for_each_entry(cl, &ishtp_dev->cl_list, link) {
746 spin_unlock_irqrestore(&ishtp_dev->cl_list_lock, flags);
749 ishtp_cl_free_dma_buf(ishtp_dev);
752 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags);
753 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list,
760 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags);
762 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags);
764 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags);
767 spin_lock_irqsave(&ishtp_dev->fw_clients_lock, flags);
768 kfree(ishtp_dev->fw_clients);
769 ishtp_dev->fw_clients = NULL;
770 ishtp_dev->fw_clients_num = 0;
771 ishtp_dev->fw_client_presentation_num = 0;
772 ishtp_dev->fw_client_index = 0;
773 bitmap_zero(ishtp_dev->fw_clients_map, ISHTP_CLIENTS_MAX);
774 spin_unlock_irqrestore(&ishtp_dev->fw_clients_lock, flags);
875 return device->ishtp_dev->devc;
889 return cl_device->ishtp_dev->print_log;