自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(29)
  • 资源 (6)
  • 收藏
  • 关注

原创 Linux USB "On-The-Go"(OTG) on OMAP H2 软件架构分析(三)

USB控制器驱动 (USB Controller Drivers)在linux 2.6 kernel中定义了一些抽象的接口,用于在不同驱动程序间(如:OHCI driver与UDC driver)通信.omap_usb_config是与处理器OMAP相关的接口(定义在include/asm-arm/arch-omap/board.h中的struct omap_usb_config),用来定义板

2008-06-25 20:15:00 3988

原创 Linux USB "On-The-Go"(OTG) on OMAP H2 软件架构分析(二)

编程接口的变化为了支持OTG特性,编程接口上作了尽可能小的改动。这些改动并不会改变已有的编程模型:主机端仍然会用urb和usb_device,设备端仍然会用ueb_request和usb_gadget。从某些角度来说,也许我们更希望将urb变成类似urb_gadget这样的轻量级模型,这样在主机和设备端就可以有对称的编程接口。但是现在还没必要去这样做。 设备端:usb设备控制器(U

2008-06-25 20:13:00 3790

原创 urb传输的代码分析

urb传输的代码分析 如需引用,请注明出处blog.csdn.net/zkami 作者ZhengKui分配一个urb,并初始化之。返回这个urb的指针usb_alloc_urb(int iso_packets, gfp_t mem_flags) (core/message.c)    ->urb = kmalloc(...);  分配一个urb    ->usb_init_urb(urb); 初始

2008-06-02 16:18:00 4022 1

转载 面朝大海,春暖花开

面朝大海,春暖花开      作者:海子 从明天起,做一个幸福的人 喂马,劈柴,周游世界 从明天起,关心粮食和蔬菜 我有一所房子,面朝大海,春暖花开 从明天起,和每一个亲人通信 告诉他们我的幸福 那幸福的闪电告诉我的 我将告诉每一个人 给每一条河每一座山取一个温暖的名字 陌生人,我也为你祝福 愿你有一个灿烂的前程 愿你有情人终成眷属 愿你在尘世获的幸福 我也愿面朝大海,春暖花开

2009-05-04 20:26:00 579

转载 两个傻子的爱情

两个傻子的爱情  从前有这样的一个爱情故事,故事的主角是两个傻瓜。男的好傻,傻的只知道说疯话,女的  也好傻,傻的只知道用那双无神的眼睛看着男的,笑,傻笑。  两个人本来不认识,他们一个天南,一个地北。家里人嫌他们傻,都抛弃了她们  ,任他们四处流浪。男的从南往北走,女的从北往 南走,流浪,流浪……。男的以前并不傻,而是因为在工地上干建筑的时候被砖砸中了头,从那以后就傻了。女的以前也不

2009-02-05 20:12:00 888 1

原创 DRM "ioctl" command routing

--------------------------drm/libdrm/xf86drm.c-------------------int drmIoctl(int fd, unsigned long request, void *arg)-> ioctl(fd, request, arg);其中request定义于drm.h, 只是一个unsigned long, 代表了一个ioctl请求号#de

2009-02-04 00:22:00 1681

转载 GEM - the Graphics Execution Manager

Contents: 1. GEM Overview 2. API overview and conventions 3. Object Creation/Destruction 4. Reading/writing contents 5. Mapping objects to userspace 6. Memory Domains 7. Execution (Intel specific) 8.

2009-01-03 02:37:00 1223

转载 Introduction to the Direct Rendering Infrastructure

Introduction to the Direct Rendering InfrastructureBrian Paul ([email protected]) 10 August 2000 This document is an introduction and high-level user guide for the Direct Rendering In

2008-12-28 00:54:00 871

转载 The Direct Rendering Manager: Kernel Support for the Direct Rendering Infrastructure

 The Direct Rendering Manager: Kernel Support for the Direct Rendering Infrastructure Rickard E. Faith Precision Insight, Inc. $Date: 1999/05/11 22:45:24 $, $Revision: 1.4 $ This paper conta

2008-12-28 00:46:00 1625

原创 Graphics Device Overview

graphics Device OverviewGMCH(Graphics Memory Controller Hub)Intel gfx device集成在GMCH(Graphics Memory Controller Hub), 也就是北桥。 Graphics Processing Unit (GPU)The Graphics Processing Unit is co

2008-12-27 23:23:00 1414

原创 intel gfx driver --- AGPGART

AGP-GARTAGP的工作方式    AGP有两种工作方式:一个是DMA(直接存储器存取),一个是DIME(直接内存执行)。AGP技术中的DMA是利用高速的AGP来提高数据传输率,不使用PC机的内存作为显存的扩展,全部的图形运算还是在显存内部完成,这实际上不是真正意义上的AGP。如图:texture Data :  disk à main mem (cpu may process textu

2008-12-21 23:37:00 4066

转载 GEM v. TTM

GEM v. TTMBy Jonathan CorbetMay 28, 2008 Getting high-performance, three-dimensional graphics working under Linux is quite a challenge even when the fundamental hardware programming information

2008-10-31 01:38:00 1225 1

转载 EXA, UXA, DRI, GEM, TTM 扫盲贴

EXA, UXA, DRI, GEM, TTMNow that DRI2 was removed from the Xorg7.4 release, there is a lot of whining around why it was not released as is so that we have at least something working.The first thing

2008-10-31 01:30:00 1860 1

翻译 OpenGL versus OpenGL ES

 OpenGL versus OpenGL ESOpenGL is a powerful, flexible API, initially designed for high-end workstations, but now suitable for PCs. Because it is an open standard contributed to by many leading en

2008-10-04 16:30:00 1765

原创 Gadget Framework 代码分析(二) --- zero.c

            Gadget Framework 代码分析(二) --- zero.c struct zero_dev {         spinlock_t  lock;         struct usb_gadget *gadget; //代表一个gadget设备         struct usb_request *req;  /* for control respo

2008-10-01 23:26:00 1956 1

原创 Gadget Framework 代码分析(一) ---structure

Gadget Framework 代码分析(一)   structurestruct usb_request {//表示一个传输的请求,与host端的urb类似         void   *buf; //存放的数据         unsigned  length; //数据长度         dma_addr_t  dma; //数据的DMA地址         unsigned 

2008-10-01 01:27:00 1687

转载 USB OTG software frees dual-role handheld devices

USB OTG software frees dual-role handheld devicesThe new OTG (On-The-Go) supplement to release Version 2.0 of the USB standard allows devices to exchange data without an intermediate host. OTG estab

2008-09-30 18:03:00 1401

转载 USB On-The-GO (OTG)

 USB On-The-GO (OTG)USB OTG support on Linux 2.6 was initially developed by Texas Instruments for OMAP 16xx and 17xx series processors. Other OTG systems should work in similar ways, but the hardwar

2008-09-30 17:33:00 1492

转载 Gadget Drivers

 Gadget DriversIn addition to Gadget Zero (used primarily for testing and development with drivers for usb controller hardware), other gadget drivers exist. Theres an ethernet gadget driver, whic

2008-09-30 17:30:00 952

转载 Peripheral Controller Drivers

 Peripheral Controller DriversThe first hardware supporting this API was the NetChip 2280 controller, which supports USB 2.0 high speed and is based on PCI. This is the net2280 driver module. The dr

2008-09-30 17:26:00 696

转载 Kernel Mode Gadget API

 Kernel Mode Gadget API Gadget drivers declare themselves through a struct usb_gadget_driver, which is responsible for most parts of enumeration for a struct usb_gadget. The response to a set_co

2008-09-30 17:15:00 743

转载 Structure of Gadget Drivers

  Structure of Gadget DriversA system running inside a USB peripheral normally has at least three layers inside the kernel to handle USB protocol processing, and may have additional layers in user s

2008-09-30 17:11:00 738

转载 Linux-USB Gadget API Framework

 Linux-USB Gadget API FrameworkLast Modified: 8 June 2005The API makes it easy for peripherals and other devices embedding GNU/Linux system software to act in the USB "device" (slave) role. T

2008-09-30 16:46:00 2168

原创 OTG Transceiver --- ISP1301 的驱动代码分析(一)

OTG Transceiver --- ISP1301 的驱动代码分析 如需引用,请注明出处blog.csdn.net/zkami 作者ZhengKui Isp1301是philips的外部收发器, 完全支持USB2.0和OTG1.0a规范。能以12Mbit/s(full-speed)和1.5Mbit/s(low-speed)的速度发送和接收串行数据。支持I2C总线接口。本文分析linu

2008-07-31 17:03:00 3192

原创 一切从这条校园招聘广告开始

  2006/11/1518:30~21:30西安西北工业大学东馆114展现才华的舞台 成功事业的起点SiS丰富卓越的研发团队,让您发挥无限大的潜能!矽统科技为领先全球的芯片设计公司,產品橫跨台式电脑、笔记本电脑、工业用电脑等核心逻辑芯片、多媒体芯片、通讯芯片、嵌入式系统芯片及内存模块。在全球芯片设计公司中,矽统科技拥有完整齐备的产品线与尖端研发技术,完全满足消费者

2008-07-31 12:38:00 1207 1

原创 Linux USB "On-The-Go"(OTG) on OMAP H2 软件架构分析(一)

Linux USB "On-The-Go"(OTG) on OMAP H2 软件架构分析(一)本文参考David rownell的文章http://www.linux-usb.org/gadget/h2-otg.html。介绍了linux2.6中关于usb-otg的软件体系结构。在刚结束的基于本公司usb-otg chip的solution也主要参考了omap的构架。如需引用请注明出处:h

2008-06-03 16:53:00 3318

原创 Usb Hub代码分析

Usb Hub代码分析如需引用请注明出处:http://blog.csdn.net/zkami 作者:ZhengKui在host controller初始化的时候一定会调用hub_probe进行初始化,至少对root hub初始化hub_probe(struct usb_interface *intf, const struct usb_device_id *id) (hub.c)此时struct

2008-06-02 19:57:00 3100

原创 Linux USB Host-Controller的初始化代码框架分析

usb_hcd_omap_probe (const struct hc_driver *driver) (dev/ohci/ohci-omap.c)在模块初始化时被platform_driver_register()调用,用来初始化与ohci_hcd_omap_driver相匹配的usb主控制器.->usb_create_hcd(driver);   创建一个代表host-controller的数

2008-05-30 16:07:00 2650

原创 COM组件接口继承的实现

1.创建Calculate组件,添加IFun接口(注意:本例我们在Attributes中我们选择Apartment,Custom,Yes).在IFun接口中添加函数Add实现两数相加的功能(参数为[in] long n1, [in] long n2, [out, retval] long *pVal).代码如下:STDMETHODIMP CCalCulate::Add(long n1, long

2005-08-15 09:53:00 1031

how gpu works

Furthermore, GPUs have moved away from the traditional fixed-function 3D graphics pipeline toward a flexible general-purpose computational engine. Today, GPUs can implement many parallel algorithms directly using graphics hardware. Well-suited algorithms that leverage all the underlying computational horsepower often achieve tremendous speedups. Truly, the GPU is the first widely deployed commodity desktop parallel computer.

2010-05-12

Extending the graphic pipeline with new GPU-accelerated primitives

Graphics hardware is optimized for rasterizing and solving the visibility of points, lines and polygons. In this paper, we propose a GPU implementation of new graphics primitives (e.g. spheres, cylinders, ellipsoids), which are compatible with the standard pipeline. Our technique consists of two steps, both executed on the GPU:

2010-05-12

The Art of Unix Programming

The Art of Unix Programming

2008-10-04

Understanding.the.Linux.Kernel.3rd.Edition

Understanding.the.Linux.Kernel.3rd.Edition

2008-10-04

Understanding Linux Network Internals

Understanding Linux Network Internals

2008-10-04

USB OTG software

Design OTG S/W.THE ON-THE-GO SUPPLEMENT TO RELEASE VERSION 2.0 OF THE USB STANDARD OPENS THE DOOR TO NEW CONSUMER PRODUCTS THAT CAN EXCHANGE DATA WITHOUT CONNECTING TO A PC HOST.

2008-09-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除