/seL4-camkes-master/projects/util_libs/libethdrivers/src/ |
H A D | lwip.c | 28 static void initialize_free_bufs(lwip_iface_t *iface) argument 36 iface->bufs = malloc(sizeof(dma_addr_t *) * CONFIG_LIB_ETHDRIVER_NUM_PREALLOCATED_BUFFERS); 37 if (!iface->bufs) { 41 dma_bufs[i] = dma_alloc_pin(&iface->dma_man, CONFIG_LIB_ETHDRIVER_PREALLOCATED_BUF_SIZE, 1, 42 iface->driver.dma_alignment); 46 ps_dma_cache_clean_invalidate(&iface->dma_man, dma_bufs[i].virt, CONFIG_LIB_ETHDRIVER_PREALLOCATED_BUF_SIZE); 47 iface->bufs[i] = &dma_bufs[i]; 49 iface->num_free_bufs = CONFIG_LIB_ETHDRIVER_NUM_PREALLOCATED_BUFFERS; 52 if (iface->bufs) { 53 free(iface 66 lwip_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 92 lwip_tx_complete(void *iface, void *cookie) argument 99 lwip_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 189 lwip_iface_t *iface = (lwip_iface_t *)netif->state; local 238 lwip_pbuf_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 272 lwip_pbuf_tx_complete(void *iface, void *cookie) argument 291 lwip_pbuf_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 344 lwip_iface_t *iface = (lwip_iface_t *)netif->state; local 420 lwip_iface_t *iface = (lwip_iface_t *)netif->state; local 443 ethif_new_lwip_driver_no_malloc(ps_io_ops_t io_ops, ps_dma_man_t *pbuf_dma, ethif_driver_init driver, void *driver_config, lwip_iface_t *iface) argument 478 lwip_iface_t *iface = malloc(sizeof(*iface)); local [all...] |
H A D | pico_dev_eth.c | 140 static uintptr_t pico_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 142 pico_device_eth *pico_iface = (pico_device_eth *)iface; 170 static void pico_tx_complete(void *iface, void *cookie) argument 172 free_buf_pool(iface, (long) cookie); 175 static void pico_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 178 pico_device_eth *pico_iface = (pico_device_eth *)iface; 197 ZF_LOGD("RX complete, %d in queue!\n", ((pico_device_eth *)iface)->rx_count);
|
/seL4-camkes-master/projects/util_libs/libethdrivers/include/ethdrivers/ |
H A D | lwip.h | 71 * Same as ethif_new_lwip_driver except if an allocated iface 74 lwip_iface_t *ethif_new_lwip_driver_no_malloc(ps_io_ops_t io_ops, ps_dma_man_t *pbuf_dma, ethif_driver_init driver, void *driver_config, lwip_iface_t *iface); 78 static inline void ethif_lwip_handle_irq(lwip_iface_t *iface, int irq) { argument 79 iface->driver.i_fn.raw_handleIRQ(&iface->driver, irq); 84 static inline void ethif_lwip_poll(lwip_iface_t *iface) { argument 85 iface->driver.i_fn.raw_poll(&iface->driver); 88 /* Retrieve the netif_init_fn for this iface for passing to netif_add */ 89 static inline netif_init_fn ethif_get_ethif_init(lwip_iface_t *iface) { argument [all...] |
H A D | pico_dev_eth.h | 59 static inline void ethif_pico_handle_irq(pico_device_eth *iface, int irq) { argument 60 iface->driver.i_fn.raw_handleIRQ(&iface->driver, irq);
|
/seL4-camkes-master/projects/projects_libs/libusbdrivers/src/drivers/ |
H A D | hid.c | 25 __set_protocol_req(enum hid_protocol p, int iface) { argument 30 .wIndex = iface, 37 __get_protocol_req(int iface) { argument 42 .wIndex = iface, 49 __set_idle_req(int idle_ms, int id, int iface) { argument 54 .wIndex = iface, 62 __get_report_req(enum hid_report_type type, int id, int iface, int len) { argument 67 .wIndex = iface, 74 __set_report_req(enum hid_report_type type, int id, int iface, int len) { argument 79 .wIndex = iface, 86 usb_hid_config_cb(void *token, int cfg, int iface, struct anon_desc *desc) argument [all...] |
H A D | hid.h | 28 uint8_t iface; //Active interface member in struct:usb_hid_device
|
H A D | mouse.c | 95 mouse->ep_int = usb_dev->ep[mouse->hid->iface];
|
H A D | pl2303.c | 48 pl2303_config_cb(void *token, int cfg, int iface, struct anon_desc *desc) argument
|
H A D | storage.c | 110 usb_storage_config_cb(void* token, int cfg, int iface, struct anon_desc* desc) argument
|
H A D | usbkbd.c | 317 kbd->ep_int = usb_dev->ep[kbd->hid->iface];
|
H A D | cdc.c | 105 usb_cdc_config_cb(void *token, int cfg, int iface, struct anon_desc *desc) argument
|
H A D | usbhub.c | 407 static int hub_config_cb(void *token, int cfg, int iface, struct anon_desc *d) argument 423 hub->ifno = iface; 669 /* Copy the iface */
|
/seL4-camkes-master/projects/picotcp/modules/ |
H A D | pico_olsr.h | 18 struct pico_device *iface; member in struct:olsr_route_entry
|
H A D | pico_olsr.c | 137 if (cur->iface == vif) 176 } else if (el->iface) { 178 struct olsr_route_entry *ei = olsr_get_ethentry(el->iface); 190 olsr_dbg("[OLSR] ----------Adding neighbor %08x iface %s\n", el->destination.addr, el->iface->name); 192 pico_ipv4_route_add(el->destination, HOST_NETMASK, no_gw, 1, pico_ipv4_link_by_dev(el->iface)); 203 } else if (r->iface) { 204 lst = olsr_get_ethentry(r->iface); 466 e->iface = icur->dev; 563 if (local->iface ! [all...] |
/seL4-camkes-master/projects/camkes-tool/camkes/templates/tests/ |
H A D | testmacros.py | 57 iface = "humbug" 58 field = '%s_access' % iface 61 self.assertEqual(get_perm(conf, instance, iface), "RWXP") 63 self.assertEqual(get_perm(conf, instance, iface), "R") 66 get_perm(conf, instance, iface)
|
/seL4-camkes-master/projects/seL4_projects_libs/libsel4vmmplatsupport/src/drivers/ |
H A D | virtio_net_emul.c | 25 static uintptr_t emul_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 27 virtio_emul_t *emul = (virtio_emul_t *)iface; 41 static void emul_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 43 virtio_emul_t *emul = (virtio_emul_t *)iface; 122 static void emul_tx_complete(void *iface, void *cookie) argument 124 virtio_emul_t *emul = (virtio_emul_t *)iface; 206 static void emul_tx_complete_external(void *iface, void *cookie) argument 208 emul_tx_complete(iface, cookie); 210 emul_notify_tx(iface);
|
H A D | virtio_console_emul.c | 20 static void emul_con_rx_complete(void *iface, char *buf, unsigned int len) argument 22 virtio_emul_t *emul = (virtio_emul_t *)iface;
|
/seL4-camkes-master/projects/global-components/remote-drivers/picotcp-ethernet-async/ |
H A D | server.c | 44 static void eth_tx_complete(void *iface, void *cookie) argument 46 server_data_t *state = iface; 59 static uintptr_t eth_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 64 server_data_t *state = iface; 87 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 89 server_data_t *state = iface;
|
/seL4-camkes-master/projects/camkes/apps/picotcp_single_component/src/ |
H A D | ethdriver.c | 79 static void eth_tx_complete(void *iface, void *cookie) argument 86 static uintptr_t eth_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 100 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument
|
/seL4-camkes-master/projects/musllibc/include/net/ |
H A D | if.h | 57 struct iface *ifa_ifp;
|
/seL4-camkes-master/projects/global-components/components/Ethdriver/src/ |
H A D | ethdriver.c | 123 static void eth_tx_complete(void *iface, void *cookie) argument 131 static uintptr_t eth_allocate_rx_buf(void *iface, size_t buf_size, void **cookie) argument 205 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 221 uintptr_t phys = eth_allocate_rx_buf(iface, lens[0], &cookie);
|
/seL4-camkes-master/projects/projects_libs/libusbdrivers/src/ |
H A D | usb.c | 433 usb_config_print_cb(void *token, int cfg, int iface, struct anon_desc *d) argument 520 int iface = -1; local 551 /* Update our config/iface */ 555 iface = -1; 558 iface = ((struct iface_desc *)usrd)->bInterfaceNumber; 586 if (cb && cb(t, cfg, iface, usrd)) { 596 cb(t, cfg, iface, NULL);
|
/seL4-camkes-master/projects/projects_libs/libusbdrivers/include/usb/ |
H A D | usb.h | 330 * @param[in] iface The current interface number. -1 for none. 335 typedef int (*usb_config_cb)(void* token, int cfg, int iface,
|
/seL4-camkes-master/projects/lwip/src/api/ |
H A D | sockets.c | 3422 const struct ifreq *iface; 3427 iface = (const struct ifreq *)optval; 3428 if (iface->ifr_name[0] != 0) { 3429 n = netif_find(iface->ifr_name);
|
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/ |
H A D | ltmain.sh | 7445 iface=$func_arith_result 7448 verstring="$verstring_prefix$major.$iface:$verstring" 7472 iface=$func_arith_result 7475 verstring="$verstring:${iface}.0"
|