Lines Matching refs:api

390 	const struct video_driver_api *api = (const struct video_driver_api *)dev->api;  in video_set_format()  local
392 if (api->set_format == NULL) { in video_set_format()
396 return api->set_format(dev, ep, fmt); in video_set_format()
413 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_get_format() local
415 if (api->get_format == NULL) { in video_get_format()
419 return api->get_format(dev, ep, fmt); in video_get_format()
442 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_set_frmival() local
444 if (api->set_frmival == NULL) { in video_set_frmival()
448 return api->set_frmival(dev, ep, frmival); in video_set_frmival()
468 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_get_frmival() local
470 if (api->get_frmival == NULL) { in video_get_frmival()
474 return api->get_frmival(dev, ep, frmival); in video_get_frmival()
498 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_enum_frmival() local
500 if (api->enum_frmival == NULL) { in video_enum_frmival()
504 return api->enum_frmival(dev, ep, fie); in video_enum_frmival()
524 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_enqueue() local
526 if (api->enqueue == NULL) { in video_enqueue()
530 return api->enqueue(dev, ep, buf); in video_enqueue()
551 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_dequeue() local
553 if (api->dequeue == NULL) { in video_dequeue()
557 return api->dequeue(dev, ep, buf, timeout); in video_dequeue()
576 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_flush() local
578 if (api->flush == NULL) { in video_flush()
582 return api->flush(dev, ep, cancel); in video_flush()
599 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_stream_start() local
601 if (api->stream_start == NULL) { in video_stream_start()
605 return api->stream_start(dev); in video_stream_start()
619 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_stream_stop() local
622 if (api->stream_stop == NULL) { in video_stream_stop()
626 ret = api->stream_stop(dev); in video_stream_stop()
644 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_get_caps() local
646 if (api->get_caps == NULL) { in video_get_caps()
650 return api->get_caps(dev, ep, caps); in video_get_caps()
670 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_set_ctrl() local
672 if (api->set_ctrl == NULL) { in video_set_ctrl()
676 return api->set_ctrl(dev, cid, value); in video_set_ctrl()
696 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_get_ctrl() local
698 if (api->get_ctrl == NULL) { in video_get_ctrl()
702 return api->get_ctrl(dev, cid, value); in video_get_ctrl()
721 const struct video_driver_api *api = (const struct video_driver_api *)dev->api; in video_set_signal() local
723 if (api->set_signal == NULL) { in video_set_signal()
727 return api->set_signal(dev, ep, signal); in video_set_signal()