Lines Matching defs:cobalt
135 #define COBALT_CVI(cobalt, c) \ argument
137 #define COBALT_CVI_VMR(cobalt, c) \ argument
139 #define COBALT_CVI_EVCNT(cobalt, c) \ argument
141 #define COBALT_CVI_FREEWHEEL(cobalt, c) \ argument
143 #define COBALT_CVI_CLK_LOSS(cobalt, c) \ argument
145 #define COBALT_CVI_PACKER(cobalt, c) \ argument
148 #define COBALT_TX_BASE(cobalt) (cobalt->bar1 + COBALT_VID_BASE + 0x5000) argument
180 struct cobalt *cobalt; member
254 struct cobalt *cobalt; member
261 struct cobalt { struct
273 struct cobalt_stream streams[DMA_CHANNELS_MAX]; argument
275 struct cobalt_i2c_data i2c_data[COBALT_NUM_ADAPTERS]; argument
276 bool have_hsma_rx;
277 bool have_hsma_tx;
280 struct workqueue_struct *irq_work_queues;
304 static inline struct cobalt *to_cobalt(struct v4l2_device *v4l2_dev) in to_cobalt() argument
309 static inline void cobalt_write_bar0(struct cobalt *cobalt, u32 reg, u32 val) in cobalt_write_bar0()
314 static inline u32 cobalt_read_bar0(struct cobalt *cobalt, u32 reg) in cobalt_read_bar0()
319 static inline void cobalt_write_bar1(struct cobalt *cobalt, u32 reg, u32 val) in cobalt_write_bar1()
324 static inline u32 cobalt_read_bar1(struct cobalt *cobalt, u32 reg) in cobalt_read_bar1()
329 static inline u32 cobalt_g_sysctrl(struct cobalt *cobalt) in cobalt_g_sysctrl()
334 static inline void cobalt_s_bit_sysctrl(struct cobalt *cobalt, in cobalt_s_bit_sysctrl()
343 static inline u32 cobalt_g_sysstat(struct cobalt *cobalt) in cobalt_g_sysstat()