/kernel/linux/linux-6.6/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 in ecm_do_notify() 421 ecm_notify(struct f_ecm *ecm) ecm_notify() argument 434 struct f_ecm *ecm = req->context; ecm_notify_complete() local 459 struct f_ecm *ecm = func_to_ecm(f); ecm_setup() local 524 struct f_ecm *ecm = func_to_ecm(f); ecm_set_alt() local 602 struct f_ecm *ecm = func_to_ecm(f); ecm_get_alt() local 611 struct f_ecm *ecm = func_to_ecm(f); ecm_disable() local 649 struct f_ecm *ecm = func_to_ecm(&geth->func); ecm_open() local 659 struct f_ecm *ecm = func_to_ecm(&geth->func); ecm_close() local 675 struct f_ecm *ecm = func_to_ecm(f); ecm_bind() local 814 USB_ETHERNET_CONFIGFS_ITEM(ecm); global() variable 817 USB_ETHERNET_CONFIGFS_ITEM_ATTR_DEV_ADDR(ecm); global() variable 820 USB_ETHERNET_CONFIGFS_ITEM_ATTR_HOST_ADDR(ecm); global() variable 823 USB_ETHERNET_CONFIGFS_ITEM_ATTR_QMULT(ecm); global() variable 826 USB_ETHERNET_CONFIGFS_ITEM_ATTR_IFNAME(ecm); global() variable 877 struct f_ecm *ecm = func_to_ecm(f); ecm_suspend() local 887 struct f_ecm *ecm = func_to_ecm(f); ecm_resume() local 897 struct f_ecm *ecm; ecm_free() local 910 struct f_ecm *ecm = func_to_ecm(f); ecm_unbind() local 927 struct f_ecm *ecm; ecm_alloc() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_ecm.c | 375 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 in ecm_do_notify() 432 ecm_notify(struct f_ecm *ecm) ecm_notify() argument 445 struct f_ecm *ecm = req->context; ecm_notify_complete() local 470 struct f_ecm *ecm = func_to_ecm(f); ecm_setup() local 535 struct f_ecm *ecm = func_to_ecm(f); ecm_set_alt() local 613 struct f_ecm *ecm = func_to_ecm(f); ecm_get_alt() local 622 struct f_ecm *ecm = func_to_ecm(f); ecm_disable() local 660 struct f_ecm *ecm = func_to_ecm(&geth->func); ecm_open() local 670 struct f_ecm *ecm = func_to_ecm(&geth->func); ecm_close() local 686 struct f_ecm *ecm = func_to_ecm(f); ecm_bind() local 831 USB_ETHERNET_CONFIGFS_ITEM(ecm); global() variable 834 USB_ETHERNET_CONFIGFS_ITEM_ATTR_DEV_ADDR(ecm); global() variable 837 USB_ETHERNET_CONFIGFS_ITEM_ATTR_HOST_ADDR(ecm); global() variable 840 USB_ETHERNET_CONFIGFS_ITEM_ATTR_QMULT(ecm); global() variable 843 USB_ETHERNET_CONFIGFS_ITEM_ATTR_IFNAME(ecm); global() variable 894 struct f_ecm *ecm; ecm_free() local 907 struct f_ecm *ecm = func_to_ecm(f); ecm_unbind() local 924 struct f_ecm *ecm; ecm_alloc() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
H A D | p1022_ds.c | 135 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 204 law_node = of_find_compatible_node(NULL, NULL, "fsl,ecm-law"); in p1022ds_set_monitor_port() 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() [all...] |
/kernel/linux/linux-6.6/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 205 law_node = of_find_compatible_node(NULL, NULL, "fsl,ecm-law"); in p1022ds_set_monitor_port() 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() [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | Makefile | 9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
|
H A D | smtinit.c | 111 ecm(smc,0) ; /* ECM state machine */ in init_smt()
|
H A D | queue.c | 80 ecm(smc,(int)ev->event) ; in ev_dispatcher() 159 else if (!strcmp(flag,"ecm")) in do_smt_flag() 166 printf("ecm %d\n",deb->d_ecm) ; in do_smt_flag()
|
H A D | ecm.c | 44 static const char ID_sccs[] = "@(#)ecm.c 2.7 99/08/05 (C) SK " ; 117 void ecm(struct s_smc *smc, int event) in ecm() function
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | Makefile | 9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
|
H A D | smtinit.c | 107 ecm(smc,0) ; /* ECM state machine */ in init_smt()
|
H A D | queue.c | 76 ecm(smc,(int)ev->event) ; in ev_dispatcher() 155 else if (!strcmp(flag,"ecm")) in do_smt_flag() 162 printf("ecm %d\n",deb->d_ecm) ; in do_smt_flag()
|
H A D | ecm.c | 113 void ecm(struct s_smc *smc, int event) in ecm() function
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/ |
H A D | cmtdef.h | 496 void ecm(struct s_smc *smc, int event);
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/ |
H A D | cmtdef.h | 496 void ecm(struct s_smc *smc, int event);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.h | 1115 int ecm; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.h | 1112 int ecm; member
|