Searched refs:dev_opened_count (Results 1 – 2 of 2) sorted by relevance
49 int dev_opened_count; member827 if (pdev->usb_if->dev_opened_count == 0) { in pcan_usb_pro_start()835 pdev->usb_if->dev_opened_count++; in pcan_usb_pro_start()850 if (pdev->usb_if->dev_opened_count == 1) in pcan_usb_pro_stop()853 pdev->usb_if->dev_opened_count--; in pcan_usb_pro_stop()960 if (pdev->usb_if->dev_opened_count > 0) in pcan_usb_pro_exit()
66 int dev_opened_count; member871 if (pdev->usb_if->dev_opened_count == 0) { in pcan_usb_fd_start()882 pdev->usb_if->dev_opened_count++; in pcan_usb_fd_start()921 if (pdev->usb_if->dev_opened_count == 1) in pcan_usb_fd_stop()925 pdev->usb_if->dev_opened_count--; in pcan_usb_fd_stop()1077 if (pdev->usb_if->dev_opened_count > 0) in pcan_usb_fd_exit()