Home
last modified time | relevance | path

Searched refs:ishtp_dev (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c327 if (device->ishtp_dev->resume_flag) in ishtp_cl_device_resume()
452 device->ishtp_dev = dev; in ishtp_bus_add_device()
722 * @ishtp_dev: ishtp 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 in ishtp_bus_remove_all_clients()
[all...]
H A Dbus.h22 * @ishtp_dev: pointer to ishtp device structure to primarily to access
39 struct ishtp_device *ishtp_dev; member
68 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
H A Dclient.h112 int ishtp_can_client_connect(struct ishtp_device *ishtp_dev, guid_t *uuid);
H A Dclient.c128 ishtp_cl_init(cl, cl_device->ishtp_dev); in ishtp_cl_allocate()
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c437 device->ishtp_dev = dev; in ishtp_bus_add_device()
707 * @ishtp_dev: ishtp 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 in ishtp_bus_remove_all_clients()
[all...]
H A Dbus.h22 * @ishtp_dev: pointer to ishtp device structure to primarily to access
39 struct ishtp_device *ishtp_dev; member
68 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
H A Dclient.h112 int ishtp_can_client_connect(struct ishtp_device *ishtp_dev, guid_t *uuid);
H A Dclient.c129 ishtp_cl_init(cl, cl_device->ishtp_dev); in ishtp_cl_allocate()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ipc/
H A 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()
H A Dpci-ish.c197 struct ishtp_device *ishtp_dev = pci_get_drvdata(pdev); in ish_remove() local
199 ishtp_bus_remove_all_clients(ishtp_dev, false); in ish_remove()
200 ish_device_disable(ishtp_dev); in ish_remove()
/kernel/linux/linux-6.6/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()
565 ishtp_reset_compl_handler(ishtp_dev); in fw_reset_work_fn()
567 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn()
623 if (!ishtp_dev) { in recv_ipc()
624 ishtp_dev = dev; in recv_ipc()
H A Dpci-ish.c253 struct ishtp_device *ishtp_dev = pci_get_drvdata(pdev); in ish_remove() local
255 ishtp_bus_remove_all_clients(ishtp_dev, false); in ish_remove()
256 ish_device_disable(ishtp_dev); in ish_remove()

Completed in 9 milliseconds