亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? iso.h

?? 1394在linux下單獨的驅動程序代碼
?? H
字號:
/** IEEE 1394 for Linux** kernel ISO transmission/reception** Copyright (C) 2002 Maas Digital LLC** This code is licensed under the GPL.  See the file COPYING in the root* directory of the kernel sources for details.*/#ifndef IEEE1394_ISO_H#define IEEE1394_ISO_H#include "hosts.h"#include "dma.h"/* high-level ISO interface *//* This API sends and receives isochronous packets on a large,virtually-contiguous kernel memory buffer. The buffer may be mappedinto a user-space process for zero-copy transmission and reception. There are no explicit boundaries between packets in the buffer. A packet may be transmitted or received at any location. However, low-level drivers may impose certain restrictions on alignment or size of packets. (e.g. in OHCI no packet may cross a page boundary, and packets should be quadlet-aligned)*//* Packet descriptor - the API maintains a ring buffer of these packetdescriptors in kernel memory (hpsb_iso.infos[]).  */struct hpsb_iso_packet_info {	/* offset of data payload relative to the first byte of the buffer */	__u32 offset;		/* length of the data payload, in bytes (not including the isochronous header) */	__u16 len;		/* (recv only) the cycle number (mod 8000) on which the packet was received */	__u16 cycle;		/* (recv only) channel on which the packet was received */	__u8 channel;		/* 2-bit 'tag' and 4-bit 'sy' fields of the isochronous header */	__u8 tag;	__u8 sy;};enum hpsb_iso_type { HPSB_ISO_RECV = 0, HPSB_ISO_XMIT = 1 };struct hpsb_iso {	enum hpsb_iso_type type;		/* pointer to low-level driver and its private data */	struct hpsb_host *host;	void *hostdata;		/* a function to be called (from interrupt context) after	outgoing packets have been sent, or incoming packets have	arrived */	void (*callback)(struct hpsb_iso*);		/* wait for buffer space */	wait_queue_head_t waitq;		int speed; /* IEEE1394_SPEED_100, 200, or 400 */	int channel; /* -1 if multichannel */					 /* greatest # of packets between interrupts - controls	   the maximum latency of the buffer */	int irq_interval;		/* the buffer for packet data payloads */	struct dma_region data_buf;		/* size of data_buf, in bytes (always a multiple of PAGE_SIZE) */	unsigned int buf_size;		/* # of packets in the ringbuffer */	unsigned int buf_packets;		/* protects packet cursors */	spinlock_t lock;		/* the index of the next packet that will be produced	   or consumed by the user */	int first_packet;		/* the index of the next packet that will be transmitted	   or received by the 1394 hardware */	int pkt_dma;		/* how many packets, starting at first_packet:	   (transmit) are ready to be filled with data	   (receive)  contain received data */	int n_ready_packets;		/* how many times the buffer has overflowed or underflowed */	atomic_t overflows;		/* private flags to track initialization progress */#define HPSB_ISO_DRIVER_INIT     (1<<0)#define HPSB_ISO_DRIVER_STARTED  (1<<1)	unsigned int flags;		/* # of packets left to prebuffer (xmit only) */	int prebuffer;		/* starting cycle for DMA (xmit only) */	int start_cycle;		/* cycle at which next packet will be transmitted,	   -1 if not known */	int xmit_cycle;		/* ringbuffer of packet descriptors in regular kernel memory	* XXX Keep this last, since we use over-allocated memory from	* this entry to fill this field. */	struct hpsb_iso_packet_info *infos;};/* functions available to high-level drivers (e.g. raw1394) *//* allocate the buffer and DMA context */struct hpsb_iso* hpsb_iso_xmit_init(struct hpsb_host *host,									unsigned int data_buf_size,									unsigned int buf_packets,									int channel,									int speed,									int irq_interval,									void (*callback)(struct hpsb_iso*));/* note: if channel = -1, multi-channel receive is enabled */struct hpsb_iso* hpsb_iso_recv_init(struct hpsb_host *host,									unsigned int data_buf_size,									unsigned int buf_packets,									int channel,									int irq_interval,									void (*callback)(struct hpsb_iso*));/* multi-channel only */int hpsb_iso_recv_listen_channel(struct hpsb_iso *iso, unsigned char channel);int hpsb_iso_recv_unlisten_channel(struct hpsb_iso *iso, unsigned char channel);int hpsb_iso_recv_set_channel_mask(struct hpsb_iso *iso, u64 mask);/* start/stop DMA */int hpsb_iso_xmit_start(struct hpsb_iso *iso, int start_on_cycle, int prebuffer);int hpsb_iso_recv_start(struct hpsb_iso *iso, int start_on_cycle, int tag_mask, int sync);void hpsb_iso_stop(struct hpsb_iso *iso);/* deallocate buffer and DMA context */void hpsb_iso_shutdown(struct hpsb_iso *iso);/* queue a packet for transmission. 'offset' is relative to the beginning of theDMA buffer, where the packet's data payload should already have been placed */int hpsb_iso_xmit_queue_packet(struct hpsb_iso *iso, u32 offset, u16 len, u8 tag, u8 sy);/* wait until all queued packets have been transmitted to the bus */int hpsb_iso_xmit_sync(struct hpsb_iso *iso);/* N packets have been read out of the buffer, re-use the buffer space */int  hpsb_iso_recv_release_packets(struct hpsb_iso *recv, unsigned int n_packets);/* check for arrival of new packets immediately (even if irq_intervalhas not yet been reached) */int hpsb_iso_recv_flush(struct hpsb_iso *iso);/* returns # of packets ready to send or receive */int hpsb_iso_n_ready(struct hpsb_iso *iso);/* the following are callbacks available to low-level drivers *//* call after a packet has been transmitted to the bus (interrupt context is OK)'cycle' is the _exact_ cycle the packet was sent on'error' should be non-zero if some sort of error occurred when sending the packet*/void hpsb_iso_packet_sent(struct hpsb_iso *iso, int cycle, int error);/* call after a packet has been received (interrupt context OK) */void hpsb_iso_packet_received(struct hpsb_iso *iso, u32 offset, u16 len,							  u16 cycle, u8 channel, u8 tag, u8 sy);/* call to wake waiting processes after buffer space has opened up. */void hpsb_iso_wake(struct hpsb_iso *iso);#endif /* IEEE1394_ISO_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本精品视频一区二区| 寂寞少妇一区二区三区| 国产免费成人在线视频| 91精品一区二区三区在线观看| 欧美在线999| 欧美日韩视频不卡| 欧美成人a在线| 欧美国产成人在线| 午夜精品久久久久久久蜜桃app| 亚洲国产视频一区二区| 狠狠网亚洲精品| 在线免费精品视频| 国产日本一区二区| 亚洲一区欧美一区| 丰满放荡岳乱妇91ww| 欧洲av一区二区嗯嗯嗯啊| 日韩欧美一区二区免费| 亚洲激情自拍视频| 国产伦精品一区二区三区免费迷| 欧美视频在线一区二区三区| 国产视频不卡一区| 奇米四色…亚洲| 精品精品国产高清a毛片牛牛 | 午夜日韩在线观看| 欧美三级电影精品| 成人激情视频网站| 日韩一区二区在线看片| 艳妇臀荡乳欲伦亚洲一区| 丁香亚洲综合激情啪啪综合| 欧美一区二区视频观看视频| 国产精品乱人伦一区二区| 在线免费观看日本一区| 国产精品1区2区3区| 日韩高清不卡一区二区三区| 午夜伦欧美伦电影理论片| 最新热久久免费视频| 久久精品视频网| 久久精品亚洲精品国产欧美| 欧美一区二区精品| 国产成人小视频| 久久亚洲私人国产精品va媚药| 久久超碰97人人做人人爱| 精品99久久久久久| 色综合天天做天天爱| 亚洲妇熟xx妇色黄| 亚洲图片有声小说| 粉嫩aⅴ一区二区三区四区五区| 久久人人超碰精品| 国产精品一区二区免费不卡| 亚洲色图在线视频| 久久午夜色播影院免费高清| 亚洲天堂中文字幕| 7777精品伊人久久久大香线蕉完整版| 中文欧美字幕免费| 欧美日韩综合色| 久久国产精品一区二区| 欧美性大战久久| 国产乱码精品一区二区三区av| 久久 天天综合| 一区二区不卡在线播放 | 亚洲国产精品影院| 4438x成人网最大色成网站| 午夜欧美在线一二页| 亚洲欧美激情一区二区| 欧美肥妇bbw| 色婷婷综合五月| 成人97人人超碰人人99| 亚洲线精品一区二区三区| 欧美亚一区二区| 成人性视频免费网站| 日韩不卡在线观看日韩不卡视频| 日韩一区二区中文字幕| 蜜桃视频在线一区| 欧美一级淫片007| 大尺度一区二区| 亚洲日本护士毛茸茸| 色8久久精品久久久久久蜜| 97aⅴ精品视频一二三区| 91捆绑美女网站| 7777精品伊人久久久大香线蕉的 | 丝袜美腿一区二区三区| 国产精品一区二区你懂的| 欧美高清你懂得| 美国精品在线观看| 欧美一卡在线观看| 国产亚洲福利社区一区| 欧美国产一区视频在线观看| 亚洲精品国久久99热| 午夜视频在线观看一区二区三区| 精品一区二区三区蜜桃| 99久久精品免费精品国产| 欧美精品视频www在线观看| www国产亚洲精品久久麻豆| 亚洲乱码中文字幕| 色婷婷亚洲精品| 日韩亚洲欧美成人一区| 亚洲精品国产第一综合99久久| 日本不卡免费在线视频| bt7086福利一区国产| 美女被吸乳得到大胸91| 国产激情视频一区二区三区欧美 | www.成人在线| 欧美性色黄大片| 欧美日本视频在线| 亚洲欧洲成人自拍| 国产精品自拍av| 精品国产成人系列| 国产精品一区二区久激情瑜伽| 国产日本亚洲高清| 色综合激情五月| 成人午夜av影视| 免费成人在线视频观看| 亚洲伦理在线免费看| 中文字幕精品—区二区四季| 亚洲乱码日产精品bd| 五月激情综合色| 97se亚洲国产综合在线| 久久久久久久久伊人| 成人综合在线网站| 一区二区视频免费在线观看| 91国偷自产一区二区开放时间| 亚洲伦理在线精品| 欧美一区二区人人喊爽| 精品在线观看视频| 国产精品久久久久久久久久免费看| 成人教育av在线| 亚洲综合一区二区| 91.com视频| 久久99精品国产.久久久久久| 欧美精品丝袜久久久中文字幕| 在线观看一区二区视频| 色婷婷综合激情| **性色生活片久久毛片| 欧美日韩亚洲综合一区二区三区| 亚洲日本va午夜在线影院| 国产综合色精品一区二区三区| 欧美一级电影网站| 激情图片小说一区| 日本一区二区三区四区 | 日韩精品专区在线影院观看| 懂色av一区二区在线播放| 五月天亚洲婷婷| 中文字幕亚洲欧美在线不卡| 精品国产免费人成电影在线观看四季| 成人黄色av电影| 99久久精品国产精品久久| 国产成人av福利| 国产精品中文欧美| 99精品久久久久久| 裸体一区二区三区| 国产91丝袜在线观看| 91久久香蕉国产日韩欧美9色| 欧美美女视频在线观看| 亚洲三级久久久| 麻豆成人在线观看| 欧美日韩高清影院| 亚洲欧美日韩国产一区二区三区 | 欧美精品一区二区在线观看| 亚洲天堂精品在线观看| 国产在线不卡一区| a4yy欧美一区二区三区| 91免费看片在线观看| 欧美日韩精品二区第二页| 日韩一级片网站| 欧美高清在线一区| 奇米四色…亚洲| 99久久久国产精品| 91精品国产91久久久久久一区二区 | 久久久久久久综合色一本| 欧美日韩在线三级| 日韩欧美一级在线播放| 久久精品二区亚洲w码| www成人在线观看| 亚洲欧美国产毛片在线| 中国av一区二区三区| 久久国产麻豆精品| 不卡电影一区二区三区| 日本欧美在线观看| 国产成人综合网| 成人激情免费视频| 精品国产一二三| 男人操女人的视频在线观看欧美 | 亚洲mv在线观看| 首页综合国产亚洲丝袜| 欧美在线观看一区二区| 肉色丝袜一区二区| 欧美大度的电影原声| 国产一区视频网站| 视频一区在线视频| 欧美国产日韩一二三区| 欧美日韩日日骚| 成人小视频免费观看| 爽爽淫人综合网网站| 亚洲区小说区图片区qvod| 欧美电影一区二区| 99re这里只有精品首页| 亚洲国产综合色| 日韩午夜激情电影| 国产毛片一区二区| 亚洲国产精品精华液2区45|