Home
last modified time | relevance | path

Searched refs:ecm (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dlaw.c14 law83xx_t *ecm = &immap->sysconf.ddrlaw[0]; in set_ddr_laws() local
28 ecm->bar = start & 0xfffff000; in set_ddr_laws()
29 ecm->ar = (LAWAR_EN | (id << 20) | (LAWAR_SIZE & law_sz_enc)); in set_ddr_laws()
30 debug("DDR:bar=0x%08x\n", ecm->bar); in set_ddr_laws()
31 debug("DDR:ar=0x%08x\n", ecm->ar); in set_ddr_laws()
44 ecm = &immap->sysconf.ddrlaw[1]; in set_ddr_laws()
45 ecm->bar = start & 0xfffff000; in set_ddr_laws()
46 ecm->ar = (LAWAR_EN | (id << 20) | (LAWAR_SIZE & law_sz_enc)); in set_ddr_laws()
47 debug("DDR:bar=0x%08x\n", ecm->bar); in set_ddr_laws()
48 debug("DDR:ar=0x%08x\n", ecm->ar); in set_ddr_laws()
H A Dspd_sdram.c128 volatile law83xx_t *ecm = &immap->sysconf.ddrlaw[0]; in spd_sdram() local
284 ecm->bar = CONFIG_SYS_DDR_SDRAM_BASE & 0xfffff000; in spd_sdram()
285 ecm->ar = (LAWAR_EN | LAWAR_TRGT_IF_DDR | (LAWAR_SIZE & law_size)); in spd_sdram()
286 debug("DDR:bar=0x%08x\n", ecm->bar); in spd_sdram()
287 debug("DDR:ar=0x%08x\n", ecm->ar); in spd_sdram()
/openbmc/openbmc/meta-nvidia/recipes-nvidia/usb-ethernet-init/files/
H A Dusb-ethernet-init.sh21 mkdir functions/ecm.usb0
22 echo "02:B0:2D:00:00:00" > functions/ecm.usb0/dev_addr
23 echo "06:B0:2D:00:00:01" > functions/ecm.usb0/host_addr
24 ln -s functions/ecm.usb0 configs/c.1/
/openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/
H A Dusb-network.sh48 mkdir -p functions/ecm.usb0
49 cat $dev_mac_path > functions/ecm.usb0/dev_addr # write device mac address
50 cat $host_mac_path > functions/ecm.usb0/host_addr # write usb mac address
52 ln -s functions/ecm.usb0 configs/c.1
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbg/
H A Dlibusbg_git.bb17 ALTERNATIVE:${PN} = "gadget-acm-ecm show-gadgets"
18 ALTERNATIVE_LINK_NAME[gadget-acm-ecm] = "${bindir}/gadget-acm-ecm"
/openbmc/openbmc/meta-bytedance/recipes-bytedance/usb-network/files/
H A Dusb_network.service8 ExecStart=/usr/bin/usb-ctrl ecm usbeth0 on
9 ExecStop=/usr/bin/usb-ctrl ecm usbeth0 off
/openbmc/openbmc/meta-ampere/meta-common/recipes-ampere/network/ampere-usbnet/
H A Dampere_usbnet.sh12 /usr/bin/usb-ctrl ecm usbnet off
13 /usr/bin/usb-ctrl ecm usbnet on "06:$SUBMAC:01" "06:$SUBMAC:00"
/openbmc/openbmc/meta-ufispace/meta-common/recipes-phosphor/network/usb-network/
H A Dusb-network.sh20 mkdir -p functions/ecm.usb0
22 ln -s functions/ecm.usb0 configs/c.1
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/network/usb-network/
H A Dusb_network.sh20 mkdir -p functions/ecm.usb0
22 ln -s functions/ecm.usb0 configs/c.1
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dmp.c333 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in plat_mp_up() local
340 out_be32(&ecm->bptr, 0x80000000 | (bootpg >> 12)); in plat_mp_up()
352 bpcr = in_be32(&ecm->eebpcr); in plat_mp_up()
354 out_be32(&ecm->eebpcr, bpcr); in plat_mp_up()
401 clrbits_be32(&ecm->bptr, 0x80000000); in plat_mp_up()
H A Dcpu_init.c446 ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in cpu_init_f() local
456 out_be32(&ecm->eebpcr, in_be32(&ecm->eebpcr) | (1 << 16)); in cpu_init_f()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/
H A Dlibusbgx_git.bb59 ALTERNATIVE:${PN}-examples = "${@bb.utils.contains('PACKAGECONFIG', 'examples', 'gadget-acm-ecm sho…
60 ALTERNATIVE_LINK_NAME[gadget-acm-ecm] = "${bindir}/gadget-acm-ecm"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbg/libusbg/
H A D0001-Fix-out-of-tree-builds.patch21 bin_PROGRAMS = show-gadgets gadget-acm-ecm
22 gadget_acm_ecm_SOURCES = gadget-acm-ecm.c
/openbmc/u-boot/board/sbc8548/
H A Dsbc8548.c35 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in checkboard() local
46 out_be32(&ecm->eedr, 0xffffffff); /* clear ecm errors */ in checkboard()
47 out_be32(&ecm->eeer, 0xffffffff); /* enable ecm errors */ in checkboard()
/openbmc/u-boot/board/freescale/mpc8544ds/
H A Dmpc8544ds.c29 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in checkboard() local
49 ecm->eedr = 0xffffffff; /* Clear ecm errors */ in checkboard()
50 ecm->eeer = 0xffffffff; /* Enable ecm errors */ in checkboard()
/openbmc/u-boot/board/freescale/mpc8548cds/
H A Dmpc8548cds.c32 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in checkboard() local
55 ecm->eedr = 0xffffffff; /* clear ecm errors */ in checkboard()
56 ecm->eeer = 0xffffffff; /* enable ecm errors */ in checkboard()
/openbmc/u-boot/board/socrates/
H A Dsocrates.c137 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in local_bus_init() local
158 out_be32 (&ecm->eedr, 0xffffffff); /* Clear ecm errors */ in local_bus_init()
159 out_be32 (&ecm->eeer, 0xffffffff); /* Enable ecm errors */ in local_bus_init()
/openbmc/phosphor-misc/usb-ctrl/
H A Dusb-ctrl204 ecm|eem|rndis)
295 ecm|eem|rndis)
/openbmc/u-boot/drivers/ddr/fsl/
H A Dmpc85xx_ddr_gen3.c34 volatile ccsr_local_ecm_t *ecm = (void *)CONFIG_SYS_MPC85xx_ECM_ADDR; in fsl_ddr_set_memctl_regs() local
360 setbits_be32(&ecm->eebacr, 0x10000000); in fsl_ddr_set_memctl_regs()
361 debug("Setting EEBACR[3] to 0x%08x\n", in_be32(&ecm->eebacr)); in fsl_ddr_set_memctl_regs()
519 clrbits_be32(&ecm->eebacr, 10000000); in fsl_ddr_set_memctl_regs()
520 debug("Clearing EEBACR[3] to 0x%08x\n", in_be32(&ecm->eebacr)); in fsl_ddr_set_memctl_regs()