Home
last modified time | relevance | path

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

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