Home
last modified time | relevance | path

Searched refs:pir (Results 1 – 8 of 8) 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.h29 u32 pir; /* PIR in kbps/fps */ member
Docelot_vcap.c903 pp.pir = pol->rate; in ocelot_vcap_policer_add()
/drivers/net/ethernet/freescale/enetc/
Denetc_cbdr.c28 cbdr->pir = hw->reg + ENETC_SICBDRPIR; in enetc_setup_cbdr()
40 enetc_wr_reg(cbdr->pir, cbdr->next_to_clean); in enetc_setup_cbdr()
111 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
Denetc.h152 void __iomem *pir; member
/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c74 __be32 pir; member
113 config->pir = cpu_to_be32(rate); in nfp_flower_offload_one_police()
/drivers/net/ethernet/renesas/
Dsh_eth.c1181 u32 pir; in sh_mdio_ctrl() local
1186 pir = ioread32(bitbang->addr); in sh_mdio_ctrl()
1188 pir |= mask; in sh_mdio_ctrl()
1190 pir &= ~mask; in sh_mdio_ctrl()
1191 iowrite32(pir, bitbang->addr); in sh_mdio_ctrl()
/drivers/net/can/
Dgrcan.c56 u32 pir; /* 0x10C */ member
991 grcan_read_reg(&regs->pir); in grcan_start()