Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
110 if (cir > GENMASK(15, 0)) { in qos_policer_conf_set()
112 port, cir, GENMASK(15, 0)); in qos_policer_conf_set()
146 ANA_POL_CIR_CFG_CIR_RATE(cir) | in qos_policer_conf_set()
H A Docelot_police.h26 u32 cir; /* CIR in kbps/fps (ignored in SLB mode) */ member
/OK3568_Linux_fs/kernel/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";
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A DMakefile27 obj-$(CONFIG_IR_ITE_CIR) += ite-cir.o
29 obj-$(CONFIG_IR_FINTEK) += fintek-cir.o
31 obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o
37 obj-$(CONFIG_IR_WINBOND_CIR) += winbond-cir.o
46 obj-$(CONFIG_IR_SUNXI) += sunxi-cir.o
50 obj-$(CONFIG_IR_MTK) += mtk-cir.o
H A DKconfig249 module will be called ite-cir.
261 module will be called fintek-cir.
283 module will be called mtk-cir.
296 module will be called nuvoton-cir.
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c105 unsigned short cir; /* Chip Identification Register */ in checkcpu() local
110 cir = mbar_readShort(MCF_CCM_CIR); in checkcpu()
111 pin = cir >> MCF_CCM_CIR_PIN_LEN; in checkcpu()
112 prn = cir & MCF_CCM_CIR_PRN_MASK; in checkcpu()
/OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf5227x/
H A Dcpu.c39 msk = (in_be16(&ccm->cir) >> 6); in checkcpu()
40 ver = (in_be16(&ccm->cir) & 0x003f); in checkcpu()
/OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf523x/
H A Dcpu.c39 msk = (in_be16(&ccm->cir) >> 6); in checkcpu()
40 ver = (in_be16(&ccm->cir) & 0x003f); in checkcpu()
/OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf5445x/
H A Dcpu.c42 msk = (in_be16(&ccm->cir) >> 6); in checkcpu()
43 ver = (in_be16(&ccm->cir) & 0x003f); in checkcpu()
/OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf532x/
H A Dcpu.c41 msk = (in_be16(&ccm->cir) >> 6); in checkcpu()
42 ver = (in_be16(&ccm->cir) & 0x003f); in checkcpu()
/OK3568_Linux_fs/kernel/include/linux/can/platform/
H A Dcc770.h29 u8 cir; /* CPU Interface Register */ member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_cbdr.c14 while (enetc_rd_reg(ring->cir) != i) { in enetc_clean_cbdr()
60 if (enetc_rd_reg(ring->cir) == i) in enetc_send_cmd()
H A Denetc_qos.c409 u32 cir; member
876 if (fmi->cir) { in enetc_flowmeter_hw_set()
877 temp = (u64)8000 * fmi->cir; in enetc_flowmeter_hw_set()
881 fmi_config->cir = cpu_to_le32((u32)temp); in enetc_flowmeter_hw_set()
1246 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-stm32f4/
H A Dstm32.h44 u32 cir; /* RCC clock interrupt */ member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c49 __be32 cir; member
124 config->cir = cpu_to_be32(rate); in nfp_flower_install_rate_limiter()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dmt7623.dtsi312 cir: cir@10013000 { label
313 compatible = "mediatek,mt7623-cir";
975 cir_pins_a:cir-default {
976 pins-cir {
H A Dgemini.dtsi72 cir_default_pins: pinctrl-cir {
74 function = "cir";
/OK3568_Linux_fs/u-boot/arch/m68k/include/asm/
H A Dimmap_520x.h91 u16 cir; /* 0x06 Chip ID */ member
H A Dimmap_5235.h203 u16 cir; /* 0x0a Chip identification register */ member
H A Dimmap_5227x.h75 u16 cir; /* Chip Identification (Rd-only) */ member
/OK3568_Linux_fs/u-boot/arch/arm/mach-stm32/stm32f4/
H A Dclock.c151 writel(0, &STM32_RCC->cir); /* Disable all interrupts */ in configure_clocks()
/OK3568_Linux_fs/u-boot/drivers/clk/
H A Dclk_stm32f7.c125 writel(0, &regs->cir); /* Disable all interrupts */ in configure_clocks()

12