| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
| D | intr.c | 22 #include <core/intr.h> 29 nvkm_intr_xlat(struct nvkm_subdev *subdev, struct nvkm_intr *intr, in nvkm_intr_xlat() argument 36 const struct nvkm_intr_data *data = intr->data; in nvkm_intr_xlat() 42 if (tdev->intr >= 0 && in nvkm_intr_xlat() 45 if (data->mask & BIT(tdev->intr)) { in nvkm_intr_xlat() 47 *mask = BIT(tdev->intr); in nvkm_intr_xlat() 65 if (type < intr->leaves * sizeof(*intr->stat) * 8) { in nvkm_intr_xlat() 78 struct nvkm_intr *intr; in nvkm_intr_find() local 81 list_for_each_entry(intr, &subdev->device->intr.intr, head) { in nvkm_intr_find() 82 ret = nvkm_intr_xlat(subdev, intr, type, leaf, mask); in nvkm_intr_find() [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-ti-sci-intr.c | 24 * @out_irqs: TISCI resource pointer representing INTR irqs. 38 .name = "INTR", 62 struct ti_sci_intr_irq_domain *intr = domain->host_data; in ti_sci_intr_irq_domain_translate() local 68 *type = intr->type; in ti_sci_intr_irq_domain_translate() 75 * @intr: IRQ domain corresponding to Interrupt Router 80 static int ti_sci_intr_xlate_irq(struct ti_sci_intr_irq_domain *intr, u32 irq) in ti_sci_intr_xlate_irq() argument 82 struct device_node *np = dev_of_node(intr->dev); in ti_sci_intr_xlate_irq() 111 struct ti_sci_intr_irq_domain *intr = domain->host_data; in ti_sci_intr_irq_domain_free() local 118 intr->sci->ops.rm_irq_ops.free_irq(intr->sci, in ti_sci_intr_irq_domain_free() 119 intr->ti_sci_id, data->hwirq, in ti_sci_intr_irq_domain_free() [all …]
|
| /kernel/linux/linux-6.6/drivers/irqchip/ |
| D | irq-ti-sci-intr.c | 24 * @out_irqs: TISCI resource pointer representing INTR irqs. 38 .name = "INTR", 62 struct ti_sci_intr_irq_domain *intr = domain->host_data; in ti_sci_intr_irq_domain_translate() local 68 *type = intr->type; in ti_sci_intr_irq_domain_translate() 75 * @intr: IRQ domain corresponding to Interrupt Router 80 static int ti_sci_intr_xlate_irq(struct ti_sci_intr_irq_domain *intr, u32 irq) in ti_sci_intr_xlate_irq() argument 82 struct device_node *np = dev_of_node(intr->dev); in ti_sci_intr_xlate_irq() 111 struct ti_sci_intr_irq_domain *intr = domain->host_data; in ti_sci_intr_irq_domain_free() local 118 intr->sci->ops.rm_irq_ops.free_irq(intr->sci, in ti_sci_intr_irq_domain_free() 119 intr->ti_sci_id, data->hwirq, in ti_sci_intr_irq_domain_free() [all …]
|
| D | irq-mips-gic.c | 69 static void gic_clear_pcpu_masks(unsigned int intr) in gic_clear_pcpu_masks() argument 75 clear_bit(intr, per_cpu_ptr(pcpu_masks, i)); in gic_clear_pcpu_masks() 78 static bool gic_local_irq_is_routable(int intr) in gic_local_irq_is_routable() argument 87 switch (intr) { in gic_local_irq_is_routable() 153 unsigned int intr; in gic_handle_shared_int() local 169 for_each_set_bit(intr, pending, gic_shared_intrs) { in gic_handle_shared_int() 172 GIC_SHARED_TO_HWIRQ(intr)); in gic_handle_shared_int() 175 GIC_SHARED_TO_HWIRQ(intr)); in gic_handle_shared_int() 181 unsigned int intr = GIC_HWIRQ_TO_SHARED(d->hwirq); in gic_mask_irq() local 183 write_gic_rmask(intr); in gic_mask_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
| D | vnic_intr.c | 17 void vnic_intr_free(struct vnic_intr *intr) in vnic_intr_free() argument 19 intr->ctrl = NULL; in vnic_intr_free() 22 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument 25 intr->index = index; in vnic_intr_alloc() 26 intr->vdev = vdev; in vnic_intr_alloc() 28 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc() 29 if (!intr->ctrl) { in vnic_intr_alloc() 30 vdev_err(vdev, "Failed to hook INTR[%d].ctrl resource\n", in vnic_intr_alloc() 38 void vnic_intr_init(struct vnic_intr *intr, u32 coalescing_timer, in vnic_intr_init() argument 41 vnic_intr_coalescing_timer_set(intr, coalescing_timer); in vnic_intr_init() [all …]
|
| D | vnic_intr.h | 41 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument 43 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask() 46 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument 48 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask() 51 static inline int vnic_intr_masked(struct vnic_intr *intr) in vnic_intr_masked() argument 53 return ioread32(&intr->ctrl->mask); in vnic_intr_masked() 56 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument 66 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits() 69 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument 71 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_interrupts.c | 207 static inline struct dpu_hw_intr_entry *dpu_core_irq_get_entry(struct dpu_hw_intr *intr, in dpu_core_irq_get_entry() argument 210 return &intr->irq_tbl[irq_idx]; in dpu_core_irq_get_entry() 241 struct dpu_hw_intr *intr = dpu_kms->hw_intr; in dpu_core_irq() local 249 if (!intr) in dpu_core_irq() 252 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_core_irq() 254 if (!test_bit(reg_idx, &intr->irq_mask)) in dpu_core_irq() 258 irq_status = DPU_REG_READ(&intr->hw, intr->intr_set[reg_idx].status_off); in dpu_core_irq() 261 enable_mask = DPU_REG_READ(&intr->hw, intr->intr_set[reg_idx].en_off); in dpu_core_irq() 265 DPU_REG_WRITE(&intr->hw, intr->intr_set[reg_idx].clr_off, in dpu_core_irq() 275 * Search through matching intr status. in dpu_core_irq() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
| D | vnic_intr.c | 30 void vnic_intr_free(struct vnic_intr *intr) in vnic_intr_free() argument 32 intr->ctrl = NULL; in vnic_intr_free() 35 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument 38 intr->index = index; in vnic_intr_alloc() 39 intr->vdev = vdev; in vnic_intr_alloc() 41 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc() 42 if (!intr->ctrl) { in vnic_intr_alloc() 43 vdev_err(vdev, "Failed to hook INTR[%d].ctrl resource\n", in vnic_intr_alloc() 51 void vnic_intr_init(struct vnic_intr *intr, u32 coalescing_timer, in vnic_intr_init() argument 54 vnic_intr_coalescing_timer_set(intr, coalescing_timer); in vnic_intr_init() [all …]
|
| D | vnic_intr.h | 54 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument 56 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask() 59 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument 61 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask() 64 static inline int vnic_intr_masked(struct vnic_intr *intr) in vnic_intr_masked() argument 66 return ioread32(&intr->ctrl->mask); in vnic_intr_masked() 69 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument 79 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits() 82 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument 84 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_interrupts.h | 33 * @DPU_IRQ_TYPE_SFI_VIDEO_IN: Video static frame INTR into static 34 * @DPU_IRQ_TYPE_SFI_VIDEO_OUT: Video static frame INTR out-of static 35 * @DPU_IRQ_TYPE_SFI_CMD_0_IN: DSI CMD0 static frame INTR into static 36 * @DPU_IRQ_TYPE_SFI_CMD_0_OUT: DSI CMD0 static frame INTR out-of static 37 * @DPU_IRQ_TYPE_SFI_CMD_1_IN: DSI CMD1 static frame INTR into static 38 * @DPU_IRQ_TYPE_SFI_CMD_1_OUT: DSI CMD1 static frame INTR out-of static 39 * @DPU_IRQ_TYPE_SFI_CMD_2_IN: DSI CMD2 static frame INTR into static 40 * @DPU_IRQ_TYPE_SFI_CMD_2_OUT: DSI CMD2 static frame INTR out-of static 96 * @intr: HW interrupt handle 101 struct dpu_hw_intr *intr, [all …]
|
| D | dpu_hw_interrupts.c | 253 /* BEGIN MAP_RANGE: 0-31, INTR */ 773 static void dpu_hw_intr_dispatch_irq(struct dpu_hw_intr *intr, in dpu_hw_intr_dispatch_irq() argument 784 if (!intr) in dpu_hw_intr_dispatch_irq() 792 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_dispatch_irq() 794 irq_status = intr->save_irq_status[reg_idx]; in dpu_hw_intr_dispatch_irq() 803 if (!test_bit(reg_idx, &intr->irq_mask) || in dpu_hw_intr_dispatch_irq() 808 * Search through matching intr status from irq map. in dpu_hw_intr_dispatch_irq() 827 intr->ops.clear_intr_status_nolock( in dpu_hw_intr_dispatch_irq() 828 intr, irq_idx); in dpu_hw_intr_dispatch_irq() 838 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_dispatch_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/ |
| D | tu102.c | 27 tu102_vfn_intr_reset(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_reset() argument 29 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_reset() 35 tu102_vfn_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_allow() argument 37 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_allow() 43 tu102_vfn_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_block() argument 45 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_block() 51 tu102_vfn_intr_rearm(struct nvkm_intr *intr) in tu102_vfn_intr_rearm() argument 53 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_rearm() 59 tu102_vfn_intr_unarm(struct nvkm_intr *intr) in tu102_vfn_intr_unarm() argument 61 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_unarm() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/snic/ |
| D | vnic_intr.c | 12 void svnic_intr_free(struct vnic_intr *intr) in svnic_intr_free() argument 14 intr->ctrl = NULL; in svnic_intr_free() 17 int svnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in svnic_intr_alloc() argument 20 intr->index = index; in svnic_intr_alloc() 21 intr->vdev = vdev; in svnic_intr_alloc() 23 intr->ctrl = svnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in svnic_intr_alloc() 24 if (!intr->ctrl) { in svnic_intr_alloc() 25 pr_err("Failed to hook INTR[%d].ctrl resource\n", in svnic_intr_alloc() 33 void svnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer, in svnic_intr_init() argument 36 iowrite32(coalescing_timer, &intr->ctrl->coalescing_timer); in svnic_intr_init() [all …]
|
| D | vnic_intr.h | 40 svnic_intr_unmask(struct vnic_intr *intr) in svnic_intr_unmask() argument 42 iowrite32(0, &intr->ctrl->mask); in svnic_intr_unmask() 46 svnic_intr_mask(struct vnic_intr *intr) in svnic_intr_mask() argument 48 iowrite32(1, &intr->ctrl->mask); in svnic_intr_mask() 52 svnic_intr_return_credits(struct vnic_intr *intr, in svnic_intr_return_credits() argument 64 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in svnic_intr_return_credits() 68 svnic_intr_credits(struct vnic_intr *intr) in svnic_intr_credits() argument 70 return ioread32(&intr->ctrl->int_credits); in svnic_intr_credits() 74 svnic_intr_return_all_credits(struct vnic_intr *intr) in svnic_intr_return_all_credits() argument 76 unsigned int credits = svnic_intr_credits(intr); in svnic_intr_return_all_credits() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/fnic/ |
| D | vnic_intr.c | 15 void vnic_intr_free(struct vnic_intr *intr) in vnic_intr_free() argument 17 intr->ctrl = NULL; in vnic_intr_free() 20 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument 23 intr->index = index; in vnic_intr_alloc() 24 intr->vdev = vdev; in vnic_intr_alloc() 26 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc() 27 if (!intr->ctrl) { in vnic_intr_alloc() 28 printk(KERN_ERR "Failed to hook INTR[%d].ctrl resource\n", in vnic_intr_alloc() 36 void vnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer, in vnic_intr_init() argument 39 iowrite32(coalescing_timer, &intr->ctrl->coalescing_timer); in vnic_intr_init() [all …]
|
| D | vnic_intr.h | 56 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument 58 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask() 61 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument 63 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask() 66 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument 76 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits() 79 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument 81 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits() 84 static inline void vnic_intr_return_all_credits(struct vnic_intr *intr) in vnic_intr_return_all_credits() argument 86 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/snic/ |
| D | vnic_intr.c | 26 void svnic_intr_free(struct vnic_intr *intr) in svnic_intr_free() argument 28 intr->ctrl = NULL; in svnic_intr_free() 31 int svnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in svnic_intr_alloc() argument 34 intr->index = index; in svnic_intr_alloc() 35 intr->vdev = vdev; in svnic_intr_alloc() 37 intr->ctrl = svnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in svnic_intr_alloc() 38 if (!intr->ctrl) { in svnic_intr_alloc() 39 pr_err("Failed to hook INTR[%d].ctrl resource\n", in svnic_intr_alloc() 47 void svnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer, in svnic_intr_init() argument 50 iowrite32(coalescing_timer, &intr->ctrl->coalescing_timer); in svnic_intr_init() [all …]
|
| D | vnic_intr.h | 54 svnic_intr_unmask(struct vnic_intr *intr) in svnic_intr_unmask() argument 56 iowrite32(0, &intr->ctrl->mask); in svnic_intr_unmask() 60 svnic_intr_mask(struct vnic_intr *intr) in svnic_intr_mask() argument 62 iowrite32(1, &intr->ctrl->mask); in svnic_intr_mask() 66 svnic_intr_return_credits(struct vnic_intr *intr, in svnic_intr_return_credits() argument 78 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in svnic_intr_return_credits() 82 svnic_intr_credits(struct vnic_intr *intr) in svnic_intr_credits() argument 84 return ioread32(&intr->ctrl->int_credits); in svnic_intr_credits() 88 svnic_intr_return_all_credits(struct vnic_intr *intr) in svnic_intr_return_all_credits() argument 90 unsigned int credits = svnic_intr_credits(intr); in svnic_intr_return_all_credits() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/fnic/ |
| D | vnic_intr.c | 27 void vnic_intr_free(struct vnic_intr *intr) in vnic_intr_free() argument 29 intr->ctrl = NULL; in vnic_intr_free() 32 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument 35 intr->index = index; in vnic_intr_alloc() 36 intr->vdev = vdev; in vnic_intr_alloc() 38 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc() 39 if (!intr->ctrl) { in vnic_intr_alloc() 40 printk(KERN_ERR "Failed to hook INTR[%d].ctrl resource\n", in vnic_intr_alloc() 48 void vnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer, in vnic_intr_init() argument 51 iowrite32(coalescing_timer, &intr->ctrl->coalescing_timer); in vnic_intr_init() [all …]
|
| D | vnic_intr.h | 68 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument 70 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask() 73 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument 75 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask() 78 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument 88 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits() 91 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument 93 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits() 96 static inline void vnic_intr_return_all_credits(struct vnic_intr *intr) in vnic_intr_return_all_credits() argument 98 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/ |
| D | mips-gic.h | 49 static inline void __iomem *addr_gic_##name(unsigned int intr) \ 51 return mips_gic_base + (off) + (intr * (stride)); \ 54 static inline unsigned int read_gic_##name(unsigned int intr) \ 57 return __raw_readl(addr_gic_##name(intr)); \ 64 static inline void write_gic_##name(unsigned int intr, \ 68 __raw_writel(val, addr_gic_##name(intr)); \ 92 static inline unsigned int read_gic_##name(unsigned int intr) \ 98 addr += (intr / 64) * sizeof(uint64_t); \ 99 val = __raw_readq(addr) >> intr % 64; \ 101 addr += (intr / 32) * sizeof(uint32_t); \ [all …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/ |
| D | mips-gic.h | 49 static inline void __iomem *addr_gic_##name(unsigned int intr) \ 51 return mips_gic_base + (off) + (intr * (stride)); \ 54 static inline unsigned int read_gic_##name(unsigned int intr) \ 57 return __raw_readl(addr_gic_##name(intr)); \ 64 static inline void write_gic_##name(unsigned int intr, \ 68 __raw_writel(val, addr_gic_##name(intr)); \ 92 static inline unsigned int read_gic_##name(unsigned int intr) \ 98 addr += (intr / 64) * sizeof(uint64_t); \ 99 val = __raw_readq(addr) >> intr % 64; \ 101 addr += (intr / 32) * sizeof(uint32_t); \ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
| D | gp100.c | 46 gp100_mc_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in gp100_mc_intr_allow() argument 48 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in gp100_mc_intr_allow() 54 gp100_mc_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in gp100_mc_intr_block() argument 56 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in gp100_mc_intr_block() 62 gp100_mc_intr_rearm(struct nvkm_intr *intr) in gp100_mc_intr_rearm() argument 66 for (i = 0; i < intr->leaves; i++) in gp100_mc_intr_rearm() 67 intr->func->allow(intr, i, intr->mask[i]); in gp100_mc_intr_rearm() 71 gp100_mc_intr_unarm(struct nvkm_intr *intr) in gp100_mc_intr_unarm() argument 75 for (i = 0; i < intr->leaves; i++) in gp100_mc_intr_unarm() 76 intr->func->block(intr, i, 0xffffffff); in gp100_mc_intr_unarm() [all …]
|
| D | nv04.c | 72 nv04_mc_intr_rearm(struct nvkm_intr *intr) in nv04_mc_intr_rearm() argument 74 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in nv04_mc_intr_rearm() 77 for (leaf = 0; leaf < intr->leaves; leaf++) in nv04_mc_intr_rearm() 82 nv04_mc_intr_unarm(struct nvkm_intr *intr) in nv04_mc_intr_unarm() argument 84 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in nv04_mc_intr_unarm() 87 for (leaf = 0; leaf < intr->leaves; leaf++) in nv04_mc_intr_unarm() 94 nv04_mc_intr_pending(struct nvkm_intr *intr) in nv04_mc_intr_pending() argument 96 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in nv04_mc_intr_pending() 100 for (leaf = 0; leaf < intr->leaves; leaf++) { in nv04_mc_intr_pending() 101 intr->stat[leaf] = nvkm_rd32(mc->subdev.device, 0x000100 + (leaf * 4)); in nv04_mc_intr_pending() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/mtu3/ |
| D | mtu3_trace.h | 36 TP_PROTO(u32 intr), 37 TP_ARGS(intr), 39 __field(u32, intr) 42 __entry->intr = intr; 44 TP_printk("(%08x) %s %s %s %s %s %s", __entry->intr, 45 __entry->intr & HOT_RST_INTR ? "HOT_RST" : "", 46 __entry->intr & WARM_RST_INTR ? "WARM_RST" : "", 47 __entry->intr & ENTER_U3_INTR ? "ENT_U3" : "", 48 __entry->intr & EXIT_U3_INTR ? "EXIT_U3" : "", 49 __entry->intr & VBUS_RISE_INTR ? "VBUS_RISE" : "", [all …]
|