| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_phy.h | 172 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 174 s32 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 176 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 178 s32 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 180 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 182 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
|
| H A D | ixgbe_api.c | 1422 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_read_i2c_byte() argument 1425 return ixgbe_call_func(hw, hw->phy.ops.read_i2c_byte, (hw, byte_offset, in ixgbe_read_i2c_byte() 1438 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_unlocked() argument 1442 (hw, byte_offset, dev_addr, data), in ixgbe_read_i2c_byte_unlocked() 1486 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_write_i2c_byte() argument 1489 return ixgbe_call_func(hw, hw->phy.ops.write_i2c_byte, (hw, byte_offset, in ixgbe_write_i2c_byte() 1503 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_unlocked() argument 1507 (hw, byte_offset, dev_addr, data), in ixgbe_write_i2c_byte_unlocked() 1550 u8 byte_offset, u8 eeprom_data) in ixgbe_write_i2c_eeprom() argument 1553 (hw, byte_offset, eeprom_data), in ixgbe_write_i2c_eeprom() [all …]
|
| H A D | ixgbe_api.h | 116 s32 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data); 149 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, 151 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 155 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, 158 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 162 s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data);
|
| H A D | ixgbe_phy.c | 1933 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic() 1949 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic() 1967 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic() 2012 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int() 2030 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int() 2086 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument 2089 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic() 2106 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic_unlocked() 2146 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic_int() 2195 return ixgbe_write_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_write_i2c_byte_generic() [all …]
|
| H A D | ixgbe_82598.c | 38 STATIC s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, 1097 u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_phy_82598() argument 1122 sfp_addr = (dev_addr << 8) + byte_offset; in ixgbe_read_i2c_phy_82598() 1169 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument 1173 byte_offset, eeprom_data); in ixgbe_read_i2c_eeprom_82598() 1184 STATIC s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_82598() argument 1188 byte_offset, sff8472_data); in ixgbe_read_i2c_sff8472_82598()
|
| H A D | ixgbe_82598.h | 17 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
|
| H A D | ixgbe_82599.c | 26 STATIC s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 28 STATIC s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 2498 STATIC s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_82599() argument 2531 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_read_i2c_byte_82599() 2556 STATIC s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_82599() argument 2589 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_write_i2c_byte_82599()
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_phy.h | 450 s32 txgbe_read_i2c_byte(struct txgbe_hw *hw, u8 byte_offset, 452 s32 txgbe_read_i2c_byte_unlocked(struct txgbe_hw *hw, u8 byte_offset, 454 s32 txgbe_write_i2c_byte(struct txgbe_hw *hw, u8 byte_offset, 456 s32 txgbe_write_i2c_byte_unlocked(struct txgbe_hw *hw, u8 byte_offset, 458 s32 txgbe_read_i2c_sff8472(struct txgbe_hw *hw, u8 byte_offset, 460 s32 txgbe_read_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset, 462 s32 txgbe_write_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset,
|
| H A D | txgbe_phy.c | 1162 s32 txgbe_read_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_eeprom() argument 1165 return hw->phy.read_i2c_byte(hw, byte_offset, in txgbe_read_i2c_eeprom() 1178 s32 txgbe_read_i2c_sff8472(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_sff8472() argument 1181 return hw->phy.read_i2c_byte(hw, byte_offset, in txgbe_read_i2c_sff8472() 1194 s32 txgbe_write_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset, in txgbe_write_i2c_eeprom() argument 1197 return hw->phy.write_i2c_byte(hw, byte_offset, in txgbe_write_i2c_eeprom() 1212 s32 txgbe_read_i2c_byte_unlocked(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_byte_unlocked() argument 1225 byte_offset | TXGBE_I2CDATA_STOP); in txgbe_read_i2c_byte_unlocked() 1251 s32 txgbe_read_i2c_byte(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_byte() argument 1285 wr32(hw, TXGBE_I2CDATA, byte_offset | TXGBE_I2CDATA_STOP); in txgbe_write_i2c_byte_unlocked() [all …]
|
| H A D | txgbe_type.h | 656 s32 (*read_i2c_byte)(struct txgbe_hw *hw, u8 byte_offset, 658 s32 (*write_i2c_byte)(struct txgbe_hw *hw, u8 byte_offset, 660 s32 (*read_i2c_sff8472)(struct txgbe_hw *hw, u8 byte_offset, 662 s32 (*read_i2c_eeprom)(struct txgbe_hw *hw, u8 byte_offset, 664 s32 (*write_i2c_eeprom)(struct txgbe_hw *hw, u8 byte_offset,
|
| /dpdk/drivers/net/igc/base/ |
| H A D | igc_api.h | 23 s32 igc_read_i2c_byte_generic(struct igc_hw *hw, u8 byte_offset, 25 s32 igc_write_i2c_byte_generic(struct igc_hw *hw, u8 byte_offset,
|
| H A D | igc_phy.h | 14 s32 igc_read_i2c_byte_null(struct igc_hw *hw, u8 byte_offset, 16 s32 igc_write_i2c_byte_null(struct igc_hw *hw, u8 byte_offset,
|
| H A D | igc_api.c | 359 s32 igc_read_i2c_byte_generic(struct igc_hw *hw, u8 byte_offset, in igc_read_i2c_byte_generic() argument 391 status = igc_clock_out_i2c_byte(hw, byte_offset); in igc_read_i2c_byte_generic() 448 s32 igc_write_i2c_byte_generic(struct igc_hw *hw, u8 byte_offset, in igc_write_i2c_byte_generic() argument 476 status = igc_clock_out_i2c_byte(hw, byte_offset); in igc_write_i2c_byte_generic()
|
| H A D | igc_hw.h | 755 s32 (*read_i2c_byte)(struct igc_hw *hw, u8 byte_offset, 757 s32 (*write_i2c_byte)(struct igc_hw *hw, u8 byte_offset,
|
| H A D | igc_phy.c | 146 u8 IGC_UNUSEDARG byte_offset, in igc_read_i2c_byte_null() argument 151 UNREFERENCED_4PARAMETER(hw, byte_offset, dev_addr, data); in igc_read_i2c_byte_null() 164 u8 IGC_UNUSEDARG byte_offset, in igc_write_i2c_byte_null() argument 169 UNREFERENCED_4PARAMETER(hw, byte_offset, dev_addr, data); in igc_write_i2c_byte_null()
|
| /dpdk/drivers/net/e1000/base/ |
| H A D | e1000_82575.h | 401 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, 403 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
|
| H A D | e1000_phy.h | 14 s32 e1000_read_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 16 s32 e1000_write_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset,
|
| H A D | e1000_82575.c | 3087 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_read_i2c_byte_generic() argument 3119 status = e1000_clock_out_i2c_byte(hw, byte_offset); in e1000_read_i2c_byte_generic() 3176 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_write_i2c_byte_generic() argument 3204 status = e1000_clock_out_i2c_byte(hw, byte_offset); in e1000_write_i2c_byte_generic()
|
| H A D | e1000_phy.c | 147 u8 E1000_UNUSEDARG byte_offset, in e1000_read_i2c_byte_null() argument 152 UNREFERENCED_4PARAMETER(hw, byte_offset, dev_addr, data); in e1000_read_i2c_byte_null() 165 u8 E1000_UNUSEDARG byte_offset, in e1000_write_i2c_byte_null() argument 170 UNREFERENCED_4PARAMETER(hw, byte_offset, dev_addr, data); in e1000_write_i2c_byte_null()
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_nvram.c | 832 byte_offset( in byte_offset() function 865 *startp = byte_offset(cursor.current, cursor.block); in ef10_nvram_buffer_find_item_start() 969 *startp = byte_offset(cursor.current, cursor.block); in ef10_nvram_buffer_find_item() 970 *lengthp = byte_offset(tlv_next_item_ptr(&cursor), in ef10_nvram_buffer_find_item() 1007 *lengthp = byte_offset(tlv_next_item_ptr(&cursor), in ef10_nvram_buffer_peek_item() 1009 *value_offsetp = byte_offset((uint32_t *)tlv_value(&cursor), in ef10_nvram_buffer_peek_item() 1093 *lengthp = byte_offset(tlv_next_item_ptr(&cursor), in ef10_nvram_buffer_insert_item() 1131 *lengthp = byte_offset(tlv_next_item_ptr(&cursor), in ef10_nvram_buffer_modify_item()
|
| /dpdk/drivers/net/bnxt/hcapi/cfa/ |
| H A D | hcapi_cfa_defs.h | 160 uint32_t byte_offset; member
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.c | 6173 int rc, byte_offset = 0; in bnxt_hwrm_read_sfp_module_eeprom_info() local 6184 req.page_offset = rte_cpu_to_le_16(start_addr + byte_offset); in bnxt_hwrm_read_sfp_module_eeprom_info() 6186 req.enables = rte_cpu_to_le_32(start_addr + byte_offset ? enables : 0); in bnxt_hwrm_read_sfp_module_eeprom_info() 6190 memcpy(buf + byte_offset, resp->data, xfer_size); in bnxt_hwrm_read_sfp_module_eeprom_info() 6193 byte_offset += xfer_size; in bnxt_hwrm_read_sfp_module_eeprom_info()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_debug.c | 1025 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument 1029 offset_in_dword = (u8)(byte_offset & 0x3); in qed_dump_align()
|