Searched refs:vp (Results 1 - 25 of 47) sorted by relevance

12

/drivers/net/ethernet/cisco/enic/
H A Dvnic_vic.c29 struct vic_provinfo *vp; local
34 vp = kzalloc(VIC_PROVINFO_MAX_DATA, flags);
35 if (!vp)
38 memcpy(vp->oui, oui, sizeof(vp->oui));
39 vp->type = type;
40 vp->length = htonl(sizeof(vp->num_tlvs));
42 return vp;
45 void vic_provinfo_free(struct vic_provinfo *vp) argument
50 vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, const void *value) argument
76 vic_provinfo_size(struct vic_provinfo *vp) argument
[all...]
H A Dvnic_vic.h65 #define VIC_PROVINFO_ADD_TLV(vp, tlvtype, tlvlen, data) \
67 err = vic_provinfo_add_tlv(vp, tlvtype, tlvlen, data); \
78 void vic_provinfo_free(struct vic_provinfo *vp);
79 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length,
81 size_t vic_provinfo_size(struct vic_provinfo *vp);
H A Denic_pp.c73 struct vic_provinfo *vp; local
88 vp = vic_provinfo_alloc(GFP_KERNEL, oui,
90 if (!vp)
93 VIC_PROVINFO_ADD_TLV(vp,
108 VIC_PROVINFO_ADD_TLV(vp,
113 VIC_PROVINFO_ADD_TLV(vp,
119 VIC_PROVINFO_ADD_TLV(vp,
126 VIC_PROVINFO_ADD_TLV(vp,
131 VIC_PROVINFO_ADD_TLV(vp,
135 ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnic_dev_init_prov2, (u8 *)vp,
[all...]
H A Denic_dev.h58 int enic_dev_init_prov2(struct enic *enic, struct vic_provinfo *vp);
H A Denic_dev.c191 int enic_dev_init_prov2(struct enic *enic, struct vic_provinfo *vp) argument
197 (u8 *)vp, vic_provinfo_size(vp));
/drivers/net/ethernet/3com/
H A D3c59x.c584 /* Chip features we care about in vp->capabilities, read from the EEPROM. */
662 static void window_set(struct vortex_private *vp, int window) argument
664 if (window != vp->window) {
665 iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD);
666 vp->window = window;
672 window_read ## size(struct vortex_private *vp, int window, int addr) \
676 spin_lock_irqsave(&vp->window_lock, flags); \
677 window_set(vp, window); \
678 ret = ioread ## size(vp->ioaddr + addr); \
679 spin_unlock_irqrestore(&vp
844 struct vortex_private *vp = netdev_priv(dev); local
938 struct vortex_private *vp; local
1095 struct vortex_private *vp; local
1502 struct vortex_private *vp = netdev_priv(dev); local
1529 struct vortex_private *vp = netdev_priv(dev); local
1545 struct vortex_private *vp = netdev_priv(dev); local
1562 struct vortex_private *vp = netdev_priv(dev); local
1741 struct vortex_private *vp = netdev_priv(dev); local
1803 struct vortex_private *vp = netdev_priv(dev); local
1900 struct vortex_private *vp = netdev_priv(dev); local
1966 struct vortex_private *vp = netdev_priv(dev); local
2070 struct vortex_private *vp = netdev_priv(dev); local
2128 struct vortex_private *vp = netdev_priv(dev); local
2236 struct vortex_private *vp = netdev_priv(dev); local
2351 struct vortex_private *vp = netdev_priv(dev); local
2479 struct vortex_private *vp = netdev_priv(dev); local
2548 struct vortex_private *vp = netdev_priv(dev); local
2648 struct vortex_private *vp = netdev_priv(dev); local
2663 struct vortex_private *vp = netdev_priv(dev); local
2703 struct vortex_private *vp = netdev_priv(dev); local
2765 struct vortex_private *vp = netdev_priv(dev); local
2800 struct vortex_private *vp = netdev_priv(dev); local
2821 struct vortex_private *vp = netdev_priv(dev); local
2857 struct vortex_private *vp = netdev_priv(dev); local
2864 struct vortex_private *vp = netdev_priv(dev); local
2871 struct vortex_private *vp = netdev_priv(dev); local
2899 struct vortex_private *vp = netdev_priv(dev); local
2930 struct vortex_private *vp = netdev_priv(dev); local
2948 struct vortex_private *vp = netdev_priv(dev); local
2962 struct vortex_private *vp = netdev_priv(dev); local
3001 struct vortex_private *vp = netdev_priv(dev); local
3025 struct vortex_private *vp = netdev_priv(dev); local
3051 struct vortex_private *vp = netdev_priv(dev); local
3097 mdio_delay(struct vortex_private *vp) argument
3111 mdio_sync(struct vortex_private *vp, int bits) argument
3126 struct vortex_private *vp = netdev_priv(dev); local
3163 struct vortex_private *vp = netdev_priv(dev); local
3197 struct vortex_private *vp = netdev_priv(dev); local
3228 struct vortex_private *vp; local
3296 struct vortex_private *vp; local
[all...]
H A D3c515.c474 struct corkscrew_private *vp = netdev_priv(dev); local
475 list_del_init(&vp->list);
480 if (vp->dev)
481 pnp_device_detach(to_pnp_dev(vp->dev));
582 struct corkscrew_private *vp = netdev_priv(dev); local
590 vp->dev = &idev->dev;
601 vp->product_name = "3c515";
602 vp->options = dev->mem_start;
603 vp->our_dev = dev;
605 if (!vp
710 struct corkscrew_private *vp = netdev_priv(dev); local
877 struct corkscrew_private *vp = netdev_priv(dev); local
968 struct corkscrew_private *vp = netdev_priv(dev); local
1005 struct corkscrew_private *vp = netdev_priv(dev); local
1333 struct corkscrew_private *vp = netdev_priv(dev); local
1421 struct corkscrew_private *vp = netdev_priv(dev); local
1475 struct corkscrew_private *vp = netdev_priv(dev); local
1574 struct corkscrew_private *vp; local
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c165 struct pvr2_v4l2 *vp = fh->vhead; local
187 ret = v4l2_prio_check(&vp->prio, fh->prio);
210 *p = v4l2_prio_max(&vp->prio);
219 ret = v4l2_prio_change(&vp->prio, &fh->prio, *prio);
924 static void pvr2_v4l2_destroy_no_lock(struct pvr2_v4l2 *vp) argument
926 if (vp->dev_video) {
927 pvr2_v4l2_dev_destroy(vp->dev_video);
928 vp->dev_video = NULL;
930 if (vp->dev_radio) {
931 pvr2_v4l2_dev_destroy(vp
951 struct pvr2_v4l2 *vp; local
972 struct pvr2_v4l2 *vp = fhp->vhead; local
1021 struct pvr2_v4l2 *vp; local
1259 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, struct pvr2_v4l2 *vp, int v4l_type) argument
1330 struct pvr2_v4l2 *vp; local
[all...]
H A Dpvrusb2-hdw.c358 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) argument
362 *vp = hdw->freqTable[hdw->freqProgSlot-1];
364 *vp = 0;
391 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) argument
393 *vp = cptr->hdw->freqProgSlot;
406 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) argument
409 *vp = hdw->freqSelector ? hdw->freqSlotRadio : hdw->freqSlotTelevision;
431 static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) argument
433 *vp = pvr2_hdw_get_cur_freq(cptr->hdw);
645 static int ctrl_vres_max_get(struct pvr2_ctrl *cptr,int *vp) argument
656 ctrl_vres_min_get(struct pvr2_ctrl *cptr,int *vp) argument
667 ctrl_get_input(struct pvr2_ctrl *cptr,int *vp) argument
694 ctrl_freq_max_get(struct pvr2_ctrl *cptr, int *vp) argument
716 ctrl_freq_min_get(struct pvr2_ctrl *cptr, int *vp) argument
749 ctrl_cx2341x_get(struct pvr2_ctrl *cptr,int *vp) argument
822 ctrl_streamingenabled_get(struct pvr2_ctrl *cptr,int *vp) argument
828 ctrl_masterstate_get(struct pvr2_ctrl *cptr,int *vp) argument
834 ctrl_hsm_get(struct pvr2_ctrl *cptr,int *vp) argument
843 ctrl_stdavail_get(struct pvr2_ctrl *cptr,int *vp) argument
883 ctrl_stdcur_get(struct pvr2_ctrl *cptr,int *vp) argument
912 ctrl_signal_get(struct pvr2_ctrl *cptr,int *vp) argument
920 ctrl_audio_modes_present_get(struct pvr2_ctrl *cptr,int *vp) argument
959 ctrl_stdenumcur_get(struct pvr2_ctrl *cptr,int *vp) argument
[all...]
/drivers/net/ethernet/sun/
H A Dsunvnet.c61 struct net_device *dev = port->vp->dev;
200 struct net_device *dev = port->vp->dev;
436 struct vnet *vp; local
448 vp = port->vp;
449 dev = vp->dev;
469 port->vp->dev->name,
478 static void maybe_tx_wakeup(struct vnet *vp) argument
480 struct net_device *dev = vp->dev;
487 list_for_each_entry(port, &vp
613 __tx_port_find(struct vnet *vp, struct sk_buff *skb) argument
631 tx_port_find(struct vnet *vp, struct sk_buff *skb) argument
645 struct vnet *vp = netdev_priv(dev); local
750 __vnet_mc_find(struct vnet *vp, u8 *addr) argument
761 __update_mc_list(struct vnet *vp, struct net_device *dev) argument
787 __send_mc_list(struct vnet *vp, struct vnet_port *port) argument
852 struct vnet *vp = netdev_priv(dev); local
891 struct vnet *vp = netdev_priv(dev); local
897 struct vnet *vp = netdev_priv(dev); local
1026 struct vnet *vp; local
1075 struct vnet *iter, *vp; local
1144 struct vnet *vp; local
1235 struct vnet *vp = port->vp; local
[all...]
H A Dsunvnet.h36 struct vnet *vp; member in struct:vnet_port
/drivers/net/usb/
H A Dnet1080.c156 u16 *vp = kmalloc(sizeof (u16));
158 if (!vp) {
173 retval = nc_register_read(dev, reg, vp);
179 dev->net->name, reg, *vp);
181 kfree(vp);
294 u16 *vp = kmalloc(sizeof (u16), GFP_KERNEL); local
297 if (!vp)
302 if ((retval = nc_register_read(dev, REG_STATUS, vp)) < 0) {
307 status = *vp;
310 if ((retval = nc_register_read(dev, REG_USBCTL, vp)) <
345 u16 *vp = kmalloc(sizeof (u16), GFP_KERNEL); local
[all...]
/drivers/video/geode/
H A Dsuspend_gx.c38 memcpy(par->vp, par->vid_regs, sizeof(par->vp));
144 for (i = 0; i < ARRAY_SIZE(par->vp); i++) {
148 write_vp(par, i, par->vp[i] & ~VP_VCFG_VID_EN);
153 write_vp(par, i, par->vp[i] &
170 write_vp(par, i, par->vp[i]);
194 write_vp(par, VP_VCFG, par->vp[VP_VCFG] & ~VP_VCFG_VID_EN);
195 write_vp(par, VP_DCFG, par->vp[VP_DCFG] & ~(VP_DCFG_DAC_BL_EN |
229 write_vp(par, VP_VCFG, par->vp[VP_VCFG]);
230 write_vp(par, VP_DCFG, par->vp[VP_DCF
[all...]
/drivers/net/ethernet/neterion/vxge/
H A Dvxge-traffic.c23 * @vp: Virtual Path handle.
30 enum vxge_hw_status vxge_hw_vpath_intr_enable(struct __vxge_hw_vpath_handle *vp) argument
37 if (vp == NULL) {
42 vpath = vp->vpath;
149 * @vp: Virtual Path handle.
157 struct __vxge_hw_vpath_handle *vp)
164 if (vp == NULL) {
169 vpath = vp->vpath;
1739 * @vp: Vpath handle.
1753 struct __vxge_hw_vpath_handle *vp,
156 vxge_hw_vpath_intr_disable( struct __vxge_hw_vpath_handle *vp) argument
1752 vxge_hw_vpath_mac_addr_add( struct __vxge_hw_vpath_handle *vp, u8 (macaddr)[ETH_ALEN], u8 (macaddr_mask)[ETH_ALEN], enum vxge_hw_vpath_mac_addr_add_mode duplicate_mode) argument
1815 vxge_hw_vpath_mac_addr_get( struct __vxge_hw_vpath_handle *vp, u8 (macaddr)[ETH_ALEN], u8 (macaddr_mask)[ETH_ALEN]) argument
1867 vxge_hw_vpath_mac_addr_get_next( struct __vxge_hw_vpath_handle *vp, u8 (macaddr)[ETH_ALEN], u8 (macaddr_mask)[ETH_ALEN]) argument
1920 vxge_hw_vpath_mac_addr_delete( struct __vxge_hw_vpath_handle *vp, u8 (macaddr)[ETH_ALEN], u8 (macaddr_mask)[ETH_ALEN]) argument
1965 vxge_hw_vpath_vid_add(struct __vxge_hw_vpath_handle *vp, u64 vid) argument
1993 vxge_hw_vpath_vid_get(struct __vxge_hw_vpath_handle *vp, u64 *vid) argument
2025 vxge_hw_vpath_vid_delete(struct __vxge_hw_vpath_handle *vp, u64 vid) argument
2050 vxge_hw_vpath_promisc_enable( struct __vxge_hw_vpath_handle *vp) argument
2092 vxge_hw_vpath_promisc_disable( struct __vxge_hw_vpath_handle *vp) argument
2126 vxge_hw_vpath_bcast_enable( struct __vxge_hw_vpath_handle *vp) argument
2158 vxge_hw_vpath_mcast_enable( struct __vxge_hw_vpath_handle *vp) argument
2192 vxge_hw_vpath_mcast_disable(struct __vxge_hw_vpath_handle *vp) argument
2223 vxge_hw_vpath_alarm_process( struct __vxge_hw_vpath_handle *vp, u32 skip_alarms) argument
2252 vxge_hw_vpath_msix_set(struct __vxge_hw_vpath_handle *vp, int *tim_msix_id, int alarm_msix_id) argument
2298 vxge_hw_vpath_msix_mask(struct __vxge_hw_vpath_handle *vp, int msix_id) argument
2318 vxge_hw_vpath_msix_clear(struct __vxge_hw_vpath_handle *vp, int msix_id) argument
2345 vxge_hw_vpath_msix_unmask(struct __vxge_hw_vpath_handle *vp, int msix_id) argument
2361 vxge_hw_vpath_inta_mask_tx_rx(struct __vxge_hw_vpath_handle *vp) argument
2399 vxge_hw_vpath_inta_unmask_tx_rx(struct __vxge_hw_vpath_handle *vp) argument
[all...]
H A Dvxge-config.c2789 __vxge_hw_ring_delete(struct __vxge_hw_vpath_handle *vp) argument
2791 struct __vxge_hw_ring *ring = vp->vpath->ringh;
2798 vp->vpath->ringh = NULL;
2809 __vxge_hw_ring_create(struct __vxge_hw_vpath_handle *vp, argument
2822 if ((vp == NULL) || (attr == NULL)) {
2827 hldev = vp->vpath->hldev;
2828 vp_id = vp->vpath->vp_id;
2835 ring = (struct __vxge_hw_ring *)__vxge_hw_channel_allocate(vp,
2845 vp->vpath->ringh = ring;
2847 ring->vp_reg = vp
3394 __vxge_hw_fifo_delete(struct __vxge_hw_vpath_handle *vp) argument
3457 __vxge_hw_fifo_create(struct __vxge_hw_vpath_handle *vp, struct vxge_hw_fifo_attr *attr) argument
3652 __vxge_hw_vpath_rts_table_get(struct __vxge_hw_vpath_handle *vp, u32 action, u32 rts_table, u32 offset, u64 *data0, u64 *data1) argument
3692 __vxge_hw_vpath_rts_table_set(struct __vxge_hw_vpath_handle *vp, u32 action, u32 rts_table, u32 offset, u64 steer_data0, u64 steer_data1) argument
3720 vxge_hw_vpath_rts_rth_set( struct __vxge_hw_vpath_handle *vp, enum vxge_hw_rth_algoritms algorithm, struct vxge_hw_rth_hash_types *hash_type, u16 bucket_size) argument
3826 struct __vxge_hw_vpath_handle *vp = vpath_handles[0]; local
4718 vxge_hw_vpath_mtu_set(struct __vxge_hw_vpath_handle *vp, u32 new_mtu) argument
4754 vxge_hw_vpath_stats_enable(struct __vxge_hw_vpath_handle *vp) argument
4818 struct __vxge_hw_vpath_handle *vp; local
4918 vxge_hw_vpath_rx_doorbell_init(struct __vxge_hw_vpath_handle *vp) argument
4981 vxge_hw_vpath_close(struct __vxge_hw_vpath_handle *vp) argument
5032 vxge_hw_vpath_reset(struct __vxge_hw_vpath_handle *vp) argument
5058 vxge_hw_vpath_recover_from_reset(struct __vxge_hw_vpath_handle *vp) argument
5110 vxge_hw_vpath_enable(struct __vxge_hw_vpath_handle *vp) argument
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c362 m_vtob_p vp = NULL; local
369 vp = mp->vtob[hc];
370 while (vp && vp->vaddr != a)
371 vp = vp->next;
373 if (!vp)
375 b = vp->baddr + (m - a);
/drivers/gpu/drm/exynos/
H A Dexynos_mixer.h65 struct clk *vp; member in struct:mixer_resources
82 /** vp enabled status */
85 /** mixer and vp resources */
/drivers/block/aoe/
H A Daoemain.c21 discover_timer(ulong vp) argument
29 switch (vp) {
H A Daoeblk.c253 aoeblk_gdalloc(void *vp) argument
255 struct aoedev *d = vp;
/drivers/media/video/zoran/
H A Dzoran_device.h58 struct v4l2_clip *vp,
/drivers/media/video/s5p-tv/
H A Dmixer_drv.c174 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "vp");
231 if (!IS_ERR_OR_NULL(res->vp))
232 clk_put(res->vp);
247 res->vp = clk_get(dev, "vp");
248 if (IS_ERR_OR_NULL(res->vp)) {
249 mxr_err(mdev, "failed to get clock 'vp'\n");
343 clk_enable(res->vp);
361 clk_disable(res->vp);
/drivers/net/wireless/
H A Dmac80211_hwsim.c167 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; local
168 WARN_ON(vp->magic != HWSIM_VIF_MAGIC);
173 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; local
174 vp->magic = HWSIM_VIF_MAGIC;
179 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; local
180 vp->magic = 0;
872 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; local
882 memcpy(vp->bssid, info->bssid, ETH_ALEN);
888 vp->assoc = info->assoc;
889 vp
1255 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; local
1293 struct hwsim_vif_priv *vp = (void *)vif->drv_priv; local
[all...]
/drivers/ata/
H A Dpata_via.c393 struct via_port *vp = ap->private_data; local
406 vp->cached_device = tf->device;
408 iowrite8(vp->cached_device, ioaddr->device_addr);
444 struct via_port *vp; local
451 vp = devm_kzalloc(&pdev->dev, sizeof(struct via_port), GFP_KERNEL);
452 if (vp == NULL)
454 ap->private_data = vp;
/drivers/input/touchscreen/
H A Dintel-mid-touch.c138 static int mrstouch_ts_chan_read(u16 offset, u16 chan, u16 *vp, u16 *vm) argument
155 *vp = (res & 0xFF) << 3; /* Highest 7 bits */
156 *vp |= (res >> 8) & 0x07; /* Lower 3 bits */
157 *vp &= 0x3FF;
/drivers/scsi/qla2xxx/
H A Dqla_init.c1803 struct scsi_qla_host *vp; local
1835 list_for_each_entry(vp, &ha->vp_list, list) {
1836 vp->rscn_in_ptr = 0;
1837 vp->rscn_out_ptr = 0;
3181 struct scsi_qla_host *vp, *base_vha = pci_get_drvdata(ha->pdev); local
3300 list_for_each_entry_safe(vp, tvp, &ha->vp_list, list) {
3301 if (new_fcport->d_id.b24 == vp->d_id.b24) {
3428 struct scsi_qla_host *vp; local
3457 list_for_each_entry_safe(vp, tvp, &ha->vp_list, list) {
3458 list_for_each_entry(fcport, &vp
3948 struct scsi_qla_host *vp; local
3972 struct scsi_qla_host *vp; local
4067 struct scsi_qla_host *vp; local
5395 struct scsi_qla_host *vp; local
[all...]

Completed in 1788 milliseconds

12