Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/mscc/
H A 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()
H A Docelot_police.h27 u32 cir; /* CIR in kbps/fps (ignored in SLB mode) */ member
/openbmc/linux/Documentation/devicetree/bindings/media/
H A 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";
/openbmc/linux/drivers/media/rc/
H A 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
H A DKconfig172 module will be called fintek-cir.
262 module will be called ite-cir.
303 module will be called mtk-cir.
316 module will be called nuvoton-cir.
/openbmc/linux/drivers/net/can/cc770/
H A 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()
H A Dcc770_platform.c154 priv->cpu_interface = pdata->cir; in cc770_get_platform_data()
/openbmc/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c107 unsigned short cir; /* Chip Identification Register */ in print_cpuinfo() local
112 cir = mbar_readShort(MCF_CCM_CIR); in print_cpuinfo()
113 pin = cir >> MCF_CCM_CIR_PIN_LEN; in print_cpuinfo()
114 prn = cir & MCF_CCM_CIR_PRN_MASK; in print_cpuinfo()
/openbmc/u-boot/arch/m68k/cpu/mcf5227x/
H A Dcpu.c39 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo()
40 ver = (in_be16(&ccm->cir) & 0x003f); in print_cpuinfo()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A 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()
70 while (enetc_rd_reg(ring->cir) != i) { in enetc_clean_cbdr()
116 if (enetc_rd_reg(ring->cir) == i) in enetc_send_cmd()
H A Denetc_qos.c455 u32 cir; member
878 if (fmi->cir) { in enetc_flowmeter_hw_set()
879 temp = (u64)8000 * fmi->cir; in enetc_flowmeter_hw_set()
883 fmi_config->cir = cpu_to_le32((u32)temp); in enetc_flowmeter_hw_set()
1292 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower()
/openbmc/u-boot/arch/m68k/cpu/mcf523x/
H A Dcpu.c39 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo()
40 ver = (in_be16(&ccm->cir) & 0x003f); in print_cpuinfo()
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/
H A Dcpu.c42 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo()
43 ver = (in_be16(&ccm->cir) & 0x003f); in print_cpuinfo()
/openbmc/u-boot/arch/m68k/cpu/mcf532x/
H A Dcpu.c41 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo()
42 ver = (in_be16(&ccm->cir) & 0x003f); in print_cpuinfo()
/openbmc/linux/include/linux/can/platform/
H A Dcc770.h29 u8 cir; /* CPU Interface Register */ member
/openbmc/u-boot/include/
H A Dstm32_rcc.h63 u32 cir; /* RCC clock interrupt */ member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A 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()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A 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()
/openbmc/u-boot/arch/m68k/include/asm/
H A Dimmap_520x.h90 u16 cir; /* 0x06 Chip ID */ member
H A Dimmap_5235.h202 u16 cir; /* 0x0a Chip identification register */ member
H A Dimmap_5227x.h74 u16 cir; /* Chip Identification (Rd-only) */ member
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623.dtsi311 cir: cir@10013000 { label
312 compatible = "mediatek,mt7623-cir";
1021 cir_pins_a:cir-default {
1022 pins-cir {
/openbmc/linux/sound/pci/hda/
H A Dpatch_cs8409.h297 unsigned int cir; member

12