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