Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c49 int dev_opened_count; member
813 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()
Dpcan_usb_fd.c66 int dev_opened_count; member
825 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()