Home
last modified time | relevance | path

Searched refs:cir (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_cbs.c9 u32 cir, cbs; in lan966x_cbs_add() local
19 cir = qopt->idleslope; in lan966x_cbs_add()
25 cir = DIV_ROUND_UP(cir, 100); in lan966x_cbs_add()
27 cir = cir ?: 1; in lan966x_cbs_add()
34 if (cir > GENMASK(15, 0) || in lan966x_cbs_add()
44 lan_wr(QSYS_CIR_CFG_CIR_RATE_SET(cir) | in lan966x_cbs_add()
Dlan966x_tbf.c11 u32 cir, cbs; in lan966x_tbf_add() local
25 cir = div_u64(qopt->replace_params.rate.rate_bytes_ps, 1000) * 8; in lan966x_tbf_add()
29 cir = DIV_ROUND_UP(cir, 100); in lan966x_tbf_add()
31 cir = cir ?: 1; in lan966x_tbf_add()
38 if (cir > GENMASK(15, 0) || in lan966x_tbf_add()
48 lan_wr(QSYS_CIR_CFG_CIR_RATE_SET(cir) | in lan966x_tbf_add()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_police.c27 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local
47 cir = conf->cir; in qos_policer_conf_set()
49 if (cir == 0 && cbs == 0) { in qos_policer_conf_set()
53 cir = DIV_ROUND_UP(cir, 100); in qos_policer_conf_set()
54 cir *= 3; /* 33 1/3 kbps */ in qos_policer_conf_set()
60 pir += conf->cir; in qos_policer_conf_set()
111 if (cir > GENMASK(15, 0)) { in qos_policer_conf_set()
114 pol_ix, cir, GENMASK(15, 0)); in qos_policer_conf_set()
150 ANA_POL_CIR_CFG_CIR_RATE(cir) | in qos_policer_conf_set()
Docelot_police.h27 u32 cir; /* CIR in kbps/fps (ignored in SLB mode) */ member
/linux-6.1.9/Documentation/devicetree/bindings/media/
Dmtk-cir.txt6 "mediatek,mt7623-cir": for MT7623 SoC
7 "mediatek,mt7622-cir": for MT7622 SoC
21 cir: cir@10013000 {
22 compatible = "mediatek,mt7623-cir";
/linux-6.1.9/drivers/media/rc/
DMakefile29 obj-$(CONFIG_IR_FINTEK) += fintek-cir.o
38 obj-$(CONFIG_IR_ITE_CIR) += ite-cir.o
42 obj-$(CONFIG_IR_MTK) += mtk-cir.o
43 obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o
50 obj-$(CONFIG_IR_SUNXI) += sunxi-cir.o
53 obj-$(CONFIG_IR_WINBOND_CIR) += winbond-cir.o
DKconfig170 module will be called fintek-cir.
259 module will be called ite-cir.
299 module will be called mtk-cir.
311 module will be called nuvoton-cir.
/linux-6.1.9/drivers/net/can/cc770/
Dcc770_isa.c72 static u8 cir[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; variable
93 module_param_array(cir, byte, NULL, 0444);
94 MODULE_PARM_DESC(cir, "CPU interface register (default=0x40 [DSC])");
228 if (cir[idx] != 0xff) { in cc770_isa_probe()
229 priv->cpu_interface = cir[idx]; in cc770_isa_probe()
230 } else if (cir[0] != 0xff) { in cc770_isa_probe()
231 priv->cpu_interface = cir[0]; in cc770_isa_probe()
Dcc770_platform.c154 priv->cpu_interface = pdata->cir; in cc770_get_platform_data()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_cbdr.c29 cbdr->cir = hw->reg + ENETC_SICBDRCIR; in enetc_setup_cbdr()
41 enetc_wr_reg(cbdr->cir, cbdr->next_to_use); in enetc_setup_cbdr()
68 while (enetc_rd_reg(ring->cir) != i) { in enetc_clean_cbdr()
114 if (enetc_rd_reg(ring->cir) == i) in enetc_send_cmd()
Denetc_qos.c398 u32 cir; member
821 if (fmi->cir) { in enetc_flowmeter_hw_set()
822 temp = (u64)8000 * fmi->cir; in enetc_flowmeter_hw_set()
826 fmi_config->cir = cpu_to_le32((u32)temp); in enetc_flowmeter_hw_set()
1235 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower()
Denetc.h153 void __iomem *cir; member
/linux-6.1.9/include/linux/can/platform/
Dcc770.h29 u8 cir; /* CPU Interface Register */ member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c52 mlx5e_flow_meter_cir_calc(u64 cir, u8 *man, u8 *exp) in mlx5e_flow_meter_cir_calc() argument
59 m = cir << e; in mlx5e_flow_meter_cir_calc()
66 _delta = cir - _cir; in mlx5e_flow_meter_cir_calc()
/linux-6.1.9/drivers/isdn/hardware/mISDN/
Dw6692.c388 u8 exval, v1, cir; in handle_statusD() local
413 cir = ReadW6692(card, W_CIR); in handle_statusD()
414 pr_debug("%s: ISC CIR %02X\n", card->name, cir); in handle_statusD()
415 if (cir & W_CIR_ICC) { in handle_statusD()
416 v1 = cir & W_CIR_COD_MASK; in handle_statusD()
433 if (cir & W_CIR_SCC) { in handle_statusD()
/linux-6.1.9/arch/arm/boot/dts/
Dmt7623.dtsi312 cir: cir@10013000 { label
313 compatible = "mediatek,mt7623-cir";
1010 cir_pins_a:cir-default {
1011 pins-cir {
Dgemini.dtsi72 cir_default_pins: pinctrl-cir {
74 function = "cir";
Dmt7623n-rfb-emmc.dts134 &cir {
Dmt7623n-bananapi-bpi-r2.dts149 &cir {
/linux-6.1.9/sound/pci/hda/
Dpatch_cs8409.h296 unsigned int cir; member
Dpatch_cs8409.c1050 cs8409_vendor_coef_set(codec, seq->cir, seq->coeff); in cs8409_cs42l42_hw_init()
1054 cs8409_vendor_coef_set(codec, seq_bullseye->cir, seq_bullseye->coeff); in cs8409_cs42l42_hw_init()
1296 cs8409_vendor_coef_set(codec, seq->cir, seq->coeff); in dolphin_hw_init()
/linux-6.1.9/arch/arm64/boot/dts/mediatek/
Dmt7622.dtsi254 cir: cir@10009000 { label
255 compatible = "mediatek,mt7622-cir";
Dmt7622-rfb1.dts96 &cir {
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.h319 u32 policer_id, u64 cir, u32 cbs);
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c75 __be32 cir; member
114 config->cir = cpu_to_be32(rate); in nfp_flower_offload_one_police()

12