Searched refs:psfp_cap (Results 1 – 2 of 2) sorted by relevance
215 struct psfp_cap { struct266 struct psfp_cap psfp_cap; member346 priv->psfp_cap.max_streamid = reg & ENETC_PSIDCAPR_MSK; in enetc_get_max_cap()349 priv->psfp_cap.max_psfp_filter = reg & ENETC_PSFCAPR_MSK; in enetc_get_max_cap()352 priv->psfp_cap.max_psfp_gate = (reg & ENETC_PSGCAPR_SGIT_MSK); in enetc_get_max_cap()353 priv->psfp_cap.max_psfp_gatelist = (reg & ENETC_PSGCAPR_GCL_MSK) >> 16; in enetc_get_max_cap()356 priv->psfp_cap.max_psfp_meter = reg & ENETC_PFMCAPR_MSK; in enetc_get_max_cap()390 memset(&priv->psfp_cap, 0, sizeof(struct psfp_cap)); in enetc_psfp_disable()404 memset(&((p)->psfp_cap), 0, sizeof(struct psfp_cap))
480 if (sid->index >= priv->psfp_cap.max_streamid) in enetc_streamid_hw_set()749 if (sgi->num_entries > priv->psfp_cap.max_psfp_gatelist || in enetc_streamgate_hw_set()960 u32 max_size = priv->psfp_cap.max_psfp_filter; in enetc_get_free_index()1099 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower()1191 if (entryg->gate.index >= priv->psfp_cap.max_psfp_gate) { in enetc_psfp_parse_clsflower()1197 if (entryg->gate.num_entries >= priv->psfp_cap.max_psfp_gatelist) { in enetc_psfp_parse_clsflower()1394 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower()1561 epsfp.psfp_sfi_bitmap = bitmap_zalloc(priv->psfp_cap.max_psfp_filter, in enetc_psfp_init()