Home
last modified time | relevance | path

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

123456

/linux-6.15/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 …]
/linux-6.15/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()
320 hw = vp->hw; in start_voice()
321 ch = vp->ch; in start_voice()
[all …]
/linux-6.15/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.c466 if (vp->dev) in cleanup_card()
599 vp->media_override = vp->options & 7; in corkscrew_setup()
602 vp->full_duplex = (vp->options & 8) ? 1 : 0; in corkscrew_setup()
603 vp->bus_master = (vp->options & 16) ? 1 : 0; in corkscrew_setup()
804 vp->cur_rx = vp->dirty_rx = 0; in corkscrew_open()
829 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open()
862 struct corkscrew_private *vp = from_timer(vp, t, timer); in corkscrew_timer() local
966 vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx, in corkscrew_timeout()
973 vp->tx_ring[i].length, vp->tx_ring[i].status); in corkscrew_timeout()
1038 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit()
[all …]
/linux-6.15/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.c343 vp, in vector_enqueue()
874 vp->header_rxbuffer, skb, vp); in vector_legacy_rx()
992 vp in vector_mmsg_rx()
1047 deactivate_fd(vp->fds->rx_fd, vp->rx_irq); in vector_net_start_xmit()
1048 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1049 deactivate_fd(vp->fds->tx_fd, vp->tx_irq); in vector_net_start_xmit()
1066 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit()
1210 vp->fds = uml_vector_user_open(vp->unit, vp->parsed); in vector_net_open()
1220 vp, in vector_net_open()
1236 vp, in vector_net_open()
[all …]
/linux-6.15/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 …]
/linux-6.15/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 …]
/linux-6.15/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-capture.c497 vp->buf_index = !vp->buf_index; in buffer_queue()
641 dev_name(vp->camif->dev), vp->id); in s3c_camif_vidioc_querycap()
844 if (vp->owner && vp->owner != priv) in s3c_camif_streamon()
875 if (vp->owner && vp->owner != priv) in s3c_camif_streamoff()
891 vp->id, rb->count, vp->owner, priv); in s3c_camif_reqbufs()
893 if (vp->owner && vp->owner != priv) in s3c_camif_reqbufs()
932 if (vp->owner && vp->owner != priv) in s3c_camif_qbuf()
945 if (vp->owner && vp->owner != priv) in s3c_camif_dqbuf()
957 if (vp->owner && vp->owner != priv) in s3c_camif_create_bufs()
1100 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 …]
/linux-6.15/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()
55 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1); in vic_provinfo_add_tlv()
56 vp->length = htonl(ntohl(vp->length) + in vic_provinfo_add_tlv()
[all …]
/linux-6.15/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.h410 #define RK3568_VP_LINE_FLAG(vp) (0x70 + (vp) * 0x4) argument
417 #define RK3568_VP_INT_EN(vp) (0xA0 + (vp) * 0x10) argument
418 #define RK3568_VP_INT_CLR(vp) (0xA4 + (vp) * 0x10) argument
419 #define RK3568_VP_INT_STATUS(vp) (0xA8 + (vp) * 0x10) argument
420 #define RK3568_VP_INT_RAW_STATUS(vp) (0xAC + (vp) * 0x10) argument
447 #define RK3576_OVL_CTRL(vp) (0x600 + (vp) * 0x100) argument
448 #define RK3576_OVL_LAYER_SEL(vp) (0x604 + (vp) * 0x100) argument
469 #define RK3576_OVL_BG_MIX_CTRL(vp) (0x670 + (vp) * 0x100) argument
516 #define RK3568_VP_BG_MIX_CTRL(vp) (0x6E0 + (vp) * 4) argument
714 #define RK3568_OVL_CTRL__YUV_MODE(vp) BIT(vp) argument
[all …]
H A Drockchip_drm_vop2.c163 val |= BIT(vp->id) | (BIT(vp->id) << 16); in vop2_cfg_done()
985 if (vp->dclk_src) in vop2_crtc_atomic_disable()
986 clk_set_parent(vp->dclk, vp->dclk_src); in vop2_crtc_atomic_disable()
1027 vop2 = vp->vop2; in vop2_plane_atomic_check()
1655 vp->id, ret); in vop2_crtc_atomic_enable()
1763 vp->dclk_src = clk_get_parent(vp->dclk); in vop2_crtc_atomic_enable()
1777 vp->dclk_src = clk_get_parent(vp->dclk); in vop2_crtc_atomic_enable()
2192 if (vp->event) { in rk3576_vp_isr()
2265 vp->id); in vop2_isr()
2366 vp->vop2 = vop2; in vop2_create_crtcs()
[all …]
H A Drockchip_vop2_reg.c1844 struct vop2_video_port *vp; in vop2_find_start_mixer_id_for_vp() local
1849 vp = &vop2->vps[i]; in vop2_find_start_mixer_id_for_vp()
2022 if (vp->id == 0) { in vop2_setup_alpha()
2239 vp->win_mask = 0; in rk3568_vop2_setup_overlay()
2252 if (!vp->win_mask) in rk3568_vop2_setup_overlay()
2256 vop2_setup_alpha(vp); in rk3568_vop2_setup_overlay()
2305 vp->win_mask = 0; in rk3576_vop2_setup_overlay()
2317 if (!vp->win_mask) in rk3576_vop2_setup_overlay()
2321 vop2_setup_alpha(vp); in rk3576_vop2_setup_overlay()
2335 vop2_writel(vp->vop2, RK3568_VP_BG_MIX_CTRL(vp->id), in rk3568_vop2_setup_bg_dly()
[all …]
/linux-6.15/drivers/net/ethernet/sun/
H A Dsunvnet.c275 struct vnet *vp; in vnet_new() local
291 vp->dev = dev; in vnet_new()
323 return vp; in vnet_new()
337 vp = NULL; in vnet_find_or_create()
340 vp = iter; in vnet_find_or_create()
344 if (!vp) in vnet_find_or_create()
348 return vp; in vnet_find_or_create()
353 struct vnet *vp; in vnet_cleanup() local
360 dev = vp->dev; in vnet_cleanup()
416 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 …]
/linux-6.15/drivers/hv/
H A Dmshv_root_main.c317 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp()
324 ret = mshv_get_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_suspend_vp()
357 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_run_vp_with_hyp_scheduler()
382 wait_event(vp->run.vp_suspend_queue, vp->run.kicked_by_hv == 1); in mshv_run_vp_with_hyp_scheduler()
438 ret = mshv_set_vp_registers(vp->vp_index, vp->vp_partition->pt_id, in mshv_vp_clear_explicit_suspend()
969 vp = kzalloc(sizeof(*vp), GFP_KERNEL); in mshv_partition_ioctl_create_vp()
970 if (!vp) in mshv_partition_ioctl_create_vp()
1012 kfree(vp); in mshv_partition_ioctl_create_vp()
1715 if (!vp) in drain_all_vps()
1765 if (!vp) in destroy_partition()
[all …]
/linux-6.15/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 …]
/linux-6.15/fs/afs/
H A Dfsclient.c279 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_fetch_status()
293 call->fid = vp->fid; in afs_fs_fetch_status()
456 call->fid = vp->fid; in afs_fs_fetch_data64()
489 call->fid = vp->fid; in afs_fs_fetch_data()
1080 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_store_data64()
1126 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_store_data()
1203 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_setattr_size64()
1246 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_setattr_size()
1291 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_setattr()
2072 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_fetch_acl()
[all …]
H A Dinode.c162 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_inode_init_from_status()
234 if (!vp->scb.have_cb) { in afs_inode_init_from_status()
264 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_apply_status()
297 if (vp->update_ctime) in afs_apply_status()
307 if (vp->dv_before + vp->dv_delta != status->data_version) { in afs_apply_status()
308 trace_afs_dv_mismatch(vnode, vp->dv_before, vp->dv_delta, in afs_apply_status()
315 (unsigned long long)vp->dv_before + vp->dv_delta, in afs_apply_status()
407 if (vp->scb.have_cb) in afs_vnode_commit_status()
421 afs_cache_permit(vnode, op->key, vp->cb_break_before, &vp->scb); in afs_vnode_commit_status()
434 afs_cache_permit(vnode, op->key, vp->cb_break_before, &vp->scb); in afs_fetch_status_success()
[all …]
/linux-6.15/sound/drivers/opl3/
H A Dopl3_midi.c184 if (vp->state) in opl3_get_voice()
200 else if (vp->state) in opl3_get_voice()
204 if (vp->state) in opl3_get_voice()
244 if (vp->state > 0 && vp->note_off_check) { in snd_opl3_timer_func()
247 vp->chan); in snd_opl3_timer_func()
400 if (vp->state > 0) { in snd_opl3_note_on()
562 vp->note = key; in snd_opl3_note_on()
563 vp->chan = chan; in snd_opl3_note_on()
672 if (vp->state > 0 && vp->chan == chan && vp->note == note) { in snd_opl3_note_off_unsafe()
741 snd_opl3_calc_pitch(&fnum, &blocknum, vp->note, vp->chan); in snd_opl3_update_pitch()
[all …]
/linux-6.15/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()
323 mpi_ptr_t vp, mpi_size_t vsize, in mpihelp_mul_karatsuba_case() argument
380 vp, vsize, in mpihelp_mul_karatsuba_case()
445 v_limb = vp[0]; in mpihelp_mul()
[all …]
H A Dmpi-mul.c19 mpi_ptr_t up, vp, wp; in mpi_mul() local
33 vp = u->d; in mpi_mul()
40 vp = v->d; in mpi_mul()
48 if (wp == up || wp == vp) { in mpi_mul()
66 if (wp == vp) in mpi_mul()
67 vp = up; in mpi_mul()
70 } else if (wp == vp) { in mpi_mul()
72 vp = tmp_limb = mpi_alloc_limb_space(vsize); in mpi_mul()
73 if (!vp) in mpi_mul()
76 MPN_COPY(vp, wp, vsize); in mpi_mul()
[all …]

123456