Searched refs:RVU_PFVF_FUNC_MASK (Results 1 - 20 of 20) sorted by relevance

/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_sdp.c40 !(pcifunc & RVU_PFVF_FUNC_MASK));
46 if (!(pcifunc & ~RVU_PFVF_FUNC_MASK))
50 !!(pcifunc & RVU_PFVF_FUNC_MASK));
H A Drvu_cgx.c433 if ((pcifunc & RVU_PFVF_FUNC_MASK) ||
1011 pcifunc & RVU_PFVF_FUNC_MASK)) {
1092 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc &
1093 ~RVU_PFVF_FUNC_MASK)))
1136 err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK,
1275 pcifunc & RVU_PFVF_FUNC_MASK)) {
H A Drvu_npc.c154 if (pf && !(pcifunc & RVU_PFVF_FUNC_MASK)) {
399 (owner & RVU_PFVF_FUNC_MASK) ||
400 !(target_func & RVU_PFVF_FUNC_MASK))
680 pcifunc & ~RVU_PFVF_FUNC_MASK,
704 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK);
754 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
786 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
834 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
864 vf_func = pcifunc & RVU_PFVF_FUNC_MASK;
865 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
[all...]
H A Drvu_npc_hash.h144 (((func) & RVU_PFVF_FUNC_MASK) << RVU_PFVF_FUNC_SHIFT))
H A Drvu.h47 #define RVU_PFVF_FUNC_MASK 0x3FF macro
761 return (!(pcifunc & ~RVU_PFVF_FUNC_MASK) &&
767 return !!(pcifunc & RVU_PFVF_FUNC_MASK);
839 return ((pcifunc & RVU_PFVF_FUNC_MASK) &&
H A Drvu.c292 if (pcifunc & RVU_PFVF_FUNC_MASK) {
357 if (pcifunc & RVU_PFVF_FUNC_MASK) {
426 func = pcifunc & RVU_PFVF_FUNC_MASK;
437 if (pcifunc & RVU_PFVF_FUNC_MASK)
452 if (!(pcifunc & RVU_PFVF_FUNC_MASK))
456 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1;
1484 pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK);
2004 vf = pcifunc & RVU_PFVF_FUNC_MASK;
2039 if ((pcifunc & RVU_PFVF_FUNC_MASK) || is_lbk_vf(rvu, pcifunc))
2042 target = (pcifunc & ~RVU_PFVF_FUNC_MASK) | (re
[all...]
H A Drvu_cn10k.c56 (pcifunc & RVU_PFVF_FUNC_MASK)) * LMT_MAPTBL_ENTRY_SIZE;
74 ((pcifunc & RVU_PFVF_FUNC_MASK) & 0xFF);
H A Drvu_nix.c366 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1;
416 from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK);
426 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1;
1738 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK);
2050 schq = start + (pcifunc & RVU_PFVF_FUNC_MASK);
2105 idx = pcifunc & RVU_PFVF_FUNC_MASK;
2321 if ((TXSCH_MAP_FUNC(txsch->pfvf_map[tl2]) & ~RVU_PFVF_FUNC_MASK) !=
2323 ~RVU_PFVF_FUNC_MASK)))
2463 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) {
2783 pcifunc & RVU_PFVF_FUNC_MASK) {
[all...]
H A Drvu_cpt.c355 if (pcifunc & RVU_PFVF_FUNC_MASK)
367 if (!(pcifunc & RVU_PFVF_FUNC_MASK))
667 } else if (!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK)) {
H A Dmcs_rvu_if.c97 if (pcifunc & RVU_PFVF_FUNC_MASK)
191 if (pcifunc & RVU_PFVF_FUNC_MASK)
H A Drvu_debugfs.c2290 if (!(pcifunc & RVU_PFVF_FUNC_MASK))
2296 (pcifunc & RVU_PFVF_FUNC_MASK) - 1);
2666 if (!(pcifunc & RVU_PFVF_FUNC_MASK))
2672 (pcifunc & RVU_PFVF_FUNC_MASK) - 1);
3014 if (iter->owner & RVU_PFVF_FUNC_MASK) {
3015 vf = (iter->owner & RVU_PFVF_FUNC_MASK) - 1;
3032 if (target & RVU_PFVF_FUNC_MASK) {
3033 vf = (target & RVU_PFVF_FUNC_MASK) - 1;
H A Drvu_npc_fs.c1418 bool from_vf = !!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK);
1477 target = (req->hdr.pcifunc & ~RVU_PFVF_FUNC_MASK) | req->vf;
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_common.h23 (((func) & RVU_PFVF_FUNC_MASK) << RVU_PFVF_FUNC_SHIFT))
H A Dotx2_cptvf_mbox.c94 & RVU_PFVF_FUNC_MASK) - 1;
H A Dotx2_cptpf_mbox.c401 ((vf->vf_id + 1) & RVU_PFVF_FUNC_MASK);
585 RVU_PFVF_FUNC_MASK;
H A Dotx2_cptpf_main.c157 req->pcifunc &= RVU_PFVF_FUNC_MASK;
158 req->pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK;
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c129 req->hdr.pcifunc &= RVU_PFVF_FUNC_MASK;
130 req->hdr.pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK;
474 msg->pcifunc &= RVU_PFVF_FUNC_MASK;
475 msg->pcifunc |= (vf_idx + 1) & RVU_PFVF_FUNC_MASK;
749 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK;
944 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK;
1631 if (!(pf->pcifunc & RVU_PFVF_FUNC_MASK))
1942 if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK))
H A Dotx2_common.h881 #define RVU_PFVF_FUNC_MASK 0x3FF macro
885 return !!(pcifunc & RVU_PFVF_FUNC_MASK);
H A Dotx2_vf.c679 n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK;
H A Dotx2_tc.c474 req->vf = priv->pcifunc & RVU_PFVF_FUNC_MASK;

Completed in 206 milliseconds