ファイル名phantom.c
ソースファイル情報| 内容 | 行数 | 比率 |
|---|---|---|
| コメント行数 | 475 | 24% |
| 空行行数 | 304 | 15% |
| 実行行数 | 1186 | 61% |
| 合計行数 | 1965 | 100% |
関数定義数| 内容 | 定義数 |
|---|---|
| 関数数 | 41 |
定義関数| 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 | static int | Firmware message buffer access (for debug) | |
8 |
phantom_dmesg | static void | Dump Phantom firmware dmesg log | |
9 |
__attribute__ | static void | Dump Phantom firmware dmesg logs | |
10 |
phantom_spi_lock | static int | SPI bus access (for flash memory) | |
11 |
phantom_spi_wait | static int | Wait for Phantom SPI command to complete | |
12 |
phantom_spi_unlock | static void | Release Phantom SPI lock | |
13 |
phantom_spi_rw | static int | Read/write data via Phantom SPI bus | |
14 |
phantom_wait_for_cmd | static int | Firmware interface | |
15 |
phantom_issue_cmd | static int | Issue command to firmware | |
16 |
phantom_issue_buf_cmd | static int | Issue buffer-format command to firmware | |
17 |
phantom_create_rx_ctx | static int | Create Phantom RX context | |
18 |
phantom_destroy_rx_ctx | static void | Destroy Phantom RX context | |
19 |
phantom_create_tx_ctx | static int | Create Phantom TX context | |
20 |
phantom_destroy_tx_ctx | static void | Destroy Phantom TX context | |
21 |
phantom_alloc_rds | static int | Descriptor ring management | |
22 |
phantom_post_rds | static void | Post Phantom RX descriptor | |
23 |
phantom_alloc_cds | static int | Allocate Phantom TX descriptor | |
24 |
phantom_post_cds | static void | Post Phantom TX descriptor | |
25 |
phantom_update_macaddr | static int | MAC address management | |
26 |
phantom_add_macaddr | static inline int | Add MAC address | |
27 |
phantom_del_macaddr | static inline int | Remove MAC address | |
28 |
phantom_poll_link_state | static void | Link state detection | |
29 |
phantom_refill_rx_ring | static void | Main driver body | |
30 |
phantom_open | static int | Open NIC | |
31 |
phantom_close | static void | Close NIC | |
32 |
phantom_transmit | static int | Transmit packet | |
33 |
phantom_poll | static void | Poll for received packets | |
34 |
phantom_irq | static void | Enable/disable interrupts | |
35 |
phantom_map_crb | static int | Map Phantom CRB window | |
36 |
phantom_read_flash | static int | Read Phantom flash contents | |
37 |
phantom_init_cmdpeg | static int | Initialise the Phantom command PEG | |
38 |
phantom_get_macaddr | static void | Read Phantom MAC address | |
39 |
phantom_init_rcvpeg | static int | Initialise Phantom receive PEG | |
40 |
phantom_probe | static int | Probe PCI device | |
41 |
phantom_remove | static void | Remove PCI device |
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー