Home
last modified time | relevance | path

Searched refs:ishtp_dev (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c437 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()
748 spin_unlock_irqrestore(&ishtp_dev->cl_list_lock, flags); in ishtp_bus_remove_all_clients()
751 ishtp_cl_free_dma_buf(ishtp_dev); in ishtp_bus_remove_all_clients()
754 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
755 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
762 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
764 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
[all …]
H A Dbus.h39 struct ishtp_device *ishtp_dev; member
67 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
H A Dclient.c131 ishtp_cl_init(cl, cl_device->ishtp_dev); in ishtp_cl_allocate()
/linux/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c19 static struct ishtp_device *ishtp_dev; variable
557 rv = ish_fw_reset_handler(ishtp_dev); in fw_reset_work_fn()
561 ishtp_dev->recvd_hw_ready = 1; in fw_reset_work_fn()
562 wake_up_interruptible(&ishtp_dev->wait_hw_ready); in fw_reset_work_fn()
566 ishtp_reset_compl_handler(ishtp_dev); in fw_reset_work_fn()
568 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn()
624 if (!ishtp_dev) { in recv_ipc()
625 ishtp_dev = dev; in recv_ipc()
H A Dpci-ish.c233 struct ishtp_device *ishtp_dev = pci_get_drvdata(pdev); in ish_remove() local
235 ishtp_bus_remove_all_clients(ishtp_dev, false); in ish_remove()
236 ish_device_disable(ishtp_dev); in ish_remove()