Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 2 of 2) sorted by relevance

/canopennode-2.7.6/stack/socketCAN/
DCO_Linux_tasks.c53 struct epoll_event ev; in taskMain_init() local
84 ev.events = EPOLLIN; in taskMain_init()
85 ev.data.fd = taskMain.fdPipe[0]; in taskMain_init()
86 if(epoll_ctl(fdEpoll, EPOLL_CTL_ADD, taskMain.fdPipe[0], &ev) == -1) in taskMain_init()
89 ev.events = EPOLLIN; in taskMain_init()
90 ev.data.fd = taskMain.fdTmr; in taskMain_init()
91 if(epoll_ctl(fdEpoll, EPOLL_CTL_ADD, taskMain.fdTmr, &ev) == -1) in taskMain_init()
193 struct epoll_event ev; in CANrx_taskTmr_init() local
203 ev.events = EPOLLIN; in CANrx_taskTmr_init()
204 ev.data.fd = taskRT.fdRx0; in CANrx_taskTmr_init()
[all …]
/canopennode-2.7.6/stack/neuberger-socketCAN/
DCO_driver.c216 struct epoll_event ev; in CO_CANmodule_init() local
239 ev.events = EPOLLIN; in CO_CANmodule_init()
240 ev.data.fd = CO_NotifyPipeGetFd(CANmodule->pipe); in CO_CANmodule_init()
241 ret = epoll_ctl(CANmodule->fdEpoll, EPOLL_CTL_ADD, ev.data.fd, &ev); in CO_CANmodule_init()
314 struct epoll_event ev; in CO_CANmodule_addInterface() local
410 ev.events = EPOLLIN; in CO_CANmodule_addInterface()
411 ev.data.fd = interface->fd; in CO_CANmodule_addInterface()
412 ret = epoll_ctl(CANmodule->fdEpoll, EPOLL_CTL_ADD, ev.data.fd, &ev); in CO_CANmodule_addInterface()
889 struct epoll_event ev[1]; in CO_CANrxWait() local
900 ev[0].events = EPOLLIN; in CO_CANrxWait()
[all …]