Home
last modified time | relevance | path

Searched refs:vp (Results 1 – 25 of 142) sorted by relevance

123456

/openbmc/linux/sound/synth/emux/
H A Demux_synth.c90 if (vp == NULL || vp->ch < 0) in snd_emux_note_on()
103 vp->block = vp->zone->sample->block; in snd_emux_note_on()
165 vp->chan == chan && vp->key == note) { in snd_emux_note_off()
242 vp->chan == chan && vp->key == note) { in snd_emux_key_press()
516 if (vp->chan == NULL || vp->port == NULL) in update_voice()
552 vp->reg = vp->zone->v; in setup_voice()
591 vp->ptarget += (vp->ptarget >> 1); in setup_voice()
592 if (vp->ptarget > 0xffff) vp->ptarget = 0xffff; in setup_voice()
606 vp->vtarget = voltarget[vp->avol % 0x10] >> (vp->avol >> 4); in setup_voice()
797 vp->acutoff = vp->reg.parm.cutoff; in calc_volume()
[all …]
H A Demux_proc.c66 vp->reg.parm.pefe); in snd_emux_proc_info_read()
68 vp->reg.parm.fmmod, in snd_emux_proc_info_read()
69 vp->reg.parm.tremfrq, in snd_emux_proc_info_read()
72 vp->reg.parm.cutoff, in snd_emux_proc_info_read()
74 vp->reg.parm.chorus, in snd_emux_proc_info_read()
77 vp->avol, vp->acutoff, vp->apitch); in snd_emux_proc_info_read()
79 vp->apan, vp->aaux, in snd_emux_proc_info_read()
80 vp->ptarget, in snd_emux_proc_info_read()
81 vp->vtarget, in snd_emux_proc_info_read()
82 vp->ftarget); in snd_emux_proc_info_read()
[all …]
/openbmc/linux/sound/pci/emu10k1/
H A Demu10k1_callback.c94 ch = vp->ch; in snd_emu10k1_synth_get_voice()
122 hw = vp->hw; in release_voice()
140 hw = vp->hw; in terminate_voice()
164 hw = vp->hw; in free_voice()
172 vp->ch = -1; in free_voice()
185 hw = vp->hw; in update_voice()
189 snd_emu10k1_ptr_write(hw, IP, vp->ch, vp->apitch); in update_voice()
297 return vp; in get_voice()
319 hw = vp->hw; in start_voice()
320 ch = vp->ch; in start_voice()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dvector_transports.c205 vp->dev, in raw_verify_header()
259 vp->header_size = 4; in build_gre_transport_data()
296 vp->rx_header_size = vp->header_size; in build_gre_transport_data()
322 vp->header_size = 4; in build_l2tpv3_transport_data()
393 vp->rx_header_size = vp->header_size; in build_l2tpv3_transport_data()
410 vp->dev->features |= in build_raw_transport_data()
414 vp->dev, in build_raw_transport_data()
430 vp->dev->features |= in build_hybrid_transport_data()
434 vp->dev, in build_hybrid_transport_data()
459 vp->dev, in build_tap_transport_data()
[all …]
H A Dvector_kern.c354 vp, in vector_enqueue()
881 vp->header_rxbuffer, skb, vp); in vector_legacy_rx()
999 vp in vector_mmsg_rx()
1054 deactivate_fd(vp->fds->rx_fd, vp->rx_irq); in vector_net_start_xmit()
1055 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1056 deactivate_fd(vp->fds->tx_fd, vp->tx_irq); in vector_net_start_xmit()
1073 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit()
1222 vp->fds = uml_vector_user_open(vp->unit, vp->parsed); in vector_net_open()
1232 vp, in vector_net_open()
1248 vp, in vector_net_open()
[all …]
/openbmc/linux/drivers/net/ethernet/3com/
H A D3c59x.c1251 vp->mii.force_media = vp->full_duplex; in vortex_probe1()
1431 vp->mii.phy_id = vp->phys[0]; in vortex_probe1()
1479 vp->rx_ring, vp->rx_ring_dma); in vortex_probe1()
1526 ((vp->full_duplex && vp->flow_ctrl && vp->partner_flow_ctrl) ? in vortex_set_duplex()
1540 vp->full_duplex = vp->mii.full_duplex; in vortex_check_media()
1603 vp->full_duplex = vp->mii.force_media; in vortex_up()
1613 vp->mii.full_duplex = vp->full_duplex; in vortex_up()
1679 vp->cur_tx = vp->dirty_tx = 0; in vortex_up()
2740 dev->name, vp->rx_nocopy, vp->rx_copy, vp->queued_packet, vp->rx_csumhits); in vortex_close()
2801 vp->cur_tx, vp->cur_tx % TX_RING_SIZE); in dump_tx_ring()
[all …]
H A D3c515.c469 if (vp->dev) in cleanup_card()
602 vp->media_override = vp->options & 7; in corkscrew_setup()
605 vp->full_duplex = (vp->options & 8) ? 1 : 0; in corkscrew_setup()
606 vp->bus_master = (vp->options & 16) ? 1 : 0; in corkscrew_setup()
807 vp->cur_rx = vp->dirty_rx = 0; in corkscrew_open()
832 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open()
865 struct corkscrew_private *vp = from_timer(vp, t, timer); in corkscrew_timer() local
969 vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx, in corkscrew_timeout()
976 vp->tx_ring[i].length, vp->tx_ring[i].status); in corkscrew_timeout()
1041 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit()
[all …]
/openbmc/linux/sound/isa/sb/
H A Demu8000_callback.c88 hw = vp->hw; in release_voice()
103 hw = vp->hw; in terminate_voice()
115 hw = vp->hw; in update_voice()
210 return vp; in get_voice()
229 hw = vp->hw; in start_voice()
230 ch = vp->ch; in start_voice()
231 chan = vp->chan; in start_voice()
307 hw = vp->hw; in trigger_voice()
313 temp = (temp << 8) | (vp->ptarget << 16) | vp->aaux; in trigger_voice()
338 EMU8000_IP_WRITE(hw, vp->ch, vp->apitch); in set_pitch()
[all …]
/openbmc/linux/arch/arm/mach-omap2/
H A Dvp.c15 struct omap_vp_instance *vp = voltdm->vp; in _vp_set_init_voltage() local
41 struct omap_vp_instance *vp = voltdm->vp; in omap_vp_init() local
103 if (!voltdm->vp) in omap_vp_update_errorgain()
124 struct omap_vp_instance *vp = voltdm->vp; in omap_vp_forceupdate_scale() local
138 vp->common->ops->clear_txdone(vp->id); in omap_vp_forceupdate_scale()
139 if (!vp->common->ops->check_txdone(vp->id)) in omap_vp_forceupdate_scale()
160 omap_test_timeout(vp->common->ops->check_txdone(vp->id), in omap_vp_forceupdate_scale()
174 vp->common->ops->clear_txdone(vp->id); in omap_vp_forceupdate_scale()
175 if (!vp->common->ops->check_txdone(vp->id)) in omap_vp_forceupdate_scale()
207 vp = voltdm->vp; in omap_vp_enable()
[all …]
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-capture.c497 vp->buf_index = !vp->buf_index; in buffer_queue()
643 dev_name(vp->camif->dev), vp->id); in s3c_camif_vidioc_querycap()
846 if (vp->owner && vp->owner != priv) in s3c_camif_streamon()
877 if (vp->owner && vp->owner != priv) in s3c_camif_streamoff()
893 vp->id, rb->count, vp->owner, priv); in s3c_camif_reqbufs()
895 if (vp->owner && vp->owner != priv) in s3c_camif_reqbufs()
934 if (vp->owner && vp->owner != priv) in s3c_camif_qbuf()
947 if (vp->owner && vp->owner != priv) in s3c_camif_dqbuf()
959 if (vp->owner && vp->owner != priv) in s3c_camif_create_bufs()
1102 struct camif_vp *vp = &camif->vp[idx]; in s3c_camif_register_video_node() local
[all …]
H A Dcamif-regs.c223 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset)); in camif_hw_set_out_dma_size()
226 camif_write(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset), cfg); in camif_hw_set_out_dma_size()
293 camif_write(vp->camif, S3C_CAMIF_REG_MSCTRL(vp->id), cfg); in camif_hw_set_input_path()
333 if (vp->rotation == 90 || vp->rotation == 270) in camif_hw_set_target_format()
349 S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset)); in camif_hw_set_flip()
353 if (vp->hflip) in camif_hw_set_flip()
355 if (vp->vflip) in camif_hw_set_flip()
358 camif_write(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset), cfg); in camif_hw_set_flip()
367 addr = S3C_CAMIF_REG_CISCPRERATIO(vp->id, vp->offset); in camif_hw_set_prescaler()
487 u32 addr = S3C_CAMIF_REG_CISCCTRL(vp->id, vp->offset); in camif_hw_enable_scaler()
[all …]
H A Dcamif-core.h298 struct camif_vp vp[CAMIF_VP_NUM]; member
343 int s3c_camif_get_scaler_config(struct camif_vp *vp,
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
359 vp->active_buffers--; in camif_active_queue_pop()
364 struct camif_vp *vp, int index) in camif_active_queue_peek() argument
368 if (WARN_ON(list_empty(&vp->active_buf_q))) in camif_active_queue_peek()
374 vp->active_buffers--; in camif_active_queue_peek()
385 list_add_tail(&buf->list, &vp->pending_buf_q); in camif_pending_queue_add()
[all …]
H A Dcamif-regs.h241 void camif_hw_clear_pending_irq(struct camif_vp *vp);
242 void camif_hw_clear_fifo_overflow(struct camif_vp *vp);
244 void camif_hw_set_input_path(struct camif_vp *vp);
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);
254 void camif_hw_set_target_format(struct camif_vp *vp);
264 return readl(vp->camif->io_base + S3C_CAMIF_REG_CISTATUS(vp->id, in camif_hw_get_status()
[all …]
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_vic.c20 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()
32 kfree(vp); in vic_provinfo_free()
40 if (!vp || !value) in vic_provinfo_add_tlv()
48 ntohl(vp->length) - sizeof(vp->num_tlvs)); in vic_provinfo_add_tlv()
54 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1); in vic_provinfo_add_tlv()
55 vp->length = htonl(ntohl(vp->length) + in vic_provinfo_add_tlv()
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunvnet.c289 struct vnet *vp; in vnet_new() local
305 vp->dev = dev; in vnet_new()
337 return vp; in vnet_new()
351 vp = NULL; in vnet_find_or_create()
354 vp = iter; in vnet_find_or_create()
358 if (!vp) in vnet_find_or_create()
362 return vp; in vnet_find_or_create()
367 struct vnet *vp; in vnet_cleanup() local
374 dev = vp->dev; in vnet_cleanup()
430 struct vnet *vp; in vnet_port_probe() local
[all …]
H A Dldmvsw.c170 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(sizeof(*vp), GFP_KERNEL); in vsw_get_vnet()
222 return vp; in vsw_get_vnet()
280 struct vnet *vp; in vsw_port_probe() local
310 if (IS_ERR(vp)) { in vsw_port_probe()
333 port->vp = vp; in vsw_port_probe()
435 struct vnet *vp; in vsw_cleanup() local
[all …]
/openbmc/linux/arch/sh/kernel/cpu/shmobile/
H A Dpm.c82 void *vp; in sh_mobile_register_self_refresh() local
100 vp = sdp + 1; 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()
120 WARN_ON(vp > (onchip_mem + 0x600)); in sh_mobile_register_self_refresh()
[all …]
/openbmc/linux/sound/drivers/opl3/
H A Dopl3_midi.c174 if (vp->state) in opl3_get_voice()
190 else if (vp->state) in opl3_get_voice()
194 if (vp->state) in opl3_get_voice()
233 if (vp->state > 0 && vp->note_off_check) { in snd_opl3_timer_func()
236 vp->chan); in snd_opl3_timer_func()
393 if (vp->state > 0) { in snd_opl3_note_on()
561 vp->note = key; in snd_opl3_note_on()
562 vp->chan = chan; in snd_opl3_note_on()
677 if (vp->state > 0 && vp->chan == chan && vp->note == note) { in snd_opl3_note_off_unsafe()
750 snd_opl3_calc_pitch(&fnum, &blocknum, vp->note, vp->chan); in snd_opl3_update_pitch()
[all …]
/openbmc/linux/fs/afs/
H A Dinode.c76 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_inode_init_from_status()
146 if (!vp->scb.have_cb) { in afs_inode_init_from_status()
175 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_apply_status()
208 if (vp->update_ctime) in afs_apply_status()
216 if (vp->dv_before + vp->dv_delta != status->data_version) { in afs_apply_status()
220 (unsigned long long)vp->dv_before + vp->dv_delta, in afs_apply_status()
309 if (vp->scb.have_cb) in afs_vnode_commit_status()
323 afs_cache_permit(vnode, op->key, vp->cb_break_before, &vp->scb); in afs_vnode_commit_status()
336 afs_cache_permit(vnode, op->key, vp->cb_break_before, &vp->scb); in afs_fetch_status_success()
412 vnode->fid = vp->fid; in afs_iget5_set()
[all …]
H A Dfsclient.c279 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()
437 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data64()
1062 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_store_data64()
1107 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_store_data()
1183 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_setattr_size64()
1225 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_setattr_size()
1269 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_setattr()
1907 key_serial(op->key), vp->fid.vid, vp->fid.vnode, op->nr_files); in afs_fs_inline_bulk_status()
2023 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_fetch_acl()
[all …]
/openbmc/linux/lib/crypto/mpi/
H A Dmpih-mul.c24 mul_n_basecase(prodp, up, vp, size); \
26 mul_n(prodp, up, vp, size, tspace); \
63 v_limb = vp[0]; in mul_n_basecase()
79 v_limb = vp[i]; in mul_n_basecase()
155 if (mpihelp_cmp(vp + hsize, vp, hsize) >= 0) { in mul_n()
156 mpihelp_sub_n(prodp + hsize, vp + hsize, vp, hsize); in mul_n()
159 mpihelp_sub_n(prodp + hsize, vp, vp + hsize, hsize); in mul_n()
324 if (up == vp) { in mpihelp_mul_n()
405 vp, vsize, in mpihelp_mul_karatsuba_case()
470 v_limb = vp[0]; in mpihelp_mul()
[all …]
H A Dmpi-mul.c19 mpi_ptr_t up, vp, wp; in mpi_mul() local
32 vp = u->d; in mpi_mul()
39 vp = v->d; in mpi_mul()
47 if (wp == up || wp == vp) { in mpi_mul()
59 if (wp == vp) in mpi_mul()
60 vp = up; in mpi_mul()
63 } else if (wp == vp) { in mpi_mul()
65 vp = tmp_limb = mpi_alloc_limb_space(vsize); in mpi_mul()
67 MPN_COPY(vp, wp, vsize); in mpi_mul()
74 mpihelp_mul(wp, up, usize, vp, vsize, &cy); in mpi_mul()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c248 regmap_write(vp->vop2->map, vp->data->offset + offset, v); in vop2_vp_write()
957 vop2 = vp->vop2; in vop2_plane_atomic_check()
1548 vp->id, ret); in vop2_crtc_atomic_enable()
1633 vop2_cfg_done(vp); in vop2_crtc_atomic_enable()
1858 if (vp->id == 0) { in vop2_setup_alpha()
2034 vp->win_mask = 0; in vop2_crtc_atomic_begin()
2047 if (!vp->win_mask) in vop2_crtc_atomic_begin()
2183 vp->id); in vop2_isr()
2250 return vp; in find_vp_without_primary()
2276 vp->vop2 = vop2; in vop2_create_crtcs()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c108 vp = sriov->vf_info[id].vp; in qlcnic_sriov_pf_cal_res_limit()
245 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_reset_vport_handle()
263 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_set_vport_handle()
744 struct qlcnic_vport *vp = vf->vp; in qlcnic_sriov_pf_channel_cfg_cmd() local
800 vp = vf->vp; in qlcnic_sriov_cfg_vf_def_mac()
1258 struct qlcnic_vport *vp = vf->vp; in qlcnic_sriov_validate_cfg_macvlan() local
1339 struct qlcnic_vport *vp = vf->vp; in qlcnic_sriov_pf_get_acl_cmd() local
1866 vp = vf_info->vp; in qlcnic_sriov_set_vf_tx_rate()
1937 vp = vf_info->vp; in qlcnic_sriov_set_vf_vlan()
2004 vp = sriov->vf_info[vf].vp; in qlcnic_sriov_get_vf_config()
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c866 if (vp->dev_video) { in pvr2_v4l2_destroy_no_lock()
877 kfree(vp); in pvr2_v4l2_destroy_no_lock()
958 vp = dip->v4lp; in pvr2_v4l2_open()
1192 dip->v4lp = vp; in pvr2_v4l2_dev_init()
1262 vp = kzalloc(sizeof(*vp),GFP_KERNEL); in pvr2_v4l2_create()
1263 if (!vp) return vp; in pvr2_v4l2_create()
1270 vp->dev_video = kzalloc(sizeof(*vp->dev_video),GFP_KERNEL); in pvr2_v4l2_create()
1272 pvr2_v4l2_dev_init(vp->dev_video,vp,VFL_TYPE_VIDEO); in pvr2_v4l2_create()
1275 vp->dev_radio = kzalloc(sizeof(*vp->dev_radio),GFP_KERNEL); in pvr2_v4l2_create()
1277 pvr2_v4l2_dev_init(vp->dev_radio,vp,VFL_TYPE_RADIO); in pvr2_v4l2_create()
[all …]

123456