ixgbe_read_i...ric_unlocked(9)
π ixgbe_read_i...ric_unlocked(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the actual manual name, it's giving "official document, but make it cute." today's main character is ixgbe_read_i2c_byte_generic_unlocked, which is a lot of name, but she earned it. π
β¨ NAME β¨
ixgbe_read_i2c_byte_generic_unlocked β reads an 8 bit word over I2C. that's it, that's the whole vibe. one byte. over I2C. slay. πΈ
π¦ SYNOPSIS π¦
int ixgbe_read_i2c_byte_generic_unlocked (struct ixgbe_hw *hw , u8
byte_offset , u8 dev_addr , u8 *data );
it returns an int, and it takes four things. we're gonna go through them one by one, don't worry. π
π ARGUMENTS π
hwβ pointer to hardware structure. literally the hardware. the whole thing. she's astruct ixgbe_hw *and she's the main character energy of this function ngl. πbyte_offsetβ byte offset to read. it's au8, it tells you where in the byte-land we're looking. πdev_addrβ device address. also au8. this is who we're talking to on the bus, iykyk. π¦dataβ value read. it's au8 *, so it's a pointer, so the function can drop the value it read in there for you. it's giving "here's your result, bestie." π«Ά
π DESCRIPTION π
so what does she do? she performs a byte read operation to the SFP module's EEPROM over the I2C interface at a specified device address. πβ¨
that's the whole thing, no cap. one byte, from the SFP module's EEPROM, over I2C, at the device address you handed her. iconic behavior honestly. π₯
also note the _unlocked in her name β she's the unlocked flavor of this operation, which is exactly what the name says and nothing more, okay? i'm not out here inventing lore. π
π SEE ALSO π
buckle up bestie, this list is long, but every single one of these made the cut, fr fr. π
- Kernel file
./drivers/net/ethernet/intel/ixgbe/ixgbe_phy.cβ yeah, that's where she lives π ixgbe_out_i2c_byte_ack(9)ixgbe_in_i2c_byte_ack(9)ixgbe_ones_comp_byte_add(9)ixgbe_read_i2c_combined_generic_int(9)ixgbe_write_i2c_combined_generic_int(9)ixgbe_probe_phy(9)ixgbe_identify_phy_generic(9)ixgbe_check_reset_blocked(9)ixgbe_get_phy_id(9)ixgbe_get_phy_type_from_id(9)ixgbe_reset_phy_generic(9)ixgbe_read_phy_reg_mdi(9)ixgbe_read_phy_reg_generic(9)ixgbe_write_phy_reg_mdi(9)ixgbe_write_phy_reg_generic(9)ixgbe_msca_cmd(9)ixgbe_mii_bus_read_generic_c22(9)ixgbe_mii_bus_read_generic_c45(9)ixgbe_mii_bus_write_generic_c22(9)ixgbe_mii_bus_write_generic_c45(9)ixgbe_mii_bus_read_c22(9)ixgbe_mii_bus_read_c45(9)ixgbe_mii_bus_write_c22(9)ixgbe_mii_bus_write_c45(9)ixgbe_x550em_a_mii_bus_read_c22(9)ixgbe_x550em_a_mii_bus_read_c45(9)ixgbe_x550em_a_mii_bus_write_c22(9)ixgbe_x550em_a_mii_bus_write_c45(9)ixgbe_get_first_secondary_devfn(9)ixgbe_x550em_a_has_mii(9)ixgbe_mii_bus_init(9)ixgbe_setup_phy_link_generic(9)ixgbe_setup_phy_link_speed_generic(9)ixgbe_get_copper_speeds_supported(9)ixgbe_get_copper_link_capabilities_generic(9)ixgbe_check_phy_link_tnx(9)ixgbe_setup_phy_link_tnx(9)ixgbe_reset_phy_nl(9)ixgbe_identify_module_generic(9)ixgbe_identify_sfp_module_generic(9)ixgbe_identify_qsfp_module_generic(9)ixgbe_get_sfp_init_sequence_offsets(9)ixgbe_read_i2c_eeprom_generic(9)ixgbe_read_i2c_sff8472_generic(9)ixgbe_write_i2c_eeprom_generic(9)ixgbe_is_sfp_probe(9)ixgbe_read_i2c_byte_generic_int(9)ixgbe_read_i2c_byte_generic(9)ixgbe_write_i2c_byte_generic_int(9)ixgbe_write_i2c_byte_generic(9)ixgbe_write_i2c_byte_generic_unlocked(9)β her unlocked sister π«Άixgbe_i2c_start(9)ixgbe_i2c_stop(9)ixgbe_clock_in_i2c_byte(9)ixgbe_clock_out_i2c_byte(9)ixgbe_get_i2c_ack(9)ixgbe_clock_in_i2c_bit(9)ixgbe_clock_out_i2c_bit(9)ixgbe_raise_i2c_clk(9)ixgbe_lower_i2c_clk(9)ixgbe_set_i2c_data(9)ixgbe_get_i2c_data(9)ixgbe_i2c_bus_clear(9)ixgbe_tn_check_overtemp(9)
see? all of them. not one skipped. we don't do that here. π β¨
and that's the page!! tysm for reading, bestie, you ate that π
this cutie dropped from ./drivers/net/ethernet/intel/i... in October 2026, and this whole thing is the Kernel API Manual, so likeβ¦ cite her properly if you reference her in your paper. mwah ππ¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms