Home
last modified time | relevance | path

Searched +full:ext +full:- +full:regs (Results 1 – 25 of 158) sorted by relevance

1234567

/linux/include/net/netfilter/
H A Dnf_tables_core.h1 /* SPDX-License-Identifier: GPL-2.0 */
98 const u32 *key, const struct nft_set_ext **ext);
100 const u32 *key, const struct nft_set_ext **ext);
102 const u32 *key, const struct nft_set_ext **ext);
105 const u32 *key, const struct nft_set_ext **ext);
107 const u32 *key, const struct nft_set_ext **ext);
109 const u32 *key, const struct nft_set_ext **ext);
113 const u32 *key, const struct nft_set_ext **ext) in nft_set_do_lookup() argument
115 return set->ops->lookup(net, set, key, ext); in nft_set_do_lookup()
121 const u32 *key, const struct nft_set_ext **ext);
[all …]
H A Dnf_tables.h1 /* SPDX-License-Identifier: GPL-2.0 */
42 return pkt->state->sk; in nft_sk()
47 return pkt->thoff; in nft_thoff()
52 return pkt->state->net; in nft_net()
57 return pkt->state->hook; in nft_hook()
62 return pkt->state->pf; in nft_pf()
67 return pkt->state->in; in nft_in()
72 return pkt->state->out; in nft_out()
79 pkt->skb = skb; in nft_set_pktinfo()
80 pkt->state = state; in nft_set_pktinfo()
[all …]
/linux/arch/s390/kernel/
H A Dirq.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/entry-common.h>
55 {.irq = EXT_INTERRUPT, .name = "EXT"},
66 {.irq = IRQEXT_CLK, .name = "CLK", .desc = "[EXT] Clock Comparator"},
67 {.irq = IRQEXT_EXC, .name = "EXC", .desc = "[EXT] External Call"},
68 {.irq = IRQEXT_EMS, .name = "EMS", .desc = "[EXT] Emergency Signal"},
69 {.irq = IRQEXT_TMR, .name = "TMR", .desc = "[EXT] CPU Timer"},
70 {.irq = IRQEXT_TLA, .name = "TAL", .desc = "[EXT] Timing Alert"},
71 {.irq = IRQEXT_PFL, .name = "PFL", .desc = "[EXT] Pseudo Page Fault"},
72 {.irq = IRQEXT_DSD, .name = "DSD", .desc = "[EXT] DASD Diag"},
[all …]
H A Ddumpstack.c1 // SPDX-License-Identifier: GPL-2.0
48 info->type = type; in in_stack()
49 info->begin = stack; in in_stack()
50 info->end = stack + THREAD_SIZE; in in_stack()
64 unsigned long stack = get_lowcore()->async_stack - STACK_INIT_OFFSET; in in_irq_stack()
71 unsigned long stack = get_lowcore()->nodat_stack - STACK_INIT_OFFSET; in in_nodat_stack()
78 unsigned long stack = get_lowcore()->mcck_stack - STACK_INIT_OFFSET; in in_mcck_stack()
85 unsigned long stack = get_lowcore()->restart_stack - STACK_INIT_OFFSET; in in_restart_stack()
100 /* Check per-task stack */ in get_stack_info()
107 /* Check per-cpu stacks */ in get_stack_info()
[all …]
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c1 // SPDX-License-Identifier: GPL-2.0
32 * Based on above, we should filter-out all ISA_EXT registers. in filter_reg()
148 * if they were available in the risc-v host. in finalize_vcpu()
158 TEST_ASSERT(!rc || (rc == -1 && errno == ENOENT), "Unexpected error"); in finalize_vcpu()
162 if (!s->feature) in finalize_vcpu()
165 switch (s->feature_type) { in finalize_vcpu()
167 feature = RISCV_ISA_EXT_REG(s->feature); in finalize_vcpu()
170 feature = RISCV_SBI_EXT_REG(s->feature); in finalize_vcpu()
181 "%s not available, skipping tests", s->name); in finalize_vcpu()
220 case KVM_REG_RISCV_CORE_REG(regs.pc): in core_id_to_str()
[all …]
/linux/net/netfilter/
H A Dnft_lookup.c1 // SPDX-License-Identifier: GPL-2.0-only
29 const u32 *key, const struct nft_set_ext **ext) in nft_set_do_lookup() argument
31 if (set->ops == &nft_set_hash_fast_type.ops) in nft_set_do_lookup()
32 return nft_hash_lookup_fast(net, set, key, ext); in nft_set_do_lookup()
33 if (set->ops == &nft_set_hash_type.ops) in nft_set_do_lookup()
34 return nft_hash_lookup(net, set, key, ext); in nft_set_do_lookup()
36 if (set->ops == &nft_set_rhash_type.ops) in nft_set_do_lookup()
37 return nft_rhash_lookup(net, set, key, ext); in nft_set_do_lookup()
39 if (set->ops == &nft_set_bitmap_type.ops) in nft_set_do_lookup()
40 return nft_bitmap_lookup(net, set, key, ext); in nft_set_do_lookup()
[all …]
H A Dnft_dynset.c1 // SPDX-License-Identifier: GPL-2.0-only
30 const struct nft_set_ext *ext) in nft_dynset_expr_setup() argument
32 struct nft_set_elem_expr *elem_expr = nft_set_ext_expr(ext); in nft_dynset_expr_setup()
36 for (i = 0; i < priv->num_exprs; i++) { in nft_dynset_expr_setup()
37 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); in nft_dynset_expr_setup()
38 if (nft_expr_clone(expr, priv->expr_array[i], GFP_ATOMIC) < 0) in nft_dynset_expr_setup()
39 return -1; in nft_dynset_expr_setup()
41 elem_expr->size += priv->expr_array[i]->ops->size; in nft_dynset_expr_setup()
49 struct nft_regs *regs) in nft_dynset_new() argument
52 struct nft_set_ext *ext; in nft_dynset_new() local
[all …]
H A Dnft_objref.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2016 Pablo Neira Ayuso <pablo@netfilter.org>
17 struct nft_regs *regs, in nft_objref_eval() argument
22 obj->ops->eval(obj, regs, pkt); in nft_objref_eval()
30 u8 genmask = nft_genmask_next(ctx->net); in nft_objref_init()
35 return -EINVAL; in nft_objref_init()
38 obj = nft_obj_lookup(ctx->net, ctx->table, in nft_objref_init()
42 return -ENOENT; in nft_objref_init()
44 if (!nft_use_inc(&obj->use)) in nft_objref_init()
45 return -EMFILE; in nft_objref_init()
[all …]
H A Dnft_set_hash.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2008-2014 Patrick McHardy <kaber@trash.net>
32 struct nft_set_ext ext; member
46 return jhash(arg->key, len, seed); in nft_rhash_key()
53 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
59 const struct nft_rhash_cmp_arg *x = arg->key; in nft_rhash_cmp()
62 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
64 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp()
66 if (__nft_set_elem_expired(&he->ext, x->tstamp)) in nft_rhash_cmp()
68 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp()
[all …]
/linux/arch/mips/kernel/
H A Dsignal.c7 * Copyright (C) 1994 - 2000 Ralf Baechle
37 #include <asm/cpu-features.h>
43 #include "signal-common.h"
73 struct mips_abi *abi = current->thread.abi; in copy_fp_to_sigcontext()
74 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext()
75 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext()
82 __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext()
85 err |= __put_user(current->thread.fpu.fcr31, csr); in copy_fp_to_sigcontext()
92 struct mips_abi *abi = current->thread.abi; in copy_fp_from_sigcontext()
93 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext()
[all …]
H A Dmips-r2-to-r6-emul.c28 #include <asm/mips-r2-to-r6-emul.h>
37 #define EXT "dext " macro
41 #define EXT "ext " macro
65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable()
72 * mipsr6_emul - Emulate some frequent R2/R5/R6 instructions in delay slot
75 * @regs: Process register set
78 static inline int mipsr6_emul(struct pt_regs *regs, u32 ir) in mipsr6_emul() argument
83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul()
84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul()
92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul()
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,sc7280-mss-pil.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-mss-pil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sibi Sankar <quic_sibis@quicinc.com>
19 - qcom,sc7280-mss-pil
23 - description: MSS QDSP6 registers
24 - description: RMB registers
26 reg-names:
28 - const: qdsp6
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_mmio.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2021-2023 Intel Corporation
9 #include <linux/io-64-nonatomic-lo-hi.h>
16 #include "regs/xe_bars.h"
17 #include "regs/xe_regs.h"
33 tile->mmio.regs = NULL; in tiles_fini()
37 * On multi-tile devices, partition the BAR space for MMIO on each tile,
41 * .----------------------. <- tile_count * tile_mmio_size
43 * |----------------------| <- 2 * tile_mmio_size
44 * | tile1->mmio.regs |
[all …]
/linux/drivers/net/ethernet/altera/
H A Daltera_tse_ethtool.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Ethtool support for Altera Triple-Speed Ethernet MAC driver
3 * Copyright (C) 2008-2014 Altera Corporation. All rights reserved
67 u32 rev = ioread32(&priv->mac_dev->megacore_revision); in tse_get_drvinfo()
69 strcpy(info->driver, "altera_tse"); in tse_get_drvinfo()
70 snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "v%d.%d", in tse_get_drvinfo()
72 sprintf(info->bus_info, "platform"); in tse_get_drvinfo()
87 u64 ext; in tse_fill_stats() local
89 buf[0] = csrrd32(priv->mac_dev, in tse_fill_stats()
91 buf[1] = csrrd32(priv->mac_dev, in tse_fill_stats()
[all …]
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c1 // SPDX-License-Identifier: GPL-2.0
3 * RISC-V code
19 bool __vcpu_has_ext(struct kvm_vcpu *vcpu, uint64_t ext) in __vcpu_has_ext() argument
24 ret = __vcpu_get_reg(vcpu, ext, &value); in __vcpu_has_ext()
31 return (v + vm->page_size) & ~(vm->page_size - 1); in page_align()
61 TEST_ASSERT(level > -1, in pte_index()
63 TEST_ASSERT(level < vm->pgtable_levels, in pte_index()
71 size_t nr_pages = page_align(vm, ptrs_per_pte(vm) * 8) / vm->page_size; in virt_arch_pgd_alloc()
73 if (vm->pgd_created) in virt_arch_pgd_alloc()
76 vm->pgd = vm_phy_pages_alloc(vm, nr_pages, in virt_arch_pgd_alloc()
[all …]
/linux/drivers/video/fbdev/riva/
H A Dfbdev.c2 * linux/drivers/video/riva/fbdev.c - nVidia RIVA 128/TNT/TNT2 fb driver
6 * Copyright 1999-2000 Jeff Garzik
56 /* ------------------------------------------------------------------------- *
60 * ------------------------------------------------------------------------- */
91 /* ------------------------------------------------------------------------- *
95 * ------------------------------------------------------------------------- */
99 /* ------------------------------------------------------------------------- *
103 * ------------------------------------------------------------------------- */
195 /* ------------------------------------------------------------------------- *
199 * ------------------------------------------------------------------------- */
[all …]
/linux/arch/powerpc/platforms/cell/
H A Dinterrupt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * - Fix various assumptions related to HW CPU numbers vs. linux CPU numbers
15 * - Implement proper handling of maxcpus=1/2 (that is, routing of irqs from
16 * a non-active node to the active node)
33 #include <asm/cell-regs.h>
38 struct cbe_iic_thread_regs __iomem *regs; member
74 out_be64(&iic->regs->prio, iic->eoi_stack[--iic->eoi_ptr]); in iic_eoi()
75 BUG_ON(iic->eoi_ptr < 0); in iic_eoi()
79 .name = "CELL-IIC",
101 bits = in_be64(&node_iic->iic_is); in iic_ioexc_cascade()
[all …]
/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c1 // SPDX-License-Identifier: GPL-2.0
22 #define KVM_ISA_EXT_ARR(ext) \ argument
23 [KVM_RISCV_ISA_EXT_##ext] = RISCV_ISA_EXT_##ext
105 static bool kvm_riscv_vcpu_isa_enable_allowed(unsigned long ext) in kvm_riscv_vcpu_isa_enable_allowed() argument
107 switch (ext) { in kvm_riscv_vcpu_isa_enable_allowed()
122 static bool kvm_riscv_vcpu_isa_disable_allowed(unsigned long ext) in kvm_riscv_vcpu_isa_disable_allowed() argument
124 switch (ext) { in kvm_riscv_vcpu_isa_disable_allowed()
199 set_bit(host_isa, vcpu->arch.isa); in kvm_riscv_vcpu_setup_isa()
207 (unsigned long __user *)(unsigned long)reg->addr; in kvm_riscv_vcpu_get_reg_config()
208 unsigned long reg_num = reg->id & ~(KVM_REG_ARCH_MASK | in kvm_riscv_vcpu_get_reg_config()
[all …]
/linux/sound/pci/ac97/
H A Dac97_proc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
46 snd_iprintf(buffer, "%-17s: %3d.%d dBV %c %2d/fs %s\n", in snd_ac97_proc_read_functions()
48 (info & 0x8000 ? -1 : 1) * ((info & 0x7000) >> 12) * 3 / 2, in snd_ac97_proc_read_functions()
50 info & 0x0400 ? 'X' : '-', in snd_ac97_proc_read_functions()
95 unsigned short val, tmp, ext, mext; in snd_ac97_proc_read_main() local
101 snd_ac97_get_name(NULL, ac97->id, name, 0); in snd_ac97_proc_read_main()
102 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); in snd_ac97_proc_read_main()
104 if ((ac97->scaps & AC97_SCAP_AUDIO) == 0) in snd_ac97_proc_read_main()
108 ac97->subsystem_vendor); in snd_ac97_proc_read_main()
110 ac97->subsystem_device); in snd_ac97_proc_read_main()
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_ingenic.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2010 Lars-Peter Clausen <lars@metafoo.de>
46 return readl(port->membase + (offset << 2)); in early_in()
51 writel(value, port->membase + (offset << 2)); in early_out()
68 uart_console_write(&early_device->port, s, count, in ingenic_early_console_write()
78 offset = fdt_path_offset(fdt, "/ext"); in ingenic_early_console_setup_clock()
82 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock()
86 dev->port.uartclk = be32_to_cpup(prop); in ingenic_early_console_setup_clock()
92 struct uart_port *port = &dev->port; in ingenic_earlycon_setup_tail()
96 if (!dev->port.membase) in ingenic_earlycon_setup_tail()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7280-herobrine-lte-sku.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 reserved-memory {
13 no-map;
16 mdata_mem: mpss-metadata {
17 alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
19 no-map;
25 qcom,gsi-loader = "modem";
30 compatible = "qcom,sc7280-mss-pil";
32 reg-names = "qdsp6", "rmb";
39 clock-names = "iface", "offline", "snoc_axi", "pka", "xo";
[all …]
/linux/samples/vfio-mdev/
H A Dmbochs.c1 // SPDX-License-Identifier: GPL-2.0
5 * Emulate enough of qemu stdvga to make bochs-drm.ko happy. That is
8 * include any legacy vga stuff. Device looks a lot like "qemu -device
9 * secondary-vga".
33 #include <linux/dma-buf.h>
111 .type.pretty_name = MBOCHS_CLASS_NAME "-" MBOCHS_TYPE_1,
117 .type.pretty_name = MBOCHS_CLASS_NAME "-" MBOCHS_TYPE_2,
123 .type.pretty_name = MBOCHS_CLASS_NAME "-" MBOCHS_TYPE_3,
202 [VBE_DISPI_INDEX_VIRT_WIDTH] = "virt-width",
203 [VBE_DISPI_INDEX_VIRT_HEIGHT] = "virt-height",
[all …]
/linux/arch/arm64/kernel/vdso/
H A Dvgetrandom-chacha.S1 // SPDX-License-Identifier: GPL-2.0
27 * number of blocks of output with nonce 0, taking an input key and 8-bytes
30 * This implementation avoids d8-d15 because they are callee-save in user
39 * x1: 32-byte key input
40 * x2: 8-byte counter input/output
41 * x3: number of 64-byte block to write to output
45 /* copy0 = "expand 32-byte k" */
69 * Permute one 64-byte block where the state matrix is stored in the four NEON
70 * registers state0-state3. It performs matrix operations on four words in parallel,
99 ext state1.16b, state1.16b, state1.16b, #4
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_capture.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2021-2022 Intel Corporation
27 * NOTE: For engine-registers, GuC only needs the register offsets
28 * from the engine-mmio-base
104 /* XE_LP Render / Compute Per-Class */
110 /* GEN8+ Render / Compute Per-Engine-Instance */
115 /* GEN8+ Media Decode/Encode Per-Engine-Instance */
120 /* XE_LP Video Enhancement Per-Class */
125 /* GEN8+ Video Enhancement Per-Engine-Instance */
130 /* GEN8+ Blitter Per-Engine-Instance */
[all …]
/linux/arch/s390/kvm/
H A Dinterrupt.c1 // SPDX-License-Identifier: GPL-2.0
10 #define KMSG_COMPONENT "kvm-s390"
22 #include <asm/access-regs.h>
23 #include <asm/asm-offsets.h>
32 #include "kvm-s390.h"
34 #include "trace-s390.h"
52 read_lock(&vcpu->kvm->arch.sca_lock); in sca_ext_call_pending()
53 if (vcpu->kvm->arch.use_esca) { in sca_ext_call_pending()
54 struct esca_block *sca = vcpu->kvm->arch.sca; in sca_ext_call_pending()
56 sca->cpu[vcpu->vcpu_id].sigp_ctrl; in sca_ext_call_pending()
[all …]

1234567