Searched refs:pfe_cdev_fd (Results 1 – 2 of 2) sorted by relevance
804 int event_fd = -1, epoll_fd, pfe_cdev_fd; in pfe_hif_init() local806 pfe_cdev_fd = open(PFE_CDEV_PATH, O_RDWR); in pfe_hif_init()807 if (pfe_cdev_fd < 0) { in pfe_hif_init()813 pfe->cdev_fd = pfe_cdev_fd; in pfe_hif_init()
345 int pfe_cdev_fd; in pfe_eth_open_cdev() local350 pfe_cdev_fd = open(PFE_CDEV_PATH, O_RDONLY); in pfe_eth_open_cdev()351 if (pfe_cdev_fd < 0) { in pfe_eth_open_cdev()359 priv->link_fd = pfe_cdev_fd; in pfe_eth_open_cdev()