Searched refs:dev_opened_count (Results 1 – 2 of 2) sorted by relevance
49 int dev_opened_count; member810 if (pdev->usb_if->dev_opened_count == 0) { in pcan_usb_pro_start()818 pdev->usb_if->dev_opened_count++; in pcan_usb_pro_start()833 if (pdev->usb_if->dev_opened_count == 1) in pcan_usb_pro_stop()836 pdev->usb_if->dev_opened_count--; in pcan_usb_pro_stop()943 if (pdev->usb_if->dev_opened_count > 0) in pcan_usb_pro_exit()
57 int dev_opened_count; member804 if (pdev->usb_if->dev_opened_count == 0) { in pcan_usb_fd_start()815 pdev->usb_if->dev_opened_count++; in pcan_usb_fd_start()845 if (pdev->usb_if->dev_opened_count == 1) in pcan_usb_fd_stop()849 pdev->usb_if->dev_opened_count--; in pcan_usb_fd_stop()982 if (pdev->usb_if->dev_opened_count > 0) in pcan_usb_fd_exit()