Home
last modified time | relevance | path

Searched refs:psfp_cap (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc.h214 struct psfp_cap { struct
265 struct psfp_cap psfp_cap; member
339 priv->psfp_cap.max_streamid = reg & ENETC_PSIDCAPR_MSK; in enetc_get_max_cap()
342 priv->psfp_cap.max_psfp_filter = reg & ENETC_PSFCAPR_MSK; in enetc_get_max_cap()
345 priv->psfp_cap.max_psfp_gate = (reg & ENETC_PSGCAPR_SGIT_MSK); in enetc_get_max_cap()
346 priv->psfp_cap.max_psfp_gatelist = (reg & ENETC_PSGCAPR_GCL_MSK) >> 16; in enetc_get_max_cap()
349 priv->psfp_cap.max_psfp_meter = reg & ENETC_PFMCAPR_MSK; in enetc_get_max_cap()
383 memset(&priv->psfp_cap, 0, sizeof(struct psfp_cap)); in enetc_psfp_disable()
397 memset(&((p)->psfp_cap), 0, sizeof(struct psfp_cap))
Denetc_qos.c475 if (sid->index >= priv->psfp_cap.max_streamid) in enetc_streamid_hw_set()
740 if (sgi->num_entries > priv->psfp_cap.max_psfp_gatelist || in enetc_streamgate_hw_set()
951 u32 max_size = priv->psfp_cap.max_psfp_filter; in enetc_get_free_index()
1090 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower()
1182 if (entryg->gate.index >= priv->psfp_cap.max_psfp_gate) { in enetc_psfp_parse_clsflower()
1188 if (entryg->gate.num_entries >= priv->psfp_cap.max_psfp_gatelist) { in enetc_psfp_parse_clsflower()
1385 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower()
1529 epsfp.psfp_sfi_bitmap = bitmap_zalloc(priv->psfp_cap.max_psfp_filter, in enetc_psfp_init()