Lines Matching refs:ishtp_dev

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