Searched refs:dev_opened_count (Results 1 – 2 of 2) sorted by relevance
49 int dev_opened_count; member813 if (pdev->usb_if->dev_opened_count == 0) { in pcan_usb_pro_start()821 pdev->usb_if->dev_opened_count++; in pcan_usb_pro_start()836 if (pdev->usb_if->dev_opened_count == 1) in pcan_usb_pro_stop()839 pdev->usb_if->dev_opened_count--; in pcan_usb_pro_stop()946 if (pdev->usb_if->dev_opened_count > 0) in pcan_usb_pro_exit()
66 int dev_opened_count; member825 if (pdev->usb_if->dev_opened_count == 0) { in pcan_usb_fd_start()836 pdev->usb_if->dev_opened_count++; in pcan_usb_fd_start()875 if (pdev->usb_if->dev_opened_count == 1) in pcan_usb_fd_stop()879 pdev->usb_if->dev_opened_count--; in pcan_usb_fd_stop()1034 if (pdev->usb_if->dev_opened_count > 0) in pcan_usb_fd_exit()