Lines Matching refs:open_type
317 if (cxdev->open_type == CXUSB_OPEN_ANALOG) { in cxusb_power_ctrl()
1423 enum cxusb_open_type open_type) in cxusb_medion_get() argument
1430 if (WARN_ON((cxdev->open_type == CXUSB_OPEN_INIT || in cxusb_medion_get()
1431 cxdev->open_type == CXUSB_OPEN_NONE) && in cxusb_medion_get()
1437 if (cxdev->open_type == CXUSB_OPEN_INIT) { in cxusb_medion_get()
1443 if (cxdev->open_type != open_type) { in cxusb_medion_get()
1445 open_type == CXUSB_OPEN_ANALOG ? in cxusb_medion_get()
1448 if (open_type == CXUSB_OPEN_ANALOG) { in cxusb_medion_get()
1474 cxdev->open_type = open_type; in cxusb_medion_get()
1477 open_type == CXUSB_OPEN_ANALOG ? in cxusb_medion_get()
1482 } else if (cxdev->open_type == open_type) { in cxusb_medion_get()
1485 open_type == CXUSB_OPEN_ANALOG ? "analog" : "digital"); in cxusb_medion_get()
1502 if (cxdev->open_type == CXUSB_OPEN_INIT) { in cxusb_medion_put()
1504 cxdev->open_type = CXUSB_OPEN_NONE; in cxusb_medion_put()
1512 cxdev->open_type == CXUSB_OPEN_ANALOG ? in cxusb_medion_put()
1539 cxdev->open_type = CXUSB_OPEN_INIT; in cxusb_medion_priv_init()