to7str

   ::  ::  :: 联系 ::  :: 管理

随笔分类 -  iTech

....
摘要:. 阅读全文
posted @ 2013-02-22 23:28 to7str 阅读(120) 评论(1) 推荐(0)

摘要:. 阅读全文
posted @ 2012-12-25 18:45 to7str 阅读(162) 评论(9) 推荐(0)

摘要:【1】camera端设备驱动api __ccic_cam_cmd(pxa910_camera.c)--> command-->> ov5640_mipi_command(供host端调用的接口ov5640_mipi.c)-- >switch case{ case v4l2定义的ioctl: 调用camera操作函数(通过i2c)}【2】camera控制器驱动struct ccic_camera{ int irq; struct platform_device *pdev; struct video_device v4ldev;//重要 struct ... 阅读全文
posted @ 2012-11-12 10:08 to7str 阅读(382) 评论(12) 推荐(0)

摘要:主要文件:fbmem.c、fbsys.c、fbcon.c(1)注册framebuff 基本操作:填充 struct fb_info; 和 struct fb_ops;两个数据结构、配置dma,再调用int register_framebuffer(struct fb_info *fb_info);进行注册;将fb_info指针赋值给全局指针数组:struct fb_info *registered_fb[FB_MAX];这时可以通过这个全局数组找到fb_info这个数据结构。(2)fbmem_init函数注册字符设备,关联操作函数static const struct file_operat. 阅读全文
posted @ 2012-09-02 14:00 to7str 阅读(369) 评论(24) 推荐(0)