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

phantom.c

ファイル名ファイル名

phantom.c

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

内容 行数 比率
コメント行数 544 26%
空行行数 340 16%
実行行数 1228 58%
合計行数 2112 100%

関数定義数関数定義数

内容 定義数
関数数 46

定義関数定義関数

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_block static int Firmware message buffer access (for debug)
8
StaticStatic phantom_read_test_mem static int Read single byte from Phantom test memory
9
StaticStatic phantom_dmesg static int Dump Phantom firmware dmesg log
10
StaticStatic __attribute__ static void Dump Phantom firmware dmesg logs
11
StaticStatic phantom_wait_for_cmd static int Firmware interface
12
StaticStatic phantom_issue_cmd static int Issue command to firmware
13
StaticStatic phantom_issue_buf_cmd static int Issue buffer-format command to firmware
14
StaticStatic phantom_create_rx_ctx static int Create Phantom RX context
15
StaticStatic phantom_destroy_rx_ctx static void Destroy Phantom RX context
16
StaticStatic phantom_create_tx_ctx static int Create Phantom TX context
17
StaticStatic phantom_destroy_tx_ctx static void Destroy Phantom TX context
18
StaticStatic phantom_alloc_rds static int Descriptor ring management
19
StaticStatic phantom_post_rds static void Post Phantom RX descriptor
20
StaticStatic phantom_alloc_cds static int Allocate Phantom TX descriptor
21
StaticStatic phantom_post_cds static void Post Phantom TX descriptor
22
StaticStatic phantom_update_macaddr static int MAC address management
23
InlineInline phantom_add_macaddr static inline int Add MAC address
24
InlineInline phantom_del_macaddr static inline int Remove MAC address
25
StaticStatic phantom_poll_link_state static void Link state detection
26
StaticStatic phantom_refill_rx_ring static void Main driver body
27
StaticStatic phantom_open static int Open NIC
28
StaticStatic phantom_close static void Close NIC
29
StaticStatic phantom_transmit static int Transmit packet
30
StaticStatic phantom_poll static void Poll for received packets
31
StaticStatic phantom_irq static void Enable/disable interrupts
32
StaticStatic phantom_clp_wait static int Wait for Phantom CLP command to complete
33
StaticStatic phantom_clp_cmd static int Issue Phantom CLP command
34
StaticStatic phantom_clp_store static int Store Phantom CLP setting
35
StaticStatic phantom_clp_fetch static int Fetch Phantom CLP setting
36
StaticStatic phantom_clp_setting static unsigned int Find Phantom CLP setting
37
StaticStatic phantom_store_setting static int Store Phantom CLP setting
38
StaticStatic phantom_fetch_setting static int Fetch Phantom CLP setting
39
StaticStatic phantom_map_crb static int Initialisation
40
StaticStatic phantom_unhalt_pegs static void Unhalt all PEGs
41
StaticStatic phantom_init_cmdpeg static int Initialise the Phantom command PEG
42
StaticStatic phantom_get_macaddr static void Read Phantom MAC address
43
StaticStatic phantom_check_boot_enable static int Check Phantom is enabled for boot
44
StaticStatic phantom_init_rcvpeg static int Initialise Phantom receive PEG
45
StaticStatic phantom_probe static int Probe PCI device
46
StaticStatic phantom_remove static void Remove PCI device

See Also

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