摘要:.
阅读全文
随笔分类 - iTech
....
摘要:【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 ...
阅读全文
摘要:主要文件: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.
阅读全文
|