Searched refs:pir (Results 1 – 9 of 9) sorted by relevance
27 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local33 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 …]
28 u32 pir; /* PIR in kbps/fps */ member
897 pp.pir = pol->rate; in ocelot_vcap_policer_add()
48 __be32 pir; member123 config->pir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
57 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
100 void __iomem *pir; member
1079 cbdr->pir = hw->reg + ENETC_SICBDRPIR; in enetc_setup_cbdr()
1179 u32 pir; in sh_mdio_ctrl() local1184 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()
55 u32 pir; /* 0x10C */ member992 grcan_read_reg(®s->pir); in grcan_start()