search for: int_mask

Displaying 20 results from an estimated 20 matches for "int_mask".

Did you mean: nt_mask
2006 Dec 08
1
RE: [PATCH]UHC should not generate interrupt when USBdevice returns NAK
...interrupt transfer is completed. In fact, most of these interrupts are useless and time-consuming. UHC should let a TD active if receiving an NAK (in non-setup transaction) and will not generate an interrtupt on complete for this TD. But current UHC emulator in qemu-dm behaves like this: 1)update int_mask when a TD is fetched 2)check int_mask to decide to generate an interrupt or not after this TD is executed.If NAK is return when executing this TD, an interrupt on complete, which is unwanted, will still be generated. This patch makes the UHC and HID device emulators work consistently with spec, d...
2011 Mar 15
16
[PATCH 00/12] Staging: hv: Cleanup vmbus driver - Phase II
This patch-set fixes the following issues in the vmbus driver (vmbus_drv.c): Make vmbus driver a platform pci device and cleanup root device management and irq allocation (patches 1/12 through 3/12): 1) Make vmbus driver a platform pci driver. 2) Cleanup root device management. 3) Leverage the pci model for allocating irq. General cleanup of vmbus driver (patches 4/12 though 12/12): 1)
2011 Mar 15
16
[PATCH 00/12] Staging: hv: Cleanup vmbus driver - Phase II
This patch-set fixes the following issues in the vmbus driver (vmbus_drv.c): Make vmbus driver a platform pci device and cleanup root device management and irq allocation (patches 1/12 through 3/12): 1) Make vmbus driver a platform pci driver. 2) Cleanup root device management. 3) Leverage the pci model for allocating irq. General cleanup of vmbus driver (patches 4/12 though 12/12): 1)
2020 Dec 01
1
[PATCH v2 14/20] drm/qxl: Remove references to struct drm_device.pdev
...v) atomic_set(&qdev->irq_received_cursor, 0); atomic_set(&qdev->irq_received_io_cmd, 0); qdev->irq_received_error = 0; - ret = drm_irq_install(&qdev->ddev, qdev->ddev.pdev->irq); + ret = drm_irq_install(&qdev->ddev, pdev->irq); qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; if (unlikely(ret != 0)) { DRM_ERROR("Failed installing irq: %d\n", ret); diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index 228e2b9198f1..4a60a52ab62e 100644 --- a/drivers/gpu/drm/qxl/qxl_kms.c +++ b/drivers/gpu/drm/qxl/qxl_kms.c @@...
2020 Dec 01
1
[PATCH v2 14/20] drm/qxl: Remove references to struct drm_device.pdev
...v) atomic_set(&qdev->irq_received_cursor, 0); atomic_set(&qdev->irq_received_io_cmd, 0); qdev->irq_received_error = 0; - ret = drm_irq_install(&qdev->ddev, qdev->ddev.pdev->irq); + ret = drm_irq_install(&qdev->ddev, pdev->irq); qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; if (unlikely(ret != 0)) { DRM_ERROR("Failed installing irq: %d\n", ret); diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index 228e2b9198f1..4a60a52ab62e 100644 --- a/drivers/gpu/drm/qxl/qxl_kms.c +++ b/drivers/gpu/drm/qxl/qxl_kms.c @@...
2018 Feb 16
0
[PATCH 1/4] qxl: remove qxl_io_log()
....\n", __func__); + DRM_WARN("driver is in bug mode\n"); } if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) { - qxl_io_log(qdev, "QXL_INTERRUPT_CLIENT_MONITORS_CONFIG\n"); schedule_work(&qdev->client_monitors_config_work); } qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; -- 2.9.3
2018 Apr 20
0
[PATCH v2 1/4] qxl: remove qxl_io_log()
....\n", __func__); + DRM_WARN("driver is in bug mode\n"); } if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) { - qxl_io_log(qdev, "QXL_INTERRUPT_CLIENT_MONITORS_CONFIG\n"); schedule_work(&qdev->client_monitors_config_work); } qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; -- 2.9.3
2011 Sep 08
25
[PATCH 0000/0025] Staging: hv: Driver cleanup
Address Greg's VmBus audit comments: 1) Leverage driver_data field in struct hv_vmbus_device_id to simplify driver code. 2) Make the util driver conform to the Linux Driver Model. 3) Get rid of the ext field in struct hv_device by using the driver specific data functionality. 4) Other general cleanup. Regards, K. Y
2011 Sep 08
25
[PATCH 0000/0025] Staging: hv: Driver cleanup
Address Greg's VmBus audit comments: 1) Leverage driver_data field in struct hv_vmbus_device_id to simplify driver code. 2) Make the util driver conform to the Linux Driver Model. 3) Get rid of the ext field in struct hv_device by using the driver specific data functionality. 4) Other general cleanup. Regards, K. Y
2020 Apr 15
1
[PATCH 27/59] drm/qxl: Don't use drm_device->dev_private
...ret = drm_mode_config_helper_suspend(dev); @@ -186,7 +186,7 @@ static int qxl_drm_freeze(struct drm_device *dev) static int qxl_drm_resume(struct drm_device *dev, bool thaw) { - struct qxl_device *qdev = dev->dev_private; + struct qxl_device *qdev = to_qxl(dev); qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; if (!thaw) { @@ -245,7 +245,7 @@ static int qxl_pm_restore(struct device *dev) { struct pci_dev *pdev = to_pci_dev(dev); struct drm_device *drm_dev = pci_get_drvdata(pdev); - struct qxl_device *qdev = drm_dev->dev_private; + struct qxl_device *qdev = to_qxl(drm_dev);...
2020 Apr 03
1
[PATCH 31/44] drm/qxl: Don't use drm_device->dev_private
...ret = drm_mode_config_helper_suspend(dev); @@ -186,7 +186,7 @@ static int qxl_drm_freeze(struct drm_device *dev) static int qxl_drm_resume(struct drm_device *dev, bool thaw) { - struct qxl_device *qdev = dev->dev_private; + struct qxl_device *qdev = to_qxl(dev); qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; if (!thaw) { @@ -245,7 +245,7 @@ static int qxl_pm_restore(struct device *dev) { struct pci_dev *pdev = to_pci_dev(dev); struct drm_device *drm_dev = pci_get_drvdata(pdev); - struct qxl_device *qdev = drm_dev->dev_private; + struct qxl_device *qdev = to_qxl(drm_dev);...
2011 Feb 26
1
[PATCH 2/6] Staging: hv: Rename vm_device to hyperv_device
.../drivers/staging/hv/vmbus_api.h index bf84fb0..260086f 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -56,7 +56,7 @@ struct hv_multipage_buffer { #pragma pack(pop) struct hv_driver; -struct vm_device; +struct hyperv_device; struct hv_dev_port_info { u32 int_mask; @@ -66,7 +66,7 @@ struct hv_dev_port_info { u32 bytes_avail_towrite; }; -struct vm_device_info { +struct hyperv_device_info { u32 chn_id; u32 chn_state; struct hv_guid chn_type; @@ -91,8 +91,8 @@ struct hv_driver { /* the device type supported by this driver */ struct hv_guid class_...
2011 Feb 26
1
[PATCH 2/6] Staging: hv: Rename vm_device to hyperv_device
.../drivers/staging/hv/vmbus_api.h index bf84fb0..260086f 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -56,7 +56,7 @@ struct hv_multipage_buffer { #pragma pack(pop) struct hv_driver; -struct vm_device; +struct hyperv_device; struct hv_dev_port_info { u32 int_mask; @@ -66,7 +66,7 @@ struct hv_dev_port_info { u32 bytes_avail_towrite; }; -struct vm_device_info { +struct hyperv_device_info { u32 chn_id; u32 chn_state; struct hv_guid chn_type; @@ -91,8 +91,8 @@ struct hv_driver { /* the device type supported by this driver */ struct hv_guid class_...
2011 Feb 26
5
[PATCH 1/6] Staging: hv: Unify hyper-v device abstractions
....h b/drivers/staging/hv/vmbus_api.h index 635ce22..bf84fb0 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -56,7 +56,7 @@ struct hv_multipage_buffer { #pragma pack(pop) struct hv_driver; -struct hv_device; +struct vm_device; struct hv_dev_port_info { u32 int_mask; @@ -66,7 +66,7 @@ struct hv_dev_port_info { u32 bytes_avail_towrite; }; -struct hv_device_info { +struct vm_device_info { u32 chn_id; u32 chn_state; struct hv_guid chn_type; @@ -89,30 +89,11 @@ struct hv_driver { const char *name; /* the device type supported by this driver */ - s...
2011 Feb 26
5
[PATCH 1/6] Staging: hv: Unify hyper-v device abstractions
....h b/drivers/staging/hv/vmbus_api.h index 635ce22..bf84fb0 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -56,7 +56,7 @@ struct hv_multipage_buffer { #pragma pack(pop) struct hv_driver; -struct hv_device; +struct vm_device; struct hv_dev_port_info { u32 int_mask; @@ -66,7 +66,7 @@ struct hv_dev_port_info { u32 bytes_avail_towrite; }; -struct hv_device_info { +struct vm_device_info { u32 chn_id; u32 chn_state; struct hv_guid chn_type; @@ -89,30 +89,11 @@ struct hv_driver { const char *name; /* the device type supported by this driver */ - s...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
..._api.h index 635ce22..6e3e1a8 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -55,8 +55,8 @@ struct hv_multipage_buffer { #pragma pack(pop) -struct hv_driver; -struct hv_device; +struct hyperv_driver; +struct hyperv_device; struct hv_dev_port_info { u32 int_mask; @@ -66,7 +66,7 @@ struct hv_dev_port_info { u32 bytes_avail_towrite; }; -struct hv_device_info { +struct hyperv_device_info { u32 chn_id; u32 chn_state; struct hv_guid chn_type; @@ -84,35 +84,4 @@ struct hv_device_info { struct hv_dev_port_info outbound; }; -/* Base driver object *...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
..._api.h index 635ce22..6e3e1a8 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -55,8 +55,8 @@ struct hv_multipage_buffer { #pragma pack(pop) -struct hv_driver; -struct hv_device; +struct hyperv_driver; +struct hyperv_device; struct hv_dev_port_info { u32 int_mask; @@ -66,7 +66,7 @@ struct hv_dev_port_info { u32 bytes_avail_towrite; }; -struct hv_device_info { +struct hyperv_device_info { u32 chn_id; u32 chn_state; struct hv_guid chn_type; @@ -84,35 +84,4 @@ struct hv_device_info { struct hv_dev_port_info outbound; }; -/* Base driver object *...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...@ -123,17 +123,17 @@ static int zt5550_hc_config(struct pci_dev *pdev) /* * Disable host control, fault and serial interrupts */ - dbg("disabling host control, fault and serial interrupts"); + dbg("disabling host control, fault and serial interrupts\n"); writeb((u8) HC_INT_MASK_REG, csr_hc_index); writeb((u8) ALL_INDEXED_INTS_MASK, csr_hc_data); - dbg("disabled host control, fault and serial interrupts"); + dbg("disabled host control, fault and serial interrupts\n"); /* * Disable timer0, timer1 and ENUM interrupts */ - dbg("disabling t...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...@ -123,17 +123,17 @@ static int zt5550_hc_config(struct pci_dev *pdev) /* * Disable host control, fault and serial interrupts */ - dbg("disabling host control, fault and serial interrupts"); + dbg("disabling host control, fault and serial interrupts\n"); writeb((u8) HC_INT_MASK_REG, csr_hc_index); writeb((u8) ALL_INDEXED_INTS_MASK, csr_hc_data); - dbg("disabled host control, fault and serial interrupts"); + dbg("disabled host control, fault and serial interrupts\n"); /* * Disable timer0, timer1 and ENUM interrupts */ - dbg("disabling t...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...@ -123,17 +123,17 @@ static int zt5550_hc_config(struct pci_dev *pdev) /* * Disable host control, fault and serial interrupts */ - dbg("disabling host control, fault and serial interrupts"); + dbg("disabling host control, fault and serial interrupts\n"); writeb((u8) HC_INT_MASK_REG, csr_hc_index); writeb((u8) ALL_INDEXED_INTS_MASK, csr_hc_data); - dbg("disabled host control, fault and serial interrupts"); + dbg("disabled host control, fault and serial interrupts\n"); /* * Disable timer0, timer1 and ENUM interrupts */ - dbg("disabling t...