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