/linux-master/arch/mips/cobalt/ |
H A D | irq.c | 25 unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM; local 28 if (pending & CAUSEF_IP2) 30 else if (pending & CAUSEF_IP6) { 36 } else if (pending & CAUSEF_IP3) 38 else if (pending & CAUSEF_IP4) 40 else if (pending & CAUSEF_IP5) 42 else if (pending & CAUSEF_IP7)
|
/linux-master/arch/mips/loongson2ef/fuloong-2e/ |
H A D | irq.c | 24 asmlinkage void mach_irq_dispatch(unsigned int pending) argument 26 if (pending & CAUSEF_IP7) 28 else if (pending & CAUSEF_IP6) /* perf counter loverflow */ 30 else if (pending & CAUSEF_IP5) 32 else if (pending & CAUSEF_IP2)
|
/linux-master/arch/mips/kvm/ |
H A D | interrupt.c | 26 unsigned long *pending = &vcpu->arch.pending_exceptions; local 30 if (!(*pending) && !(*pending_clr)) 42 priority = __ffs(*pending); 46 priority = find_next_bit(pending, 47 BITS_PER_BYTE * sizeof(*pending),
|
/linux-master/drivers/irqchip/ |
H A D | irq-ath79-cpu.c | 36 unsigned long pending; local 39 pending = read_c0_status() & read_c0_cause() & ST0_IM; 41 if (!pending) { 46 pending >>= CAUSEB_IP; 47 while (pending) { 48 irq = fls(pending) - 1; 52 pending &= ~BIT(irq);
|
H A D | irq-loongson-htpic.c | 33 uint32_t pending; local 36 pending = readl(priv->base); 38 writel(pending, priv->base); 40 if (!pending) 43 while (pending) { 44 int bit = __ffs(pending); 52 pending &= ~BIT(bit); 66 /* Ack all possible pending IRQs */
|
H A D | irq-idt3243x.c | 31 u32 pending, hwirq; local 35 pending = irq_reg_readl(idtpic->gc, IDT_PIC_IRQ_PEND); 36 pending &= ~idtpic->gc->mask_cache; 37 while (pending) { 38 hwirq = __fls(pending); 40 pending &= ~(1 << hwirq);
|
H A D | irq-goldfish-pic.c | 37 u32 pending, hwirq; local 41 pending = readl(gfpic->base + GFPIC_REG_IRQ_PENDING); 42 while (pending) { 43 hwirq = __fls(pending); 45 pending &= ~(1 << hwirq);
|
/linux-master/arch/mips/loongson2ef/common/ |
H A D | irq.c | 25 /* Get pending sources, masked by current enables */ 36 unsigned int pending; local 38 pending = read_c0_cause() & read_c0_status() & ST0_IM; 41 mach_irq_dispatch(pending);
|
/linux-master/tools/lib/ |
H A D | list_sort.c | 129 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are 139 * pending lists. This is beautifully simple code, but rather subtle. 147 * 2^k, which is when we have 2^k elements pending in smaller lists, 152 * a third list of size 2^(k+1), so there are never more than two pending. 154 * The number of pending lists of size 2^k is determined by the 163 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k 164 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k 165 * 2: x10x: 0 pending o 186 struct list_head *list = head->next, *pending = NULL; local [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_fw_update.h | 10 int ice_get_pending_updates(struct ice_pf *pf, u8 *pending,
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_irq.c | 36 uint32_t pending; local 38 pending = xchg(&qdev->ram_header->int_pending, 0); 40 if (!pending) 45 if (pending & QXL_INTERRUPT_DISPLAY) { 50 if (pending & QXL_INTERRUPT_CURSOR) { 54 if (pending & QXL_INTERRUPT_IO_CMD) { 58 if (pending & QXL_INTERRUPT_ERROR) { 66 if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) {
|
/linux-master/arch/mips/txx9/rbtx4927/ |
H A D | irq.c | 172 static int rbtx4927_irq_dispatch(int pending) argument 176 if (pending & STATUSF_IP7) /* cpu timer */ 178 else if (pending & STATUSF_IP2) { /* tx4927 pic */ 182 } else if (pending & STATUSF_IP0) /* user line 0 */ 184 else if (pending & STATUSF_IP1) /* user line 1 */
|
/linux-master/arch/mips/loongson2ef/lemote-2f/ |
H A D | irq.c | 73 void mach_irq_dispatch(unsigned int pending) argument 75 if (pending & CAUSEF_IP7) 77 else if (pending & CAUSEF_IP6) { /* North Bridge, Perf counter */ 79 } else if (pending & CAUSEF_IP3) /* CPU UART */ 81 else if (pending & CAUSEF_IP2) /* South Bridge */
|
/linux-master/include/linux/ |
H A D | async.h | 19 struct list_head pending; member in struct:async_domain 27 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \ 31 * domain is free to go out of scope as soon as all pending work is 35 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \
|
/linux-master/lib/ |
H A D | list_sort.c | 130 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are 140 * pending lists. This is beautifully simple code, but rather subtle. 148 * 2^k, which is when we have 2^k elements pending in smaller lists, 153 * a third list of size 2^(k+1), so there are never more than two pending. 155 * The number of pending lists of size 2^k is determined by the 164 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k 165 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k 166 * 2: x10x: 0 pending o 187 struct list_head *list = head->next, *pending = NULL; local [all...] |
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_plane.c | 48 state->pending.format = DRM_FORMAT_RGB565; 49 state->pending.modifier = DRM_FORMAT_MOD_LINEAR; 65 state->pending = old_state->pending; 200 mtk_plane_state->pending.enable = true; 201 mtk_plane_state->pending.pitch = pitch; 202 mtk_plane_state->pending.hdr_pitch = hdr_pitch; 203 mtk_plane_state->pending.format = format; 204 mtk_plane_state->pending.modifier = modifier; 205 mtk_plane_state->pending [all...] |
/linux-master/arch/mips/ralink/ |
H A D | irq.c | 99 u32 pending = rt_intc_r32(INTC_REG_STATUS0); local 101 if (pending) { 103 generic_handle_domain_irq(domain, __ffs(pending)); 111 unsigned long pending; local 113 pending = read_c0_status() & read_c0_cause() & ST0_IM; 115 if (pending & STATUSF_IP7) 118 else if (pending & STATUSF_IP5) 121 else if (pending & STATUSF_IP6) 124 else if (pending & STATUSF_IP4) 127 else if (pending [all...] |
/linux-master/arch/loongarch/kvm/ |
H A D | interrupt.c | 83 unsigned long *pending = &vcpu->arch.irq_pending; local 86 if (!(*pending) && !(*pending_clr)) 99 if (*pending) { 100 priority = __ffs(*pending); 103 priority = find_next_bit(pending, 104 BITS_PER_BYTE * sizeof(*pending), 175 unsigned long *pending = &vcpu->arch.exception_pending; local 177 if (*pending) { 178 code = __ffs(*pending); 180 *pending [all...] |
/linux-master/arch/mips/sni/ |
H A D | pcit.c | 183 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; local 187 irq = ffs((pending >> 16) & 0x7f); 196 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; local 200 irq = ffs((pending >> 16) & 0x3f); 209 u32 pending = read_c0_cause() & read_c0_status(); local 211 if (pending & C_IRQ1) 213 else if (pending & C_IRQ2) 215 else if (pending & C_IRQ3) 217 else if (pending & C_IRQ5) 223 u32 pending local [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_dctcp.h | 29 if (inet_csk(sk)->icsk_ack.pending & ICSK_ACK_TIMER) { 33 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_NOW;
|
/linux-master/include/asm-generic/ |
H A D | qspinlock_types.h | 20 * pending bit, we can allow better optimization of the lock 21 * acquisition for the pending bit holder. 26 u8 pending; member in struct:qspinlock::__anon487::__anon488 39 u8 pending; member in struct:qspinlock::__anon487::__anon491 56 * 8: pending 63 * 8: pending
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | cgroup_hierarchical_stats.c | 20 /* State propagated through children, pending aggregation */ 21 __u64 pending; member in struct:attach_counter 56 static int create_attach_counter(__u64 cg_id, __u64 state, __u64 pending) argument 58 struct attach_counter init = {.state = state, .pending = pending}; 108 /* Collect pending stats from subtree */ 109 if (total_counter->pending) { 110 delta += total_counter->pending; 111 total_counter->pending = 0; 126 parent_counter->pending [all...] |
/linux-master/fs/btrfs/ |
H A D | relocation.h | 25 void btrfs_reloc_pre_snapshot(struct btrfs_pending_snapshot *pending, 28 struct btrfs_pending_snapshot *pending);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 149 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ 196 if (!atomic_dec_and_test(&fence->pending)) 224 int pending; local 230 pending = atomic_read(&fence->pending); 232 if (pending < 1) 234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); 257 atomic_set(&fence->pending, 344 unsigned int pending; local 580 int ret = 0, pending; local [all...] |
/linux-master/arch/mips/sibyte/bcm1480/ |
H A D | irq.c | 143 u64 pending; local 157 pending = __raw_readq(IOADDR(A_BCM1480_IMR_REGISTER(bcm1480_irq_owner[irq], 159 pending &= ((u64)1 << (irq_dirty)); 160 if (pending) { 168 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(cpu_logical_map(i), 172 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(0, R_BCM1480_IMR_LDT_INTERRUPT_CLR_H + (k*BCM1480_IMR_HL_SPACING)))); 335 unsigned int pending; local 337 pending = read_c0_cause() & read_c0_status(); 339 if (pending & CAUSEF_IP4) 342 else if (pending [all...] |