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