ファイル定義書 仕様書 自動 作成 ツール【A HotDocument】

phantom.c

ファイル名ファイル名

phantom.c

ソースファイル情報ソースファイル情報

内容 行数 比率
コメント行数 475 24%
空行行数 304 15%
実行行数 1186 61%
合計行数 1965 100%

関数定義数関数定義数

内容 定義数
関数数 41

定義関数定義関数

No. 名称 属性 説明
1
StaticStatic phantom_crb_access_128m static unsigned long CRB register access
2
StaticStatic phantom_crb_access_32m static unsigned long Prepare for access to CRB register via 32MB BAR
3
StaticStatic phantom_crb_access_2m static unsigned long Prepare for access to CRB register via 2MB BAR
4
StaticStatic phantom_readl static uint32_t Read from Phantom CRB register
5
StaticStatic phantom_writel static void Write to Phantom CRB register
6
InlineInline phantom_write_hilo static inline void Write to Phantom CRB HI/LO register pair
7
StaticStatic phantom_read_test_mem static int Firmware message buffer access (for debug)
8
StaticStatic phantom_dmesg static void Dump Phantom firmware dmesg log
9
StaticStatic __attribute__ static void Dump Phantom firmware dmesg logs
10
StaticStatic phantom_spi_lock static int SPI bus access (for flash memory)
11
StaticStatic phantom_spi_wait static int Wait for Phantom SPI command to complete
12
StaticStatic phantom_spi_unlock static void Release Phantom SPI lock
13
StaticStatic phantom_spi_rw static int Read/write data via Phantom SPI bus
14
StaticStatic phantom_wait_for_cmd static int Firmware interface
15
StaticStatic phantom_issue_cmd static int Issue command to firmware
16
StaticStatic phantom_issue_buf_cmd static int Issue buffer-format command to firmware
17
StaticStatic phantom_create_rx_ctx static int Create Phantom RX context
18
StaticStatic phantom_destroy_rx_ctx static void Destroy Phantom RX context
19
StaticStatic phantom_create_tx_ctx static int Create Phantom TX context
20
StaticStatic phantom_destroy_tx_ctx static void Destroy Phantom TX context
21
StaticStatic phantom_alloc_rds static int Descriptor ring management
22
StaticStatic phantom_post_rds static void Post Phantom RX descriptor
23
StaticStatic phantom_alloc_cds static int Allocate Phantom TX descriptor
24
StaticStatic phantom_post_cds static void Post Phantom TX descriptor
25
StaticStatic phantom_update_macaddr static int MAC address management
26
InlineInline phantom_add_macaddr static inline int Add MAC address
27
InlineInline phantom_del_macaddr static inline int Remove MAC address
28
StaticStatic phantom_poll_link_state static void Link state detection
29
StaticStatic phantom_refill_rx_ring static void Main driver body
30
StaticStatic phantom_open static int Open NIC
31
StaticStatic phantom_close static void Close NIC
32
StaticStatic phantom_transmit static int Transmit packet
33
StaticStatic phantom_poll static void Poll for received packets
34
StaticStatic phantom_irq static void Enable/disable interrupts
35
StaticStatic phantom_map_crb static int Map Phantom CRB window
36
StaticStatic phantom_read_flash static int Read Phantom flash contents
37
StaticStatic phantom_init_cmdpeg static int Initialise the Phantom command PEG
38
StaticStatic phantom_get_macaddr static void Read Phantom MAC address
39
StaticStatic phantom_init_rcvpeg static int Initialise Phantom receive PEG
40
StaticStatic phantom_probe static int Probe PCI device
41
StaticStatic phantom_remove static void Remove PCI device

See Also

目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー