Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/enetc/
Denetc.h309 struct psfp_cap { struct
374 struct psfp_cap psfp_cap; member
515 priv->psfp_cap.max_streamid = reg & ENETC_PSIDCAPR_MSK; in enetc_get_max_cap()
518 priv->psfp_cap.max_psfp_filter = reg & ENETC_PSFCAPR_MSK; in enetc_get_max_cap()
521 priv->psfp_cap.max_psfp_gate = (reg & ENETC_PSGCAPR_SGIT_MSK); in enetc_get_max_cap()
522 priv->psfp_cap.max_psfp_gatelist = (reg & ENETC_PSGCAPR_GCL_MSK) >> 16; in enetc_get_max_cap()
525 priv->psfp_cap.max_psfp_meter = reg & ENETC_PFMCAPR_MSK; in enetc_get_max_cap()
559 memset(&priv->psfp_cap, 0, sizeof(struct psfp_cap)); in enetc_psfp_disable()
574 memset(&((p)->psfp_cap), 0, sizeof(struct psfp_cap))
Denetc_qos.c528 if (sid->index >= priv->psfp_cap.max_streamid) in enetc_streamid_hw_set()
766 if (sgi->num_entries > priv->psfp_cap.max_psfp_gatelist || in enetc_streamgate_hw_set()
962 u32 max_size = priv->psfp_cap.max_psfp_filter; in enetc_get_free_index()
1141 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower()
1233 if (entryg->hw_index >= priv->psfp_cap.max_psfp_gate) { in enetc_psfp_parse_clsflower()
1239 if (entryg->gate.num_entries >= priv->psfp_cap.max_psfp_gatelist) { in enetc_psfp_parse_clsflower()
1440 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower()
1607 epsfp.psfp_sfi_bitmap = bitmap_zalloc(priv->psfp_cap.max_psfp_filter, in enetc_psfp_init()