Jetson Linux API Reference

32.7.4 Release
max9296.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020, NVIDIA Corporation. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms and conditions of the GNU General Public License,
6  * version 2, as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11  * more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
25 #ifndef __MAX9296_H__
26 #define __MAX9296_H__
27 
28 #include <media/gmsl-link.h>
47 int max9296_setup_link(struct device *dev, struct device *s_dev);
48 
60 int max9296_setup_control(struct device *dev, struct device *s_dev);
61 
74 int max9296_reset_control(struct device *dev, struct device *s_dev);
75 
89 int max9296_sdev_register(struct device *dev, struct gmsl_link_ctx *g_ctx);
90 
99 int max9296_sdev_unregister(struct device *dev, struct device *s_dev);
100 
110 int max9296_setup_streaming(struct device *dev, struct device *s_dev);
111 
122 int max9296_start_streaming(struct device *dev, struct device *s_dev);
123 
138 int max9296_stop_streaming(struct device *dev, struct device *s_dev);
139 
150 int max9296_power_on(struct device *dev);
151 
160 void max9296_power_off(struct device *dev);
161 
164 #endif /* __MAX9296_H__ */
max9296_stop_streaming
int max9296_stop_streaming(struct device *dev, struct device *s_dev)
Disables streaming.
max9296_reset_control
int max9296_reset_control(struct device *dev, struct device *s_dev)
Resets a deserializer device's link control pipeline.
max9296_start_streaming
int max9296_start_streaming(struct device *dev, struct device *s_dev)
Enables streaming.
max9296_sdev_register
int max9296_sdev_register(struct device *dev, struct gmsl_link_ctx *g_ctx)
Registers a source sensor device with a deserializer device.
max9296_setup_streaming
int max9296_setup_streaming(struct device *dev, struct device *s_dev)
Performs internal pipeline configuration for a link in context to set up streaming,...
max9296_power_on
int max9296_power_on(struct device *dev)
Powers on the max9296 deserializer module.
max9296_setup_control
int max9296_setup_control(struct device *dev, struct device *s_dev)
Sets up a deserializer link's control pipeline.
max9296_sdev_unregister
int max9296_sdev_unregister(struct device *dev, struct device *s_dev)
Unregisters a source sensor device from its deserializer device.
max9296_setup_link
int max9296_setup_link(struct device *dev, struct device *s_dev)
Puts a deserializer device in single exclusive link mode, so link-specific I2C overrides can be perfo...
max9296_power_off
void max9296_power_off(struct device *dev)
Powers off the max9296 deserializer module.