ファイル名phantom.c
ソースファイル情報| 内容 | 行数 | 比率 | 
|---|---|---|
| コメント行数 | 544 | 26% | 
| 空行行数 | 340 | 16% | 
| 実行行数 | 1228 | 58% | 
| 合計行数 | 2112 | 100% | 
関数定義数| 内容 | 定義数 | 
|---|---|
| 関数数 | 46 | 
定義関数| No. | 型 | 名称 | 属性 | 説明 | 
|---|---|---|---|---|
1  | 
phantom_crb_access_128m | static unsigned long | CRB register access | |
2  | 
phantom_crb_access_32m | static unsigned long | Prepare for access to CRB register via 32MB BAR | |
3  | 
phantom_crb_access_2m | static unsigned long | Prepare for access to CRB register via 2MB BAR | |
4  | 
phantom_readl | static uint32_t | Read from Phantom CRB register | |
5  | 
phantom_writel | static void | Write to Phantom CRB register | |
6  | 
phantom_write_hilo | static inline void | Write to Phantom CRB HI/LO register pair | |
7  | 
phantom_read_test_mem_block | static int | Firmware message buffer access (for debug) | |
8  | 
phantom_read_test_mem | static int | Read single byte from Phantom test memory | |
9  | 
phantom_dmesg | static int | Dump Phantom firmware dmesg log | |
10  | 
__attribute__ | static void | Dump Phantom firmware dmesg logs | |
11  | 
phantom_wait_for_cmd | static int | Firmware interface | |
12  | 
phantom_issue_cmd | static int | Issue command to firmware | |
13  | 
phantom_issue_buf_cmd | static int | Issue buffer-format command to firmware | |
14  | 
phantom_create_rx_ctx | static int | Create Phantom RX context | |
15  | 
phantom_destroy_rx_ctx | static void | Destroy Phantom RX context | |
16  | 
phantom_create_tx_ctx | static int | Create Phantom TX context | |
17  | 
phantom_destroy_tx_ctx | static void | Destroy Phantom TX context | |
18  | 
phantom_alloc_rds | static int | Descriptor ring management | |
19  | 
phantom_post_rds | static void | Post Phantom RX descriptor | |
20  | 
phantom_alloc_cds | static int | Allocate Phantom TX descriptor | |
21  | 
phantom_post_cds | static void | Post Phantom TX descriptor | |
22  | 
phantom_update_macaddr | static int | MAC address management | |
23  | 
phantom_add_macaddr | static inline int | Add MAC address | |
24  | 
phantom_del_macaddr | static inline int | Remove MAC address | |
25  | 
phantom_poll_link_state | static void | Link state detection | |
26  | 
phantom_refill_rx_ring | static void | Main driver body | |
27  | 
phantom_open | static int | Open NIC | |
28  | 
phantom_close | static void | Close NIC | |
29  | 
phantom_transmit | static int | Transmit packet | |
30  | 
phantom_poll | static void | Poll for received packets | |
31  | 
phantom_irq | static void | Enable/disable interrupts | |
32  | 
phantom_clp_wait | static int | Wait for Phantom CLP command to complete | |
33  | 
phantom_clp_cmd | static int | Issue Phantom CLP command | |
34  | 
phantom_clp_store | static int | Store Phantom CLP setting | |
35  | 
phantom_clp_fetch | static int | Fetch Phantom CLP setting | |
36  | 
phantom_clp_setting | static unsigned int | Find Phantom CLP setting | |
37  | 
phantom_store_setting | static int | Store Phantom CLP setting | |
38  | 
phantom_fetch_setting | static int | Fetch Phantom CLP setting | |
39  | 
phantom_map_crb | static int | Initialisation | |
40  | 
phantom_unhalt_pegs | static void | Unhalt all PEGs | |
41  | 
phantom_init_cmdpeg | static int | Initialise the Phantom command PEG | |
42  | 
phantom_get_macaddr | static void | Read Phantom MAC address | |
43  | 
phantom_check_boot_enable | static int | Check Phantom is enabled for boot | |
44  | 
phantom_init_rcvpeg | static int | Initialise Phantom receive PEG | |
45  | 
phantom_probe | static int | Probe PCI device | |
46  | 
phantom_remove | static void | Remove PCI device | 
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー