Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/3com/
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 …]
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()
681 vp->full_bus_master_tx = (vp->capabilities & 0x20) ? 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()
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 …]
/drivers/media/platform/samsung/s3c-camif/
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 …]
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 …]
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 …]
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 …]
A Dcamif-core.c99 const struct camif_fmt *s3c_camif_find_format(struct camif_vp *vp, in s3c_camif_find_format() argument
112 if (vp && !(vp->fmt_flags & fmt->flags)) in s3c_camif_find_format()
143 int s3c_camif_get_scaler_config(struct camif_vp *vp, in s3c_camif_get_scaler_config() argument
146 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; in s3c_camif_get_scaler_config()
149 int target_x = vp->out_frame.rect.width; in s3c_camif_get_scaler_config()
150 int target_y = vp->out_frame.rect.height; in s3c_camif_get_scaler_config()
153 if (vp->rotation == 90 || vp->rotation == 270) in s3c_camif_get_scaler_config()
268 &camif->vp[i - 1].vdev.entity, 0, in camif_create_media_links()
379 struct camif_vp *vp = &camif->vp[i]; in camif_request_irqs() local
381 init_waitqueue_head(&vp->irq_queue); in camif_request_irqs()
[all …]
/drivers/net/ethernet/cisco/enic/
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 …]
A Denic_pp.c58 struct vic_provinfo *vp; in enic_set_port_profile() local
73 vp = vic_provinfo_alloc(GFP_KERNEL, oui, in enic_set_port_profile()
75 if (!vp) in enic_set_port_profile()
78 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile()
93 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile()
98 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile()
104 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile()
111 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile()
116 VIC_PROVINFO_ADD_TLV(vp, in enic_set_port_profile()
121 vic_provinfo_size(vp)); in enic_set_port_profile()
[all …]
A Dvnic_vic.h50 #define VIC_PROVINFO_ADD_TLV(vp, tlvtype, tlvlen, data) \ argument
52 err = vic_provinfo_add_tlv(vp, tlvtype, tlvlen, data); \
63 void vic_provinfo_free(struct vic_provinfo *vp);
64 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length,
66 size_t vic_provinfo_size(struct vic_provinfo *vp);
/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop2.h423 #define RK3568_VP_LINE_FLAG(vp) (0x70 + (vp) * 0x4) argument
430 #define RK3568_VP_INT_EN(vp) (0xA0 + (vp) * 0x10) argument
431 #define RK3568_VP_INT_CLR(vp) (0xA4 + (vp) * 0x10) argument
432 #define RK3568_VP_INT_STATUS(vp) (0xA8 + (vp) * 0x10) argument
433 #define RK3568_VP_INT_RAW_STATUS(vp) (0xAC + (vp) * 0x10) argument
460 #define RK3576_OVL_CTRL(vp) (0x600 + (vp) * 0x100) argument
461 #define RK3576_OVL_LAYER_SEL(vp) (0x604 + (vp) * 0x100) argument
482 #define RK3576_OVL_BG_MIX_CTRL(vp) (0x670 + (vp) * 0x100) argument
529 #define RK3568_VP_BG_MIX_CTRL(vp) (0x6E0 + (vp) * 4) argument
728 #define RK3568_OVL_CTRL__YUV_MODE(vp) BIT(vp) argument
[all …]
A Drockchip_drm_vop2.c971 if (vp->dclk_src) in vop2_crtc_atomic_disable()
972 clk_set_parent(vp->dclk, vp->dclk_src); in vop2_crtc_atomic_disable()
1013 vop2 = vp->vop2; in vop2_plane_atomic_check()
1479 vop2_cfg_done(vp); in vop2_crtc_atomic_set_gamma_rk356x()
1641 vp->id, ret); in vop2_crtc_atomic_enable()
1749 vp->dclk_src = clk_get_parent(vp->dclk); in vop2_crtc_atomic_enable()
1763 vp->dclk_src = clk_get_parent(vp->dclk); in vop2_crtc_atomic_enable()
2178 if (vp->event) { in rk3576_vp_isr()
2251 vp->id); in vop2_isr()
2352 vp->vop2 = vop2; in vop2_create_crtcs()
[all …]
A Drockchip_vop2_reg.c1849 vp = &vop2->vps[i]; in vop2_find_start_mixer_id_for_vp()
2022 if (vp->id == 0) { in vop2_setup_alpha()
2259 vop2_cfg_done(vp); in rk3568_vop2_setup_layer_mixer()
2319 vp->win_mask = 0; in rk3568_vop2_setup_overlay()
2332 if (!vp->win_mask) in rk3568_vop2_setup_overlay()
2336 vop2_setup_alpha(vp); in rk3568_vop2_setup_overlay()
2385 vp->win_mask = 0; in rk3576_vop2_setup_overlay()
2397 if (!vp->win_mask) in rk3576_vop2_setup_overlay()
2401 vop2_setup_alpha(vp); in rk3576_vop2_setup_overlay()
2415 vop2_writel(vp->vop2, RK3568_VP_BG_MIX_CTRL(vp->id), in rk3568_vop2_setup_bg_dly()
[all …]
/drivers/net/ethernet/sun/
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 …]
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 …]
/drivers/hv/
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 …]
A Dmshv_synic.c174 vp->run.kicked_by_hv = 1; in kick_vp()
175 wake_up(&vp->run.vp_suspend_queue); in kick_vp()
222 struct mshv_vp *vp; in handle_bitset_message() local
239 if (unlikely(!vp)) { in handle_bitset_message()
244 kick_vp(vp); in handle_bitset_message()
263 struct mshv_vp *vp; in handle_pair_message() local
288 if (!vp) { in handle_pair_message()
293 kick_vp(vp); in handle_pair_message()
321 struct mshv_vp *vp; in mshv_intercept_isr() local
379 if (unlikely(!vp)) { in mshv_intercept_isr()
[all …]
A Dmshv_eventfd.c120 iv = vp->vp_register_page->interrupt_vectors; in mshv_vp_irq_try_set_vector()
131 if (cmpxchg(&vp->vp_register_page->interrupt_vectors.as_uint64, in mshv_vp_irq_try_set_vector()
138 static int mshv_vp_irq_set_vector(struct mshv_vp *vp, u32 vector) in mshv_vp_irq_set_vector() argument
143 ret = mshv_vp_irq_try_set_vector(vp, vector); in mshv_vp_irq_set_vector()
157 struct mshv_vp *vp; in mshv_try_assert_irq_fast() local
169 vp = partition->pt_vp_array[irq->lapic_apic_id]; in mshv_try_assert_irq_fast()
171 if (!vp->vp_register_page) in mshv_try_assert_irq_fast()
174 if (mshv_vp_irq_set_vector(vp, irq->lapic_vector)) in mshv_try_assert_irq_fast()
177 if (vp->run.flags.root_sched_dispatched && in mshv_try_assert_irq_fast()
178 vp->vp_register_page->interrupt_vectors.as_uint64) in mshv_try_assert_irq_fast()
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
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 …]
/drivers/media/usb/pvrusb2/
A Dpvrusb2-v4l2.c842 if (vp->dev_video) { in pvr2_v4l2_destroy_no_lock()
853 kfree(vp); in pvr2_v4l2_destroy_no_lock()
934 vp = dip->v4lp; in pvr2_v4l2_open()
1168 dip->v4lp = vp; in pvr2_v4l2_dev_init()
1238 vp = kzalloc(sizeof(*vp),GFP_KERNEL); in pvr2_v4l2_create()
1239 if (!vp) return vp; in pvr2_v4l2_create()
1246 vp->dev_video = kzalloc(sizeof(*vp->dev_video),GFP_KERNEL); in pvr2_v4l2_create()
1248 pvr2_v4l2_dev_init(vp->dev_video,vp,VFL_TYPE_VIDEO); in pvr2_v4l2_create()
1251 vp->dev_radio = kzalloc(sizeof(*vp->dev_radio),GFP_KERNEL); in pvr2_v4l2_create()
1253 pvr2_v4l2_dev_init(vp->dev_radio,vp,VFL_TYPE_RADIO); in pvr2_v4l2_create()
[all …]
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
A Dvmem.c191 const t_vmem_elem *vp = from; in isp_vmem_load() local
197 load_vector(ID, &to[c], vp); in isp_vmem_load()
198 vp = (t_vmem_elem *)((char *)vp + ISP_VEC_ALIGN); in isp_vmem_load()
209 t_vmem_elem *vp = to; in isp_vmem_store() local
215 store_vector(ID, vp, &from[c]); in isp_vmem_store()
216 vp = (t_vmem_elem *)((char *)vp + ISP_VEC_ALIGN); in isp_vmem_store()
238 const t_vmem_elem *vp = from; in isp_vmem_2d_load() local
241 load_vector(ID, &to[stride_to * h + c], vp); in isp_vmem_2d_load()
242 vp = (t_vmem_elem *)((char *)vp + ISP_VEC_ALIGN); in isp_vmem_2d_load()
267 t_vmem_elem *vp = to; in isp_vmem_2d_store() local
[all …]
/drivers/net/usb/
A Dnet1080.c135 u16 *vp = kmalloc(sizeof (u16));
137 if (!vp)
150 retval = nc_register_read(dev, reg, vp);
157 kfree(vp);
262 u16 vp; in net1080_reset() local
272 status = vp; in net1080_reset()
279 usbctl = vp; in net1080_reset()
289 ttl = vp; in net1080_reset()
308 u16 vp; in net1080_check_connect() local
310 retval = nc_register_read(dev, REG_STATUS, &vp); in net1080_check_connect()
[all …]
/drivers/video/fbdev/geode/
A Dsuspend_gx.c32 memcpy(par->vp, par->vid_regs, sizeof(par->vp)); in gx_save_regs()
138 for (i = 0; i < ARRAY_SIZE(par->vp); i++) { in gx_restore_video_proc()
142 write_vp(par, i, par->vp[i] & ~VP_VCFG_VID_EN); in gx_restore_video_proc()
147 write_vp(par, i, par->vp[i] & in gx_restore_video_proc()
164 write_vp(par, i, par->vp[i]); in gx_restore_video_proc()
188 write_vp(par, VP_VCFG, par->vp[VP_VCFG] & ~VP_VCFG_VID_EN); in gx_disable_graphics()
189 write_vp(par, VP_DCFG, par->vp[VP_DCFG] & ~(VP_DCFG_DAC_BL_EN | in gx_disable_graphics()
223 write_vp(par, VP_VCFG, par->vp[VP_VCFG]); in gx_enable_graphics()
224 write_vp(par, VP_DCFG, par->vp[VP_DCFG]); in gx_enable_graphics()
/drivers/scsi/sym53c8xx_2/
A Dsym_malloc.c349 m_vtob_p vp = NULL; in __vtobus() local
356 vp = mp->vtob[hc]; in __vtobus()
357 while (vp && vp->vaddr != a) in __vtobus()
358 vp = vp->next; in __vtobus()
360 if (!vp) in __vtobus()
362 b = vp->baddr + (m - a); in __vtobus()
/drivers/scsi/qedf/
A Dqedf_fip.c175 struct fip_vn_desc *vp; in qedf_fip_recv() local
257 vp = (struct fip_vn_desc *)desc; in qedf_fip_recv()
261 ntoh24(vp->fd_fc_id), vp->fd_mac, in qedf_fip_recv()
262 get_unaligned_be64(&vp->fd_wwpn)); in qedf_fip_recv()
266 if ((get_unaligned_be64(&vp->fd_wwpn) == in qedf_fip_recv()
268 (ntoh24(vp->fd_fc_id) == in qedf_fip_recv()
270 (ether_addr_equal(vp->fd_mac, in qedf_fip_recv()

Completed in 739 milliseconds

123