Lines Matching defs:cobalt
124 #define COBALT_CVI(cobalt, c) \ argument
126 #define COBALT_CVI_VMR(cobalt, c) \ argument
128 #define COBALT_CVI_EVCNT(cobalt, c) \ argument
130 #define COBALT_CVI_FREEWHEEL(cobalt, c) \ argument
132 #define COBALT_CVI_CLK_LOSS(cobalt, c) \ argument
134 #define COBALT_CVI_PACKER(cobalt, c) \ argument
137 #define COBALT_TX_BASE(cobalt) (cobalt->bar1 + COBALT_VID_BASE + 0x5000) argument
169 struct cobalt *cobalt; member
243 struct cobalt *cobalt; member
250 struct cobalt { struct
254 /* serialize PCI access in cobalt_s_bit_sysctrl() */ argument
263 struct cobalt_stream streams[DMA_CHANNELS_MAX]; argument
265 struct cobalt_i2c_data i2c_data[COBALT_NUM_ADAPTERS]; argument
266 bool have_hsma_rx;
267 bool have_hsma_tx;
292 static inline struct cobalt *to_cobalt(struct v4l2_device *v4l2_dev) in to_cobalt() argument
297 static inline void cobalt_write_bar0(struct cobalt *cobalt, u32 reg, u32 val) in cobalt_write_bar0()
302 static inline u32 cobalt_read_bar0(struct cobalt *cobalt, u32 reg) in cobalt_read_bar0()
307 static inline void cobalt_write_bar1(struct cobalt *cobalt, u32 reg, u32 val) in cobalt_write_bar1()
312 static inline u32 cobalt_read_bar1(struct cobalt *cobalt, u32 reg) in cobalt_read_bar1()
317 static inline u32 cobalt_g_sysctrl(struct cobalt *cobalt) in cobalt_g_sysctrl()
322 static inline void cobalt_s_bit_sysctrl(struct cobalt *cobalt, in cobalt_s_bit_sysctrl()
334 static inline u32 cobalt_g_sysstat(struct cobalt *cobalt) in cobalt_g_sysstat()