Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_scif_server.c244 struct scif_pollepd pollepd; in cosm_scif_work() local
252 pollepd.epd = cdev->epd; in cosm_scif_work()
253 pollepd.events = POLLIN; in cosm_scif_work()
258 rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_TIMEOUT_MSEC); in cosm_scif_work()
267 if (pollepd.revents & POLLIN) in cosm_scif_work()
271 if (pollepd.revents & POLLHUP) { in cosm_scif_work()
/linux-4.4.14/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c154 struct scif_pollepd pollepd; in cosm_scif_client() local
160 pollepd.epd = client_epd; in cosm_scif_client()
161 pollepd.events = POLLIN; in cosm_scif_client()
163 rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_SEND_MSEC); in cosm_scif_client()
172 if (pollepd.revents & POLLIN) in cosm_scif_client()