Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 – 24 of 24) sorted by relevance

/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_phy.h172 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 Dixgbe_api.h116 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 Dixgbe_api.c1422 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 Dixgbe_phy.c1912 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic()
1928 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic()
1946 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic()
1991 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int()
2009 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int()
2065 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument
2068 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic()
2085 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic_unlocked()
2125 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic_int()
2174 return ixgbe_write_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_write_i2c_byte_generic()
[all …]
H A Dixgbe_82598.h17 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
H A Dixgbe_82598.c38 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 Dixgbe_82599.c26 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()
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_phy.h358 s32 txgbe_read_i2c_byte(struct txgbe_hw *hw, u8 byte_offset,
360 s32 txgbe_read_i2c_byte_unlocked(struct txgbe_hw *hw, u8 byte_offset,
362 s32 txgbe_write_i2c_byte(struct txgbe_hw *hw, u8 byte_offset,
364 s32 txgbe_write_i2c_byte_unlocked(struct txgbe_hw *hw, u8 byte_offset,
366 s32 txgbe_read_i2c_sff8472(struct txgbe_hw *hw, u8 byte_offset,
368 s32 txgbe_read_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset,
370 s32 txgbe_write_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset,
H A Dtxgbe_phy.c1169 s32 txgbe_read_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_eeprom() argument
1174 return hw->phy.read_i2c_byte(hw, byte_offset, in txgbe_read_i2c_eeprom()
1187 s32 txgbe_read_i2c_sff8472(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_sff8472() argument
1190 return hw->phy.read_i2c_byte(hw, byte_offset, in txgbe_read_i2c_sff8472()
1203 s32 txgbe_write_i2c_eeprom(struct txgbe_hw *hw, u8 byte_offset, in txgbe_write_i2c_eeprom() argument
1208 return hw->phy.write_i2c_byte(hw, byte_offset, in txgbe_write_i2c_eeprom()
1223 s32 txgbe_read_i2c_byte_unlocked(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_byte_unlocked() argument
1240 byte_offset | TXGBE_I2CDATA_STOP); in txgbe_read_i2c_byte_unlocked()
1266 s32 txgbe_read_i2c_byte(struct txgbe_hw *hw, u8 byte_offset, in txgbe_read_i2c_byte() argument
1304 wr32(hw, TXGBE_I2CDATA, byte_offset | TXGBE_I2CDATA_STOP); in txgbe_write_i2c_byte_unlocked()
[all …]
H A Dtxgbe_type.h580 s32 (*read_i2c_byte)(struct txgbe_hw *hw, u8 byte_offset,
582 s32 (*write_i2c_byte)(struct txgbe_hw *hw, u8 byte_offset,
584 s32 (*read_i2c_sff8472)(struct txgbe_hw *hw, u8 byte_offset,
586 s32 (*read_i2c_eeprom)(struct txgbe_hw *hw, u8 byte_offset,
588 s32 (*write_i2c_eeprom)(struct txgbe_hw *hw, u8 byte_offset,
/f-stack/dpdk/drivers/net/igc/base/
H A Digc_api.h23 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 Digc_phy.h14 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 Digc_api.c359 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 Digc_hw.h755 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 Digc_phy.c146 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()
/f-stack/dpdk/drivers/net/e1000/base/
H A De1000_82575.h401 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 De1000_phy.h14 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 De1000_82575.c3087 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 De1000_phy.c147 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()
/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Def10_nvram.c832 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()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-dfa.h429 uint64_t byte_offset : 16; /**< Number of bytes consumed */ member
441 uint64_t byte_offset : 16; /**< Number of bytes consumed */ member
H A Dcvmx-l2c.c1478 int byte_offset, virtid_offset; in cvmx_l2c_vrt_memprotect() local
1549 byte_offset = l2c_vrt_ctl.s.memsz + l2c_vrt_ctl.s.numid + 16; in cvmx_l2c_vrt_memprotect()
1563 int l2c_vrt_mem_bit_index = start_addr >> byte_offset; in cvmx_l2c_vrt_memprotect()
/f-stack/dpdk/drivers/net/bnxt/hcapi/
H A Dhcapi_cfa_defs.h175 uint32_t byte_offset; member
/f-stack/dpdk/drivers/net/qede/
H A Dqede_debug.c1025 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()