Searched defs:byte_offset (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_iso9660.c70 iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) argument
86 sector += (byte_offset >> sector_size_lg2);
87 byte_offset &= (buf_geom.sector_size - 1);
95 printf ("<%d, %d, %d>", sector, byte_offset, byte_len);
103 return rawread(current_drive, part_start + sector, byte_offset, byte_len, buf);
H A Ddisk_io.c158 rawread(int drive, unsigned long long sector, int byte_offset, int byte_len, argument
189 slen = ((byte_offset + byte_len + buf_geom.sector_size - 1)
203 + (soff << sector_size_bits) + byte_offset);
219 bufaddr = (char *) BUFFERADDR + byte_offset;
241 bufaddr = (char *) BUFFERADDR + byte_offset;
270 if (size > ((num_sect << sector_size_bits) - byte_offset))
271 size = (num_sect << sector_size_bits) - byte_offset;
279 int length = buf_geom.sector_size - byte_offset;
282 (*disk_read_func) (sector_num++, byte_offset, length);
300 byte_offset
308 devread(unsigned long long sector, int byte_offset, int byte_len, char *buf) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c68 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset,
1117 * @byte_offset: byte offset to read from dev_addr
1123 u8 byte_offset, u8 *eeprom_data)
1148 sfp_addr = (dev_addr << 8) + byte_offset;
1190 * @byte_offset: EEPROM byte offset to read
1195 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, argument
1199 byte_offset, eeprom_data);
1205 * @byte_offset: byte offset at address 0xA2
1210 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, argument
1214 byte_offset, sff8472_dat
1122 ixgbe_read_i2c_phy_82598(struct ixgbe_hw *hw, u8 dev_addr, u8 byte_offset, u8 *eeprom_data) argument
[all...]
H A Dixgbe_82599.c56 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
58 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
2501 * @byte_offset: byte offset to read
2507 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, argument
2540 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data);
2558 * @byte_offset: byte offset to write
2564 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, argument
2597 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data);
H A Dixgbe_phy.c50 static s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset,
1983 * @byte_offset: EEPROM byte offset to read
1988 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, argument
1993 return hw->phy.ops.read_i2c_byte(hw, byte_offset,
2001 * @byte_offset: byte offset at address 0xA2
2006 static s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, argument
2009 return hw->phy.ops.read_i2c_byte(hw, byte_offset,
2017 * @byte_offset: EEPROM byte offset to write
2022 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, argument
2027 return hw->phy.ops.write_i2c_byte(hw, byte_offset,
2057 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) argument
2147 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
2163 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
2180 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) argument
2250 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
2266 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
[all...]
H A Dixgbe_api.c1363 * @byte_offset: byte offset to read
1369 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, argument
1372 return ixgbe_call_func(hw, hw->phy.ops.read_i2c_byte, (hw, byte_offset,
1379 * @byte_offset: byte offset to read
1385 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, argument
1389 (hw, byte_offset, dev_addr, data),
1428 * @byte_offset: byte offset to write
1435 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, argument
1438 return ixgbe_call_func(hw, hw->phy.ops.write_i2c_byte, (hw, byte_offset,
1445 * @byte_offset
1452 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
1499 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument
1515 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c1673 int byte_offset; local
1778 byte_offset = addr & 3;
1779 dword_addr = addr - byte_offset;
1781 byte_offset = 3 - byte_offset;
1790 dword.bytes[byte_offset] = data;
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nvram.c837 byte_offset( function
870 *startp = byte_offset(cursor.current, cursor.block);
912 *endp = byte_offset(tlv_last_segment_end(&cursor)+1, cursor.block);
951 *startp = byte_offset(cursor.current, cursor.block);
952 *lengthp = byte_offset(tlv_next_item_ptr(&cursor),
1031 *lengthp = byte_offset(tlv_next_item_ptr(&cursor),
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82575.c3264 * @byte_offset: byte offset to read
3271 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, argument
3303 status = e1000_clock_out_i2c_byte(hw, byte_offset);
3355 * @byte_offset: byte offset to write
3362 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, argument
3390 status = e1000_clock_out_i2c_byte(hw, byte_offset);
H A De1000_phy.c160 * @byte_offset: byte offset to write
166 u8 E1000_UNUSEDARG byte_offset,
177 * @byte_offset: byte offset to write
183 u8 E1000_UNUSEDARG byte_offset,
165 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG byte_offset, u8 E1000_UNUSEDARG dev_addr, u8 E1000_UNUSEDARG *data) argument
182 e1000_write_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG byte_offset, u8 E1000_UNUSEDARG dev_addr, u8 E1000_UNUSEDARG data) argument
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c814 ulong_t byte_offset; local
932 for (count = 0, byte_offset = io_off;
933 byte_offset < io_end;
948 which_chunk_lbn = byte_offset / chunk_data_bytes;
957 offset_extra = byte_offset % chunk_data_bytes;
972 bufs[count].b_un.b_addr = va + byte_offset % PAGESIZE;
974 (offset_t)(byte_offset - io_off + off);
985 - byte_offset;
989 * which_chunk_lbn directly from byte_offset.
991 if ((remaining_bytes + byte_offset) < (of
1107 ulong_t byte_offset; local
[all...]

Completed in 128 milliseconds