Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/intel-ish-hid/ishtp/
Dbus.c327 if (device->ishtp_dev->resume_flag) in ishtp_cl_device_resume()
452 device->ishtp_dev = dev; in ishtp_bus_add_device()
736 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev, in ishtp_bus_remove_all_clients() argument
743 spin_lock_irqsave(&ishtp_dev->cl_list_lock, flags); in ishtp_bus_remove_all_clients()
744 list_for_each_entry(cl, &ishtp_dev->cl_list, link) { in ishtp_bus_remove_all_clients()
767 spin_unlock_irqrestore(&ishtp_dev->cl_list_lock, flags); in ishtp_bus_remove_all_clients()
770 ishtp_cl_free_dma_buf(ishtp_dev); in ishtp_bus_remove_all_clients()
773 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
774 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
781 spin_unlock_irqrestore(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients()
[all …]
Dbus.h39 struct ishtp_device *ishtp_dev; member
68 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
Dclient.h112 int ishtp_can_client_connect(struct ishtp_device *ishtp_dev, guid_t *uuid);
Dclient.c128 ishtp_cl_init(cl, cl_device->ishtp_dev); in ishtp_cl_allocate()
/Linux-v5.4/drivers/hid/intel-ish-hid/ipc/
Dipc.c18 static struct ishtp_device *ishtp_dev; variable
529 rv = ish_fw_reset_handler(ishtp_dev); in fw_reset_work_fn()
533 ishtp_dev->recvd_hw_ready = 1; in fw_reset_work_fn()
534 wake_up_interruptible(&ishtp_dev->wait_hw_ready); in fw_reset_work_fn()
537 ishtp_reset_compl_handler(ishtp_dev); in fw_reset_work_fn()
539 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn()
595 if (!ishtp_dev) { in recv_ipc()
596 ishtp_dev = dev; in recv_ipc()
Dpci-ish.c190 struct ishtp_device *ishtp_dev = pci_get_drvdata(pdev); in ish_remove() local
192 ishtp_bus_remove_all_clients(ishtp_dev, false); in ish_remove()
193 ish_device_disable(ishtp_dev); in ish_remove()