| /linux/sound/pci/emu10k1/ |
| H A D | emu10k1_callback.c | 30 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 …]
|
| /linux/sound/isa/sb/ |
| H A D | emu8000_callback.c | 18 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 …]
|
| /linux/arch/um/drivers/ |
| H A D | vector_kern.c | 73 static int vector_mmsg_rx(struct vector_private *vp, int budget); 106 static void vector_reset_stats(struct vector_private *vp) in vector_reset_stats() argument 114 spin_lock(&vp->rx_queue->head_lock); in vector_reset_stats() 115 vp->estats.rx_queue_max = 0; in vector_reset_stats() 116 vp->estats.rx_queue_running_average = 0; in vector_reset_stats() 117 vp->estats.rx_encaps_errors = 0; in vector_reset_stats() 118 vp->estats.sg_ok = 0; in vector_reset_stats() 119 vp->estats.sg_linearized = 0; in vector_reset_stats() 120 spin_unlock(&vp->rx_queue->head_lock); in vector_reset_stats() 126 spin_lock(&vp->tx_queue->head_lock); in vector_reset_stats() [all …]
|
| H A 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/drivers/media/platform/samsung/s3c-camif/ |
| H A D | camif-regs.c | 38 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 …]
|
| H A D | camif-core.h | 262 * @vp: video path (DMA) description (codec/preview) 298 struct camif_vp vp[CAMIF_VP_NUM]; member 335 const struct camif_fmt *s3c_camif_find_format(struct camif_vp *vp, 343 int s3c_camif_get_scaler_config(struct camif_vp *vp, 346 static inline void camif_active_queue_add(struct camif_vp *vp, in camif_active_queue_add() argument 349 list_add_tail(&buf->list, &vp->active_buf_q); in camif_active_queue_add() 350 vp->active_buffers++; in camif_active_queue_add() 354 struct camif_vp *vp) in camif_active_queue_pop() argument 356 struct camif_buffer *buf = list_first_entry(&vp->active_buf_q, in camif_active_queue_pop() 359 vp->active_buffers--; in camif_active_queue_pop() [all …]
|
| H A D | camif-regs.h | 241 void camif_hw_clear_pending_irq(struct camif_vp *vp); 242 void camif_hw_clear_fifo_overflow(struct camif_vp *vp); 243 void camif_hw_set_lastirq(struct camif_vp *vp, int enable); 244 void camif_hw_set_input_path(struct camif_vp *vp); 245 void camif_hw_enable_scaler(struct camif_vp *vp, bool on); 246 void camif_hw_enable_capture(struct camif_vp *vp); 247 void camif_hw_disable_capture(struct camif_vp *vp); 251 void camif_hw_set_scaler(struct camif_vp *vp); 252 void camif_hw_set_flip(struct camif_vp *vp); 253 void camif_hw_set_output_dma(struct camif_vp *vp); [all …]
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_vic.c | 14 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 …]
|
| H A D | enic_pp.c | 63 struct vic_provinfo *vp; in enic_set_port_profile() local 78 vp = vic_provinfo_alloc(GFP_KERNEL, oui, in enic_set_port_profile() 80 if (!vp) in enic_set_port_profile() 83 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile() 98 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile() 103 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile() 109 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile() 116 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile() 121 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile() 125 ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnic_dev_init_prov2, (u8 *)vp, in enic_set_port_profile() [all …]
|
| /linux/drivers/hv/ |
| H A D | mshv_root_main.c | 303 * should be awaited to keep the VP loop consistent (i.e. no message pending 304 * upon VP resume). 305 * VP intercept suspend can't be done when the VP is explicitly suspended 314 mshv_suspend_vp(const struct mshv_vp *vp, bool *message_in_flight) in mshv_suspend_vp() argument 330 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp() 333 vp_err(vp, "Failed to explicitly suspend vCPU\n"); in mshv_suspend_vp() 337 ret = mshv_get_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp() 340 vp_err(vp, "Failed to get intercept suspend state\n"); in mshv_suspend_vp() 357 * after VP is released from HV_REGISTER_EXPLICIT_SUSPEND in case of the 360 static long mshv_run_vp_with_hyp_scheduler(struct mshv_vp *vp) in mshv_run_vp_with_hyp_scheduler() argument [all …]
|
| /linux/drivers/net/ethernet/sun/ |
| H A 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 124 list_for_each_entry_rcu(port, &vp->port_list, list) { in vnet_get_strings() 146 struct vnet *vp = (struct vnet *)netdev_priv(dev); in vnet_get_ethtool_stats() local 163 data[i++] = vp->nports; in vnet_get_ethtool_stats() [all …]
|
| H A D | ldmvsw.c | 74 return port->vp->msg_enable; in vsw_get_msglevel() 81 port->vp->msg_enable = value; in vsw_set_msglevel() 124 return sunvnet_set_rx_mode_common(dev, port->vp); in vsw_set_rx_mode() 145 return sunvnet_poll_controller_common(dev, port->vp); in vsw_poll_controller() 170 struct vnet *vp; in vsw_get_vnet() local 195 vp = NULL; in vsw_get_vnet() 199 vp = iter; in vsw_get_vnet() 204 if (!vp) { in vsw_get_vnet() 205 vp = kzalloc_obj(*vp); in vsw_get_vnet() 206 if (unlikely(!vp)) { in vsw_get_vnet() [all …]
|
| /linux/fs/afs/ |
| H A D | fsclient.c | 241 struct afs_vnode_param *vp = &op->file[op->fetch_status.which]; in afs_deliver_fs_fetch_status() local 251 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status() 252 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status() 274 struct afs_vnode_param *vp = &op->file[op->fetch_status.which]; in afs_fs_fetch_status() local 279 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_fetch_status() 289 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_status() 290 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_status() 291 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_status() 293 call->fid = vp->fid; in afs_fs_fetch_status() 294 trace_afs_make_fs_call(call, &vp->fid); in afs_fs_fetch_status() [all …]
|
| H A D | inode.c | 64 struct afs_vnode_param *vp, in afs_inode_init_from_status() argument 67 struct afs_file_status *status = &vp->scb.status; in afs_inode_init_from_status() 72 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_inode_init_from_status() 144 if (!vp->scb.have_cb) { in afs_inode_init_from_status() 150 afs_set_cb_promise(vnode, vp->scb.callback.expires_at, in afs_inode_init_from_status() 162 struct afs_vnode_param *vp) in afs_apply_status() argument 164 struct afs_file_status *status = &vp->scb.status; in afs_apply_status() 165 struct afs_vnode *vnode = vp->vnode; in afs_apply_status() 172 bool change_size = vp->set_size; in afs_apply_status() 175 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_apply_status() [all …]
|
| H A D | yfsclient.c | 356 struct afs_vnode_param *vp = &op->file[0]; in yfs_deliver_fs_fetch_data64() local 435 xdr_decode_YFSFetchStatus(&bp, call, &vp->scb); in yfs_deliver_fs_fetch_data64() 436 xdr_decode_YFSCallBack(&bp, call, &vp->scb); in yfs_deliver_fs_fetch_data64() 439 if (subreq->start + subreq->transferred >= vp->scb.status.size) in yfs_deliver_fs_fetch_data64() 471 struct afs_vnode_param *vp = &op->file[0]; in yfs_fs_fetch_data() local 476 key_serial(op->key), vp->fid.vid, vp->fid.vnode, in yfs_fs_fetch_data() 497 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_fetch_data() 502 call->fid = vp->fid; in yfs_fs_fetch_data() 503 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_fetch_data() 514 struct afs_vnode_param *vp = &op->file[1]; in yfs_deliver_fs_create_vnode() local [all …]
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_vop2_reg.c | 604 /* 0xf means this layer can't attached to this VP */ 1390 static unsigned long rk3568_set_intf_mux(struct vop2_video_port *vp, int id, u32 polflags) in rk3568_set_intf_mux() argument 1392 struct vop2 *vop2 = vp->vop2; in rk3568_set_intf_mux() 1393 struct drm_crtc *crtc = &vp->crtc; in rk3568_set_intf_mux() 1403 FIELD_PREP(RK3568_SYS_DSP_INFACE_EN_RGB_MUX, vp->id); in rk3568_set_intf_mux() 1414 FIELD_PREP(RK3568_SYS_DSP_INFACE_EN_HDMI_MUX, vp->id); in rk3568_set_intf_mux() 1421 FIELD_PREP(RK3568_SYS_DSP_INFACE_EN_EDP_MUX, vp->id); in rk3568_set_intf_mux() 1428 FIELD_PREP(RK3568_SYS_DSP_INFACE_EN_MIPI0_MUX, vp->id); in rk3568_set_intf_mux() 1435 FIELD_PREP(RK3568_SYS_DSP_INFACE_EN_MIPI1_MUX, vp->id); in rk3568_set_intf_mux() 1442 FIELD_PREP(RK3568_SYS_DSP_INFACE_EN_LVDS0_MUX, vp->id); in rk3568_set_intf_mux() [all …]
|
| /linux/arch/sh/kernel/cpu/shmobile/ |
| H A D | pm.c | 82 void *vp; in sh_mobile_register_self_refresh() local 100 vp = sdp + 1; in sh_mobile_register_self_refresh() 104 memcpy(vp, &sh_mobile_sleep_enter_start, n); in sh_mobile_register_self_refresh() 105 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 109 memcpy(vp, pre_start, n); in sh_mobile_register_self_refresh() 110 sdp->sf_pre = (unsigned long)vp; in sh_mobile_register_self_refresh() 111 vp += roundup(n, 4); in sh_mobile_register_self_refresh() 115 memcpy(vp, post_start, n); in sh_mobile_register_self_refresh() 116 sdp->sf_post = (unsigned long)vp; in sh_mobile_register_self_refresh() 117 vp += roundup(n, 4); in sh_mobile_register_self_refresh() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sriov_pf.c | 74 struct qlcnic_vport *vp; in qlcnic_sriov_pf_cal_res_limit() local 108 vp = sriov->vf_info[id].vp; in qlcnic_sriov_pf_cal_res_limit() 109 info->min_tx_bw = vp->min_tx_bw; in qlcnic_sriov_pf_cal_res_limit() 110 info->max_tx_bw = vp->max_tx_bw; in qlcnic_sriov_pf_cal_res_limit() 236 struct qlcnic_vport *vp; in qlcnic_sriov_pf_reset_vport_handle() local 245 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_reset_vport_handle() 246 vp->handle = 0; in qlcnic_sriov_pf_reset_vport_handle() 254 struct qlcnic_vport *vp; in qlcnic_sriov_pf_set_vport_handle() local 263 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_set_vport_handle() 264 vp->handle = vport_handle; in qlcnic_sriov_pf_set_vport_handle() [all …]
|
| /linux/lib/crypto/mpi/ |
| H A D | mpih-mul.c | 21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument 24 mul_n_basecase(prodp, up, vp, size); \ 26 mul_n(prodp, up, vp, size, tspace); \ 37 /* Multiply the natural numbers u (pointed to by UP) and v (pointed to by VP), 42 * 1. PRODP != UP and PRODP != VP, i.e. the destination 55 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase() argument 63 v_limb = vp[0]; in mul_n_basecase() 79 v_limb = vp[i]; in mul_n_basecase() 95 mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, in mul_n() argument 112 MPN_MUL_N_RECURSE(prodp, up, vp, esize, tspace); in mul_n() [all …]
|
| H A D | mpi-mul.c | 21 mpi_ptr_t up, vp, wp; in mpi_mul() local 35 vp = u->d; in mpi_mul() 42 vp = v->d; in mpi_mul() 50 if (wp == up || wp == vp) { in mpi_mul() 68 if (wp == vp) in mpi_mul() 69 vp = up; in mpi_mul() 72 } else if (wp == vp) { in mpi_mul() 74 vp = tmp_limb = mpi_alloc_limb_space(vsize); in mpi_mul() 75 if (!vp) in mpi_mul() 78 MPN_COPY(vp, wp, vsize); in mpi_mul() [all …]
|
| H A D | mpi-add.c | 20 mpi_ptr_t wp, up, vp; in mpi_add() local 36 vp = u->d; in mpi_add() 48 vp = v->d; in mpi_add() 60 mpihelp_sub(wp, up, usize, vp, vsize); in mpi_add() 64 } else if (mpihelp_cmp(up, vp, usize) < 0) { in mpi_add() 65 mpihelp_sub_n(wp, vp, up, usize); in mpi_add() 71 mpihelp_sub_n(wp, up, vp, usize); in mpi_add() 78 mpi_limb_t cy = mpihelp_add(wp, up, usize, vp, vsize); in mpi_add()
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-v4l2.c | 843 static void pvr2_v4l2_destroy_no_lock(struct pvr2_v4l2 *vp) in pvr2_v4l2_destroy_no_lock() argument 845 if (vp->dev_video) { in pvr2_v4l2_destroy_no_lock() 846 pvr2_v4l2_dev_destroy(vp->dev_video); in pvr2_v4l2_destroy_no_lock() 847 vp->dev_video = NULL; in pvr2_v4l2_destroy_no_lock() 849 if (vp->dev_radio) { in pvr2_v4l2_destroy_no_lock() 850 pvr2_v4l2_dev_destroy(vp->dev_radio); in pvr2_v4l2_destroy_no_lock() 851 vp->dev_radio = NULL; in pvr2_v4l2_destroy_no_lock() 854 pvr2_trace(PVR2_TRACE_STRUCT,"Destroying pvr2_v4l2 id=%p",vp); in pvr2_v4l2_destroy_no_lock() 855 pvr2_channel_done(&vp->channel); in pvr2_v4l2_destroy_no_lock() 856 kfree(vp); in pvr2_v4l2_destroy_no_lock() [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l33.txt | 9 - VA-supply, VP-supply : power supplies for the device, 22 0, then VBST = VP. If greater than 0, the boost voltage will be 3300mV with 75 - cirrus,vp-hg-auto : This is a boolean property. When set, class H/G VPhg 78 - cirrus,vp-hg : Class H/G algorithm VPhg. Controls the H/G algorithm's 79 reference to the VP voltage for when to start generating a boosted VBST. 83 - cirrus,vp-hg-rate : The rate (number of LRCLK periods) at which the VPhg is 89 - cirrus,vp-hg-va : VA calculation reference for automatic VPhg tracking 101 VP-supply = <&ldo5_reg>; 119 cirrus,vp-hg-auto; 120 cirrus,vp-hg=<0xF>; [all …]
|
| /linux/arch/powerpc/sysdev/xive/ |
| H A D | native.c | 117 __be64 vp; in xive_native_get_irq_config() local 120 rc = opal_xive_get_irq_config(hw_irq, &vp, prio, &lirq); in xive_native_get_irq_config() 122 *target = be64_to_cpu(vp); in xive_native_get_irq_config() 128 #define vp_err(vp, fmt, ...) pr_err("VP[0x%x]: " fmt, vp, ##__VA_ARGS__) argument 394 u32 vp; in xive_native_setup_cpu() local 401 /* Check if pool VP already active, if it is, pull it */ in xive_native_setup_cpu() 405 /* Enable the pool VP */ in xive_native_setup_cpu() 406 vp = xive_pool_vps + cpu; in xive_native_setup_cpu() 408 rc = opal_xive_set_vp_info(vp, OPAL_XIVE_VP_ENABLED, 0); in xive_native_setup_cpu() 414 pr_err("Failed to enable pool VP on CPU %d\n", cpu); in xive_native_setup_cpu() [all …]
|
| /linux/sound/synth/emux/ |
| H A D | emux_effect.c | 199 struct snd_emux_voice *vp = &emu->voices[i]; in snd_emux_send_effect() local 200 if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan) in snd_emux_send_effect() 202 srcp = (unsigned char *)&vp->reg.parm + offset; in snd_emux_send_effect() 203 origp = (unsigned char *)&vp->zone->v.parm + offset; in snd_emux_send_effect() 221 snd_emux_setup_effect(struct snd_emux_voice *vp) in snd_emux_setup_effect() argument 223 struct snd_midi_channel *chan = vp->chan; in snd_emux_setup_effect() 247 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 255 vp->reg.start += effect_get_offset(chan, EMUX_FX_SAMPLE_START, in snd_emux_setup_effect() 257 vp->reg.sample_mode); in snd_emux_setup_effect() 259 vp->reg.loopstart += effect_get_offset(chan, EMUX_FX_LOOP_START, in snd_emux_setup_effect() [all …]
|