Searched refs:sg_len (Results 1 – 6 of 6) sorted by relevance
/third_party/FreeBSD/sys/dev/usb/net/ |
D | usb_eth_drv.c | 134 int sg_len = 0; in eth_drv_recv() local 151 sg_list[sg_len].buf = (UINTPTR)q->payload; in eth_drv_recv() 152 sg_list[sg_len++].len = q->len; in eth_drv_recv() 155 (drv_sc->funs->recv)(sc, sg_list, sg_len); in eth_drv_recv() 169 int sg_len = 0; in eth_drv_send() local 175 sg_list[sg_len].buf = (UINTPTR)q->payload; in eth_drv_send() 176 sg_list[sg_len++].len = q->len; in eth_drv_send() 179 (drv_sc->funs->send) (sc, sg_list, sg_len, p ? p->tot_len : 0, (UINTPTR)p); in eth_drv_send()
|
D | usb_eth_drv.h | 73 int sg_len, int total_len, UINTPTR key); 74 typedef void (*eth_recv)(struct los_eth_driver *sc, struct eth_drv_sg *sg_list, int sg_len);
|
D | usb_ethernet.c | 54 int sg_len, 212 ue_recv(struct los_eth_driver *sc,struct eth_drv_sg *sg_list,int sg_len) in ue_recv() argument 233 for(i = 0; i < sg_len; ++i) { in ue_recv() 454 int sg_len, in ue_start() argument 470 for (i = 0; i < sg_len; i++) { in ue_start()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_ether.c | 214 int sg_len = 0; in eth_tx() local 218 sg_list[sg_len].buf = (UINTPTR)q->payload; in eth_tx() 219 sg_list[sg_len++].len = q->len; in eth_tx() 222 rndis_tx(sc, sg_list, sg_len, p->tot_len, (UINTPTR)p); in eth_tx()
|
D | rndis.h | 97 int sg_len, uint32_t total_len, UINTPTR key);
|
D | rndis.c | 2298 int sg_len, uint32_t total_len, UINTPTR key) in rndis_tx() argument 2321 for (i = 0; i < sg_len; i++) in rndis_tx()
|