Home
last modified time | relevance | path

Searched full:vp (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demu10k1_callback.c30 static int start_voice(struct snd_emux_voice *vp);
31 static void trigger_voice(struct snd_emux_voice *vp);
32 static void release_voice(struct snd_emux_voice *vp);
33 static void update_voice(struct snd_emux_voice *vp, int update);
34 static void terminate_voice(struct snd_emux_voice *vp);
35 static void free_voice(struct snd_emux_voice *vp);
36 static void set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
37 static void set_fm2frq2(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
38 static void set_filterQ(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
82 struct snd_emux_voice *vp; in snd_emu10k1_synth_get_voice() local
[all …]
/kernel/linux/linux-6.6/sound/pci/emu10k1/
Demu10k1_callback.c30 static int start_voice(struct snd_emux_voice *vp);
31 static void trigger_voice(struct snd_emux_voice *vp);
32 static void release_voice(struct snd_emux_voice *vp);
33 static void update_voice(struct snd_emux_voice *vp, int update);
34 static void terminate_voice(struct snd_emux_voice *vp);
35 static void free_voice(struct snd_emux_voice *vp);
36 static u32 make_fmmod(struct snd_emux_voice *vp);
37 static u32 make_fm2frq2(struct snd_emux_voice *vp);
83 struct snd_emux_voice *vp; in snd_emu10k1_synth_get_voice() local
93 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dvp.c8 #include "vp.h"
15 struct omap_vp_instance *vp = voltdm->vp; in _vp_set_init_voltage() local
21 vpconfig = voltdm->read(vp->vpconfig); in _vp_set_init_voltage()
22 vpconfig &= ~(vp->common->vpconfig_initvoltage_mask | in _vp_set_init_voltage()
23 vp->common->vpconfig_forceupdate | in _vp_set_init_voltage()
24 vp->common->vpconfig_initvdd); in _vp_set_init_voltage()
25 vpconfig |= vsel << __ffs(vp->common->vpconfig_initvoltage_mask); in _vp_set_init_voltage()
26 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage()
29 voltdm->write((vpconfig | vp->common->vpconfig_initvdd), in _vp_set_init_voltage()
30 vp->vpconfig); in _vp_set_init_voltage()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
Dvp.c8 #include "vp.h"
15 struct omap_vp_instance *vp = voltdm->vp; in _vp_set_init_voltage() local
21 vpconfig = voltdm->read(vp->vpconfig); in _vp_set_init_voltage()
22 vpconfig &= ~(vp->common->vpconfig_initvoltage_mask | in _vp_set_init_voltage()
23 vp->common->vpconfig_forceupdate | in _vp_set_init_voltage()
24 vp->common->vpconfig_initvdd); in _vp_set_init_voltage()
25 vpconfig |= vsel << __ffs(vp->common->vpconfig_initvoltage_mask); in _vp_set_init_voltage()
26 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage()
29 voltdm->write((vpconfig | vp->common->vpconfig_initvdd), in _vp_set_init_voltage()
30 vp->vpconfig); in _vp_set_init_voltage()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s3c-camif/
Dcamif-capture.c43 /* Locking: called with vp->camif->slock spinlock held */
44 static void camif_cfg_video_path(struct camif_vp *vp) in camif_cfg_video_path() argument
46 WARN_ON(s3c_camif_get_scaler_config(vp, &vp->scaler)); in camif_cfg_video_path()
47 camif_hw_set_scaler(vp); in camif_cfg_video_path()
48 camif_hw_set_flip(vp); in camif_cfg_video_path()
49 camif_hw_set_target_format(vp); in camif_cfg_video_path()
50 camif_hw_set_output_dma(vp); in camif_cfg_video_path()
53 static void camif_prepare_dma_offset(struct camif_vp *vp) in camif_prepare_dma_offset() argument
55 struct camif_frame *f = &vp->out_frame; in camif_prepare_dma_offset()
65 static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_init() argument
[all …]
Dcamif-regs.c38 void camif_hw_clear_pending_irq(struct camif_vp *vp) in camif_hw_clear_pending_irq() argument
40 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq()
41 cfg |= CIGCTRL_IRQ_CLR(vp->id); in camif_hw_clear_pending_irq()
42 camif_write(vp->camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_clear_pending_irq()
79 cfg = camif_read(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset)); in camif_hw_set_effect()
92 camif_write(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset), cfg); in camif_hw_set_effect()
151 void camif_hw_clear_fifo_overflow(struct camif_vp *vp) in camif_hw_clear_fifo_overflow() argument
153 struct camif_dev *camif = vp->camif; in camif_hw_clear_fifo_overflow()
157 if (vp->id == 0) in camif_hw_clear_fifo_overflow()
200 void camif_hw_set_output_addr(struct camif_vp *vp, in camif_hw_set_output_addr() argument
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/s3c-camif/
Dcamif-capture.c43 /* Locking: called with vp->camif->slock spinlock held */
44 static void camif_cfg_video_path(struct camif_vp *vp) in camif_cfg_video_path() argument
46 WARN_ON(s3c_camif_get_scaler_config(vp, &vp->scaler)); in camif_cfg_video_path()
47 camif_hw_set_scaler(vp); in camif_cfg_video_path()
48 camif_hw_set_flip(vp); in camif_cfg_video_path()
49 camif_hw_set_target_format(vp); in camif_cfg_video_path()
50 camif_hw_set_output_dma(vp); in camif_cfg_video_path()
53 static void camif_prepare_dma_offset(struct camif_vp *vp) in camif_prepare_dma_offset() argument
55 struct camif_frame *f = &vp->out_frame; in camif_prepare_dma_offset()
65 static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_init() argument
[all …]
Dcamif-regs.c38 void camif_hw_clear_pending_irq(struct camif_vp *vp) in camif_hw_clear_pending_irq() argument
40 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq()
41 cfg |= CIGCTRL_IRQ_CLR(vp->id); in camif_hw_clear_pending_irq()
42 camif_write(vp->camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_clear_pending_irq()
79 cfg = camif_read(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset)); in camif_hw_set_effect()
92 camif_write(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset), cfg); in camif_hw_set_effect()
151 void camif_hw_clear_fifo_overflow(struct camif_vp *vp) in camif_hw_clear_fifo_overflow() argument
153 struct camif_dev *camif = vp->camif; in camif_hw_clear_fifo_overflow()
157 if (vp->id == 0) in camif_hw_clear_fifo_overflow()
200 void camif_hw_set_output_addr(struct camif_vp *vp, in camif_hw_set_output_addr() argument
[all …]
/kernel/linux/linux-5.10/sound/isa/sb/
Demu8000_callback.c18 static int start_voice(struct snd_emux_voice *vp);
19 static void trigger_voice(struct snd_emux_voice *vp);
20 static void release_voice(struct snd_emux_voice *vp);
21 static void update_voice(struct snd_emux_voice *vp, int update);
23 static void terminate_voice(struct snd_emux_voice *vp);
32 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
33 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
34 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
35 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
36 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
[all …]
/kernel/linux/linux-6.6/sound/isa/sb/
Demu8000_callback.c18 static int start_voice(struct snd_emux_voice *vp);
19 static void trigger_voice(struct snd_emux_voice *vp);
20 static void release_voice(struct snd_emux_voice *vp);
21 static void update_voice(struct snd_emux_voice *vp, int update);
23 static void terminate_voice(struct snd_emux_voice *vp);
32 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
33 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
34 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
35 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
36 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
[all …]
/kernel/linux/linux-6.6/arch/um/drivers/
Dvector_kern.c70 static int vector_mmsg_rx(struct vector_private *vp, int budget);
103 static void vector_reset_stats(struct vector_private *vp) in vector_reset_stats() argument
105 vp->estats.rx_queue_max = 0; in vector_reset_stats()
106 vp->estats.rx_queue_running_average = 0; in vector_reset_stats()
107 vp->estats.tx_queue_max = 0; in vector_reset_stats()
108 vp->estats.tx_queue_running_average = 0; in vector_reset_stats()
109 vp->estats.rx_encaps_errors = 0; in vector_reset_stats()
110 vp->estats.tx_timeout_count = 0; in vector_reset_stats()
111 vp->estats.tx_restart_queue = 0; in vector_reset_stats()
112 vp->estats.tx_kicks = 0; in vector_reset_stats()
[all …]
Dvector_transports.c67 struct sk_buff *skb, struct vector_private *vp) in l2tpv3_form_header() argument
69 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_form_header()
97 struct sk_buff *skb, struct vector_private *vp) in gre_form_header() argument
99 struct uml_gre_data *td = vp->transport_data; in gre_form_header()
115 struct sk_buff *skb, struct vector_private *vp) in raw_form_header() argument
131 uint8_t *header, struct sk_buff *skb, struct vector_private *vp) in l2tpv3_verify_header() argument
133 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_verify_header()
152 netdev_err(vp->dev, "uml_l2tpv3: unknown cookie id"); in l2tpv3_verify_header()
159 netdev_err(vp->dev, "uml_l2tpv3: session mismatch"); in l2tpv3_verify_header()
166 uint8_t *header, struct sk_buff *skb, struct vector_private *vp) in gre_verify_header() argument
[all …]
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_transports.c67 struct sk_buff *skb, struct vector_private *vp) in l2tpv3_form_header() argument
69 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_form_header()
97 struct sk_buff *skb, struct vector_private *vp) in gre_form_header() argument
99 struct uml_gre_data *td = vp->transport_data; in gre_form_header()
115 struct sk_buff *skb, struct vector_private *vp) in raw_form_header() argument
131 uint8_t *header, struct sk_buff *skb, struct vector_private *vp) in l2tpv3_verify_header() argument
133 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_verify_header()
152 netdev_err(vp->dev, "uml_l2tpv3: unknown cookie id"); in l2tpv3_verify_header()
159 netdev_err(vp->dev, "uml_l2tpv3: session mismatch"); in l2tpv3_verify_header()
166 uint8_t *header, struct sk_buff *skb, struct vector_private *vp) in gre_verify_header() argument
[all …]
Dvector_kern.c104 static void vector_reset_stats(struct vector_private *vp) in vector_reset_stats() argument
106 vp->estats.rx_queue_max = 0; in vector_reset_stats()
107 vp->estats.rx_queue_running_average = 0; in vector_reset_stats()
108 vp->estats.tx_queue_max = 0; in vector_reset_stats()
109 vp->estats.tx_queue_running_average = 0; in vector_reset_stats()
110 vp->estats.rx_encaps_errors = 0; in vector_reset_stats()
111 vp->estats.tx_timeout_count = 0; in vector_reset_stats()
112 vp->estats.tx_restart_queue = 0; in vector_reset_stats()
113 vp->estats.tx_kicks = 0; in vector_reset_stats()
114 vp->estats.tx_flow_control_xon = 0; in vector_reset_stats()
[all …]
/kernel/linux/linux-6.6/sound/synth/emux/
Demux_synth.c34 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);
50 struct snd_emux_voice *vp; in snd_emux_note_on() local
89 vp = emu->ops.get_voice(emu, port); in snd_emux_note_on()
90 if (vp == NULL || vp->ch < 0) in snd_emux_note_on()
92 if (STATE_IS_PLAYING(vp->state)) in snd_emux_note_on()
[all …]
Demux_proc.c51 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read()
54 vp->reg.parm.moddelay, in snd_emux_proc_info_read()
55 vp->reg.parm.modatkhld, in snd_emux_proc_info_read()
56 vp->reg.parm.moddcysus, in snd_emux_proc_info_read()
57 vp->reg.parm.modrelease); in snd_emux_proc_info_read()
59 vp->reg.parm.voldelay, in snd_emux_proc_info_read()
60 vp->reg.parm.volatkhld, in snd_emux_proc_info_read()
61 vp->reg.parm.voldcysus, in snd_emux_proc_info_read()
62 vp->reg.parm.volrelease); in snd_emux_proc_info_read()
64 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read()
[all …]
/kernel/linux/linux-5.10/sound/synth/emux/
Demux_synth.c34 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);
50 struct snd_emux_voice *vp; in snd_emux_note_on() local
89 vp = emu->ops.get_voice(emu, port); in snd_emux_note_on()
90 if (vp == NULL || vp->ch < 0) in snd_emux_note_on()
92 if (STATE_IS_PLAYING(vp->state)) in snd_emux_note_on()
[all …]
Demux_proc.c51 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read()
54 vp->reg.parm.moddelay, in snd_emux_proc_info_read()
55 vp->reg.parm.modatkhld, in snd_emux_proc_info_read()
56 vp->reg.parm.moddcysus, in snd_emux_proc_info_read()
57 vp->reg.parm.modrelease); in snd_emux_proc_info_read()
59 vp->reg.parm.voldelay, in snd_emux_proc_info_read()
60 vp->reg.parm.volatkhld, in snd_emux_proc_info_read()
61 vp->reg.parm.voldcysus, in snd_emux_proc_info_read()
62 vp->reg.parm.volrelease); in snd_emux_proc_info_read()
64 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/
D3c59x.c584 /* Chip features we care about in vp->capabilities, read from the EEPROM. */
660 static void window_set(struct vortex_private *vp, int window) in window_set() argument
662 if (window != vp->window) { in window_set()
663 iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD); in window_set()
664 vp->window = window; in window_set()
670 window_read ## size(struct vortex_private *vp, int window, int addr) \
674 spin_lock_irqsave(&vp->window_lock, flags); \
675 window_set(vp, window); \
676 ret = ioread ## size(vp->ioaddr + addr); \
677 spin_unlock_irqrestore(&vp->window_lock, flags); \
[all …]
D3c515.c463 struct corkscrew_private *vp = netdev_priv(dev); in cleanup_card() local
464 list_del_init(&vp->list); in cleanup_card()
469 if (vp->dev) in cleanup_card()
470 pnp_device_detach(to_pnp_dev(vp->dev)); in cleanup_card()
570 struct corkscrew_private *vp = netdev_priv(dev); in corkscrew_setup() local
579 vp->dev = &idev->dev; in corkscrew_setup()
590 vp->product_name = "3c515"; in corkscrew_setup()
591 vp->options = dev->mem_start; in corkscrew_setup()
592 vp->our_dev = dev; in corkscrew_setup()
594 if (!vp->options) { in corkscrew_setup()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
D3c59x.c584 /* Chip features we care about in vp->capabilities, read from the EEPROM. */
660 static void window_set(struct vortex_private *vp, int window) in window_set() argument
662 if (window != vp->window) { in window_set()
663 iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD); in window_set()
664 vp->window = window; in window_set()
670 window_read ## size(struct vortex_private *vp, int window, int addr) \
674 spin_lock_irqsave(&vp->window_lock, flags); \
675 window_set(vp, window); \
676 ret = ioread ## size(vp->ioaddr + addr); \
677 spin_unlock_irqrestore(&vp->window_lock, flags); \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
Dvnic_vic.c14 struct vic_provinfo *vp; in vic_provinfo_alloc() local
19 vp = kzalloc(VIC_PROVINFO_MAX_DATA, flags); in vic_provinfo_alloc()
20 if (!vp) in vic_provinfo_alloc()
23 memcpy(vp->oui, oui, sizeof(vp->oui)); in vic_provinfo_alloc()
24 vp->type = type; in vic_provinfo_alloc()
25 vp->length = htonl(sizeof(vp->num_tlvs)); in vic_provinfo_alloc()
27 return vp; in vic_provinfo_alloc()
30 void vic_provinfo_free(struct vic_provinfo *vp) in vic_provinfo_free() argument
32 kfree(vp); in vic_provinfo_free()
35 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, in vic_provinfo_add_tlv() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Dvnic_vic.c29 struct vic_provinfo *vp; in vic_provinfo_alloc() local
34 vp = kzalloc(VIC_PROVINFO_MAX_DATA, flags); in vic_provinfo_alloc()
35 if (!vp) in vic_provinfo_alloc()
38 memcpy(vp->oui, oui, sizeof(vp->oui)); in vic_provinfo_alloc()
39 vp->type = type; in vic_provinfo_alloc()
40 vp->length = htonl(sizeof(vp->num_tlvs)); in vic_provinfo_alloc()
42 return vp; in vic_provinfo_alloc()
45 void vic_provinfo_free(struct vic_provinfo *vp) in vic_provinfo_free() argument
47 kfree(vp); in vic_provinfo_free()
50 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, in vic_provinfo_add_tlv() argument
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
Dsunvnet.c69 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
107 + (NUM_VNET_PORT_STATS * vp->nports); in vnet_get_sset_count()
115 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_strings() local
125 list_for_each_entry_rcu(port, &vp->port_list, list) { in vnet_get_strings()
160 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_ethtool_stats() local
177 data[i++] = vp->nports; in vnet_get_ethtool_stats()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet.c69 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
107 + (NUM_VNET_PORT_STATS * vp->nports); in vnet_get_sset_count()
115 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_strings() local
125 list_for_each_entry_rcu(port, &vp->port_list, list) { in vnet_get_strings()
160 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_ethtool_stats() local
177 data[i++] = vp->nports; in vnet_get_ethtool_stats()
[all …]

12345678910>>...23