Home
last modified time | relevance | path

Searched +full:vp +full:- +full:p (Results 1 – 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2017 Oracle. All rights reserved.
37 * and dev->tx_timeout() should be called to fix the problem
63 strlcpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver)); in vnet_get_drvinfo()
64 strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); in vnet_get_drvinfo()
69 struct vnet *vp = netdev_priv(dev); in vnet_get_msglevel() local
71 return vp->msg_enable; in vnet_get_msglevel()
76 struct vnet *vp = netdev_priv(dev); in vnet_set_msglevel() local
78 vp->msg_enable = value; in vnet_set_msglevel()
102 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_sset_count() local
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
Dsunvnet.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2017 Oracle. All rights reserved.
37 * and dev->tx_timeout() should be called to fix the problem
63 strscpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver)); in vnet_get_drvinfo()
64 strscpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); in vnet_get_drvinfo()
69 struct vnet *vp = netdev_priv(dev); in vnet_get_msglevel() local
71 return vp->msg_enable; in vnet_get_msglevel()
76 struct vnet *vp = netdev_priv(dev); in vnet_set_msglevel() local
78 vp->msg_enable = value; in vnet_set_msglevel()
102 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_sset_count() local
[all …]
/kernel/linux/linux-5.10/sound/drivers/opl3/
Dopl3_midi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) by Uros Bizjak <uros@kss-loka.si>
14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
19 * for i=0. This log-table converts a linear volume-scaling (0..127) to a
20 * logarithmic scaling as present in the FM-synthesizer chips. so : Volume
21 * 64 = 0 db = relative volume 0 and: Volume 32 = -6 db = relative
22 * volume -8 it was implemented as a table because it is only 128 bytes and
28 -63, -48, -40, -35, -32, -29, -27, -26,
29 -24, -23, -21, -20, -19, -18, -18, -17,
30 -16, -15, -15, -14, -13, -13, -12, -12,
[all …]
/kernel/linux/linux-6.6/sound/synth/emux/
Demux_effect.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
19 #define xoffsetof(type,tag) ((long)(&((type)NULL)->tag) - (long)(NULL))
40 long offset; /* offset in parameter record (-1 = not written) */
41 int update; /* flgas for real-time update */
61 {PARM_SIGN_HI, -128, 127, parm_offset(tremfrq), SNDRV_EMUX_UPDATE_TREMFREQ}, /* lfo1 vol */
62 {PARM_SIGN_HI, -128, 127, parm_offset(fmmod), SNDRV_EMUX_UPDATE_FMMOD}, /* lfo1 pitch */
67 {PARM_SIGN_HI, -128, 127, parm_offset(fm2frq2), SNDRV_EMUX_UPDATE_FM2FRQ2}, /* lfo2 pitch */
69 {PARM_WORD, 0, 0xffff, -1, SNDRV_EMUX_UPDATE_PITCH}, /* initial pitch */
75 {PARM_WORD, 0, 0xffff, -1, 0}, /* sample start */
[all …]
Demux_synth.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
21 * macro evaluates its args more than once, so changed to upper-case.
34 static void terminate_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int free);
35 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
36 static void setup_voice(struct snd_emux_voice *vp);
37 static int calc_pan(struct snd_emux_voice *vp);
38 static int calc_volume(struct snd_emux_voice *vp);
39 static int calc_pitch(struct snd_emux_voice *vp);
46 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on() argument
[all …]
/kernel/linux/linux-5.10/sound/synth/emux/
Demux_effect.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
19 #define xoffsetof(type,tag) ((long)(&((type)NULL)->tag) - (long)(NULL))
40 long offset; /* offset in parameter record (-1 = not written) */
41 int update; /* flgas for real-time update */
61 {PARM_SIGN_HI, -128, 127, parm_offset(tremfrq), SNDRV_EMUX_UPDATE_TREMFREQ}, /* lfo1 vol */
62 {PARM_SIGN_HI, -128, 127, parm_offset(fmmod), SNDRV_EMUX_UPDATE_FMMOD}, /* lfo1 pitch */
67 {PARM_SIGN_HI, -128, 127, parm_offset(fm2frq2), SNDRV_EMUX_UPDATE_FM2FRQ2}, /* lfo2 pitch */
69 {PARM_WORD, 0, 0xffff, -1, SNDRV_EMUX_UPDATE_PITCH}, /* initial pitch */
75 {PARM_WORD, 0, 0xffff, -1, 0}, /* sample start */
[all …]
Demux_synth.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
21 * macro evaluates its args more than once, so changed to upper-case.
34 static void terminate_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int free);
35 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
36 static void setup_voice(struct snd_emux_voice *vp);
37 static int calc_pan(struct snd_emux_voice *vp);
38 static int calc_volume(struct snd_emux_voice *vp);
39 static int calc_pitch(struct snd_emux_voice *vp);
46 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on() argument
[all …]
/kernel/linux/linux-6.6/sound/drivers/opl3/
Dopl3_midi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) by Uros Bizjak <uros@kss-loka.si>
14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
19 * for i=0. This log-table converts a linear volume-scaling (0..127) to a
20 * logarithmic scaling as present in the FM-synthesizer chips. so : Volume
21 * 64 = 0 db = relative volume 0 and: Volume 32 = -6 db = relative
22 * volume -8 it was implemented as a table because it is only 128 bytes and
28 -63, -48, -40, -35, -32, -29, -27, -26,
29 -24, -23, -21, -20, -19, -18, -18, -17,
30 -16, -15, -15, -14, -13, -13, -12, -12,
[all …]
/kernel/linux/linux-6.6/fs/afs/
Dyfsclient.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 fid->vid = xdr_to_u64(x->volume); in xdr_decode_YFSFid()
25 fid->vnode = xdr_to_u64(x->vnode.lo); in xdr_decode_YFSFid()
26 fid->vnode_hi = ntohl(x->vnode.hi); in xdr_decode_YFSFid()
27 fid->unique = ntohl(x->vnode.unique); in xdr_decode_YFSFid()
49 x->volume = u64_to_xdr(fid->vid); in xdr_encode_YFSFid()
50 x->vnode.lo = u64_to_xdr(fid->vnode); in xdr_encode_YFSFid()
51 x->vnode.hi = htonl(fid->vnode_hi); in xdr_encode_YFSFid()
52 x->vnode.unique = htonl(fid->unique); in xdr_encode_YFSFid()
61 static __be32 *xdr_encode_string(__be32 *bp, const char *p, unsigned int len) in xdr_encode_string() argument
[all …]
Dinode.c36 pr_warn("kAFS: AFS vnode with undefined type %u\n", vnode->status.type); in dump_vnode()
38 vnode->status.abort_code, in dump_vnode()
39 vnode->status.mode, in dump_vnode()
40 vnode->status.size, in dump_vnode()
41 vnode->status.data_version); in dump_vnode()
43 vnode->fid.vid, in dump_vnode()
44 vnode->fid.vnode, in dump_vnode()
45 vnode->fid.unique); in dump_vnode()
48 parent_vnode->fid.vid, in dump_vnode()
49 parent_vnode->fid.vnode, in dump_vnode()
[all …]
Dfsclient.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
26 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid()
27 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid()
59 struct afs_file_status *status = &scb->status; in xdr_decode_AFSFetchStatus()
60 bool inline_error = (call->operation_ID == afs_FS_InlineBulkStatus); in xdr_decode_AFSFetchStatus()
64 abort_code = ntohl(xdr->abort_code); in xdr_decode_AFSFetchStatus()
66 if (xdr->if_version != htonl(AFS_FSTATUS_VERSION)) { in xdr_decode_AFSFetchStatus()
67 if (xdr->if_version == htonl(0) && in xdr_decode_AFSFetchStatus()
74 status->abort_code = abort_code; in xdr_decode_AFSFetchStatus()
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dinode.c36 pr_warn("kAFS: AFS vnode with undefined type %u\n", vnode->status.type); in dump_vnode()
38 vnode->status.abort_code, in dump_vnode()
39 vnode->status.mode, in dump_vnode()
40 vnode->status.size, in dump_vnode()
41 vnode->status.data_version); in dump_vnode()
43 vnode->fid.vid, in dump_vnode()
44 vnode->fid.vnode, in dump_vnode()
45 vnode->fid.unique); in dump_vnode()
48 parent_vnode->fid.vid, in dump_vnode()
49 parent_vnode->fid.vnode, in dump_vnode()
[all …]
Dyfsclient.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 fid->vid = xdr_to_u64(x->volume); in xdr_decode_YFSFid()
25 fid->vnode = xdr_to_u64(x->vnode.lo); in xdr_decode_YFSFid()
26 fid->vnode_hi = ntohl(x->vnode.hi); in xdr_decode_YFSFid()
27 fid->unique = ntohl(x->vnode.unique); in xdr_decode_YFSFid()
49 x->volume = u64_to_xdr(fid->vid); in xdr_encode_YFSFid()
50 x->vnode.lo = u64_to_xdr(fid->vnode); in xdr_encode_YFSFid()
51 x->vnode.hi = htonl(fid->vnode_hi); in xdr_encode_YFSFid()
52 x->vnode.unique = htonl(fid->unique); in xdr_encode_YFSFid()
61 static __be32 *xdr_encode_string(__be32 *bp, const char *p, unsigned int len) in xdr_encode_string() argument
[all …]
Dfsclient.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
25 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid()
26 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid()
58 struct afs_file_status *status = &scb->status; in xdr_decode_AFSFetchStatus()
59 bool inline_error = (call->operation_ID == afs_FS_InlineBulkStatus); in xdr_decode_AFSFetchStatus()
63 abort_code = ntohl(xdr->abort_code); in xdr_decode_AFSFetchStatus()
65 if (xdr->if_version != htonl(AFS_FSTATUS_VERSION)) { in xdr_decode_AFSFetchStatus()
66 if (xdr->if_version == htonl(0) && in xdr_decode_AFSFetchStatus()
73 status->abort_code = abort_code; in xdr_decode_AFSFetchStatus()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
30 * Simple power of two buddy-like generic allocator.
53 m_link_p h = mp->h; in ___sym_malloc()
68 h[j].next->next = NULL; in ___sym_malloc()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
30 * Simple power of two buddy-like generic allocator.
53 m_link_p h = mp->h; in ___sym_malloc()
68 h[j].next->next = NULL; in ___sym_malloc()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "pvrusb2-context.h"
11 #include "pvrusb2-hdw.h"
13 #include "pvrusb2-debug.h"
14 #include "pvrusb2-v4l2.h"
15 #include "pvrusb2-ioread.h"
18 #include <media/v4l2-dev.h>
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-fh.h>
21 #include <media/v4l2-common.h>
[all …]
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "pvrusb2-context.h"
11 #include "pvrusb2-hdw.h"
13 #include "pvrusb2-debug.h"
14 #include "pvrusb2-v4l2.h"
15 #include "pvrusb2-ioread.h"
18 #include <media/v4l2-dev.h>
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-fh.h>
21 #include <media/v4l2-common.h>
[all …]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/
Dnative.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 #include <asm/xive-regs.h>
34 #include "xive-internal.h"
59 return -EINVAL; in xive_native_populate_irq_data()
64 data->flags |= XIVE_IRQ_FLAG_STORE_EOI; in xive_native_populate_irq_data()
66 data->flags |= XIVE_IRQ_FLAG_LSI; in xive_native_populate_irq_data()
68 data->flags |= XIVE_IRQ_FLAG_SHIFT_BUG; in xive_native_populate_irq_data()
70 data->flags |= XIVE_IRQ_FLAG_MASK_FW; in xive_native_populate_irq_data()
72 data->flags |= XIVE_IRQ_FLAG_EOI_FW; in xive_native_populate_irq_data()
73 data->eoi_page = be64_to_cpu(eoi_page); in xive_native_populate_irq_data()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/xive/
Dnative.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 #include <asm/xive-regs.h>
34 #include "xive-internal.h"
60 return -EINVAL; in xive_native_populate_irq_data()
65 data->flags |= XIVE_IRQ_FLAG_STORE_EOI; in xive_native_populate_irq_data()
67 data->flags |= XIVE_IRQ_FLAG_STORE_EOI; in xive_native_populate_irq_data()
69 data->flags |= XIVE_IRQ_FLAG_LSI; in xive_native_populate_irq_data()
70 data->eoi_page = be64_to_cpu(eoi_page); in xive_native_populate_irq_data()
71 data->trig_page = be64_to_cpu(trig_page); in xive_native_populate_irq_data()
72 data->esb_shift = be32_to_cpu(esb_shift); in xive_native_populate_irq_data()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dldc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* ldc.c: Logical Domain Channel link-layer protocol driver.
19 #include <asm/iommu-common.h>
40 * When in RAW mode, packets are simply straight 64-byte payloads
70 u8 u_data[LDC_PACKET_SIZE - 8];
74 u8 r_data[LDC_PACKET_SIZE - 8 - 8];
177 do { if (lp->cfg.debug & LDC_DEBUG_##TYPE) \
178 printk(KERN_INFO PFX "ID[%lu] " f, lp->id, ## a); \
212 return __advance(off, lp->rx_num_entries); in rx_advance()
217 return __advance(off, lp->tx_num_entries); in tx_advance()
[all …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
Dldc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* ldc.c: Logical Domain Channel link-layer protocol driver.
19 #include <asm/iommu-common.h>
40 * When in RAW mode, packets are simply straight 64-byte payloads
70 u8 u_data[LDC_PACKET_SIZE - 8];
74 u8 r_data[LDC_PACKET_SIZE - 8 - 8];
177 do { if (lp->cfg.debug & LDC_DEBUG_##TYPE) \
178 printk(KERN_INFO PFX "ID[%lu] " f, lp->id, ## a); \
212 return __advance(off, lp->rx_num_entries); in rx_advance()
217 return __advance(off, lp->tx_num_entries); in tx_advance()
[all …]
/kernel/linux/linux-6.6/arch/mips/kernel/
Dspram.c1 // SPDX-License-Identifier: GPL-2.0-or-later
149 base = (base + size - 1) & ~(size-1); in probe_spram()
171 unsigned int *vp = (unsigned int *)(CKSEG1 | pa); in probe_spram() local
174 vp[0] = TDAT; in probe_spram()
175 vp[1] = ~TDAT; in probe_spram()
179 v = vp[0]; in probe_spram()
181 printk(KERN_ERR "vp=%p wrote=%08x got=%08x\n", in probe_spram()
182 vp, TDAT, v); in probe_spram()
183 v = vp[1]; in probe_spram()
185 printk(KERN_ERR "vp=%p wrote=%08x got=%08x\n", in probe_spram()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dspram.c1 // SPDX-License-Identifier: GPL-2.0-or-later
149 base = (base + size - 1) & ~(size-1); in probe_spram()
171 unsigned int *vp = (unsigned int *)(CKSEG1 | pa); in probe_spram() local
174 vp[0] = TDAT; in probe_spram()
175 vp[1] = ~TDAT; in probe_spram()
179 v = vp[0]; in probe_spram()
181 printk(KERN_ERR "vp=%p wrote=%08x got=%08x\n", in probe_spram()
182 vp, TDAT, v); in probe_spram()
183 v = vp[1]; in probe_spram()
185 printk(KERN_ERR "vp=%p wrote=%08x got=%08x\n", in probe_spram()
[all …]
/kernel/linux/linux-5.10/arch/um/kernel/
Dptrace.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
11 #include <asm/ptrace-abi.h>
16 child->thread.singlestep_syscall = 0; in user_enable_single_step()
26 child->thread.singlestep_syscall = 0; in user_disable_single_step()
48 unsigned long __user *p = (void __user *)data; in arch_ptrace() local
49 void __user *vp = p; in arch_ptrace() local
64 ret = -EIO; in arch_ptrace()
69 if (!access_ok(p, MAX_REG_OFFSET)) { in arch_ptrace()
70 ret = -EIO; in arch_ptrace()
[all …]

12345678