Home
last modified time | relevance | path

Searched refs:vrh (Results 1 – 5 of 5) sorted by relevance

/drivers/vhost/
Dvringh.c38 static inline int __vringh_get_head(const struct vringh *vrh, in __vringh_get_head() argument
39 int (*getu16)(const struct vringh *vrh, in __vringh_get_head() argument
46 err = getu16(vrh, &avail_idx, &vrh->vring.avail->idx); in __vringh_get_head()
49 &vrh->vring.avail->idx); in __vringh_get_head()
54 return vrh->vring.num; in __vringh_get_head()
57 virtio_rmb(vrh->weak_barriers); in __vringh_get_head()
59 i = *last_avail_idx & (vrh->vring.num - 1); in __vringh_get_head()
61 err = getu16(vrh, &head, &vrh->vring.avail->ring[i]); in __vringh_get_head()
64 *last_avail_idx, &vrh->vring.avail->ring[i]); in __vringh_get_head()
68 if (head >= vrh->vring.num) { in __vringh_get_head()
[all …]
/drivers/staging/fbtft/
Dfb_ili9325.c33 static unsigned int vrh = 0x0d; /* VREG1OUT=Vci*1.85 */ variable
34 module_param(vrh, uint, 0000);
35 MODULE_PARM_DESC(vrh, "Set the amplifying rate (1.6 ~ 1.9) of Vci applied to output the VREG1OUT");
89 vrh &= 0x0f; in init_display()
119 write_reg(par, 0x0012, vrh); /* Internal reference voltage= Vci; */ in init_display()
/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c392 struct vringh *vrh = &vq->vring; in vdpasim_set_vq_state() local
395 vrh->last_avail_idx = state->split.avail_index; in vdpasim_set_vq_state()
406 struct vringh *vrh = &vq->vring; in vdpasim_get_vq_state() local
408 state->split.avail_index = vrh->last_avail_idx; in vdpasim_get_vq_state()
/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c838 struct virtchnl_rss_hena vrh; in iavf_set_hena() local
846 vrh.hena = adapter->hena; in iavf_set_hena()
849 iavf_send_pf_msg(adapter, VIRTCHNL_OP_SET_RSS_HENA, (u8 *)&vrh, in iavf_set_hena()
850 sizeof(vrh)); in iavf_set_hena()
1823 struct virtchnl_rss_hena *vrh = (struct virtchnl_rss_hena *)msg; in iavf_virtchnl_completion() local
1825 if (msglen == sizeof(*vrh)) in iavf_virtchnl_completion()
1826 adapter->hena = vrh->hena; in iavf_virtchnl_completion()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3339 struct virtchnl_rss_hena *vrh = NULL; in i40e_vc_get_rss_hena() local
3350 vrh = kzalloc(len, GFP_KERNEL); in i40e_vc_get_rss_hena()
3351 if (!vrh) { in i40e_vc_get_rss_hena()
3356 vrh->hena = i40e_pf_get_default_rss_hena(pf); in i40e_vc_get_rss_hena()
3360 aq_ret, (u8 *)vrh, len); in i40e_vc_get_rss_hena()
3361 kfree(vrh); in i40e_vc_get_rss_hena()
3374 struct virtchnl_rss_hena *vrh = in i40e_vc_set_rss_hena() local
3384 i40e_write_rx_ctl(hw, I40E_VFQF_HENA1(0, vf->vf_id), (u32)vrh->hena); in i40e_vc_set_rss_hena()
3386 (u32)(vrh->hena >> 32)); in i40e_vc_set_rss_hena()