Home
last modified time | relevance | path

Searched refs:pir (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mscc/
Docelot_police.c27 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local
33 pir = conf->pir; in qos_policer_conf_set()
60 pir += conf->cir; in qos_policer_conf_set()
63 if (pir == 0 && pbs == 0) { in qos_policer_conf_set()
67 pir = DIV_ROUND_UP(pir, 100); in qos_policer_conf_set()
68 pir *= 3; /* 33 1/3 kbps */ in qos_policer_conf_set()
75 if (pir >= 100) { in qos_policer_conf_set()
77 pir = DIV_ROUND_UP(pir, 100); in qos_policer_conf_set()
78 pir *= 3; /* 33 1/3 fps */ in qos_policer_conf_set()
84 if (pir == 0 && pbs == 0) { in qos_policer_conf_set()
[all …]
Docelot_police.h28 u32 pir; /* PIR in kbps/fps */ member
Docelot_vcap.c897 pp.pir = pol->rate; in ocelot_vcap_policer_add()
/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c48 __be32 pir; member
123 config->pir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
/drivers/net/ethernet/freescale/enetc/
Denetc_cbdr.c57 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
Denetc.h100 void __iomem *pir; member
Denetc.c1079 cbdr->pir = hw->reg + ENETC_SICBDRPIR; in enetc_setup_cbdr()
/drivers/net/ethernet/renesas/
Dsh_eth.c1179 u32 pir; in sh_mdio_ctrl() local
1184 pir = ioread32(bitbang->addr); in sh_mdio_ctrl()
1186 pir |= mask; in sh_mdio_ctrl()
1188 pir &= ~mask; in sh_mdio_ctrl()
1189 iowrite32(pir, bitbang->addr); in sh_mdio_ctrl()
/drivers/net/can/
Dgrcan.c55 u32 pir; /* 0x10C */ member
992 grcan_read_reg(&regs->pir); in grcan_start()