/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.c | 12 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 13 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 14 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 15 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 16 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 17 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 18 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 19 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 20 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 21 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3 35 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) ixgbe_out_i2c_byte_ack() argument 52 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) ixgbe_in_i2c_byte_ack() argument 88 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val, bool lock) ixgbe_read_i2c_combined_generic_int() argument 166 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val, bool lock) ixgbe_write_i2c_combined_generic_int() argument 228 ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) ixgbe_probe_phy() argument 263 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) ixgbe_identify_phy_generic() argument 314 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) ixgbe_check_reset_blocked() argument 336 ixgbe_get_phy_id(struct ixgbe_hw *hw) ixgbe_get_phy_id() argument 398 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) ixgbe_reset_phy_generic() argument 474 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_mdi() argument 550 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_generic() argument 575 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_mdi() argument 648 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_generic() argument 672 ixgbe_msca_cmd(struct ixgbe_hw *hw, u32 cmd) ixgbe_msca_cmd() argument 688 ixgbe_mii_bus_read_generic_c22(struct ixgbe_hw *hw, int addr, int regnum, u32 gssr) ixgbe_mii_bus_read_generic_c22() argument 722 ixgbe_mii_bus_read_generic_c45(struct ixgbe_hw *hw, int addr, int devad, int regnum, u32 gssr) ixgbe_mii_bus_read_generic_c45() argument 760 ixgbe_mii_bus_write_generic_c22(struct ixgbe_hw *hw, int addr, int regnum, u16 val, u32 gssr) ixgbe_mii_bus_write_generic_c22() argument 791 ixgbe_mii_bus_write_generic_c45(struct ixgbe_hw *hw, int addr, int devad, int regnum, u16 val, u32 gssr) ixgbe_mii_bus_write_generic_c45() argument 828 struct ixgbe_hw *hw = &adapter->hw; ixgbe_mii_bus_read_c22() local 845 struct ixgbe_hw *hw = &adapter->hw; ixgbe_mii_bus_read_c45() local 862 struct ixgbe_hw *hw = &adapter->hw; ixgbe_mii_bus_write_c22() local 880 struct ixgbe_hw *hw = &adapter->hw; ixgbe_mii_bus_write_c45() local 897 struct ixgbe_hw *hw = &adapter->hw; ixgbe_x550em_a_mii_bus_read_c22() local 915 struct ixgbe_hw *hw = &adapter->hw; ixgbe_x550em_a_mii_bus_read_c45() local 933 struct ixgbe_hw *hw = &adapter->hw; ixgbe_x550em_a_mii_bus_write_c22() local 952 struct ixgbe_hw *hw = &adapter->hw; ixgbe_x550em_a_mii_bus_write_c45() local 991 ixgbe_x550em_a_has_mii(struct ixgbe_hw *hw) ixgbe_x550em_a_has_mii() argument 1027 ixgbe_mii_bus_init(struct ixgbe_hw *hw) ixgbe_mii_bus_init() argument 1099 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) ixgbe_setup_phy_link_generic() argument 1177 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) ixgbe_setup_phy_link_speed_generic() argument 1218 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) ixgbe_get_copper_speeds_supported() argument 1257 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) ixgbe_get_copper_link_capabilities_generic() argument 1280 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) ixgbe_check_phy_link_tnx() argument 1330 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) ixgbe_setup_phy_link_tnx() argument 1403 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) ixgbe_reset_phy_nl() argument 1511 ixgbe_identify_module_generic(struct ixgbe_hw *hw) ixgbe_identify_module_generic() argument 1532 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) ixgbe_identify_sfp_module_generic() argument 1797 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) ixgbe_identify_qsfp_module_generic() argument 1980 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) ixgbe_get_sfp_init_sequence_offsets() argument 2070 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) ixgbe_read_i2c_eeprom_generic() argument 2086 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) ixgbe_read_i2c_sff8472_generic() argument 2102 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) ixgbe_write_i2c_eeprom_generic() argument 2116 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, u8 offset, u8 addr) ixgbe_is_sfp_probe() argument 2136 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) ixgbe_read_i2c_byte_generic_int() argument 2226 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) ixgbe_read_i2c_byte_generic() argument 2243 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) ixgbe_read_i2c_byte_generic_unlocked() argument 2261 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) ixgbe_write_i2c_byte_generic_int() argument 2329 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) ixgbe_write_i2c_byte_generic() argument 2346 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) ixgbe_write_i2c_byte_generic_unlocked() argument 2360 ixgbe_i2c_start(struct ixgbe_hw *hw) ixgbe_i2c_start() argument 2393 ixgbe_i2c_stop(struct ixgbe_hw *hw) ixgbe_i2c_stop() argument 2427 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) ixgbe_clock_in_i2c_byte() argument 2448 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) ixgbe_clock_out_i2c_byte() argument 2479 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) ixgbe_get_i2c_ack() argument 2530 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) ixgbe_clock_in_i2c_bit() argument 2564 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) ixgbe_clock_out_i2c_bit() argument 2597 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) ixgbe_raise_i2c_clk() argument 2630 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) ixgbe_lower_i2c_clk() argument 2652 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) ixgbe_set_i2c_data() argument 2694 ixgbe_get_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl) ixgbe_get_i2c_data() argument 2717 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) ixgbe_i2c_bus_clear() argument 2753 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) ixgbe_tn_check_overtemp() argument 2774 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) ixgbe_set_copper_phy_power() argument [all...] |
H A D | ixgbe_x540.c | 19 static s32 ixgbe_update_flash_X540(struct ixgbe_hw *hw); 20 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 21 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 22 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 24 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) in ixgbe_get_media_type_X540() argument 29 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw) in ixgbe_get_invariants_X540() argument 31 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X540() 32 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X540() 43 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_get_invariants_X540() 50 * @hw 54 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) ixgbe_setup_mac_link_X540() argument 69 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) ixgbe_reset_hw_X540() argument 169 ixgbe_start_hw_X540(struct ixgbe_hw *hw) ixgbe_start_hw_X540() argument 187 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) ixgbe_init_eeprom_params_X540() argument 218 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) ixgbe_read_eerd_X540() argument 240 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_read_eerd_buffer_X540() argument 262 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data) ixgbe_write_eewr_X540() argument 284 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_write_eewr_buffer_X540() argument 306 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) ixgbe_calc_eeprom_checksum_X540() argument 382 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val) ixgbe_validate_eeprom_checksum_X540() argument 442 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw) ixgbe_update_eeprom_checksum_X540() argument 487 ixgbe_update_flash_X540(struct ixgbe_hw *hw) ixgbe_update_flash_X540() argument 532 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) ixgbe_poll_flash_update_done_X540() argument 554 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) ixgbe_acquire_swfw_sync_X540() argument 640 ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) ixgbe_release_swfw_sync_X540() argument 663 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw) ixgbe_get_swfw_sync_semaphore() argument 709 ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw) ixgbe_release_swfw_sync_semaphore() argument 733 ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw) ixgbe_init_swfw_sync_X540() argument 763 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) ixgbe_blink_led_start_X540() argument 801 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) ixgbe_blink_led_stop_X540() argument [all...] |
H A D | ixgbe_common.c | 13 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 14 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 15 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 16 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 17 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 18 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, 20 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count); 21 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 22 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); 23 static void ixgbe_release_eeprom(struct ixgbe_hw *hw); 49 ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) ixgbe_device_supports_autoneg_fc() argument 114 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) ixgbe_setup_fc_generic() argument 270 ixgbe_start_hw_generic(struct ixgbe_hw *hw) ixgbe_start_hw_generic() argument 333 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) ixgbe_start_hw_gen2() argument 357 ixgbe_init_hw_generic(struct ixgbe_hw *hw) ixgbe_init_hw_generic() argument 383 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) ixgbe_clear_hw_cntrs_generic() argument 492 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) ixgbe_read_pba_string_generic() argument 602 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr) ixgbe_get_mac_addr_generic() argument 656 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) ixgbe_get_bus_info_generic() argument 680 ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) ixgbe_set_lan_id_multi_port_pcie() argument 712 ixgbe_stop_adapter_generic(struct ixgbe_hw *hw) ixgbe_stop_adapter_generic() argument 762 ixgbe_init_led_link_act_generic(struct ixgbe_hw *hw) ixgbe_init_led_link_act_generic() argument 803 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index) ixgbe_led_on_generic() argument 824 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index) ixgbe_led_off_generic() argument 847 ixgbe_init_eeprom_params_generic(struct ixgbe_hw *hw) ixgbe_init_eeprom_params_generic() argument 899 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_write_eeprom_buffer_bit_bang_generic() argument 946 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_write_eeprom_buffer_bit_bang() argument 1023 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data) ixgbe_write_eeprom_generic() argument 1042 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_read_eeprom_buffer_bit_bang_generic() argument 1081 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_read_eeprom_buffer_bit_bang() argument 1133 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 *data) ixgbe_read_eeprom_bit_bang_generic() argument 1153 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_read_eerd_buffer_generic() argument 1193 ixgbe_detect_eeprom_page_size_generic(struct ixgbe_hw *hw, u16 offset) ixgbe_detect_eeprom_page_size_generic() argument 1233 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data) ixgbe_read_eerd_generic() argument 1247 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_write_eewr_buffer_generic() argument 1290 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data) ixgbe_write_eewr_generic() argument 1303 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw *hw, u32 ee_reg) ixgbe_poll_eerd_eewr_done() argument 1329 ixgbe_acquire_eeprom(struct ixgbe_hw *hw) ixgbe_acquire_eeprom() argument 1375 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw) ixgbe_get_eeprom_semaphore() argument 1450 ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw) ixgbe_release_eeprom_semaphore() argument 1466 ixgbe_ready_eeprom(struct ixgbe_hw *hw) ixgbe_ready_eeprom() argument 1504 ixgbe_standby_eeprom(struct ixgbe_hw *hw) ixgbe_standby_eeprom() argument 1527 ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, u16 count) ixgbe_shift_out_eeprom_bits() argument 1581 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count) ixgbe_shift_in_eeprom_bits() argument 1619 ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) ixgbe_raise_eeprom_clk() argument 1636 ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) ixgbe_lower_eeprom_clk() argument 1652 ixgbe_release_eeprom(struct ixgbe_hw *hw) ixgbe_release_eeprom() argument 1684 ixgbe_calc_eeprom_checksum_generic(struct ixgbe_hw *hw) ixgbe_calc_eeprom_checksum_generic() argument 1743 ixgbe_validate_eeprom_checksum_generic(struct ixgbe_hw *hw, u16 *checksum_val) ixgbe_validate_eeprom_checksum_generic() argument 1790 ixgbe_update_eeprom_checksum_generic(struct ixgbe_hw *hw) ixgbe_update_eeprom_checksum_generic() argument 1827 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) ixgbe_set_rar_generic() argument 1880 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, u32 index) ixgbe_clear_rar_generic() argument 1921 ixgbe_init_rx_addrs_generic(struct ixgbe_hw *hw) ixgbe_init_rx_addrs_generic() argument 1984 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) ixgbe_mta_vector() argument 2018 ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) ixgbe_set_mta() argument 2053 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw, struct net_device *netdev) ixgbe_update_mc_addr_list_generic() argument 2095 ixgbe_enable_mc_generic(struct ixgbe_hw *hw) ixgbe_enable_mc_generic() argument 2112 ixgbe_disable_mc_generic(struct ixgbe_hw *hw) ixgbe_disable_mc_generic() argument 2128 ixgbe_fc_enable_generic(struct ixgbe_hw *hw) ixgbe_fc_enable_generic() argument 2256 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, u32 adv_sym, u32 adv_asm, u32 lp_sym, u32 lp_asm) ixgbe_negotiate_fc() argument 2298 ixgbe_fc_autoneg_fiber(struct ixgbe_hw *hw) ixgbe_fc_autoneg_fiber() argument 2332 ixgbe_fc_autoneg_backplane(struct ixgbe_hw *hw) ixgbe_fc_autoneg_backplane() argument 2371 ixgbe_fc_autoneg_copper(struct ixgbe_hw *hw) ixgbe_fc_autoneg_copper() argument 2396 ixgbe_fc_autoneg(struct ixgbe_hw *hw) ixgbe_fc_autoneg() argument 2459 ixgbe_pcie_timeout_poll(struct ixgbe_hw *hw) ixgbe_pcie_timeout_poll() argument 2505 ixgbe_disable_pcie_primary(struct ixgbe_hw *hw) ixgbe_disable_pcie_primary() argument 2577 ixgbe_acquire_swfw_sync(struct ixgbe_hw *hw, u32 mask) ixgbe_acquire_swfw_sync() argument 2622 ixgbe_release_swfw_sync(struct ixgbe_hw *hw, u32 mask) ixgbe_release_swfw_sync() argument 2645 prot_autoc_read_generic(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) prot_autoc_read_generic() argument 2659 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked) prot_autoc_write_generic() argument 2672 ixgbe_disable_rx_buff_generic(struct ixgbe_hw *hw) ixgbe_disable_rx_buff_generic() argument 2704 ixgbe_enable_rx_buff_generic(struct ixgbe_hw *hw) ixgbe_enable_rx_buff_generic() argument 2723 ixgbe_enable_rx_dma_generic(struct ixgbe_hw *hw, u32 regval) ixgbe_enable_rx_dma_generic() argument 2738 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, u32 index) ixgbe_blink_led_start_generic() argument 2786 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, u32 index) ixgbe_blink_led_stop_generic() argument 2825 ixgbe_get_san_mac_addr_offset(struct ixgbe_hw *hw, u16 *san_mac_offset) ixgbe_get_san_mac_addr_offset() argument 2853 ixgbe_get_san_mac_addr_generic(struct ixgbe_hw *hw, u8 *san_mac_addr) ixgbe_get_san_mac_addr_generic() argument 2903 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw) ixgbe_get_pcie_msix_count_generic() argument 2946 ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) ixgbe_clear_vmdq_generic() argument 2997 ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) ixgbe_set_vmdq_generic() argument 3030 ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw *hw, u32 vmdq) ixgbe_set_vmdq_san_mac_generic() argument 3049 ixgbe_init_uta_tables_generic(struct ixgbe_hw *hw) ixgbe_init_uta_tables_generic() argument 3069 ixgbe_find_vlvf_slot(struct ixgbe_hw *hw, u32 vlan, bool vlvf_bypass) ixgbe_find_vlvf_slot() argument 3119 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) ixgbe_set_vfta_generic() argument 3230 ixgbe_clear_vfta_generic(struct ixgbe_hw *hw) ixgbe_clear_vfta_generic() argument 3253 ixgbe_need_crosstalk_fix(struct ixgbe_hw *hw) ixgbe_need_crosstalk_fix() argument 3280 ixgbe_check_mac_link_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) ixgbe_check_mac_link_generic() argument 3400 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix, u16 *wwpn_prefix) ixgbe_get_wwn_prefix_generic() argument 3449 ixgbe_set_mac_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) ixgbe_set_mac_anti_spoofing() argument 3473 ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) ixgbe_set_vlan_anti_spoofing() argument 3498 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps) ixgbe_get_device_caps_generic() argument 3512 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) ixgbe_set_rxpba_generic() argument 3608 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) ixgbe_hic_unlocked() argument 3680 ixgbe_host_interface_command(struct ixgbe_hw *hw, void *buffer, u32 length, u32 timeout, bool return_data) ixgbe_host_interface_command() argument 3757 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 sub, __always_unused u16 len, __always_unused const char *driver_ver) ixgbe_set_fw_drv_ver_generic() argument 3807 ixgbe_clear_tx_pending(struct ixgbe_hw *hw) ixgbe_clear_tx_pending() argument 3879 ixgbe_get_ets_data(struct ixgbe_hw *hw, u16 *ets_cfg, u16 *ets_offset) ixgbe_get_ets_data() argument 3907 ixgbe_get_thermal_sensor_data_generic(struct ixgbe_hw *hw) ixgbe_get_thermal_sensor_data_generic() argument 3963 ixgbe_init_thermal_sensor_thresh_generic(struct ixgbe_hw *hw) ixgbe_init_thermal_sensor_thresh_generic() argument 4030 ixgbe_get_orom_version(struct ixgbe_hw *hw, struct ixgbe_nvm_version *nvm_ver) ixgbe_get_orom_version() argument 4067 ixgbe_get_oem_prod_version(struct ixgbe_hw *hw, struct ixgbe_nvm_version *nvm_ver) ixgbe_get_oem_prod_version() argument 4110 ixgbe_get_etk_id(struct ixgbe_hw *hw, struct ixgbe_nvm_version *nvm_ver) ixgbe_get_etk_id() argument 4132 ixgbe_disable_rx_generic(struct ixgbe_hw *hw) ixgbe_disable_rx_generic() argument 4155 ixgbe_enable_rx_generic(struct ixgbe_hw *hw) ixgbe_enable_rx_generic() argument 4177 ixgbe_mng_present(struct ixgbe_hw *hw) ixgbe_mng_present() argument 4197 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) ixgbe_setup_mac_link_multispeed_fiber() argument 4342 ixgbe_set_soft_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) ixgbe_set_soft_rate_select_speed() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.c | 12 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 13 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 14 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 15 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 16 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 17 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 18 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 19 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 20 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 21 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3 35 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) ixgbe_out_i2c_byte_ack() argument 52 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) ixgbe_in_i2c_byte_ack() argument 88 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val, bool lock) ixgbe_read_i2c_combined_generic_int() argument 166 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val, bool lock) ixgbe_write_i2c_combined_generic_int() argument 228 ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) ixgbe_probe_phy() argument 263 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) ixgbe_identify_phy_generic() argument 314 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) ixgbe_check_reset_blocked() argument 336 ixgbe_get_phy_id(struct ixgbe_hw *hw) ixgbe_get_phy_id() argument 395 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) ixgbe_reset_phy_generic() argument 470 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_mdi() argument 546 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_generic() argument 571 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_mdi() argument 644 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_generic() argument 668 ixgbe_msca_cmd(struct ixgbe_hw *hw, u32 cmd) ixgbe_msca_cmd() argument 684 ixgbe_mii_bus_read_generic(struct ixgbe_hw *hw, int addr, int regnum, u32 gssr) ixgbe_mii_bus_read_generic() argument 735 ixgbe_mii_bus_write_generic(struct ixgbe_hw *hw, int addr, int regnum, u16 val, u32 gssr) ixgbe_mii_bus_write_generic() argument 780 struct ixgbe_hw *hw = &adapter->hw; ixgbe_mii_bus_read() local 797 struct ixgbe_hw *hw = &adapter->hw; ixgbe_mii_bus_write() local 813 struct ixgbe_hw *hw = &adapter->hw; ixgbe_x550em_a_mii_bus_read() local 831 struct ixgbe_hw *hw = &adapter->hw; ixgbe_x550em_a_mii_bus_write() local 869 ixgbe_x550em_a_has_mii(struct ixgbe_hw *hw) ixgbe_x550em_a_has_mii() argument 905 ixgbe_mii_bus_init(struct ixgbe_hw *hw) ixgbe_mii_bus_init() argument 968 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) ixgbe_setup_phy_link_generic() argument 1046 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) ixgbe_setup_phy_link_speed_generic() argument 1087 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) ixgbe_get_copper_speeds_supported() argument 1126 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) ixgbe_get_copper_link_capabilities_generic() argument 1149 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) ixgbe_check_phy_link_tnx() argument 1199 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) ixgbe_setup_phy_link_tnx() argument 1272 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) ixgbe_reset_phy_nl() argument 1380 ixgbe_identify_module_generic(struct ixgbe_hw *hw) ixgbe_identify_module_generic() argument 1401 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) ixgbe_identify_sfp_module_generic() argument 1666 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) ixgbe_identify_qsfp_module_generic() argument 1849 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) ixgbe_get_sfp_init_sequence_offsets() argument 1939 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) ixgbe_read_i2c_eeprom_generic() argument 1955 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) ixgbe_read_i2c_sff8472_generic() argument 1971 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) ixgbe_write_i2c_eeprom_generic() argument 1985 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, u8 offset, u8 addr) ixgbe_is_sfp_probe() argument 2005 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) ixgbe_read_i2c_byte_generic_int() argument 2095 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) ixgbe_read_i2c_byte_generic() argument 2112 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) ixgbe_read_i2c_byte_generic_unlocked() argument 2130 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) ixgbe_write_i2c_byte_generic_int() argument 2198 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) ixgbe_write_i2c_byte_generic() argument 2215 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) ixgbe_write_i2c_byte_generic_unlocked() argument 2229 ixgbe_i2c_start(struct ixgbe_hw *hw) ixgbe_i2c_start() argument 2262 ixgbe_i2c_stop(struct ixgbe_hw *hw) ixgbe_i2c_stop() argument 2296 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) ixgbe_clock_in_i2c_byte() argument 2317 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) ixgbe_clock_out_i2c_byte() argument 2348 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) ixgbe_get_i2c_ack() argument 2399 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) ixgbe_clock_in_i2c_bit() argument 2433 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) ixgbe_clock_out_i2c_bit() argument 2466 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) ixgbe_raise_i2c_clk() argument 2499 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) ixgbe_lower_i2c_clk() argument 2521 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) ixgbe_set_i2c_data() argument 2563 ixgbe_get_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl) ixgbe_get_i2c_data() argument 2586 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) ixgbe_i2c_bus_clear() argument 2622 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) ixgbe_tn_check_overtemp() argument 2643 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) ixgbe_set_copper_phy_power() argument [all...] |
H A D | ixgbe_x540.c | 19 static s32 ixgbe_update_flash_X540(struct ixgbe_hw *hw); 20 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 21 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 22 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 24 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) in ixgbe_get_media_type_X540() argument 29 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw) in ixgbe_get_invariants_X540() argument 31 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X540() 32 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X540() 43 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_get_invariants_X540() 50 * @hw 54 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) ixgbe_setup_mac_link_X540() argument 69 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) ixgbe_reset_hw_X540() argument 169 ixgbe_start_hw_X540(struct ixgbe_hw *hw) ixgbe_start_hw_X540() argument 187 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) ixgbe_init_eeprom_params_X540() argument 218 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) ixgbe_read_eerd_X540() argument 240 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_read_eerd_buffer_X540() argument 262 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data) ixgbe_write_eewr_X540() argument 284 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) ixgbe_write_eewr_buffer_X540() argument 306 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) ixgbe_calc_eeprom_checksum_X540() argument 382 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val) ixgbe_validate_eeprom_checksum_X540() argument 442 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw) ixgbe_update_eeprom_checksum_X540() argument 487 ixgbe_update_flash_X540(struct ixgbe_hw *hw) ixgbe_update_flash_X540() argument 532 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) ixgbe_poll_flash_update_done_X540() argument 554 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) ixgbe_acquire_swfw_sync_X540() argument 640 ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) ixgbe_release_swfw_sync_X540() argument 663 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw) ixgbe_get_swfw_sync_semaphore() argument 709 ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw) ixgbe_release_swfw_sync_semaphore() argument 733 ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw) ixgbe_init_swfw_sync_X540() argument 763 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) ixgbe_blink_led_start_X540() argument 801 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) ixgbe_blink_led_stop_X540() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/sprd/ |
H A D | ums512-clk.c | 30 /* some pll clocks configure CLK_IGNORE_UNUSED because hw dvfs does not call 31 * clock interface. hw dvfs can not gate the pll clock. 83 [CLK_26M_AUD] = &clk_26m_aud.hw, 84 [CLK_13M] = &clk_13m.hw, 85 [CLK_6M5] = &clk_6m5.hw, 86 [CLK_4M3] = &clk_4m3.hw, 87 [CLK_2M] = &clk_2m.hw, 88 [CLK_1M] = &clk_1m.hw, 89 [CLK_250K] = &clk_250k.hw, 90 [CLK_RCO_25M] = &rco_25m.hw, [all...] |
H A D | sc9863a-clk.c | 57 [CLK_MPLL0_GATE] = &mpll0_gate.common.hw, 58 [CLK_DPLL0_GATE] = &dpll0_gate.common.hw, 59 [CLK_LPLL_GATE] = &lpll_gate.common.hw, 60 [CLK_GPLL_GATE] = &gpll_gate.common.hw, 61 [CLK_DPLL1_GATE] = &dpll1_gate.common.hw, 62 [CLK_MPLL1_GATE] = &mpll1_gate.common.hw, 63 [CLK_MPLL2_GATE] = &mpll2_gate.common.hw, 64 [CLK_ISPPLL_GATE] = &isppll_gate.common.hw, 93 static CLK_FIXED_FACTOR_HW(twpll_768m, "twpll-768m", &twpll.common.hw, 2, 1, 0); 94 static CLK_FIXED_FACTOR_HW(twpll_384m, "twpll-384m", &twpll.common.hw, [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_hw.c | 18 static u32 ixgb_hash_mc_addr(struct ixgb_hw *hw, u8 * mc_addr); 20 static void ixgb_mta_set(struct ixgb_hw *hw, u32 hash_value); 22 static void ixgb_get_bus_info(struct ixgb_hw *hw); 24 static bool ixgb_link_reset(struct ixgb_hw *hw); 26 static void ixgb_optics_reset(struct ixgb_hw *hw); 28 static void ixgb_optics_reset_bcm(struct ixgb_hw *hw); 30 static ixgb_phy_type ixgb_identify_phy(struct ixgb_hw *hw); 32 static void ixgb_clear_hw_cntrs(struct ixgb_hw *hw); 34 static void ixgb_clear_vfta(struct ixgb_hw *hw); 36 static void ixgb_init_rx_addrs(struct ixgb_hw *hw); 47 ixgb_mac_reset(struct ixgb_hw *hw) ixgb_mac_reset() argument 98 ixgb_adapter_stop(struct ixgb_hw *hw) ixgb_adapter_stop() argument 160 ixgb_identify_xpak_vendor(struct ixgb_hw *hw) ixgb_identify_xpak_vendor() argument 200 ixgb_identify_phy(struct ixgb_hw *hw) ixgb_identify_phy() argument 273 ixgb_init_hw(struct ixgb_hw *hw) ixgb_init_hw() argument 357 ixgb_init_rx_addrs(struct ixgb_hw *hw) ixgb_init_rx_addrs() argument 407 ixgb_mc_addr_list_update(struct ixgb_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, u32 pad) ixgb_mc_addr_list_update() argument 471 ixgb_hash_mc_addr(struct ixgb_hw *hw, u8 *mc_addr) ixgb_hash_mc_addr() argument 519 ixgb_mta_set(struct ixgb_hw *hw, u32 hash_value) ixgb_mta_set() argument 551 ixgb_rar_set(struct ixgb_hw *hw, u8 *addr, u32 index) ixgb_rar_set() argument 583 ixgb_write_vfta(struct ixgb_hw *hw, u32 offset, u32 value) ixgb_write_vfta() argument 596 ixgb_clear_vfta(struct ixgb_hw *hw) ixgb_clear_vfta() argument 611 ixgb_setup_fc(struct ixgb_hw *hw) ixgb_setup_fc() argument 712 ixgb_read_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type) ixgb_read_phy_reg() argument 805 ixgb_write_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type, u16 data) ixgb_write_phy_reg() argument 886 ixgb_check_for_link(struct ixgb_hw *hw) ixgb_check_for_link() argument 922 ixgb_check_for_bad_link(struct ixgb_hw *hw) ixgb_check_for_bad_link() argument 948 ixgb_clear_hw_cntrs(struct ixgb_hw *hw) ixgb_clear_hw_cntrs() argument 1026 ixgb_led_on(struct ixgb_hw *hw) ixgb_led_on() argument 1041 ixgb_led_off(struct ixgb_hw *hw) ixgb_led_off() argument 1056 ixgb_get_bus_info(struct ixgb_hw *hw) ixgb_get_bus_info() argument 1126 ixgb_link_reset(struct ixgb_hw *hw) ixgb_link_reset() argument 1157 ixgb_optics_reset(struct ixgb_hw *hw) ixgb_optics_reset() argument 1185 ixgb_optics_reset_bcm(struct ixgb_hw *hw) ixgb_optics_reset_bcm() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/meson/ |
H A D | gxbb.c | 118 .hw.init = &(struct clk_init_data){ 135 .hw.init = &(struct clk_init_data){ 139 &gxbb_fixed_pll_dco.hw 152 .hw.init = &(struct clk_init_data){ 195 .hw.init = &(struct clk_init_data){ 199 &gxbb_hdmi_pll_pre_mult.hw 249 .hw.init = &(struct clk_init_data){ 271 .hw.init = &(struct clk_init_data){ 275 &gxbb_hdmi_pll_dco.hw 289 .hw [all...] |
H A D | meson8b.c | 57 .hw.init = &(struct clk_init_data){ 97 .hw.init = &(struct clk_init_data){ 116 .hw.init = &(struct clk_init_data){ 120 &meson8b_fixed_pll_dco.hw 163 .hw.init = &(struct clk_init_data){ 183 .hw.init = &(struct clk_init_data){ 187 &meson8b_hdmi_pll_dco.hw 201 .hw.init = &(struct clk_init_data){ 205 &meson8b_hdmi_pll_dco.hw 241 .hw [all...] |
/kernel/linux/linux-6.6/drivers/clk/meson/ |
H A D | gxbb.c | 121 .hw.init = &(struct clk_init_data){ 138 .hw.init = &(struct clk_init_data){ 142 &gxbb_fixed_pll_dco.hw 155 .hw.init = &(struct clk_init_data){ 198 .hw.init = &(struct clk_init_data){ 202 &gxbb_hdmi_pll_pre_mult.hw 252 .hw.init = &(struct clk_init_data){ 274 .hw.init = &(struct clk_init_data){ 278 &gxbb_hdmi_pll_dco.hw 292 .hw [all...] |
H A D | meson8b.c | 92 .hw.init = &(struct clk_init_data){ 111 .hw.init = &(struct clk_init_data){ 115 &meson8b_fixed_pll_dco.hw 128 .hw.init = &(struct clk_init_data){ 211 .hw.init = &(struct clk_init_data){ 216 &hdmi_pll_dco_in.hw 229 .hw.init = &(struct clk_init_data){ 233 &meson8b_hdmi_pll_dco.hw 247 .hw.init = &(struct clk_init_data){ 251 &meson8b_hdmi_pll_dco.hw [all...] |
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | mISDNinfineon.c | 267 struct inf_hw *hw = dev_id; in diva_irq() local 270 spin_lock(&hw->lock); in diva_irq() 271 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); in diva_irq() 273 spin_unlock(&hw->lock); in diva_irq() 276 hw->irqcnt++; in diva_irq() 277 mISDNipac_irq(&hw->ipac, irqloops); in diva_irq() 278 spin_unlock(&hw->lock); in diva_irq() 285 struct inf_hw *hw = dev_id; in diva20x_irq() local 288 spin_lock(&hw->lock); in diva20x_irq() 289 val = readb(hw in diva20x_irq() 304 struct inf_hw *hw = dev_id; tiger_irq() local 322 struct inf_hw *hw = dev_id; elsa_irq() local 340 struct inf_hw *hw = dev_id; niccy_irq() local 359 struct inf_hw *hw = dev_id; gazel_irq() local 371 struct inf_hw *hw = dev_id; ipac_irq() local 387 enable_hwirq(struct inf_hw *hw) enable_hwirq() argument 431 disable_hwirq(struct inf_hw *hw) disable_hwirq() argument 471 ipac_chip_reset(struct inf_hw *hw) ipac_chip_reset() argument 482 reset_inf(struct inf_hw *hw) reset_inf() argument 574 inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) inf_ctrl() argument 592 init_irq(struct inf_hw *hw) init_irq() argument 630 release_io(struct inf_hw *hw) release_io() argument 653 setup_io(struct inf_hw *hw) setup_io() argument [all...] |
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/ |
H A D | mISDNinfineon.c | 267 struct inf_hw *hw = dev_id; in diva_irq() local 270 spin_lock(&hw->lock); in diva_irq() 271 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); in diva_irq() 273 spin_unlock(&hw->lock); in diva_irq() 276 hw->irqcnt++; in diva_irq() 277 mISDNipac_irq(&hw->ipac, irqloops); in diva_irq() 278 spin_unlock(&hw->lock); in diva_irq() 285 struct inf_hw *hw = dev_id; in diva20x_irq() local 288 spin_lock(&hw->lock); in diva20x_irq() 289 val = readb(hw in diva20x_irq() 304 struct inf_hw *hw = dev_id; tiger_irq() local 322 struct inf_hw *hw = dev_id; elsa_irq() local 340 struct inf_hw *hw = dev_id; niccy_irq() local 359 struct inf_hw *hw = dev_id; gazel_irq() local 371 struct inf_hw *hw = dev_id; ipac_irq() local 387 enable_hwirq(struct inf_hw *hw) enable_hwirq() argument 431 disable_hwirq(struct inf_hw *hw) disable_hwirq() argument 471 ipac_chip_reset(struct inf_hw *hw) ipac_chip_reset() argument 482 reset_inf(struct inf_hw *hw) reset_inf() argument 574 inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) inf_ctrl() argument 592 init_irq(struct inf_hw *hw) init_irq() argument 630 release_io(struct inf_hw *hw) release_io() argument 653 setup_io(struct inf_hw *hw) setup_io() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/sprd/ |
H A D | sc9863a-clk.c | 57 [CLK_MPLL0_GATE] = &mpll0_gate.common.hw, 58 [CLK_DPLL0_GATE] = &dpll0_gate.common.hw, 59 [CLK_LPLL_GATE] = &lpll_gate.common.hw, 60 [CLK_GPLL_GATE] = &gpll_gate.common.hw, 61 [CLK_DPLL1_GATE] = &dpll1_gate.common.hw, 62 [CLK_MPLL1_GATE] = &mpll1_gate.common.hw, 63 [CLK_MPLL2_GATE] = &mpll2_gate.common.hw, 64 [CLK_ISPPLL_GATE] = &isppll_gate.common.hw, 93 static CLK_FIXED_FACTOR_HW(twpll_768m, "twpll-768m", &twpll.common.hw, 2, 1, 0); 94 static CLK_FIXED_FACTOR_HW(twpll_384m, "twpll-384m", &twpll.common.hw, [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-au1550.c | 52 void (*rx_word)(struct au1550_spi *hw); 53 void (*tx_word)(struct au1550_spi *hw); 55 irqreturn_t (*irq_callback)(struct au1550_spi *hw); 90 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw); 102 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) in au1550_spi_baudcfg() argument 104 u32 mainclk_hz = hw->pdata->mainclk_hz; in au1550_spi_baudcfg() 125 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) in au1550_spi_mask_ack_all() argument 127 hw->regs->psc_spimsk = in au1550_spi_mask_ack_all() 133 hw->regs->psc_spievent = in au1550_spi_mask_ack_all() 140 static void au1550_spi_reset_fifos(struct au1550_spi *hw) in au1550_spi_reset_fifos() argument 163 struct au1550_spi *hw = spi_master_get_devdata(spi->master); au1550_spi_chipsel() local 223 struct au1550_spi *hw = spi_master_get_devdata(spi->master); au1550_spi_setupxfer() local 279 au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned size) au1550_spi_dma_rxtmp_alloc() argument 296 au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) au1550_spi_dma_rxtmp_free() argument 307 struct au1550_spi *hw = spi_master_get_devdata(spi->master); au1550_spi_dma_txrxb() local 412 au1550_spi_dma_irq_callback(struct au1550_spi *hw) au1550_spi_dma_irq_callback() argument 506 struct au1550_spi *hw = spi_master_get_devdata(spi->master); au1550_spi_pio_txrxb() local 546 au1550_spi_pio_irq_callback(struct au1550_spi *hw) au1550_spi_pio_irq_callback() argument 638 struct au1550_spi *hw = spi_master_get_devdata(spi->master); au1550_spi_txrx_bufs() local 644 struct au1550_spi *hw = dev; au1550_spi_irq() local 648 au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) au1550_spi_bits_handlers_set() argument 673 au1550_spi_setup_psc_as_spi(struct au1550_spi *hw) au1550_spi_setup_psc_as_spi() argument 724 struct au1550_spi *hw; au1550_spi_probe() local 926 struct au1550_spi *hw = platform_get_drvdata(pdev); au1550_spi_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 39 #include "hw.h" 46 static int alx_wait_mdio_idle(struct alx_hw *hw) in alx_wait_mdio_idle() argument 52 val = alx_read_mem32(hw, ALX_MDIO); in alx_wait_mdio_idle() 61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_read_phy_core() argument 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_read_phy_core() 77 alx_write_mem32(hw, ALX_MDIO_EXTN, val); in alx_read_phy_core() 88 alx_write_mem32(hw, ALX_MDIO, val); in alx_read_phy_core() 90 err = alx_wait_mdio_idle(hw); in alx_read_phy_core() 93 val = alx_read_mem32(hw, ALX_MDIO); in alx_read_phy_core() 98 static int alx_write_phy_core(struct alx_hw *hw, boo argument 129 __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) __alx_read_phy_reg() argument 134 __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) __alx_write_phy_reg() argument 139 __alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) __alx_read_phy_ext() argument 144 __alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) __alx_write_phy_ext() argument 149 __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) __alx_read_phy_dbg() argument 160 __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) __alx_write_phy_dbg() argument 171 alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) alx_read_phy_reg() argument 182 alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) alx_write_phy_reg() argument 193 alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) alx_read_phy_ext() argument 204 alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) alx_write_phy_ext() argument 215 alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) alx_read_phy_dbg() argument 226 alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) alx_write_phy_dbg() argument 237 alx_get_phy_config(struct alx_hw *hw) alx_get_phy_config() argument 259 alx_wait_reg(struct alx_hw *hw, u32 reg, u32 wait, u32 *val) alx_wait_reg() argument 277 alx_read_macaddr(struct alx_hw *hw, u8 *addr) alx_read_macaddr() argument 291 alx_get_perm_macaddr(struct alx_hw *hw, u8 *addr) alx_get_perm_macaddr() argument 324 alx_set_macaddr(struct alx_hw *hw, const u8 *addr) alx_set_macaddr() argument 335 alx_reset_osc(struct alx_hw *hw, u8 rev) alx_reset_osc() argument 376 alx_stop_mac(struct alx_hw *hw) alx_stop_mac() argument 401 alx_reset_mac(struct alx_hw *hw) alx_reset_mac() argument 490 alx_reset_phy(struct alx_hw *hw) alx_reset_phy() argument 560 alx_reset_pcie(struct alx_hw *hw) alx_reset_pcie() argument 607 alx_start_mac(struct alx_hw *hw) alx_start_mac() argument 629 alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc) alx_cfg_mac_flowcontrol() argument 644 alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en) alx_enable_aspm() argument 680 ethadv_to_hw_cfg(struct alx_hw *hw, u32 ethadv_cfg) ethadv_to_hw_cfg() argument 722 alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) alx_setup_speed_duplex() argument 778 alx_post_phy_link(struct alx_hw *hw) alx_post_phy_link() argument 851 alx_phy_configured(struct alx_hw *hw) alx_phy_configured() argument 865 alx_read_phy_link(struct alx_hw *hw) alx_read_phy_link() argument 915 alx_clear_phy_intr(struct alx_hw *hw) alx_clear_phy_intr() argument 923 alx_disable_rss(struct alx_hw *hw) alx_disable_rss() argument 931 alx_configure_basic(struct alx_hw *hw) alx_configure_basic() argument 1034 alx_mask_msix(struct alx_hw *hw, int index, bool mask) alx_mask_msix() argument 1048 alx_get_phy_info(struct alx_hw *hw) alx_get_phy_info() argument 1068 alx_update_hw_stats(struct alx_hw *hw) alx_update_hw_stats() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 39 #include "hw.h" 46 static int alx_wait_mdio_idle(struct alx_hw *hw) in alx_wait_mdio_idle() argument 52 val = alx_read_mem32(hw, ALX_MDIO); in alx_wait_mdio_idle() 61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_read_phy_core() argument 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_read_phy_core() 77 alx_write_mem32(hw, ALX_MDIO_EXTN, val); in alx_read_phy_core() 88 alx_write_mem32(hw, ALX_MDIO, val); in alx_read_phy_core() 90 err = alx_wait_mdio_idle(hw); in alx_read_phy_core() 93 val = alx_read_mem32(hw, ALX_MDIO); in alx_read_phy_core() 98 static int alx_write_phy_core(struct alx_hw *hw, boo argument 129 __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) __alx_read_phy_reg() argument 134 __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) __alx_write_phy_reg() argument 139 __alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) __alx_read_phy_ext() argument 144 __alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) __alx_write_phy_ext() argument 149 __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) __alx_read_phy_dbg() argument 160 __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) __alx_write_phy_dbg() argument 171 alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) alx_read_phy_reg() argument 182 alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) alx_write_phy_reg() argument 193 alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) alx_read_phy_ext() argument 204 alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) alx_write_phy_ext() argument 215 alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) alx_read_phy_dbg() argument 226 alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) alx_write_phy_dbg() argument 237 alx_get_phy_config(struct alx_hw *hw) alx_get_phy_config() argument 259 alx_wait_reg(struct alx_hw *hw, u32 reg, u32 wait, u32 *val) alx_wait_reg() argument 277 alx_read_macaddr(struct alx_hw *hw, u8 *addr) alx_read_macaddr() argument 291 alx_get_perm_macaddr(struct alx_hw *hw, u8 *addr) alx_get_perm_macaddr() argument 324 alx_set_macaddr(struct alx_hw *hw, const u8 *addr) alx_set_macaddr() argument 335 alx_reset_osc(struct alx_hw *hw, u8 rev) alx_reset_osc() argument 376 alx_stop_mac(struct alx_hw *hw) alx_stop_mac() argument 401 alx_reset_mac(struct alx_hw *hw) alx_reset_mac() argument 490 alx_reset_phy(struct alx_hw *hw) alx_reset_phy() argument 560 alx_reset_pcie(struct alx_hw *hw) alx_reset_pcie() argument 607 alx_start_mac(struct alx_hw *hw) alx_start_mac() argument 629 alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc) alx_cfg_mac_flowcontrol() argument 644 alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en) alx_enable_aspm() argument 680 ethadv_to_hw_cfg(struct alx_hw *hw, u32 ethadv_cfg) ethadv_to_hw_cfg() argument 722 alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) alx_setup_speed_duplex() argument 778 alx_post_phy_link(struct alx_hw *hw) alx_post_phy_link() argument 851 alx_phy_configured(struct alx_hw *hw) alx_phy_configured() argument 865 alx_read_phy_link(struct alx_hw *hw) alx_read_phy_link() argument 915 alx_clear_phy_intr(struct alx_hw *hw) alx_clear_phy_intr() argument 923 alx_disable_rss(struct alx_hw *hw) alx_disable_rss() argument 931 alx_configure_basic(struct alx_hw *hw) alx_configure_basic() argument 1034 alx_mask_msix(struct alx_hw *hw, int index, bool mask) alx_mask_msix() argument 1048 alx_get_phy_info(struct alx_hw *hw) alx_get_phy_info() argument 1068 alx_update_hw_stats(struct alx_hw *hw) alx_update_hw_stats() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq.c | 12 * @hw: pointer to the hardware structure 16 static void iavf_adminq_init_regs(struct iavf_hw *hw) in iavf_adminq_init_regs() argument 19 hw->aq.asq.tail = IAVF_VF_ATQT1; in iavf_adminq_init_regs() 20 hw->aq.asq.head = IAVF_VF_ATQH1; in iavf_adminq_init_regs() 21 hw->aq.asq.len = IAVF_VF_ATQLEN1; in iavf_adminq_init_regs() 22 hw->aq.asq.bal = IAVF_VF_ATQBAL1; in iavf_adminq_init_regs() 23 hw->aq.asq.bah = IAVF_VF_ATQBAH1; in iavf_adminq_init_regs() 24 hw->aq.arq.tail = IAVF_VF_ARQT1; in iavf_adminq_init_regs() 25 hw->aq.arq.head = IAVF_VF_ARQH1; in iavf_adminq_init_regs() 26 hw in iavf_adminq_init_regs() 35 iavf_alloc_adminq_asq_ring(struct iavf_hw *hw) iavf_alloc_adminq_asq_ring() argument 62 iavf_alloc_adminq_arq_ring(struct iavf_hw *hw) iavf_alloc_adminq_arq_ring() argument 82 iavf_free_adminq_asq(struct iavf_hw *hw) iavf_free_adminq_asq() argument 94 iavf_free_adminq_arq(struct iavf_hw *hw) iavf_free_adminq_arq() argument 103 iavf_alloc_arq_bufs(struct iavf_hw *hw) iavf_alloc_arq_bufs() argument 171 iavf_alloc_asq_bufs(struct iavf_hw *hw) iavf_alloc_asq_bufs() argument 212 iavf_free_arq_bufs(struct iavf_hw *hw) iavf_free_arq_bufs() argument 231 iavf_free_asq_bufs(struct iavf_hw *hw) iavf_free_asq_bufs() argument 256 iavf_config_asq_regs(struct iavf_hw *hw) iavf_config_asq_regs() argument 285 iavf_config_arq_regs(struct iavf_hw *hw) iavf_config_arq_regs() argument 324 iavf_init_asq(struct iavf_hw *hw) iavf_init_asq() argument 389 iavf_init_arq(struct iavf_hw *hw) iavf_init_arq() argument 446 iavf_shutdown_asq(struct iavf_hw *hw) iavf_shutdown_asq() argument 480 iavf_shutdown_arq(struct iavf_hw *hw) iavf_shutdown_arq() argument 519 iavf_init_adminq(struct iavf_hw *hw) iavf_init_adminq() argument 563 iavf_shutdown_adminq(struct iavf_hw *hw) iavf_shutdown_adminq() argument 582 iavf_clean_asq(struct iavf_hw *hw) iavf_clean_asq() argument 624 iavf_asq_done(struct iavf_hw *hw) iavf_asq_done() argument 643 iavf_asq_send_command(struct iavf_hw *hw, struct iavf_aq_desc *desc, void *buff, u16 buff_size, struct iavf_asq_cmd_details *cmd_details) iavf_asq_send_command() argument 856 iavf_clean_arq_element(struct iavf_hw *hw, struct iavf_arq_event_info *e, u16 *pending) iavf_clean_arq_element() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq.c | 12 * @hw: pointer to the hardware structure 16 static void iavf_adminq_init_regs(struct iavf_hw *hw) in iavf_adminq_init_regs() argument 19 hw->aq.asq.tail = IAVF_VF_ATQT1; in iavf_adminq_init_regs() 20 hw->aq.asq.head = IAVF_VF_ATQH1; in iavf_adminq_init_regs() 21 hw->aq.asq.len = IAVF_VF_ATQLEN1; in iavf_adminq_init_regs() 22 hw->aq.asq.bal = IAVF_VF_ATQBAL1; in iavf_adminq_init_regs() 23 hw->aq.asq.bah = IAVF_VF_ATQBAH1; in iavf_adminq_init_regs() 24 hw->aq.arq.tail = IAVF_VF_ARQT1; in iavf_adminq_init_regs() 25 hw->aq.arq.head = IAVF_VF_ARQH1; in iavf_adminq_init_regs() 26 hw in iavf_adminq_init_regs() 35 iavf_alloc_adminq_asq_ring(struct iavf_hw *hw) iavf_alloc_adminq_asq_ring() argument 62 iavf_alloc_adminq_arq_ring(struct iavf_hw *hw) iavf_alloc_adminq_arq_ring() argument 82 iavf_free_adminq_asq(struct iavf_hw *hw) iavf_free_adminq_asq() argument 94 iavf_free_adminq_arq(struct iavf_hw *hw) iavf_free_adminq_arq() argument 103 iavf_alloc_arq_bufs(struct iavf_hw *hw) iavf_alloc_arq_bufs() argument 171 iavf_alloc_asq_bufs(struct iavf_hw *hw) iavf_alloc_asq_bufs() argument 212 iavf_free_arq_bufs(struct iavf_hw *hw) iavf_free_arq_bufs() argument 231 iavf_free_asq_bufs(struct iavf_hw *hw) iavf_free_asq_bufs() argument 256 iavf_config_asq_regs(struct iavf_hw *hw) iavf_config_asq_regs() argument 285 iavf_config_arq_regs(struct iavf_hw *hw) iavf_config_arq_regs() argument 324 iavf_init_asq(struct iavf_hw *hw) iavf_init_asq() argument 389 iavf_init_arq(struct iavf_hw *hw) iavf_init_arq() argument 446 iavf_shutdown_asq(struct iavf_hw *hw) iavf_shutdown_asq() argument 480 iavf_shutdown_arq(struct iavf_hw *hw) iavf_shutdown_arq() argument 519 iavf_init_adminq(struct iavf_hw *hw) iavf_init_adminq() argument 563 iavf_shutdown_adminq(struct iavf_hw *hw) iavf_shutdown_adminq() argument 580 iavf_clean_asq(struct iavf_hw *hw) iavf_clean_asq() argument 622 iavf_asq_done(struct iavf_hw *hw) iavf_asq_done() argument 641 iavf_asq_send_command(struct iavf_hw *hw, struct iavf_aq_desc *desc, void *buff, u16 buff_size, struct iavf_asq_cmd_details *cmd_details) iavf_asq_send_command() argument 854 iavf_clean_arq_element(struct iavf_hw *hw, struct iavf_arq_event_info *e, u16 *pending) iavf_clean_arq_element() argument [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-au1550.c | 52 void (*rx_word)(struct au1550_spi *hw); 53 void (*tx_word)(struct au1550_spi *hw); 55 irqreturn_t (*irq_callback)(struct au1550_spi *hw); 89 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw); 101 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned int speed_hz) in au1550_spi_baudcfg() argument 103 u32 mainclk_hz = hw->pdata->mainclk_hz; in au1550_spi_baudcfg() 124 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) in au1550_spi_mask_ack_all() argument 126 hw->regs->psc_spimsk = in au1550_spi_mask_ack_all() 132 hw->regs->psc_spievent = in au1550_spi_mask_ack_all() 139 static void au1550_spi_reset_fifos(struct au1550_spi *hw) in au1550_spi_reset_fifos() argument 162 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); au1550_spi_chipsel() local 222 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); au1550_spi_setupxfer() local 278 au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned int size) au1550_spi_dma_rxtmp_alloc() argument 295 au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) au1550_spi_dma_rxtmp_free() argument 306 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); au1550_spi_dma_txrxb() local 411 au1550_spi_dma_irq_callback(struct au1550_spi *hw) au1550_spi_dma_irq_callback() argument 505 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); au1550_spi_pio_txrxb() local 545 au1550_spi_pio_irq_callback(struct au1550_spi *hw) au1550_spi_pio_irq_callback() argument 637 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); au1550_spi_txrx_bufs() local 644 struct au1550_spi *hw = dev; au1550_spi_irq() local 649 au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) au1550_spi_bits_handlers_set() argument 674 au1550_spi_setup_psc_as_spi(struct au1550_spi *hw) au1550_spi_setup_psc_as_spi() argument 725 struct au1550_spi *hw; au1550_spi_probe() local 928 struct au1550_spi *hw = platform_get_drvdata(pdev); au1550_spi_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_isr.c | 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() local 51 if (unlikely(!hw)) in csio_nondata_isr() 54 if (unlikely(pci_channel_offline(hw->pdev))) { in csio_nondata_isr() 55 CSIO_INC_STATS(hw, n_pcich_offline); in csio_nondata_isr() 59 spin_lock_irqsave(&hw->lock, flags); in csio_nondata_isr() 60 csio_hw_slow_intr_handler(hw); in csio_nondata_isr() 61 rv = csio_mb_isr_handler(hw); in csio_nondata_isr() 63 if (rv == 0 && !(hw->flags & CSIO_HWF_FWEVT_PENDING)) { in csio_nondata_isr() 64 hw->flags |= CSIO_HWF_FWEVT_PENDING; in csio_nondata_isr() 65 spin_unlock_irqrestore(&hw in csio_nondata_isr() 81 csio_fwevt_handler(struct csio_hw *hw) csio_fwevt_handler() argument 110 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_fwevt_isr() local 131 csio_fwevt_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, struct csio_fl_dma_buf *flb, void *priv) csio_fwevt_intx_handler() argument 146 csio_process_scsi_cmpl(struct csio_hw *hw, void *wr, uint32_t len, struct csio_fl_dma_buf *flb, void *cbfn_q) csio_process_scsi_cmpl() argument 214 struct csio_hw *hw = (struct csio_hw *)iq->owner; csio_scsi_isr_handler() local 259 struct csio_hw *hw; csio_scsi_isr() local 285 csio_scsi_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, struct csio_fl_dma_buf *flb, void *priv) csio_scsi_intx_handler() argument 304 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_fcoe_isr() local 352 csio_add_msix_desc(struct csio_hw *hw) csio_add_msix_desc() argument 381 csio_request_irqs(struct csio_hw *hw) csio_request_irqs() argument 457 csio_reduce_sqsets(struct csio_hw *hw, int cnt) csio_reduce_sqsets() argument 479 struct csio_hw *hw = affd->priv; csio_calc_sets() local 497 csio_enable_msix(struct csio_hw *hw) csio_enable_msix() argument 551 csio_intr_enable(struct csio_hw *hw) csio_intr_enable() argument 584 csio_intr_disable(struct csio_hw *hw, bool free) csio_intr_disable() argument [all...] |
H A D | csio_init.c | 69 struct csio_hw *hw = file->private_data - mem; in csio_mem_read() local 84 ret = hw->chip_ops->chip_mc_read(hw, 0, pos, in csio_mem_read() 87 ret = hw->chip_ops->chip_edc_read(hw, mem, pos, in csio_mem_read() 113 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, in csio_add_debugfs_mem() argument 116 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, in csio_add_debugfs_mem() 117 (void *)hw + idx, &csio_mem_debugfs_fops, in csio_add_debugfs_mem() 121 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs() argument 125 if (IS_ERR_OR_NULL(hw in csio_setup_debugfs() 143 csio_dfs_create(struct csio_hw *hw) csio_dfs_create() argument 158 csio_dfs_destroy(struct csio_hw *hw) csio_dfs_destroy() argument 245 csio_hw_init_workers(struct csio_hw *hw) csio_hw_init_workers() argument 251 csio_hw_exit_workers(struct csio_hw *hw) csio_hw_exit_workers() argument 257 csio_create_queues(struct csio_hw *hw) csio_create_queues() argument 334 csio_config_queues(struct csio_hw *hw) csio_config_queues() argument 462 csio_resource_alloc(struct csio_hw *hw) csio_resource_alloc() argument 499 csio_resource_free(struct csio_hw *hw) csio_resource_free() argument 518 struct csio_hw *hw; csio_hw_alloc() local 569 csio_hw_free(struct csio_hw *hw) csio_hw_free() argument 593 csio_shost_init(struct csio_hw *hw, struct device *dev, bool probe, struct csio_lnode *pln) csio_shost_init() argument 666 struct csio_hw *hw = csio_lnode_to_hw(ln); csio_shost_exit() local 686 csio_lnode_alloc(struct csio_hw *hw) csio_lnode_alloc() argument 692 csio_lnodes_block_request(struct csio_hw *hw) csio_lnodes_block_request() argument 731 csio_lnodes_unblock_request(struct csio_hw *hw) csio_lnodes_unblock_request() argument 769 csio_lnodes_block_by_port(struct csio_hw *hw, uint8_t portid) csio_lnodes_block_by_port() argument 810 csio_lnodes_unblock_by_port(struct csio_hw *hw, uint8_t portid) csio_lnodes_unblock_by_port() argument 850 csio_lnodes_exit(struct csio_hw *hw, bool npiv) csio_lnodes_exit() argument 945 struct csio_hw *hw; csio_probe_one() local 1032 struct csio_hw *hw = pci_get_drvdata(pdev); csio_remove_one() local 1059 struct csio_hw *hw = pci_get_drvdata(pdev); csio_pci_error_detected() local 1086 struct csio_hw *hw = pci_get_drvdata(pdev); csio_pci_slot_reset() local 1122 struct csio_hw *hw = pci_get_drvdata(pdev); csio_pci_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_isr.c | 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() local 51 if (unlikely(!hw)) in csio_nondata_isr() 54 if (unlikely(pci_channel_offline(hw->pdev))) { in csio_nondata_isr() 55 CSIO_INC_STATS(hw, n_pcich_offline); in csio_nondata_isr() 59 spin_lock_irqsave(&hw->lock, flags); in csio_nondata_isr() 60 csio_hw_slow_intr_handler(hw); in csio_nondata_isr() 61 rv = csio_mb_isr_handler(hw); in csio_nondata_isr() 63 if (rv == 0 && !(hw->flags & CSIO_HWF_FWEVT_PENDING)) { in csio_nondata_isr() 64 hw->flags |= CSIO_HWF_FWEVT_PENDING; in csio_nondata_isr() 65 spin_unlock_irqrestore(&hw in csio_nondata_isr() 81 csio_fwevt_handler(struct csio_hw *hw) csio_fwevt_handler() argument 110 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_fwevt_isr() local 131 csio_fwevt_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, struct csio_fl_dma_buf *flb, void *priv) csio_fwevt_intx_handler() argument 146 csio_process_scsi_cmpl(struct csio_hw *hw, void *wr, uint32_t len, struct csio_fl_dma_buf *flb, void *cbfn_q) csio_process_scsi_cmpl() argument 214 struct csio_hw *hw = (struct csio_hw *)iq->owner; csio_scsi_isr_handler() local 259 struct csio_hw *hw; csio_scsi_isr() local 285 csio_scsi_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, struct csio_fl_dma_buf *flb, void *priv) csio_scsi_intx_handler() argument 304 struct csio_hw *hw = (struct csio_hw *) dev_id; csio_fcoe_isr() local 352 csio_add_msix_desc(struct csio_hw *hw) csio_add_msix_desc() argument 381 csio_request_irqs(struct csio_hw *hw) csio_request_irqs() argument 457 csio_reduce_sqsets(struct csio_hw *hw, int cnt) csio_reduce_sqsets() argument 479 struct csio_hw *hw = affd->priv; csio_calc_sets() local 497 csio_enable_msix(struct csio_hw *hw) csio_enable_msix() argument 551 csio_intr_enable(struct csio_hw *hw) csio_intr_enable() argument 584 csio_intr_disable(struct csio_hw *hw, bool free) csio_intr_disable() argument [all...] |
H A D | csio_init.c | 68 struct csio_hw *hw = file->private_data - mem; in csio_mem_read() local 83 ret = hw->chip_ops->chip_mc_read(hw, 0, pos, in csio_mem_read() 86 ret = hw->chip_ops->chip_edc_read(hw, mem, pos, in csio_mem_read() 112 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, in csio_add_debugfs_mem() argument 115 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, in csio_add_debugfs_mem() 116 (void *)hw + idx, &csio_mem_debugfs_fops, in csio_add_debugfs_mem() 120 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs() argument 124 if (IS_ERR_OR_NULL(hw in csio_setup_debugfs() 142 csio_dfs_create(struct csio_hw *hw) csio_dfs_create() argument 157 csio_dfs_destroy(struct csio_hw *hw) csio_dfs_destroy() argument 244 csio_hw_init_workers(struct csio_hw *hw) csio_hw_init_workers() argument 250 csio_hw_exit_workers(struct csio_hw *hw) csio_hw_exit_workers() argument 256 csio_create_queues(struct csio_hw *hw) csio_create_queues() argument 333 csio_config_queues(struct csio_hw *hw) csio_config_queues() argument 461 csio_resource_alloc(struct csio_hw *hw) csio_resource_alloc() argument 498 csio_resource_free(struct csio_hw *hw) csio_resource_free() argument 517 struct csio_hw *hw; csio_hw_alloc() local 568 csio_hw_free(struct csio_hw *hw) csio_hw_free() argument 592 csio_shost_init(struct csio_hw *hw, struct device *dev, bool probe, struct csio_lnode *pln) csio_shost_init() argument 665 struct csio_hw *hw = csio_lnode_to_hw(ln); csio_shost_exit() local 685 csio_lnode_alloc(struct csio_hw *hw) csio_lnode_alloc() argument 691 csio_lnodes_block_request(struct csio_hw *hw) csio_lnodes_block_request() argument 730 csio_lnodes_unblock_request(struct csio_hw *hw) csio_lnodes_unblock_request() argument 768 csio_lnodes_block_by_port(struct csio_hw *hw, uint8_t portid) csio_lnodes_block_by_port() argument 809 csio_lnodes_unblock_by_port(struct csio_hw *hw, uint8_t portid) csio_lnodes_unblock_by_port() argument 849 csio_lnodes_exit(struct csio_hw *hw, bool npiv) csio_lnodes_exit() argument 944 struct csio_hw *hw; csio_probe_one() local 1031 struct csio_hw *hw = pci_get_drvdata(pdev); csio_remove_one() local 1058 struct csio_hw *hw = pci_get_drvdata(pdev); csio_pci_error_detected() local 1085 struct csio_hw *hw = pci_get_drvdata(pdev); csio_pci_slot_reset() local 1121 struct csio_hw *hw = pci_get_drvdata(pdev); csio_pci_resume() local [all...] |