Lines Matching refs:s32

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);
21 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data);
25 static s32 ixgbe_get_phy_id(struct ixgbe_hw *hw);
26 static s32 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw);
35 static s32 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) in ixgbe_out_i2c_byte_ack()
37 s32 status; in ixgbe_out_i2c_byte_ack()
52 static s32 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) in ixgbe_in_i2c_byte_ack()
54 s32 status; in ixgbe_in_i2c_byte_ack()
88 s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, in ixgbe_read_i2c_combined_generic_int()
166 s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, in ixgbe_write_i2c_combined_generic_int()
263 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) in ixgbe_identify_phy_generic()
335 static s32 ixgbe_get_phy_id(struct ixgbe_hw *hw) in ixgbe_get_phy_id()
337 s32 status; in ixgbe_get_phy_id()
397 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) in ixgbe_reset_phy_generic()
401 s32 status = 0; in ixgbe_reset_phy_generic()
473 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, in ixgbe_read_phy_reg_mdi()
549 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, in ixgbe_read_phy_reg_generic()
552 s32 status; in ixgbe_read_phy_reg_generic()
574 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, in ixgbe_write_phy_reg_mdi()
647 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, in ixgbe_write_phy_reg_generic()
650 s32 status; in ixgbe_write_phy_reg_generic()
671 static s32 ixgbe_msca_cmd(struct ixgbe_hw *hw, u32 cmd) in ixgbe_msca_cmd()
687 static s32 ixgbe_mii_bus_read_generic_c22(struct ixgbe_hw *hw, int addr, in ixgbe_mii_bus_read_generic_c22()
691 s32 data; in ixgbe_mii_bus_read_generic_c22()
721 static s32 ixgbe_mii_bus_read_generic_c45(struct ixgbe_hw *hw, int addr, in ixgbe_mii_bus_read_generic_c45()
725 s32 data; in ixgbe_mii_bus_read_generic_c45()
759 static s32 ixgbe_mii_bus_write_generic_c22(struct ixgbe_hw *hw, int addr, in ixgbe_mii_bus_write_generic_c22()
763 s32 err; in ixgbe_mii_bus_write_generic_c22()
790 static s32 ixgbe_mii_bus_write_generic_c45(struct ixgbe_hw *hw, int addr, in ixgbe_mii_bus_write_generic_c45()
795 s32 err; in ixgbe_mii_bus_write_generic_c45()
824 static s32 ixgbe_mii_bus_read_c22(struct mii_bus *bus, int addr, int regnum) in ixgbe_mii_bus_read_c22()
840 static s32 ixgbe_mii_bus_read_c45(struct mii_bus *bus, int devad, int addr, in ixgbe_mii_bus_read_c45()
857 static s32 ixgbe_mii_bus_write_c22(struct mii_bus *bus, int addr, int regnum, in ixgbe_mii_bus_write_c22()
875 static s32 ixgbe_mii_bus_write_c45(struct mii_bus *bus, int addr, int devad, in ixgbe_mii_bus_write_c45()
892 static s32 ixgbe_x550em_a_mii_bus_read_c22(struct mii_bus *bus, int addr, in ixgbe_x550em_a_mii_bus_read_c22()
910 static s32 ixgbe_x550em_a_mii_bus_read_c45(struct mii_bus *bus, int addr, in ixgbe_x550em_a_mii_bus_read_c45()
928 static s32 ixgbe_x550em_a_mii_bus_write_c22(struct mii_bus *bus, int addr, in ixgbe_x550em_a_mii_bus_write_c22()
947 static s32 ixgbe_x550em_a_mii_bus_write_c45(struct mii_bus *bus, int addr, in ixgbe_x550em_a_mii_bus_write_c45()
1026 s32 ixgbe_mii_bus_init(struct ixgbe_hw *hw) in ixgbe_mii_bus_init()
1028 s32 (*write_c22)(struct mii_bus *bus, int addr, int regnum, u16 val); in ixgbe_mii_bus_init()
1029 s32 (*read_c22)(struct mii_bus *bus, int addr, int regnum); in ixgbe_mii_bus_init()
1030 s32 (*write_c45)(struct mii_bus *bus, int addr, int devad, int regnum, in ixgbe_mii_bus_init()
1032 s32 (*read_c45)(struct mii_bus *bus, int addr, int devad, int regnum); in ixgbe_mii_bus_init()
1098 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) in ixgbe_setup_phy_link_generic()
1100 s32 status = 0; in ixgbe_setup_phy_link_generic()
1176 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, in ixgbe_setup_phy_link_speed_generic()
1217 static s32 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) in ixgbe_get_copper_speeds_supported()
1220 s32 status; in ixgbe_get_copper_speeds_supported()
1256 s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, in ixgbe_get_copper_link_capabilities_generic()
1260 s32 status = 0; in ixgbe_get_copper_link_capabilities_generic()
1279 s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, in ixgbe_check_phy_link_tnx()
1282 s32 status; in ixgbe_check_phy_link_tnx()
1329 s32 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) in ixgbe_setup_phy_link_tnx()
1402 s32 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) in ixgbe_reset_phy_nl()
1408 s32 ret_val; in ixgbe_reset_phy_nl()
1509 s32 ixgbe_identify_module_generic(struct ixgbe_hw *hw) in ixgbe_identify_module_generic()
1530 s32 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) in ixgbe_identify_sfp_module_generic()
1533 s32 status; in ixgbe_identify_sfp_module_generic()
1795 static s32 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) in ixgbe_identify_qsfp_module_generic()
1798 s32 status; in ixgbe_identify_qsfp_module_generic()
1978 s32 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, in ixgbe_get_sfp_init_sequence_offsets()
2068 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic()
2084 s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_generic()
2100 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic()
2134 static s32 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic_int()
2137 s32 status; in ixgbe_read_i2c_byte_generic_int()
2224 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic()
2241 s32 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic_unlocked()
2259 static s32 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_generic_int()
2262 s32 status; in ixgbe_write_i2c_byte_generic_int()
2327 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_generic()
2344 s32 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_generic_unlocked()
2425 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) in ixgbe_clock_in_i2c_byte()
2427 s32 i; in ixgbe_clock_in_i2c_byte()
2446 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) in ixgbe_clock_out_i2c_byte()
2448 s32 status; in ixgbe_clock_out_i2c_byte()
2449 s32 i; in ixgbe_clock_out_i2c_byte()
2477 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) in ixgbe_get_i2c_ack()
2480 s32 status = 0; in ixgbe_get_i2c_ack()
2528 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) in ixgbe_clock_in_i2c_bit()
2562 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) in ixgbe_clock_out_i2c_bit()
2564 s32 status; in ixgbe_clock_out_i2c_bit()
2650 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) in ixgbe_set_i2c_data()
2772 s32 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) in ixgbe_set_copper_phy_power()