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.c414 struct vringh *vrh = &vq->vring; in vdpasim_set_vq_state() local
417 vrh->last_avail_idx = state->split.avail_index; in vdpasim_set_vq_state()
428 struct vringh *vrh = &vq->vring; in vdpasim_get_vq_state() local
430 state->split.avail_index = vrh->last_avail_idx; in vdpasim_get_vq_state()
/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c1077 struct virtchnl_rss_hena vrh; in iavf_set_hena() local
1085 vrh.hena = adapter->hena; in iavf_set_hena()
1088 iavf_send_pf_msg(adapter, VIRTCHNL_OP_SET_RSS_HENA, (u8 *)&vrh, in iavf_set_hena()
1089 sizeof(vrh)); in iavf_set_hena()
2393 struct virtchnl_rss_hena *vrh = (struct virtchnl_rss_hena *)msg; in iavf_virtchnl_completion() local
2395 if (msglen == sizeof(*vrh)) in iavf_virtchnl_completion()
2396 adapter->hena = vrh->hena; in iavf_virtchnl_completion()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3391 struct virtchnl_rss_hena *vrh = NULL; in i40e_vc_get_rss_hena() local
3402 vrh = kzalloc(len, GFP_KERNEL); in i40e_vc_get_rss_hena()
3403 if (!vrh) { in i40e_vc_get_rss_hena()
3408 vrh->hena = i40e_pf_get_default_rss_hena(pf); in i40e_vc_get_rss_hena()
3412 aq_ret, (u8 *)vrh, len); in i40e_vc_get_rss_hena()
3413 kfree(vrh); in i40e_vc_get_rss_hena()
3426 struct virtchnl_rss_hena *vrh = in i40e_vc_set_rss_hena() local
3436 i40e_write_rx_ctl(hw, I40E_VFQF_HENA1(0, vf->vf_id), (u32)vrh->hena); in i40e_vc_set_rss_hena()
3438 (u32)(vrh->hena >> 32)); in i40e_vc_set_rss_hena()