Searched refs:sg_list (Results 1 – 6 of 6) sorted by relevance
/third_party/FreeBSD/sys/dev/usb/net/ |
D | usb_eth_drv.c | 130 struct eth_drv_sg sg_list[MAX_ETH_DRV_SG]; 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() 166 struct eth_drv_sg sg_list[MAX_ETH_DRV_SG]; 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_ethernet.c | 53 struct eth_drv_sg *sg_list, 212 ue_recv(struct los_eth_driver *sc,struct eth_drv_sg *sg_list,int sg_len) in ue_recv() argument 235 while (bytes_in_list < sg_list[i].len) { in ue_recv() 236 bytes_needed_list = sg_list[i].len - bytes_in_list; in ue_recv() 240 sg_buf = (UINT8 *)(sg_list[i].buf); in ue_recv() 453 struct eth_drv_sg *sg_list, in ue_start() argument 472 (const void *)(sg_list[i].buf), sg_list[i].len); in ue_start() 477 len += sg_list[i].len; in ue_start()
|
D | usb_eth_drv.h | 72 typedef void (*eth_send)(struct los_eth_driver *sc, struct eth_drv_sg *sg_list, 74 typedef void (*eth_recv)(struct los_eth_driver *sc, struct eth_drv_sg *sg_list, int sg_len);
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_ether.c | 212 struct eth_drv_sg sg_list[MAX_ETH_DRV_SG]; 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 | 96 extern void rndis_tx(struct los_eth_driver *sc, const struct eth_drv_sg *sg_list,
|
D | rndis.c | 2297 void rndis_tx(struct los_eth_driver *sc, const struct eth_drv_sg *sg_list, in rndis_tx() argument 2323 …= memcpy_s((void *)(d_buf + len), total_len - len, (const void *)(sg_list[i].buf), sg_list[i].len); in rndis_tx() 2329 len += sg_list[i].len; in rndis_tx()
|