Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_phy.h134 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
136 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset,
138 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
140 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
H A Dixgbe_api.c1066 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_read_i2c_byte() argument
1069 return ixgbe_call_func(hw, hw->phy.ops.read_i2c_byte, (hw, byte_offset, in ixgbe_read_i2c_byte()
1082 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_write_i2c_byte() argument
1085 return ixgbe_call_func(hw, hw->phy.ops.write_i2c_byte, (hw, byte_offset, in ixgbe_write_i2c_byte()
1098 u8 byte_offset, u8 eeprom_data) in ixgbe_write_i2c_eeprom() argument
1101 (hw, byte_offset, eeprom_data), in ixgbe_write_i2c_eeprom()
1113 s32 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_eeprom() argument
1116 (hw, byte_offset, eeprom_data), in ixgbe_read_i2c_eeprom()
H A Dixgbe_api.h133 s32 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data);
162 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
164 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
166 s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data);
H A Dixgbe_82598.h46 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
H A Dixgbe_phy.c1345 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_generic() argument
1350 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic()
1363 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_eeprom_generic() argument
1368 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic()
1382 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument
1417 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic()
1474 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_generic() argument
1505 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic()
H A Dixgbe_82598.c1116 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument
1133 sfp_addr = (IXGBE_I2C_EEPROM_DEV_ADDR << 8) + byte_offset; in ixgbe_read_i2c_eeprom_82598()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c158 rawread(int drive, unsigned int sector, int byte_offset, int byte_len, in rawread() argument
189 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1) in rawread()
203 + (soff << sector_size_bits) + byte_offset); in rawread()
219 bufaddr = (char *) BUFFERADDR + byte_offset; in rawread()
241 bufaddr = (char *) BUFFERADDR + byte_offset; in rawread()
270 if (size > ((num_sect << sector_size_bits) - byte_offset)) in rawread()
271 size = (num_sect << sector_size_bits) - byte_offset; in rawread()
279 int length = buf_geom.sector_size - byte_offset; in rawread()
282 (*disk_read_func) (sector_num++, byte_offset, length); in rawread()
300 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.h1009 int rawread (int drive, unsigned int sector, int byte_offset, int byte_len,
1011 int devread (unsigned int sector, int byte_offset, int byte_len, char *buf);
/titanic_41/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c814 ulong_t byte_offset; in hsfs_getpage_ra() local
932 for (count = 0, byte_offset = io_off; in hsfs_getpage_ra()
933 byte_offset < io_end; in hsfs_getpage_ra()
948 which_chunk_lbn = byte_offset / chunk_data_bytes; in hsfs_getpage_ra()
957 offset_extra = byte_offset % chunk_data_bytes; in hsfs_getpage_ra()
972 bufs[count].b_un.b_addr = va + byte_offset % PAGESIZE; in hsfs_getpage_ra()
974 (offset_t)(byte_offset - io_off + off); in hsfs_getpage_ra()
985 - byte_offset; in hsfs_getpage_ra()
991 if ((remaining_bytes + byte_offset) < (off + len)) { in hsfs_getpage_ra()
996 bufs[count].b_bcount = off + len - byte_offset; in hsfs_getpage_ra()
[all …]
/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_82575.h520 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
522 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.c3134 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_read_i2c_byte_generic() argument
3166 status = e1000_clock_out_i2c_byte(hw, byte_offset); in e1000_read_i2c_byte_generic()
3225 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_write_i2c_byte_generic() argument
3253 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
/titanic_41/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()