ファイル名e1000_hw.c
ソースファイル情報| 内容 | 行数 | 比率 |
|---|---|---|
| コメント行数 | 2058 | 22% |
| 空行行数 | 1338 | 15% |
| 実行行数 | 5778 | 63% |
| 合計行数 | 9174 | 100% |
関数定義数| 内容 | 定義数 |
|---|---|
| 関数数 | 135 |
定義関数| No. | 型 | 名称 | 属性 | 説明 |
|---|---|---|---|---|
1 |
e1000_set_phy_type | static int32_t | Set the phy type member in the hw struct. | |
2 |
e1000_phy_init_script | static void | IGP phy init script - initializes the GbE PHY | |
3 |
e1000_set_mac_type | int32_t | Set the mac type member in the hw struct. | |
4 |
e1000_set_media_type | void | Set media type and TBI compatibility. | |
5 |
e1000_reset_hw | int32_t | Reset the transmit and receive units; mask and clear all interrupts. | |
6 |
e1000_initialize_hardware_bits | static void | Initialize a number of hardware-dependent bits | |
7 |
e1000_init_hw | int32_t | Performs basic configuration of the adapter. | |
8 |
e1000_adjust_serdes_amplitude | static int32_t | Adjust SERDES output amplitude based on EEPROM setting. | |
9 |
e1000_setup_link | int32_t | Configures flow control and link settings. | |
10 |
e1000_setup_fiber_serdes_link | static int32_t | Sets up link for a fiber based or serdes based adapter | |
11 |
e1000_copper_link_preconfig | static int32_t | Make sure we have a valid PHY and change PHY mode before link setup. | |
12 |
e1000_copper_link_igp_setup | static int32_t | Copper link setup for e1000_phy_igp series. | |
13 |
e1000_copper_link_ggp_setup | static int32_t | Copper link setup for e1000_phy_gg82563 series. | |
14 |
e1000_copper_link_mgp_setup | static int32_t | Copper link setup for e1000_phy_m88 series. | |
15 |
e1000_copper_link_autoneg | static int32_t | Setup auto-negotiation and flow control advertisements, | |
16 |
e1000_copper_link_postconfig | static int32_t | Config the MAC and the PHY after link is up. | |
17 |
e1000_setup_copper_link | static int32_t | Detects which PHY is present and setup the speed and duplex | |
18 |
e1000_configure_kmrn_for_10_100 | static int32_t | Configure the MAC-to-PHY interface for 10/100Mbps | |
19 |
e1000_configure_kmrn_for_1000 | static int32_t | ||
20 |
e1000_phy_setup_autoneg | int32_t | Configures PHY autoneg and flow control advertisement settings | |
21 |
e1000_phy_force_speed_duplex | static int32_t | Force PHY speed and duplex settings to hw->forced_speed_duplex | |
22 |
e1000_config_collision_dist | void | Sets the collision distance in the Transmit Control register | |
23 |
e1000_config_mac_to_phy | static int32_t | Sets MAC speed and duplex settings to reflect the those in the PHY | |
24 |
e1000_force_mac_fc | int32_t | Forces the MAC's flow control settings. | |
25 |
e1000_config_fc_after_link_up | static int32_t | Configures flow control settings after link is established | |
26 |
e1000_check_for_link | int32_t | Checks to see if the link status of the hardware has changed. | |
27 |
e1000_get_speed_and_duplex | int32_t | Detects the current speed and duplex settings of the hardware. | |
28 |
e1000_wait_autoneg | static int32_t | Blocks until autoneg completes or times out (~4.5 seconds) | |
29 |
e1000_raise_mdi_clk | static void | Raises the Management Data Clock | |
30 |
e1000_lower_mdi_clk | static void | Lowers the Management Data Clock | |
31 |
e1000_shift_out_mdi_bits | static void | Shifts data bits out to the PHY | |
32 |
e1000_shift_in_mdi_bits | static uint16_t | Shifts data bits in from the PHY | |
33 |
e1000_swfw_sync_acquire | static int32_t | ||
34 |
e1000_swfw_sync_release | static void | ||
35 |
e1000_read_phy_reg | int32_t | Reads the value from a PHY register, if the value is on a specific non zero | |
36 |
e1000_read_phy_reg_ex | static int32_t | ||
37 |
e1000_write_phy_reg | int32_t | Writes a value to a PHY register | |
38 |
e1000_write_phy_reg_ex | static int32_t | ||
39 |
e1000_read_kmrn_reg | static int32_t | ||
40 |
e1000_write_kmrn_reg | static int32_t | ||
41 |
e1000_phy_hw_reset | int32_t | Returns the PHY to the power-on reset state | |
42 |
e1000_phy_reset | int32_t | Resets the PHY | |
43 |
e1000_phy_powerdown_workaround | void | ||
44 |
e1000_kumeran_lock_loss_workaround | static int32_t | ||
45 |
e1000_detect_gig_phy | static int32_t | Probes the expected PHY address for known PHY IDs | |
46 |
e1000_phy_reset_dsp | static int32_t | Resets the PHY's DSP | |
47 |
e1000_phy_igp_get_info | static int32_t | Get PHY information from various PHY registers for igp PHY only. | |
48 |
e1000_phy_ife_get_info | static int32_t | Get PHY information from various PHY registers for ife PHY only. | |
49 |
e1000_phy_m88_get_info | static int32_t | Get PHY information from various PHY registers fot m88 PHY only. | |
50 |
e1000_phy_get_info | int32_t | Get PHY information from various PHY registers | |
51 |
e1000_validate_mdi_setting | int32_t | ||
52 |
e1000_init_eeprom_params | int32_t | Sets up eeprom variables in the hw struct. Must be called after mac_type | |
53 |
e1000_raise_ee_clk | static void | Raises the EEPROM's clock input. | |
54 |
e1000_lower_ee_clk | static void | Lowers the EEPROM's clock input. | |
55 |
e1000_shift_out_ee_bits | static void | Shift data bits out to the EEPROM. | |
56 |
e1000_shift_in_ee_bits | static uint16_t | Shift data bits in from the EEPROM | |
57 |
e1000_acquire_eeprom | static int32_t | Prepares EEPROM for access | |
58 |
e1000_standby_eeprom | static void | Returns EEPROM to a "standby" state | |
59 |
e1000_release_eeprom | static void | Terminates a command by inverting the EEPROM's chip select pin | |
60 |
e1000_spi_eeprom_ready | static int32_t | Reads a 16 bit word from the EEPROM. | |
61 |
e1000_read_eeprom | int32_t | Reads a 16 bit word from the EEPROM. | |
62 |
e1000_read_eeprom_eerd | static int32_t | Reads a 16 bit word from the EEPROM using the EERD register. | |
63 |
e1000_write_eeprom_eewr | static int32_t | Writes a 16 bit word from the EEPROM using the EEWR register. | |
64 |
e1000_poll_eerd_eewr_done | static int32_t | Polls the status bit (bit 1) of the EERD to determine when the read is done. | |
65 |
e1000_is_onboard_nvm_eeprom | static boolean_t | ||
66 |
e1000_validate_eeprom_checksum | int32_t | Verifies that the EEPROM has a valid checksum | |
67 |
e1000_update_eeprom_checksum | int32_t | Calculates the EEPROM checksum and writes it to the EEPROM | |
68 |
e1000_write_eeprom | int32_t | Parent function for writing words to the different EEPROM types. | |
69 |
e1000_write_eeprom_spi | static int32_t | Writes a 16 bit word to a given offset in an SPI EEPROM. | |
70 |
e1000_write_eeprom_microwire | static int32_t | Writes a 16 bit word to a given offset in a Microwire EEPROM. | |
71 |
e1000_commit_shadow_ram | static int32_t | Flushes the cached eeprom to NVM. This is done by saving the modified values | |
72 |
e1000_read_mac_addr | int32_t | Reads the adapter's MAC address from the EEPROM and inverts the LSB for the | |
73 |
e1000_init_rx_addrs | static void | Initializes receive address filters. | |
74 |
e1000_hash_mc_addr | uint32_t | Hashes an address to determine its location in the multicast table | |
75 |
e1000_mta_set | void | Sets the bit in the multicast table corresponding to the hash value. | |
76 |
e1000_rar_set | void | Puts an ethernet address into a receive address register. | |
77 |
e1000_write_vfta | void | Writes a value to the specified offset in the VLAN filter table. | |
78 |
e1000_clear_vfta | static void | Clears the VLAN filer table | |
79 |
e1000_id_led_init | static int32_t | ||
80 |
e1000_setup_led | int32_t | Prepares SW controlable LED for use and saves the current state of the LED. | |
81 |
e1000_blink_led_start | int32_t | Used on 82571 and later Si that has LED blink bits. | |
82 |
e1000_cleanup_led | int32_t | Restores the saved state of the SW controlable LED. | |
83 |
e1000_led_on | int32_t | Turns on the software controllable LED | |
84 |
e1000_led_off | int32_t | Turns off the software controllable LED | |
85 |
e1000_clear_hw_cntrs | static void | Clears all hardware statistics counters. | |
86 |
e1000_reset_adaptive | void | Resets Adaptive IFS to its default state. | |
87 |
e1000_update_adaptive | void | Called during the callback/watchdog routine to update IFS value based on | |
88 |
e1000_tbi_adjust_stats | void | Adjusts the statistic counters when a frame is accepted by TBI_ACCEPT | |
89 |
e1000_get_bus_info | void | Gets the current PCI bus type, speed, and width of the hardware | |
90 |
e1000_write_reg_io | static void | Writes a value to one of the devices registers using port I/O (as opposed to | |
91 |
e1000_get_cable_length | static int32_t | Estimates the cable length. | |
92 |
e1000_check_polarity | static int32_t | Check the cable polarity | |
93 |
e1000_check_downshift | static int32_t | Check if Downshift occured | |
94 |
e1000_config_dsp_after_link_change | static int32_t | 82541_rev_2 & 82547_rev_2 have the capability to configure the DSP when a | |
95 |
e1000_set_phy_mode | static int32_t | Set PHY to class A mode | |
96 |
e1000_set_d3_lplu_state | static int32_t | This function sets the lplu state according to the active flag. When | |
97 |
e1000_set_d0_lplu_state | static int32_t | This function sets the lplu d0 state according to the active flag. When | |
98 |
e1000_set_vco_speed | static int32_t | Change VCO speed register to improve Bit Error Rate performance of SERDES. | |
99 |
e1000_host_if_read_cookie | static int32_t | This function reads the cookie from ARC ram. | |
100 |
e1000_mng_enable_host_if | static int32_t | This function checks whether the HOST IF is enabled for command operaton | |
101 |
e1000_mng_host_if_write | static int32_t | This function writes the buffer content at the offset given on the host if. | |
102 |
e1000_mng_write_cmd_header | static int32_t | This function writes the command header after does the checksum calculation. | |
103 |
e1000_mng_write_commit | static int32_t | This function indicates to ARC that a new command is pending which completes | |
104 |
e1000_check_mng_mode | boolean_t | This function checks the mode of the firmware. | |
105 |
e1000_mng_write_dhcp_info | int32_t | This function writes the dhcp info . | |
106 |
e1000_calculate_mng_checksum | static uint8_t | This function calculates the checksum. | |
107 |
e1000_enable_tx_pkt_filtering | boolean_t | This function checks whether tx pkt filtering needs to be enabled or not. | |
108 |
e1000_enable_mng_pass_thru | uint32_t | Verifies the hardware needs to allow ARPs to be processed by the host | |
109 |
e1000_polarity_reversal_workaround | static int32_t | ||
110 |
e1000_set_pci_express_master_disable | static void | Disables PCI-Express master access. | |
111 |
e1000_disable_pciex_master | int32_t | Disables PCI-Express master access and verifies there are no pending requests | |
112 |
e1000_get_auto_rd_done | static int32_t | Check for EEPROM Auto Read bit done. | |
113 |
e1000_get_phy_cfg_done | static int32_t | Checks if the PHY configuration is done | |
114 |
e1000_get_hw_eeprom_semaphore | static int32_t | Using the combination of SMBI and SWESMBI semaphore bits when resetting | |
115 |
e1000_put_hw_eeprom_semaphore | static void | This function clears HW semaphore bits. | |
116 |
e1000_get_software_semaphore | static int32_t | Obtaining software semaphore bit (SMBI) before resetting PHY. | |
117 |
e1000_release_software_semaphore | static void | Release semaphore bit (SMBI). | |
118 |
e1000_check_phy_reset_block | int32_t | Checks if PHY reset is blocked due to SOL/IDER session, for example. | |
119 |
e1000_arc_subsystem_valid | static uint8_t | ||
120 |
e1000_set_pci_ex_no_snoop | static int32_t | Configure PCI-Ex no-snoop | |
121 |
e1000_get_software_flag | static int32_t | Get software semaphore FLAG bit (SWFLAG). | |
122 |
e1000_release_software_flag | static void | Release software semaphore FLAG bit (SWFLAG). | |
123 |
e1000_read_eeprom_ich8 | static int32_t | Reads a 16 bit word or words from the EEPROM using the ICH8's flash access | |
124 |
e1000_write_eeprom_ich8 | static int32_t | Writes a 16 bit word or words to the EEPROM using the ICH8's flash access | |
125 |
e1000_ich8_cycle_init | static int32_t | This function does initial flash setup so that a new read/write/erase cycle | |
126 |
e1000_ich8_flash_cycle | static int32_t | This function starts a flash cycle and waits for its completion | |
127 |
e1000_read_ich8_data | static int32_t | Reads a byte or word from the NVM using the ICH8 flash access registers. | |
128 |
e1000_write_ich8_data | static int32_t | Writes One /two bytes to the NVM using the ICH8 flash access registers. | |
129 |
e1000_read_ich8_byte | static int32_t | Reads a single byte from the NVM using the ICH8 flash access registers. | |
130 |
e1000_verify_write_ich8_byte | static int32_t | Writes a single byte to the NVM using the ICH8 flash access registers. | |
131 |
e1000_write_ich8_byte | static int32_t | Writes a single byte to the NVM using the ICH8 flash access registers. | |
132 |
e1000_read_ich8_word | static int32_t | Reads a word from the NVM using the ICH8 flash access registers. | |
133 |
e1000_erase_ich8_4k_segment | int32_t | Erases the bank specified. Each bank may be a 4, 8 or 64k block. Banks are 0 | |
134 |
e1000_init_lcd_from_nvm_config_region | static int32_t | ||
135 |
e1000_init_lcd_from_nvm | static int32_t | This function initializes the PHY from the NVM on ICH8 platforms. This |
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー