Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c49 int dev_opened_count; member
810 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()
Dpcan_usb_fd.c57 int dev_opened_count; member
804 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()