Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.h306 struct psfp_cap {
372 struct psfp_cap psfp_cap;
513 priv->psfp_cap.max_streamid = reg & ENETC_PSIDCAPR_MSK; in enetc_get_max_cap()
516 priv->psfp_cap.max_psfp_filter = reg & ENETC_PSFCAPR_MSK; in enetc_get_max_cap()
519 priv->psfp_cap.max_psfp_gate = (reg & ENETC_PSGCAPR_SGIT_MSK); in enetc_get_max_cap()
520 priv->psfp_cap.max_psfp_gatelist = (reg & ENETC_PSGCAPR_GCL_MSK) >> 16; in enetc_get_max_cap()
523 priv->psfp_cap.max_psfp_meter = reg & ENETC_PFMCAPR_MSK; in enetc_get_max_cap()
557 memset(&priv->psfp_cap, 0, sizeof(struct psfp_cap)); in enetc_psfp_disable()
309 struct psfp_cap { global() struct
310 max_streamidpsfp_cap global() argument
311 max_psfp_filterpsfp_cap global() argument
312 max_psfp_gatepsfp_cap global() argument
313 max_psfp_gatelistpsfp_cap global() argument
314 max_psfp_meterpsfp_cap global() argument
375 struct psfp_cap psfp_cap; global() member
[all...]
H A 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()