Searched refs:pir (Results 1 – 8 of 8) 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 …]
29 u32 pir; /* PIR in kbps/fps */ member
903 pp.pir = pol->rate; in ocelot_vcap_policer_add()
28 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()
152 void __iomem *pir; member
74 __be32 pir; member113 config->pir = cpu_to_be32(rate); in nfp_flower_offload_one_police()
1181 u32 pir; in sh_mdio_ctrl() local1186 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()
56 u32 pir; /* 0x10C */ member991 grcan_read_reg(®s->pir); in grcan_start()