Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_phy.h203 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
205 s32 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
207 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
209 s32 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
211 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
213 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
H A Dixgbe_api.c1452 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_read_i2c_byte() argument
1455 return ixgbe_call_func(hw, hw->phy.ops.read_i2c_byte, (hw, byte_offset, in ixgbe_read_i2c_byte()
1468 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_unlocked() argument
1472 (hw, byte_offset, dev_addr, data), in ixgbe_read_i2c_byte_unlocked()
1516 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_write_i2c_byte() argument
1519 return ixgbe_call_func(hw, hw->phy.ops.write_i2c_byte, (hw, byte_offset, in ixgbe_write_i2c_byte()
1533 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_unlocked() argument
1537 (hw, byte_offset, dev_addr, data), in ixgbe_write_i2c_byte_unlocked()
1580 u8 byte_offset, u8 eeprom_data) in ixgbe_write_i2c_eeprom() argument
1583 (hw, byte_offset, eeprom_data), in ixgbe_write_i2c_eeprom()
[all …]
H A Dixgbe_api.h144 s32 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data);
177 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
179 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
183 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
186 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset,
190 s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data);
H A Dixgbe_phy.c51 static s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset,
1929 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic() argument
1934 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic()
1947 static s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_generic() argument
1950 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic()
1963 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic() argument
1968 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic()
1999 static s32 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic_int() argument
2013 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int()
2031 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int()
[all …]
H A Dixgbe_82598.c69 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset,
1128 u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_phy_82598() argument
1153 sfp_addr = (dev_addr << 8) + byte_offset; in ixgbe_read_i2c_phy_82598()
1200 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument
1204 byte_offset, eeprom_data); in ixgbe_read_i2c_eeprom_82598()
1215 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_82598() argument
1219 byte_offset, sff8472_data); in ixgbe_read_i2c_sff8472_82598()
H A Dixgbe_82598.h48 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
H A Dixgbe_82599.c57 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
59 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
2535 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_82599() argument
2568 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_read_i2c_byte_82599()
2593 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_82599() argument
2626 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_write_i2c_byte_82599()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c161 rawread(int drive, unsigned long long sector, int byte_offset, int byte_len, in rawread() argument
192 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1) in rawread()
206 + (soff << sector_size_bits) + byte_offset); in rawread()
222 bufaddr = (char *) BUFFERADDR + byte_offset; in rawread()
244 bufaddr = (char *) BUFFERADDR + byte_offset; in rawread()
273 if (size > ((num_sect << sector_size_bits) - byte_offset)) in rawread()
274 size = (num_sect << sector_size_bits) - byte_offset; in rawread()
282 int length = buf_geom.sector_size - byte_offset; in rawread()
285 (*disk_read_func) (sector_num++, byte_offset, length); in rawread()
303 byte_offset = 0; in rawread()
[all …]
H A Ddefs.h42 #define btodb(byte_offset) ((byte_offset) >> 9) argument
H A Dfsys_iso9660.c70 iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) in iso9660_devread() argument
86 sector += (byte_offset >> sector_size_lg2); in iso9660_devread()
87 byte_offset &= (buf_geom.sector_size - 1); in iso9660_devread()
95 printf ("<%d, %d, %d>", sector, byte_offset, byte_len); in iso9660_devread()
103 return rawread(current_drive, part_start + sector, byte_offset, byte_len, buf); in iso9660_devread()
H A Dshared.h1012 int rawread (int drive, unsigned long long sector, int byte_offset, int byte_len,
1014 int devread (unsigned long long sector, int byte_offset, int byte_len, char *buf);
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c720 ulong_t byte_offset; in hsfs_getpage_ra() local
838 for (count = 0, byte_offset = io_off; in hsfs_getpage_ra()
839 byte_offset < io_end; in hsfs_getpage_ra()
854 which_chunk_lbn = byte_offset / chunk_data_bytes; in hsfs_getpage_ra()
863 offset_extra = byte_offset % chunk_data_bytes; in hsfs_getpage_ra()
878 bufs[count].b_un.b_addr = va + byte_offset % PAGESIZE; in hsfs_getpage_ra()
880 (offset_t)(byte_offset - io_off + off); in hsfs_getpage_ra()
891 - byte_offset; in hsfs_getpage_ra()
895 * which_chunk_lbn directly from byte_offset. in hsfs_getpage_ra()
897 if ((remaining_bytes + byte_offset) < (of in hsfs_getpage_ra()
1005 ulong_t byte_offset; hsfs_getapage() local
[all...]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82575.h517 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
519 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
H A De1000_phy.h44 s32 e1000_read_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset,
46 s32 e1000_write_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset,
H A De1000_82575.c3272 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_read_i2c_byte_generic() argument
3304 status = e1000_clock_out_i2c_byte(hw, byte_offset); in e1000_read_i2c_byte_generic()
3363 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_write_i2c_byte_generic() argument
3391 status = e1000_clock_out_i2c_byte(hw, byte_offset); in e1000_write_i2c_byte_generic()
H A De1000_phy.c166 u8 E1000_UNUSEDARG byte_offset, in e1000_read_i2c_byte_null() argument
183 u8 E1000_UNUSEDARG byte_offset, in e1000_write_i2c_byte_null() argument
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nvram.c837 byte_offset( in byte_offset() function
870 *startp = byte_offset(cursor.current, cursor.block); in ef10_nvram_buffer_find_item_start()
912 *endp = byte_offset(tlv_last_segment_end(&cursor)+1, cursor.block); in ef10_nvram_buffer_find_end()
951 *startp = byte_offset(cursor.current, cursor.block); in ef10_nvram_buffer_find_item()
952 *lengthp = byte_offset(tlv_next_item_ptr(&cursor), in ef10_nvram_buffer_find_item()
1031 *lengthp = byte_offset(tlv_next_item_ptr(&cursor), in ef10_nvram_buffer_insert_item()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c1673 int byte_offset; in hermon_flash_write_byte() local
1778 byte_offset = addr & 3; in hermon_flash_write_byte()
1779 dword_addr = addr - byte_offset; in hermon_flash_write_byte()
1781 byte_offset = 3 - byte_offset; in hermon_flash_write_byte()
1790 dword.bytes[byte_offset] = data; in hermon_flash_write_byte()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dbg_fw_funcs.c1970 u32 byte_offset) in ecore_dump_align() argument
1974 offset_in_dword = (u8)(byte_offset & 0x3); in ecore_dump_align()