Home
last modified time | relevance | path

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

123456

/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>
56 {.irq = EXT_INTERRUPT, .name = "EXT"},
67 {.irq = IRQEXT_CLK, .name = "CLK", .desc = "[EXT] Clock Comparator"},
68 {.irq = IRQEXT_EXC, .name = "EXC", .desc = "[EXT] External Call"},
69 {.irq = IRQEXT_EMS, .name = "EMS", .desc = "[EXT] Emergency Signal"},
70 {.irq = IRQEXT_TMR, .name = "TMR", .desc = "[EXT] CPU Timer"},
71 {.irq = IRQEXT_TLA, .name = "TAL", .desc = "[EXT] Timing Alert"},
72 {.irq = IRQEXT_PFL, .name = "PFL", .desc = "[EXT] Pseudo Page Fault"},
73 {.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/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>
34 struct nft_set_ext ext; member
48 return jhash(arg->key, len, seed); in nft_rhash_key()
55 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
61 const struct nft_rhash_cmp_arg *x = arg->key; in nft_rhash_cmp()
64 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
66 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp()
68 if (__nft_set_elem_expired(&he->ext, x->tstamp)) in nft_rhash_cmp()
70 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/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 > - in pte_index()
405 route_exception(struct ex_regs * regs) route_exception() argument
462 sbi_ecall(int ext,int fid,unsigned long arg0,unsigned long arg1,unsigned long arg2,unsigned long arg3,unsigned long arg4,unsigned long arg5) sbi_ecall() argument
[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/drivers/gpu/drm/xe/
H A Dxe_oa.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2023-2024 Intel Corporation
17 #include "regs/xe_engine_regs.h"
18 #include "regs/xe_gt_regs.h"
19 #include "regs/xe_oa_regs.h"
64 const struct xe_oa_reg *regs; member
139 return tail >= head ? tail - head : in xe_oa_circ_diff()
140 tail + stream->oa_buffer.circ_size - head; in xe_oa_circ_diff()
145 return ptr + n >= stream->oa_buffer.circ_size ? in xe_oa_circ_incr()
146 ptr + n - stream->oa_buffer.circ_size : ptr + n; in xe_oa_circ_incr()
[all …]
H A Dxe_guc_capture.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2021-2024 Intel Corporation
14 #include "regs/xe_engine_regs.h"
15 #include "regs/xe_gt_regs.h"
16 #include "regs/xe_guc_regs.h"
17 #include "regs/xe_regs.h"
45 * Book-keeping structure used to track read and write pointers
46 * as we extract error capture data from the GuC-log-buffer's
47 * error-capture region as a stream of dwords.
57 * struct __guc_capture_parsed_output - extracted error capture node
[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->i in snd_ac97_proc_read_main()
[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/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/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 …]
/linux/drivers/video/fbdev/
H A Dcyber2000fb.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1998-2000 Russell King
80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */
246 #define EXT_MEM_START 0xc0 /* ext start address 21 bits */
248 #define EXT_SRC_WIDTH 0xc3 /* ext offset phase 10 bits */
250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */
251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */
252 #define EXT_Y_START 0xc9 /* ext->screen, 16 bits */
253 #define EXT_Y_END 0xcb /* ext->screen, 16 bits */
256 #define EXT_DDA_X_INIT 0xd1 /* ext->screen 16 bits */
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-rockchip-naneng-combphy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/phy-rockchi
[all...]

123456