Lines Matching refs:go7007
25 #include "go7007-priv.h"
33 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data)
56 int go7007_read_addr(struct go7007 *go, u16 addr, u16 *data)
78 static int go7007_load_encoder(struct go7007 *go)
81 char fw_name[] = "go7007/go7007fw.bin";
92 v4l2_err(go, "file \"%s\" does not appear to be go7007 firmware\n", fw_name);
117 MODULE_FIRMWARE("go7007/go7007fw.bin");
126 int go7007_boot_encoder(struct go7007 *go, int init_i2c)
151 static int go7007_init_encoder(struct go7007 *go)
185 int go7007_reset_encoder(struct go7007 *go)
197 struct go7007 *go = i2c_get_adapdata(adapter);
216 pr_info("go7007: probing for module i2c:%s failed\n", i2c->type);
221 * Detach and unregister the encoder. The go7007 struct won't be freed
227 struct go7007 *go = container_of(v4l2_dev, struct go7007, v4l2_dev);
250 int go7007_register_encoder(struct go7007 *go, unsigned num_i2c_devs)
254 dev_info(go->dev, "go7007: registering new %s\n", go->name);
321 int go7007_start_encoder(struct go7007 *go)
388 static void go7007_set_motion_regions(struct go7007 *go, struct go7007_buffer *vb,
410 static void go7007_motion_regions(struct go7007 *go, struct go7007_buffer *vb)
439 static struct go7007_buffer *frame_boundary(struct go7007 *go, struct go7007_buffer *vb)
477 static void write_bitmap_word(struct go7007 *go)
496 void go7007_parse_video_stream(struct go7007 *go, u8 *buf, int length)
688 * Allocate a new go7007 struct. Used by the hardware-specific probe.
690 struct go7007 *go7007_alloc(const struct go7007_board_info *board,
693 struct go7007 *go;
695 go = kzalloc(sizeof(struct go7007), GFP_KERNEL);
716 void go7007_update_board(struct go7007 *go)