| /bsp/simulator/pcap/ |
| A D | pcap_netif.c | 48 static struct rt_semaphore sem_lock; variable 208 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in pcap_netif_tx() 214 rt_sem_release(&sem_lock); in pcap_netif_tx() 239 rt_sem_release(&sem_lock); in pcap_netif_tx() 255 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in pcap_netif_hw_init()
|
| /bsp/nxp/lpc/lpc176x/drivers/ |
| A D | emac.c | 30 static struct rt_semaphore sem_lock; variable 398 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc17xx_emac_tx() 425 rt_sem_release(&sem_lock); in lpc17xx_emac_tx() 441 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc17xx_emac_rx() 478 rt_sem_release(&sem_lock); in lpc17xx_emac_rx() 486 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in lpc17xx_emac_hw_init()
|
| /bsp/nxp/lpc/lpc178x/drivers/ |
| A D | emac.c | 33 static struct rt_semaphore sem_lock; variable 422 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc17xx_emac_tx() 449 rt_sem_release(&sem_lock); in lpc17xx_emac_tx() 465 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc17xx_emac_rx() 502 rt_sem_release(&sem_lock); in lpc17xx_emac_rx() 510 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in lpc17xx_emac_hw_init()
|
| /bsp/nxp/lpc/lpc408x/drivers/ |
| A D | drv_emac.c | 55 static struct rt_semaphore sem_lock; variable 391 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc_emac_tx() 412 rt_sem_release(&sem_lock); in lpc_emac_tx() 428 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc_emac_rx() 457 rt_sem_release(&sem_lock); in lpc_emac_rx() 465 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in rt_hw_emac_init()
|
| /bsp/nxp/lpc/lpc43xx/drivers/ |
| A D | drv_emac.c | 55 static struct rt_semaphore sem_lock; variable 412 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc_emac_tx() 433 rt_sem_release(&sem_lock); in lpc_emac_tx() 449 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in lpc_emac_rx() 478 rt_sem_release(&sem_lock); in lpc_emac_rx() 488 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in lpc_emac_hw_init()
|
| /bsp/mini2440/drivers/ |
| A D | dm9000.c | 58 static struct rt_semaphore sem_ack, sem_lock; variable 374 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in rt_dm9000_tx() 441 rt_sem_release(&sem_lock); in rt_dm9000_tx() 463 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in rt_dm9000_rx() 565 rt_sem_release(&sem_lock); in rt_dm9000_rx() 610 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in rt_hw_dm9000_init()
|
| /bsp/loongson/ls1cdev/drivers/net/ |
| A D | synopGMAC.c | 58 static struct rt_semaphore sem_ack, sem_lock; variable 436 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in rt_eth_tx() 533 rt_sem_release(&sem_lock); in rt_eth_tx() 558 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in rt_eth_rx() 606 rt_sem_release(&sem_lock); in rt_eth_rx() 886 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in rt_hw_eth_init()
|
| /bsp/loongson/ls2kdev/drivers/net/ |
| A D | synopGMAC.c | 82 static struct rt_semaphore sem_ack, sem_lock; variable 456 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in rt_eth_tx() 557 rt_sem_release(&sem_lock); in rt_eth_tx() 584 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in rt_eth_rx() 643 rt_sem_release(&sem_lock); in rt_eth_rx() 924 rt_sem_init(&sem_lock, "eth_lock", 1, RT_IPC_FLAG_FIFO); in rt_hw_eth_init()
|
| /bsp/raspberry-pi/raspi4-32/driver/ |
| A D | drv_eth.c | 74 static struct rt_semaphore sem_lock; variable 100 rt_sem_release(&sem_lock); in eth_rx_irq() 505 rt_sem_take(&sem_lock, RT_WAITING_FOREVER); in bcmgenet_gmac_eth_send() 651 rt_sem_init(&sem_lock, "eth_send_lock", TX_DESCS, RT_IPC_FLAG_FIFO); in rt_hw_eth_init()
|
| /bsp/mini4020/drivers/ |
| A D | dm9161.c | 78 static struct rt_semaphore sem_ack, sem_lock; variable
|