Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_ecm.c375 static void ecm_do_notify(struct f_ecm *ecm) in ecm_do_notify() argument
377 struct usb_request *req = ecm->notify_req; in ecm_do_notify()
379 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify()
384 if (atomic_read(&ecm->notify_count)) in ecm_do_notify()
388 switch (ecm->notify_state) { in ecm_do_notify()
394 if (ecm->is_open) in ecm_do_notify()
402 ecm->is_open ? "true" : "false"); in ecm_do_notify()
403 ecm->notify_state = ECM_NOTIFY_SPEED; in ecm_do_notify()
418 ecm->notify_state = ECM_NOTIFY_NONE; in ecm_do_notify()
422 event->wIndex = cpu_to_le16(ecm->ctrl_id); in ecm_do_notify()
[all …]
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dlaw.c15 law83xx_t *ecm = &immap->sysconf.ddrlaw[0]; in set_ddr_laws() local
29 ecm->bar = start & 0xfffff000; in set_ddr_laws()
30 ecm->ar = (LAWAR_EN | (id << 20) | (LAWAR_SIZE & law_sz_enc)); in set_ddr_laws()
31 debug("DDR:bar=0x%08x\n", ecm->bar); in set_ddr_laws()
32 debug("DDR:ar=0x%08x\n", ecm->ar); in set_ddr_laws()
45 ecm = &immap->sysconf.ddrlaw[1]; in set_ddr_laws()
46 ecm->bar = start & 0xfffff000; in set_ddr_laws()
47 ecm->ar = (LAWAR_EN | (id << 20) | (LAWAR_SIZE & law_sz_enc)); in set_ddr_laws()
48 debug("DDR:bar=0x%08x\n", ecm->bar); in set_ddr_laws()
49 debug("DDR:ar=0x%08x\n", ecm->ar); in set_ddr_laws()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/
H A Dp1022_ds.c135 static phys_addr_t lbc_br_to_phys(const void *ecm, unsigned int count, u32 br) in lbc_br_to_phys() argument
144 const struct fsl_law *law = ecm + 0xc08; in lbc_br_to_phys()
170 void *ecm = NULL; in p1022ds_set_monitor_port() local
210 ecm = of_iomap(law_node, 0); in p1022ds_set_monitor_port()
211 if (!ecm) { in p1022ds_set_monitor_port()
262 cs0_addr = lbc_br_to_phys(ecm, num_laws, br0); in p1022ds_set_monitor_port()
268 cs1_addr = lbc_br_to_phys(ecm, num_laws, br1); in p1022ds_set_monitor_port()
357 if (ecm) in p1022ds_set_monitor_port()
358 iounmap(ecm); in p1022ds_set_monitor_port()
/OK3568_Linux_fs/yocto/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"
/OK3568_Linux_fs/buildroot/package/libusbgx/
H A D0001-Add-include-of-sys-sysmacro.h.patch16 examples/gadget-acm-ecm.c | 1 +
24 diff --git a/examples/gadget-acm-ecm.c b/examples/gadget-acm-ecm.c
26 --- a/examples/gadget-acm-ecm.c
27 +++ b/examples/gadget-acm-ecm.c
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libusbgx/
H A Dlibusbgx_git.bb43 ALTERNATIVE:${PN} = "gadget-acm-ecm show-gadgets"
44 ALTERNATIVE_LINK_NAME[gadget-acm-ecm] = "${bindir}/gadget-acm-ecm"
/OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/fsl/
H A Dbsc9131si-post.dtsi49 ecm-law@0 {
50 compatible = "fsl,ecm-law";
55 ecm@1000 {
56 compatible = "fsl,bsc9131-ecm", "fsl,ecm";
H A Dbsc9132si-post.dtsi78 ecm-law@0 {
79 compatible = "fsl,ecm-law";
84 ecm@1000 {
85 compatible = "fsl,bsc9132-ecm", "fsl,ecm";
H A Dmpc8548si-post.dtsi114 ecm-law@0 {
115 compatible = "fsl,ecm-law";
120 ecm@1000 {
121 compatible = "fsl,mpc8548-ecm", "fsl,ecm";
H A Dc293si-post.dtsi77 ecm-law@0 {
78 compatible = "fsl,ecm-law";
83 ecm@1000 {
84 compatible = "fsl,c293-ecm", "fsl,ecm";
H A Dp1020rdb-pc_camp_core1.dts40 ecm-law@0 {
44 ecm@1000 {
102 16 /* ecm, mem, L2, pci0, pci1 */
H A Dp1020si-post.dtsi107 ecm-law@0 {
108 compatible = "fsl,ecm-law";
113 ecm@1000 {
114 compatible = "fsl,p1020-ecm", "fsl,ecm";
H A Dmpc8544si-post.dtsi145 ecm-law@0 {
146 compatible = "fsl,ecm-law";
151 ecm@1000 {
152 compatible = "fsl,mpc8544-ecm", "fsl,ecm";
H A Dp2020si-post.dtsi135 ecm-law@0 {
136 compatible = "fsl,ecm-law";
141 ecm@1000 {
142 compatible = "fsl,p2020-ecm", "fsl,ecm";
H A Dmpc8572si-post.dtsi135 ecm-law@0 {
136 compatible = "fsl,ecm-law";
141 ecm@1000 {
142 compatible = "fsl,mpc8572-ecm", "fsl,ecm";
H A Dp1010si-post.dtsi106 ecm-law@0 {
107 compatible = "fsl,ecm-law";
112 ecm@1000 {
113 compatible = "fsl,p1010-ecm", "fsl,ecm";
H A Dp1021si-post.dtsi107 ecm-law@0 {
108 compatible = "fsl,ecm-law";
113 ecm@1000 {
114 compatible = "fsl,p1021-ecm", "fsl,ecm";
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dmp.c334 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in plat_mp_up() local
341 out_be32(&ecm->bptr, 0x80000000 | (bootpg >> 12)); in plat_mp_up()
353 bpcr = in_be32(&ecm->eebpcr); in plat_mp_up()
355 out_be32(&ecm->eebpcr, bpcr); in plat_mp_up()
402 clrbits_be32(&ecm->bptr, 0x80000000); in plat_mp_up()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/fsl/
H A Decm.txt18 Definition: Must include "fsl,ecm-law"
46 Definition: Must include "fsl,CHIP-ecm", "fsl,ecm" where
/OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/
H A Dstx_gp3_8560.dts54 ecm-law@0 {
55 compatible = "fsl,ecm-law";
60 ecm@1000 {
61 compatible = "fsl,mpc8560-ecm", "fsl,ecm";
H A Dtqm8555.dts55 ecm-law@0 {
56 compatible = "fsl,ecm-law";
61 ecm@1000 {
62 compatible = "fsl,mpc8555-ecm", "fsl,ecm";
H A Dtqm8540.dts56 ecm-law@0 {
57 compatible = "fsl,ecm-law";
62 ecm@1000 {
63 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
H A Dtqm8541.dts55 ecm-law@0 {
56 compatible = "fsl,ecm-law";
61 ecm@1000 {
62 compatible = "fsl,mpc8541-ecm", "fsl,ecm";
H A Dsocrates.dts57 ecm-law@0 {
58 compatible = "fsl,ecm-law";
63 ecm@1000 {
64 compatible = "fsl,mpc8544-ecm", "fsl,ecm";
/OK3568_Linux_fs/u-boot/board/sbc8548/
H A Dsbc8548.c38 volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR); in checkboard() local
49 out_be32(&ecm->eedr, 0xffffffff); /* clear ecm errors */ in checkboard()
50 out_be32(&ecm->eeer, 0xffffffff); /* enable ecm errors */ in checkboard()

123