/Linux-v4.19/sound/synth/emux/ |
D | emux_synth.c | 48 static void terminate_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int free); 49 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update); 50 static void setup_voice(struct snd_emux_voice *vp); 51 static int calc_pan(struct snd_emux_voice *vp); 52 static int calc_volume(struct snd_emux_voice *vp); 53 static int calc_pitch(struct snd_emux_voice *vp); 64 struct snd_emux_voice *vp; in snd_emux_note_on() local 103 vp = emu->ops.get_voice(emu, port); in snd_emux_note_on() 104 if (vp == NULL || vp->ch < 0) in snd_emux_note_on() 106 if (STATE_IS_PLAYING(vp->state)) in snd_emux_note_on() [all …]
|
D | emux_proc.c | 64 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read() 67 vp->reg.parm.moddelay, in snd_emux_proc_info_read() 68 vp->reg.parm.modatkhld, in snd_emux_proc_info_read() 69 vp->reg.parm.moddcysus, in snd_emux_proc_info_read() 70 vp->reg.parm.modrelease); in snd_emux_proc_info_read() 72 vp->reg.parm.voldelay, in snd_emux_proc_info_read() 73 vp->reg.parm.volatkhld, in snd_emux_proc_info_read() 74 vp->reg.parm.voldcysus, in snd_emux_proc_info_read() 75 vp->reg.parm.volrelease); in snd_emux_proc_info_read() 77 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read() [all …]
|
D | emux_effect.c | 211 struct snd_emux_voice *vp = &emu->voices[i]; in snd_emux_send_effect() local 212 if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan) in snd_emux_send_effect() 214 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect() 215 origp = (unsigned char*)&vp->zone->v.parm + offset; in snd_emux_send_effect() 233 snd_emux_setup_effect(struct snd_emux_voice *vp) in snd_emux_setup_effect() argument 235 struct snd_midi_channel *chan = vp->chan; in snd_emux_setup_effect() 255 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 263 vp->reg.start += effect_get_offset(chan, EMUX_FX_SAMPLE_START, in snd_emux_setup_effect() 265 vp->reg.sample_mode); in snd_emux_setup_effect() 267 vp->reg.loopstart += effect_get_offset(chan, EMUX_FX_LOOP_START, in snd_emux_setup_effect() [all …]
|
/Linux-v4.19/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 43 static int start_voice(struct snd_emux_voice *vp); 44 static void trigger_voice(struct snd_emux_voice *vp); 45 static void release_voice(struct snd_emux_voice *vp); 46 static void update_voice(struct snd_emux_voice *vp, int update); 47 static void terminate_voice(struct snd_emux_voice *vp); 48 static void free_voice(struct snd_emux_voice *vp); 49 static void set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 50 static void set_fm2frq2(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 51 static void set_filterQ(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 95 struct snd_emux_voice *vp; in snd_emu10k1_synth_get_voice() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/3com/ |
D | 3c59x.c | 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); \ 681 window_write ## size(struct vortex_private *vp, u ## size value, \ [all …]
|
D | 3c515.c | 474 struct corkscrew_private *vp = netdev_priv(dev); in cleanup_card() local 475 list_del_init(&vp->list); in cleanup_card() 480 if (vp->dev) in cleanup_card() 481 pnp_device_detach(to_pnp_dev(vp->dev)); in cleanup_card() 581 struct corkscrew_private *vp = netdev_priv(dev); in corkscrew_setup() local 589 vp->dev = &idev->dev; in corkscrew_setup() 600 vp->product_name = "3c515"; in corkscrew_setup() 601 vp->options = dev->mem_start; in corkscrew_setup() 602 vp->our_dev = dev; in corkscrew_setup() 604 if (!vp->options) { in corkscrew_setup() [all …]
|
/Linux-v4.19/sound/isa/sb/ |
D | emu8000_callback.c | 31 static int start_voice(struct snd_emux_voice *vp); 32 static void trigger_voice(struct snd_emux_voice *vp); 33 static void release_voice(struct snd_emux_voice *vp); 34 static void update_voice(struct snd_emux_voice *vp, int update); 36 static void terminate_voice(struct snd_emux_voice *vp); 45 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 46 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 47 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 48 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 49 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp); [all …]
|
/Linux-v4.19/arch/um/drivers/ |
D | vector_kern.c | 101 static void vector_reset_stats(struct vector_private *vp) in vector_reset_stats() argument 103 vp->estats.rx_queue_max = 0; in vector_reset_stats() 104 vp->estats.rx_queue_running_average = 0; in vector_reset_stats() 105 vp->estats.tx_queue_max = 0; in vector_reset_stats() 106 vp->estats.tx_queue_running_average = 0; in vector_reset_stats() 107 vp->estats.rx_encaps_errors = 0; in vector_reset_stats() 108 vp->estats.tx_timeout_count = 0; in vector_reset_stats() 109 vp->estats.tx_restart_queue = 0; in vector_reset_stats() 110 vp->estats.tx_kicks = 0; in vector_reset_stats() 111 vp->estats.tx_flow_control_xon = 0; in vector_reset_stats() [all …]
|
D | vector_transports.c | 67 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 …]
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | vp.c | 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() 33 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() [all …]
|
/Linux-v4.19/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 47 static void camif_cfg_video_path(struct camif_vp *vp) in camif_cfg_video_path() argument 49 WARN_ON(s3c_camif_get_scaler_config(vp, &vp->scaler)); in camif_cfg_video_path() 50 camif_hw_set_scaler(vp); in camif_cfg_video_path() 51 camif_hw_set_flip(vp); in camif_cfg_video_path() 52 camif_hw_set_target_format(vp); in camif_cfg_video_path() 53 camif_hw_set_output_dma(vp); in camif_cfg_video_path() 56 static void camif_prepare_dma_offset(struct camif_vp *vp) in camif_prepare_dma_offset() argument 58 struct camif_frame *f = &vp->out_frame; in camif_prepare_dma_offset() 68 static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) in s3c_camif_hw_init() argument 72 if (camif->sensor.sd == NULL || vp->out_fmt == NULL) in s3c_camif_hw_init() [all …]
|
D | camif-regs.c | 41 void camif_hw_clear_pending_irq(struct camif_vp *vp) in camif_hw_clear_pending_irq() argument 43 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq() 44 cfg |= CIGCTRL_IRQ_CLR(vp->id); in camif_hw_clear_pending_irq() 45 camif_write(vp->camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_clear_pending_irq() 82 cfg = camif_read(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset)); in camif_hw_set_effect() 95 camif_write(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset), cfg); in camif_hw_set_effect() 154 void camif_hw_clear_fifo_overflow(struct camif_vp *vp) in camif_hw_clear_fifo_overflow() argument 156 struct camif_dev *camif = vp->camif; in camif_hw_clear_fifo_overflow() 160 if (vp->id == 0) in camif_hw_clear_fifo_overflow() 203 void camif_hw_set_output_addr(struct camif_vp *vp, in camif_hw_set_output_addr() argument [all …]
|
D | camif-core.h | 292 struct camif_vp vp[CAMIF_VP_NUM]; member 329 const struct camif_fmt *s3c_camif_find_format(struct camif_vp *vp, 337 int s3c_camif_get_scaler_config(struct camif_vp *vp, 340 static inline void camif_active_queue_add(struct camif_vp *vp, in camif_active_queue_add() argument 343 list_add_tail(&buf->list, &vp->active_buf_q); in camif_active_queue_add() 344 vp->active_buffers++; in camif_active_queue_add() 348 struct camif_vp *vp) in camif_active_queue_pop() argument 350 struct camif_buffer *buf = list_first_entry(&vp->active_buf_q, in camif_active_queue_pop() 353 vp->active_buffers--; in camif_active_queue_pop() 358 struct camif_vp *vp, int index) in camif_active_queue_peek() argument [all …]
|
D | camif-regs.h | 242 void camif_hw_clear_pending_irq(struct camif_vp *vp); 243 void camif_hw_clear_fifo_overflow(struct camif_vp *vp); 244 void camif_hw_set_lastirq(struct camif_vp *vp, int enable); 245 void camif_hw_set_input_path(struct camif_vp *vp); 246 void camif_hw_enable_scaler(struct camif_vp *vp, bool on); 247 void camif_hw_enable_capture(struct camif_vp *vp); 248 void camif_hw_disable_capture(struct camif_vp *vp); 252 void camif_hw_set_scaler(struct camif_vp *vp); 253 void camif_hw_set_flip(struct camif_vp *vp); 254 void camif_hw_set_output_dma(struct camif_vp *vp); [all …]
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | vnic_vic.c | 29 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 …]
|
D | vnic_vic.h | 65 #define VIC_PROVINFO_ADD_TLV(vp, tlvtype, tlvlen, data) \ argument 67 err = vic_provinfo_add_tlv(vp, tlvtype, tlvlen, data); \ 78 void vic_provinfo_free(struct vic_provinfo *vp); 79 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, 81 size_t vic_provinfo_size(struct vic_provinfo *vp);
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | sunvnet.c | 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 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 …]
|
D | ldmvsw.c | 74 return port->vp->msg_enable; in vsw_get_msglevel() 81 port->vp->msg_enable = value; in vsw_set_msglevel() 125 return sunvnet_set_rx_mode_common(dev, port->vp); in vsw_set_rx_mode() 147 return sunvnet_poll_controller_common(dev, port->vp); in vsw_poll_controller() 172 struct vnet *vp; in vsw_get_vnet() local 197 vp = NULL; in vsw_get_vnet() 201 vp = iter; in vsw_get_vnet() 206 if (!vp) { in vsw_get_vnet() 207 vp = kzalloc(sizeof(*vp), GFP_KERNEL); in vsw_get_vnet() 208 if (unlikely(!vp)) { in vsw_get_vnet() [all …]
|
/Linux-v4.19/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 85 void *vp; in sh_mobile_register_self_refresh() local 103 vp = sdp + 1; in sh_mobile_register_self_refresh() 107 memcpy(vp, &sh_mobile_sleep_enter_start, n); in sh_mobile_register_self_refresh() 108 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 112 memcpy(vp, pre_start, n); in sh_mobile_register_self_refresh() 113 sdp->sf_pre = (unsigned long)vp; in sh_mobile_register_self_refresh() 114 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 118 memcpy(vp, post_start, n); in sh_mobile_register_self_refresh() 119 sdp->sf_post = (unsigned long)vp; in sh_mobile_register_self_refresh() 120 vp += roundup(n, 4); in sh_mobile_register_self_refresh() [all …]
|
/Linux-v4.19/sound/drivers/opl3/ |
D | opl3_midi.c | 143 struct snd_opl3_voice *vp, *vp2; in opl3_get_voice() local 170 vp = &opl3->voices[i]; in opl3_get_voice() 172 if (vp->state == SNDRV_OPL3_ST_NOT_AVAIL) in opl3_get_voice() 177 voice_time = vp->time; in opl3_get_voice() 188 if (vp->state) in opl3_get_voice() 197 voice_time = (voice_time > vp->time) ? in opl3_get_voice() 198 voice_time : vp->time; in opl3_get_voice() 205 else if (vp->state) in opl3_get_voice() 209 if (vp->state) in opl3_get_voice() 247 struct snd_opl3_voice *vp = &opl3->voices[i]; in snd_opl3_timer_func() local [all …]
|
/Linux-v4.19/lib/mpi/ |
D | mpih-mul.c | 34 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument 37 mul_n_basecase(prodp, up, vp, size); \ 39 mul_n(prodp, up, vp, size, tspace); \ 68 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase() argument 76 v_limb = vp[0]; in mul_n_basecase() 92 v_limb = vp[i]; in mul_n_basecase() 108 mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, in mul_n() argument 125 MPN_MUL_N_RECURSE(prodp, up, vp, esize, tspace); in mul_n() 126 cy_limb = mpihelp_addmul_1(prodp + esize, up, esize, vp[esize]); in mul_n() 128 cy_limb = mpihelp_addmul_1(prodp + esize, vp, size, up[esize]); in mul_n() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 75 struct qlcnic_vport *vp; in qlcnic_sriov_pf_cal_res_limit() local 109 vp = sriov->vf_info[id].vp; in qlcnic_sriov_pf_cal_res_limit() 110 info->min_tx_bw = vp->min_tx_bw; in qlcnic_sriov_pf_cal_res_limit() 111 info->max_tx_bw = vp->max_tx_bw; in qlcnic_sriov_pf_cal_res_limit() 237 struct qlcnic_vport *vp; in qlcnic_sriov_pf_reset_vport_handle() local 246 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_reset_vport_handle() 247 vp->handle = 0; in qlcnic_sriov_pf_reset_vport_handle() 255 struct qlcnic_vport *vp; in qlcnic_sriov_pf_set_vport_handle() local 264 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_set_vport_handle() 265 vp->handle = vport_handle; in qlcnic_sriov_pf_set_vport_handle() [all …]
|
/Linux-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 886 static void pvr2_v4l2_destroy_no_lock(struct pvr2_v4l2 *vp) in pvr2_v4l2_destroy_no_lock() argument 888 if (vp->dev_video) { in pvr2_v4l2_destroy_no_lock() 889 pvr2_v4l2_dev_destroy(vp->dev_video); in pvr2_v4l2_destroy_no_lock() 890 vp->dev_video = NULL; in pvr2_v4l2_destroy_no_lock() 892 if (vp->dev_radio) { in pvr2_v4l2_destroy_no_lock() 893 pvr2_v4l2_dev_destroy(vp->dev_radio); in pvr2_v4l2_destroy_no_lock() 894 vp->dev_radio = NULL; in pvr2_v4l2_destroy_no_lock() 897 pvr2_trace(PVR2_TRACE_STRUCT,"Destroying pvr2_v4l2 id=%p",vp); in pvr2_v4l2_destroy_no_lock() 898 pvr2_channel_done(&vp->channel); in pvr2_v4l2_destroy_no_lock() 899 kfree(vp); in pvr2_v4l2_destroy_no_lock() [all …]
|
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/ |
D | vxge-traffic.c | 30 enum vxge_hw_status vxge_hw_vpath_intr_enable(struct __vxge_hw_vpath_handle *vp) in vxge_hw_vpath_intr_enable() argument 37 if (vp == NULL) { in vxge_hw_vpath_intr_enable() 42 vpath = vp->vpath; in vxge_hw_vpath_intr_enable() 157 struct __vxge_hw_vpath_handle *vp) in vxge_hw_vpath_intr_disable() argument 164 if (vp == NULL) { in vxge_hw_vpath_intr_disable() 169 vpath = vp->vpath; in vxge_hw_vpath_intr_disable() 1728 struct __vxge_hw_vpath_handle *vp, in vxge_hw_vpath_mac_addr_add() argument 1738 if (vp == NULL) { in vxge_hw_vpath_mac_addr_add() 1766 status = __vxge_hw_vpath_rts_table_set(vp, in vxge_hw_vpath_mac_addr_add() 1791 struct __vxge_hw_vpath_handle *vp, in vxge_hw_vpath_mac_addr_get() argument [all …]
|
/Linux-v4.19/include/linux/sunrpc/ |
D | svc.h | 186 __be32 val, *vp; in svc_getnl() local 187 vp = iov->iov_base; in svc_getnl() 188 val = *vp++; in svc_getnl() 189 iov->iov_base = (void*)vp; in svc_getnl() 196 __be32 *vp = iov->iov_base + iov->iov_len; in svc_putnl() local 197 *vp = htonl(val); in svc_putnl() 203 __be32 val, *vp; in svc_getu32() local 204 vp = iov->iov_base; in svc_getu32() 205 val = *vp++; in svc_getu32() 206 iov->iov_base = (void*)vp; in svc_getu32() [all …]
|