Home
last modified time | relevance | path

Searched +full:y +full:- +full:rp (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/powercap/
H A Dintel_rapl_common.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #include <asm/intel-family.h>
53 #define NR_RAW_PRIMITIVES (NR_RAPL_PRIMITIVES - 2)
78 return rd->rpl[pl].name ? true : false; in is_pl_valid()
83 if (rd->rp->priv->type == RAPL_IF_TPMI) { in get_pl_lock_prim()
94 return -EINVAL; in get_pl_lock_prim()
100 if (rd->rp->priv->limits[rd->id] & BIT(POWER_LIMIT2)) in get_pl_lock_prim()
111 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim()
121 return -EINVAL; in get_pl_prim()
125 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim()
[all …]
/linux/drivers/s390/char/
H A Draw3270.c1 // SPDX-License-Identifier: GPL-2.0
3 * IBM/3270 Driver - core functions.
56 unsigned char *ascebc; /* ascii -> ebcdic table */
66 /* raw3270->state */
73 /* raw3270->flags */
74 #define RAW3270_FLAGS_14BITADDR 0 /* 14-bit buffer addresses */
101 static void __raw3270_disconnect(struct raw3270 *rp);
117 static inline int raw3270_state_ready(struct raw3270 *rp) in raw3270_state_ready() argument
119 return rp->state == RAW3270_STATE_READY; in raw3270_state_ready()
122 void raw3270_buffer_address(struct raw3270 *rp, char *cp, int x, int y) in raw3270_buffer_address() argument
[all …]
/linux/arch/m68k/fpsp040/
H A Dbindec.S12 | value in memory; d0 contains the k-factor sign-extended
13 | to 32-bits. The input may be either normalized,
18 | Saves and Modifies: D2-D7,A2,FP2
23 | The k-factor is saved for use in d7. Clear the
45 | k-factor can dictate either the total number of digits,
67 | A9. Scale X -> Y.
74 | compensated for by 'or-ing' in the INEX2 flag to
75 | the lsb of Y.
81 | A12. Calculate YINT = FINT(Y) according to user's rounding
87 | or less than LEN -1 digits, adjust ILOG and repeat from
[all …]
H A Dscale.S12 | Input: Double-extended destination operand in FPTEMP,
13 | double-extended source operand in ETEMP.
15 | Output: The function returns scale(X,Y) to fp0.
170 movel %d2,-(%a7) |free d2 for norm
188 | Test for zero. If zero, simply use fmove to return +/- zero
206 | mode is rp, and the zero is positive, return smallest denorm.
210 btstb #5,FPCR_MODE(%a6) |test if rm or rp
259 btstb #5,FPCR_MODE(%a6) |test if rm or rp
301 moveml %d2/%d3,-(%a7)
H A Dround.S21 | round --- round result according to precision/mode
32 | RP = $xxxx0011
36 | a0 is preserved and the g-r-s bits in d0 are cleared.
37 | The result is not typed - the tag field is invalid. The
41 | inexact (i.e. if any of the g-r-s bits were set).
51 | ;the appropriate g-r-s bits.
117 asll #1,%d0 |shift g-bit to c-bit
124 | ext_grs --- extract guard, round and sticky bits
144 moveml %d2/%d3,-(%a7) |make some temp registers
148 bfextu LOCAL_HI(%a0){#24:#2},%d3 |sgl prec. g-r are 2 bits right
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-mapping9 For example, on 4-die Xeon platform with up to 6 IIO stacks per
14 -r--r--r-- /sys/devices/uncore_iio_0/die0
15 -r--r--r-- /sys/devices/uncore_iio_0/die1
16 -r--r--r-- /sys/devices/uncore_iio_0/die2
17 -r--r--r-- /sys/devices/uncore_iio_0/die3
31 IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000
32 IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000
33 IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000
34 IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000
41 value that means UPI link number X on die Y is connected to UPI
[all …]
/linux/arch/sparc/kernel/
H A Dsignal32.c1 // SPDX-License-Identifier: GPL-2.0
50 unsigned int extramask[_COMPAT_NSIG_WORDS - 1];
72 * 16-byte aligned, therefore we can always enforce that the restore
78 ((unsigned long)fp) > 0x100000000ULL - fplen) in invalid_frame_pointer()
94 /* Always make any pending restarted system calls return -EINTR */ in do_sigreturn32()
95 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn32()
99 regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL; in do_sigreturn32()
100 sf = (struct signal_frame32 __user *) regs->u_regs[UREG_FP]; in do_sigreturn32()
106 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn32()
112 if (__get_user(pc, &sf->info.si_regs.pc) || in do_sigreturn32()
[all …]
H A Dsignal_32.c1 // SPDX-License-Identifier: GPL-2.0
41 unsigned int extramask[_NSIG_WORDS - 1];
63 * 16-byte aligned, therefore we can always enforce that the restore
83 /* Always make any pending restarted system calls return -EINTR */ in do_sigreturn()
84 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn()
88 sf = (struct signal_frame __user *) regs->u_regs[UREG_FP]; in do_sigreturn()
94 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn()
100 err = __get_user(pc, &sf->info.si_regs.pc); in do_sigreturn()
101 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn()
107 up_psr = regs->psr; in do_sigreturn()
[all …]
H A Dsignal_64.c1 // SPDX-License-Identifier: GPL-2.0
40 /* {set, get}context() needed for 64-bit SparcLinux userland. */
44 regs->u_regs[UREG_I0]; in sparc64_set_context()
54 (((unsigned long)ucp) & (sizeof(unsigned long)-1)) || in sparc64_set_context()
57 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
62 if (regs->u_regs[UREG_I1]) { in sparc64_set_context()
66 if (__get_user(set.sig[0], &ucp->uc_sigmask.sig[0])) in sparc64_set_context()
69 if (__copy_from_user(&set, &ucp->uc_sigmask, sizeof(sigset_t))) in sparc64_set_context()
78 regs->tpc = pc; in sparc64_set_context()
79 regs->tnpc = npc; in sparc64_set_context()
[all …]
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0
42 volatile int pci_poke_cpu = -1;
63 pci_poke_cpu = -1; in pci_config_read8()
85 pci_poke_cpu = -1; in pci_config_read16()
107 pci_poke_cpu = -1; in pci_config_read32()
128 pci_poke_cpu = -1; in pci_config_write8()
147 pci_poke_cpu = -1; in pci_config_write16()
166 pci_poke_cpu = -1; in pci_config_write32()
189 if (!(res->flags & IORESOURCE_MEM_64)) in of_fixup_pci_pref()
195 pcibios_resource_to_bus(dev->bus, &region, res); in of_fixup_pci_pref()
[all …]
/linux/Documentation/trace/
H A Dkprobes.rst29 collect debugging and performance information non-disruptively. You
41 In the typical case, Kprobes-based instrumentation is packaged as
56 Kprobes -- e.g., the difference between a pre_handler and
62 -----------------------
74 Next, Kprobes single-steps its copy of the probed instruction.
75 (It would be simpler to single-step the actual instruction in place,
80 After the instruction is single-stepped, Kprobes executes the
85 -----------------------
105 -------------
114 is an arbitrary piece of code -- typically just a nop instruction.
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
7 * Copyright (c) 2008 Chia-I Wu
10 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
11 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
12 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
13 * P/N 861075-0040: Sensor HDCS1000 ASIC
14 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
15 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
[all …]
/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 bttv-risc.c -- interfaces to other kernel modules
7 - memory management
8 - generation
10 (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org>
25 #include <media/v4l2-ioctl.h>
31 /* ---------------------------------------------------------- */
43 __le32 *rp; in bttv_risc_packed() local
54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed()
58 rp = risc->cpu; in bttv_risc_packed()
[all …]
/linux/drivers/media/pci/cx88/
H A Dcx88-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org>
9 * - Multituner support
10 * - video_ioctl2 conversion
11 * - PAL/M fixes
29 #include <media/v4l2-common.h>
30 #include <media/v4l2-ioctl.h>
36 /* ------------------------------------------------------------------ */
64 #define NO_SYNC_LINE (-1U)
70 static __le32 *cx88_risc_field(__le32 *rp, struct scatterlist *sglist, in cx88_risc_field() argument
[all …]
/linux/drivers/net/wireless/realtek/rtl818x/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 A-Link WL54PC
19 Dlink DWL-610
20 Dlink DWL-510
22 Level-One WPC-0101
24 VCTnet PC-11B1
25 Ovislink AirLive WL-1120PCM
26 Mentor WL-PCI
28 TrendNET TEW-288PI
29 D-Link DWL-520 Rev D
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
22 MODULE_PARM_DESC(disable_msi, "Set Y to disable MSI interrupt support");
23 MODULE_PARM_DESC(disable_aspm, "Set Y to disable PCI ASPM support");
48 return skb->priority; in rtw_pci_get_tx_qsel()
54 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read8()
56 return readb(rtwpci->mmap + addr); in rtw_pci_read8()
61 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read16()
63 return readw(rtwpci->mmap + addr); in rtw_pci_read16()
68 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read32()
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Derived from ivtv-streams.c
11 #include "cx18-driver.h"
12 #include "cx18-io.h"
13 #include "cx18-fileops.h"
14 #include "cx18-mailbox.h"
15 #include "cx18-i2c.h"
16 #include "cx18-queue.h"
17 #include "cx18-ioctl.h"
18 #include "cx18-streams.h"
[all …]
/linux/drivers/cxl/core/
H A Dcdat.c1 // SPDX-License-Identifier: GPL-2.0-only
55 struct acpi_cdat_header *hdr = &header->cdat; in cdat_dsmas_handler()
63 len = le16_to_cpu((__force __le16)hdr->length); in cdat_dsmas_handler()
66 return -EINVAL; in cdat_dsmas_handler()
74 return -ENOMEM; in cdat_dsmas_handler()
76 dent->handle = dsmas->dsmad_handle; in cdat_dsmas_handler()
77 dent->dpa_range.start = le64_to_cpu((__force __le64)dsmas->dpa_base_address); in cdat_dsmas_handler()
78 dent->dpa_range.end = le64_to_cpu((__force __le64)dsmas->dpa_base_address) + in cdat_dsmas_handler()
79 le64_to_cpu((__force __le64)dsmas->dpa_length) - 1; in cdat_dsmas_handler()
81 rc = xa_insert(dsmas_xa, dent->handle, dent, GFP_KERNEL); in cdat_dsmas_handler()
[all …]
/linux/net/bluetooth/
H A Dsmp.c1 // SPDX-License-Identifier: GPL-2.0
3 BlueZ - Bluetooth protocol stack for Linux
4 Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
22 #include <crypto/aes-cbc-macs.h>
36 ((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data)
38 /* Low-level debug macros to be used for stuff that we don't want
50 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd)
157 dst[len - 1 - i] = src[i]; in swap_buf()
161 * AES-CMAC, f4, f5, f6, g2 and h6.
171 return -EFBIG; in smp_aes_cmac()
[all …]
/linux/drivers/video/fbdev/
H A Dcontrolfb.c2 * controlfb.c -- frame buffer device for the PowerMac 'control' display
11 * drivers/video/chipsfb.c -- frame buffer device for
18 * And from the frame buffer device for Open Firmware-initialized devices:
93 #define DIRTY(z) ((x)->z != (y)->z)
94 #define DIRTY_CMAP(z) (memcmp(&((x)->z), &((y)->z), sizeof((y)->z)))
95 static inline int PAR_EQUAL(struct fb_par_control *x, struct fb_par_control *y) in PAR_EQUAL() argument
135 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r))
160 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg()
161 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg()
162 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg()
[all …]
/linux/kernel/rcu/
H A Drcutorture.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Read-Copy Update module-based torture test facility
54 MODULE_DESCRIPTION("Read-Copy Update module-based torture test facility");
58 // Bits for ->extendables field, extendables param, and related definitions.
70 #define RCUTORTURE_RDR_UPDOWN 0x80 // ... up-read from task, down-read from timer.
89 torture_param(int, fwd_progress, 1, "Number of grace-period forward progress tasks (0 to disable)");
91 torture_param(int, fwd_progress_holdoff, 60, "Time between forward-progress tests (s)");
95 torture_param(bool, gp_cond_full, false, "Use conditional/async full-state GP wait primitives");
97 "Use conditional/async full-stateexpedited GP wait primitives");
103 torture_param(bool, gp_normal, false, "Use normal (non-expedited) GP wait primitives");
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
18 MODULE_PARM_DESC(disable_clkreq, "Set Y to disable PCI clkreq support");
19 MODULE_PARM_DESC(disable_aspm_l1, "Set Y to disable PCI ASPM L1 support");
20 MODULE_PARM_DESC(disable_aspm_l1ss, "Set Y to disable PCI L1SS support");
25 struct rtw89_pci *rtwpci = (struct rtw89_pci *)rtwdev->priv; in rtw89_pci_get_phy_offset_by_link_speed()
26 struct pci_dev *pdev = rtwpci->pdev; in rtw89_pci_get_phy_offset_by_link_speed()
41 return -EFAULT; in rtw89_pci_get_phy_offset_by_link_speed()
65 const struct rtw89_pci_info *info = rtwdev->pci_info; in rtw89_pci_dma_recalc()
66 u32 cnt, cur_rp, wp, rp, len; in rtw89_pci_dma_recalc() local
68 rp = bd_ring->rp; in rtw89_pci_dma_recalc()
[all …]
/linux/arch/m68k/ifpsp060/src/
H A Dfpsp.S3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
98 mov.l %d0,-(%sp)
99 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0
100 pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
106 mov.l %d0,-(%sp)
107 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0
108 pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
114 mov.l %d0,-(%sp)
115 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0
[all …]
/linux/fs/ntfs/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
11 #include <linux/backing-dev.h>
41 { "remount-ro", ON_ERRORS_REMOUNT_RO },
125 struct ntfs_volume *vol = fc->s_fs_info; in ntfs_parse_param()
135 vol->uid = make_kuid(current_user_ns(), result.uint_32); in ntfs_parse_param()
138 vol->gid = make_kgid(current_user_ns(), result.uint_32); in ntfs_parse_param()
141 vol->fmask = vol->dmask = result.uint_32; in ntfs_parse_param()
144 vol->dmask = result.uint_32; in ntfs_parse_param()
147 vol->fmask = result.uint_32; in ntfs_parse_param()
[all …]
/linux/drivers/scsi/
H A Dst.c1 // SPDX-License-Identifier: GPL-2.0-only
13 Copyright 1992 - 2016 Kai Makisara
16 Some small formal changes - aeb, 950809
18 Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support
62 is defined and non-zero. */
152 "m", "v", "p", "x", "a", "y", "q", "z"};
159 6-byte SCSI read and write commands. */
160 #if ST_FIXED_BUFFER_SIZE >= (2 << 24 - 1)
161 #error "Buffer size should not exceed (2 << 24 - 1) bytes!"
166 /* Setting these non-zero may risk recognizing resets */
[all …]

12