search for: nintr

Displaying 5 results from an estimated 5 matches for "nintr".

Did you mean: intr
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...git a/irqhook/irqhook_main.c b/irqhook/irqhook_main.c index 5f414d1..828c70a 100644 --- a/irqhook/irqhook_main.c +++ b/irqhook/irqhook_main.c @@ -31,15 +31,13 @@ #define ERROR(fmt, args...) printk("<1>" static spinlock_t irqh_lock; static wait_queue_head_t irqh_proc_list; -enum {NINTR = 256}; - -static DECLARE_BITMAP(pending, NINTR); -static DECLARE_BITMAP(handled, NINTR); +static DECLARE_BITMAP(pending, NR_IRQS); +static DECLARE_BITMAP(handled, NR_IRQS); #define irqh_on(which, bit) test_bit(bit, which) #define irqh_set(which, bit) set_bit(bit, which) #define irqh_clear(whi...
2008 Apr 08
1
[PATCH] use NR_IRQS for irq count
...git a/irqhook/irqhook_main.c b/irqhook/irqhook_main.c index 5f414d1..828c70a 100644 --- a/irqhook/irqhook_main.c +++ b/irqhook/irqhook_main.c @@ -31,15 +31,13 @@ #define ERROR(fmt, args...) printk("<1>" static spinlock_t irqh_lock; static wait_queue_head_t irqh_proc_list; -enum {NINTR = 256}; - -static DECLARE_BITMAP(pending, NINTR); -static DECLARE_BITMAP(handled, NINTR); +static DECLARE_BITMAP(pending, NR_IRQS); +static DECLARE_BITMAP(handled, NR_IRQS); #define irqh_on(which, bit) test_bit(bit, which) #define irqh_set(which, bit) set_bit(bit, which) #define irqh_clear(whi...
2023 Jun 30
4
[PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
v2 for internal review - heavily reworked NET_F_MAC patch, matches recent PR-68875 - reordered to put "clean and reset vqs" before "alloc-irq" to make them slightly simpler patches - other minor cleanups for simpler patches These are some fixes for device providing a MAC address, for allocating irq resources later to support vhost use, and for properly cleaning vq info
2023 Jun 30
4
[PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
v2 for internal review - heavily reworked NET_F_MAC patch, matches recent PR-68875 - reordered to put "clean and reset vqs" before "alloc-irq" to make them slightly simpler patches - other minor cleanups for simpler patches These are some fixes for device providing a MAC address, for allocating irq resources later to support vhost use, and for properly cleaning vq info
2023 Mar 17
0
[PATCH RFC v2 virtio 2/7] pds_vdpa: get vdpa management info
...t pds_auxiliary_dev *padev; > >> > >> + struct vdpa_mgmt_dev vdpa_mdev; > >> + > >> + struct pds_vdpa_ident ident; > >> + > >> + int vf_id; > >> struct dentry *dentry; > >> + > >> + int nintrs; > >> }; > >> #endif /* _AUX_DRV_H_ */ > >> diff --git a/drivers/vdpa/pds/debugfs.c b/drivers/vdpa/pds/debugfs.c > >> index 3c163dc7b66f..7b7e90fd6578 100644 > >> --- a/drivers/vdpa/pds/debugfs.c > >> +++ b/drivers/vdpa/pds/debugfs.c > &...