/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_ecm.c | 364 static void ecm_do_notify(struct f_ecm *ecm) in ecm_do_notify() argument 366 struct usb_request *req = ecm->notify_req; in ecm_do_notify() 368 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify() 373 if (atomic_read(&ecm->notify_count)) in ecm_do_notify() 377 switch (ecm->notify_state) { in ecm_do_notify() 383 if (ecm->is_open) in ecm_do_notify() 391 ecm->is_open ? "true" : "false"); in ecm_do_notify() 392 ecm->notify_state = ECM_NOTIFY_SPEED; in ecm_do_notify() 407 ecm->notify_state = ECM_NOTIFY_NONE; in ecm_do_notify() 411 event->wIndex = cpu_to_le16(ecm->ctrl_id); in ecm_do_notify() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | law.c | 14 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()
|
/openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/ |
H A D | usb-network.sh | 48 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/linux/arch/powerpc/platforms/85xx/ |
H A D | p1022_ds.c | 136 static phys_addr_t lbc_br_to_phys(const void *ecm, unsigned int count, u32 br) in lbc_br_to_phys() argument 145 const struct fsl_law *law = ecm + 0xc08; in lbc_br_to_phys() 171 void *ecm = NULL; in p1022ds_set_monitor_port() local 211 ecm = of_iomap(law_node, 0); in p1022ds_set_monitor_port() 212 if (!ecm) { in p1022ds_set_monitor_port() 263 cs0_addr = lbc_br_to_phys(ecm, num_laws, br0); in p1022ds_set_monitor_port() 269 cs1_addr = lbc_br_to_phys(ecm, num_laws, br1); in p1022ds_set_monitor_port() 358 if (ecm) in p1022ds_set_monitor_port() 359 iounmap(ecm); in p1022ds_set_monitor_port()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbg/ |
H A D | libusbg_git.bb | 17 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 D | usb_network.service | 8 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 D | ampere_usbnet.sh | 12 /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 D | usb-network.sh | 20 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 D | usb_network.sh | 20 mkdir -p functions/ecm.usb0 22 ln -s functions/ecm.usb0 configs/c.1
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | bsc9131si-post.dtsi | 49 ecm-law@0 { 50 compatible = "fsl,ecm-law"; 55 ecm@1000 { 56 compatible = "fsl,bsc9131-ecm", "fsl,ecm";
|
H A D | bsc9132si-post.dtsi | 78 ecm-law@0 { 79 compatible = "fsl,ecm-law"; 84 ecm@1000 { 85 compatible = "fsl,bsc9132-ecm", "fsl,ecm";
|
H A D | c293si-post.dtsi | 77 ecm-law@0 { 78 compatible = "fsl,ecm-law"; 83 ecm@1000 { 84 compatible = "fsl,c293-ecm", "fsl,ecm";
|
H A D | mpc8548si-post.dtsi | 114 ecm-law@0 { 115 compatible = "fsl,ecm-law"; 120 ecm@1000 { 121 compatible = "fsl,mpc8548-ecm", "fsl,ecm";
|
H A D | p1020rdb-pc_camp_core1.dts | 40 ecm-law@0 { 44 ecm@1000 { 102 16 /* ecm, mem, L2, pci0, pci1 */
|
H A D | mpc8544si-post.dtsi | 145 ecm-law@0 { 146 compatible = "fsl,ecm-law"; 151 ecm@1000 { 152 compatible = "fsl,mpc8544-ecm", "fsl,ecm";
|
H A D | p1020si-post.dtsi | 107 ecm-law@0 { 108 compatible = "fsl,ecm-law"; 113 ecm@1000 { 114 compatible = "fsl,p1020-ecm", "fsl,ecm";
|
H A D | p1010si-post.dtsi | 106 ecm-law@0 { 107 compatible = "fsl,ecm-law"; 112 ecm@1000 { 113 compatible = "fsl,p1010-ecm", "fsl,ecm";
|
H A D | mpc8572si-post.dtsi | 135 ecm-law@0 { 136 compatible = "fsl,ecm-law"; 141 ecm@1000 { 142 compatible = "fsl,mpc8572-ecm", "fsl,ecm";
|
H A D | p2020si-post.dtsi | 138 ecm-law@0 { 139 compatible = "fsl,ecm-law"; 144 ecm@1000 { 145 compatible = "fsl,p2020-ecm", "fsl,ecm";
|
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | ecm.txt | 18 Definition: Must include "fsl,ecm-law" 46 Definition: Must include "fsl,CHIP-ecm", "fsl,ecm" where
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | mp.c | 333 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()
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | stx_gp3_8560.dts | 56 ecm-law@0 { 57 compatible = "fsl,ecm-law"; 62 ecm@1000 { 63 compatible = "fsl,mpc8560-ecm", "fsl,ecm";
|
H A D | tqm8541.dts | 57 ecm-law@0 { 58 compatible = "fsl,ecm-law"; 63 ecm@1000 { 64 compatible = "fsl,mpc8541-ecm", "fsl,ecm";
|
H A D | tqm8540.dts | 58 ecm-law@0 { 59 compatible = "fsl,ecm-law"; 64 ecm@1000 { 65 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/ |
H A D | libusbgx_git.bb | 59 ALTERNATIVE:${PN}-examples = "${@bb.utils.contains('PACKAGECONFIG', 'examples', 'gadget-acm-ecm sho… 60 ALTERNATIVE_LINK_NAME[gadget-acm-ecm] = "${bindir}/gadget-acm-ecm"
|