/linux/sound/synth/emux/ |
A D | emux_synth.c | 90 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 …]
|
A D | emux_proc.c | 66 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/sound/pci/emu10k1/ |
A D | emu10k1_callback.c | 93 ch = vp->ch; in snd_emu10k1_synth_get_voice() 122 hw = vp->hw; in release_voice() 140 hw = vp->hw; in terminate_voice() 158 hw = vp->hw; in free_voice() 184 hw = vp->hw; in update_voice() 188 snd_emu10k1_ptr_write(hw, IP, vp->ch, vp->apitch); in update_voice() 296 return vp; in get_voice() 317 hw = vp->hw; in start_voice() 318 ch = vp->ch; in start_voice() 357 snd_emu10k1_ptr_write(hw, IP, vp->ch, vp->apitch); in start_voice() [all …]
|
/linux/drivers/net/ethernet/3com/ |
A D | 3c59x.c | 1251 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 …]
|
A D | 3c515.c | 467 if (vp->dev) in cleanup_card() 600 vp->media_override = vp->options & 7; in corkscrew_setup() 603 vp->full_duplex = (vp->options & 8) ? 1 : 0; in corkscrew_setup() 604 vp->bus_master = (vp->options & 16) ? 1 : 0; in corkscrew_setup() 805 vp->cur_rx = vp->dirty_rx = 0; in corkscrew_open() 830 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open() 863 struct corkscrew_private *vp = from_timer(vp, t, timer); in corkscrew_timer() local 967 vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx, in corkscrew_timeout() 974 vp->tx_ring[i].length, vp->tx_ring[i].status); in corkscrew_timeout() 1039 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit() [all …]
|
/linux/arch/um/drivers/ |
A D | vector_kern.c | 354 vp, in vector_enqueue() 883 vp->header_rxbuffer, skb, vp); in vector_legacy_rx() 998 vp in vector_mmsg_rx() 1070 deactivate_fd(vp->fds->rx_fd, vp->rx_irq); in vector_net_start_xmit() 1071 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit() 1072 deactivate_fd(vp->fds->tx_fd, vp->tx_irq); in vector_net_start_xmit() 1099 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit() 1231 vp->fds = uml_vector_user_open(vp->unit, vp->parsed); in vector_net_open() 1241 vp, in vector_net_open() 1257 vp, in vector_net_open() [all …]
|
A D | vector_transports.c | 205 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 …]
|
/linux/sound/isa/sb/ |
A D | emu8000_callback.c | 88 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/drivers/media/platform/s3c-camif/ |
A D | camif-capture.c | 497 vp->buf_index = !vp->buf_index; in buffer_queue() 643 dev_name(vp->camif->dev), vp->id); in s3c_camif_vidioc_querycap() 845 if (vp->owner && vp->owner != priv) in s3c_camif_streamon() 876 if (vp->owner && vp->owner != priv) in s3c_camif_streamoff() 892 vp->id, rb->count, vp->owner, priv); in s3c_camif_reqbufs() 894 if (vp->owner && vp->owner != priv) in s3c_camif_reqbufs() 933 if (vp->owner && vp->owner != priv) in s3c_camif_qbuf() 946 if (vp->owner && vp->owner != priv) in s3c_camif_dqbuf() 958 if (vp->owner && vp->owner != priv) in s3c_camif_create_bufs() 1101 struct camif_vp *vp = &camif->vp[idx]; in s3c_camif_register_video_node() local [all …]
|
A D | camif-regs.c | 223 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 …]
|
A D | camif-core.h | 298 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 …]
|
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); 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 …]
|
/linux/arch/arm/mach-omap2/ |
A D | vp.c | 15 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/drivers/net/ethernet/cisco/enic/ |
A D | vnic_vic.c | 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() 47 kfree(vp); in vic_provinfo_free() 55 if (!vp || !value) in vic_provinfo_add_tlv() 63 ntohl(vp->length) - sizeof(vp->num_tlvs)); in vic_provinfo_add_tlv() 69 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1); in vic_provinfo_add_tlv() 70 vp->length = htonl(ntohl(vp->length) + in vic_provinfo_add_tlv() [all …]
|
/linux/drivers/net/ethernet/sun/ |
A D | sunvnet.c | 289 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 …]
|
A D | ldmvsw.c | 171 struct vnet *vp; in vsw_get_vnet() local 196 vp = NULL; in vsw_get_vnet() 200 vp = iter; in vsw_get_vnet() 205 if (!vp) { in vsw_get_vnet() 206 vp = kzalloc(sizeof(*vp), GFP_KERNEL); in vsw_get_vnet() 223 return vp; in vsw_get_vnet() 281 struct vnet *vp; in vsw_port_probe() local 308 if (IS_ERR(vp)) { in vsw_port_probe() 331 port->vp = vp; in vsw_port_probe() 434 struct vnet *vp; in vsw_cleanup() local [all …]
|
/linux/fs/afs/ |
A D | inode.c | 68 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_inode_init_from_status() 135 if (!vp->scb.have_cb) { in afs_inode_init_from_status() 164 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_apply_status() 197 if (vp->update_ctime) in afs_apply_status() 205 if (vp->dv_before + vp->dv_delta != status->data_version) { in afs_apply_status() 209 (unsigned long long)vp->dv_before + vp->dv_delta, in afs_apply_status() 296 if (vp->scb.have_cb) in afs_vnode_commit_status() 310 afs_cache_permit(vnode, op->key, vp->cb_break_before, &vp->scb); in afs_vnode_commit_status() 323 afs_cache_permit(vnode, op->key, vp->cb_break_before, &vp->scb); in afs_fetch_status_success() 399 vnode->fid = vp->fid; in afs_iget5_set() [all …]
|
A D | fsclient.c | 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() 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 …]
|
/linux/sound/drivers/opl3/ |
A D | opl3_midi.c | 174 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 …]
|
/linux/arch/sh/kernel/cpu/shmobile/ |
A D | pm.c | 82 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/lib/mpi/ |
A D | mpih-mul.c | 24 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 …]
|
A D | mpi-mul.c | 19 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()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_sriov_pf.c | 108 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() 1939 vp = vf_info->vp; in qlcnic_sriov_set_vf_vlan() 2006 vp = sriov->vf_info[vf].vp; in qlcnic_sriov_get_vf_config() [all …]
|
/linux/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-v4l2.c | 866 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() 1190 dip->v4lp = vp; in pvr2_v4l2_dev_init() 1265 vp = kzalloc(sizeof(*vp),GFP_KERNEL); in pvr2_v4l2_create() 1266 if (!vp) return vp; in pvr2_v4l2_create() 1273 vp->dev_video = kzalloc(sizeof(*vp->dev_video),GFP_KERNEL); in pvr2_v4l2_create() 1275 pvr2_v4l2_dev_init(vp->dev_video,vp,VFL_TYPE_VIDEO); in pvr2_v4l2_create() 1278 vp->dev_radio = kzalloc(sizeof(*vp->dev_radio),GFP_KERNEL); in pvr2_v4l2_create() 1280 pvr2_v4l2_dev_init(vp->dev_radio,vp,VFL_TYPE_RADIO); in pvr2_v4l2_create() [all …]
|
/linux/drivers/net/ethernet/neterion/vxge/ |
A D | vxge-traffic.c | 36 if (vp == NULL) { in vxge_hw_vpath_intr_enable() 41 vpath = vp->vpath; in vxge_hw_vpath_intr_enable() 161 if (vp == NULL) { in vxge_hw_vpath_intr_disable() 166 vpath = vp->vpath; in vxge_hw_vpath_intr_disable() 1713 if (vp == NULL) { in vxge_hw_vpath_mac_addr_add() 1775 if (vp == NULL) { in vxge_hw_vpath_mac_addr_get() 1971 if ((vp == NULL) || (vp->vpath->ringh == NULL)) { in vxge_hw_vpath_promisc_enable() 2013 if ((vp == NULL) || (vp->vpath->ringh == NULL)) { in vxge_hw_vpath_promisc_disable() 2047 if ((vp == NULL) || (vp->vpath->ringh == NULL)) { in vxge_hw_vpath_bcast_enable() 2079 if ((vp == NULL) || (vp->vpath->ringh == NULL)) { in vxge_hw_vpath_mcast_enable() [all …]
|