Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hid/intel-ish-hid/ishtp/
Dbus.c280 if (device->ishtp_dev->resume_flag) in ishtp_cl_device_resume()
404 device->ishtp_dev = dev; in ishtp_bus_add_device()
646 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev, in ishtp_bus_remove_all_clients() argument
653 spin_lock_irqsave(&ishtp_dev->cl_list_lock, flags); in ishtp_bus_remove_all_clients()
654 list_for_each_entry(cl, &ishtp_dev->cl_list, link) { in ishtp_bus_remove_all_clients()
677 spin_unlock_irqrestore(&ishtp_dev->cl_list_lock, flags); in ishtp_bus_remove_all_clients()
680 ishtp_cl_free_dma_buf(ishtp_dev); in ishtp_bus_remove_all_clients()
683 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
684 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
690 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
[all …]
Dbus.h46 struct ishtp_device *ishtp_dev; member
94 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
Dclient.h128 int ishtp_can_client_connect(struct ishtp_device *ishtp_dev, uuid_le *uuid);
/Linux-v4.19/drivers/hid/intel-ish-hid/ipc/
Dpci-ish.c206 struct ishtp_device *ishtp_dev = pci_get_drvdata(pdev); in ish_remove() local
207 struct ish_hw *hw = to_ish_hw(ishtp_dev); in ish_remove()
209 ishtp_bus_remove_all_clients(ishtp_dev, false); in ish_remove()
210 ish_device_disable(ishtp_dev); in ish_remove()
212 free_irq(pdev->irq, ishtp_dev); in ish_remove()
Dipc.c26 static struct ishtp_device *ishtp_dev; variable
550 rv = ish_fw_reset_handler(ishtp_dev); in fw_reset_work_fn()
554 ishtp_dev->recvd_hw_ready = 1; in fw_reset_work_fn()
555 wake_up_interruptible(&ishtp_dev->wait_hw_ready); in fw_reset_work_fn()
558 ishtp_reset_compl_handler(ishtp_dev); in fw_reset_work_fn()
560 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn()
616 if (!ishtp_dev) { in recv_ipc()
617 ishtp_dev = dev; in recv_ipc()
/Linux-v4.19/drivers/hid/intel-ish-hid/
Dishtp-hid.h28 client->cl_device->ishtp_dev->print_log(\
29 client->cl_device->ishtp_dev, __VA_ARGS__)
Dishtp-hid-client.c764 hid_ishtp_cl = ishtp_cl_allocate(cl_device->ishtp_dev); in hid_ishtp_cl_reset_handler()
813 hid_ishtp_cl = ishtp_cl_allocate(cl_device->ishtp_dev); in hid_ishtp_cl_probe()