Home
last modified time | relevance | path

Searched refs:buffer_offset (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/sys/dev/isci/scil/
H A Dsati_write_buffer.c95 U32 buffer_offset; in sati_write_buffer_translate_command() local
101 buffer_offset = ((sati_get_cdb_byte(cdb, 3) << 16) | in sati_write_buffer_translate_command()
112 (buffer_offset == 0) && in sati_write_buffer_translate_command()
143 buffer_offset in sati_write_buffer_translate_command()
153 ((buffer_offset & 0x000001FF) == 0) && in sati_write_buffer_translate_command()
163 buffer_offset in sati_write_buffer_translate_command()
H A Dsati_read_buffer.c94 U32 buffer_offset; in sati_read_buffer_translate_command() local
100 buffer_offset = ((sati_get_cdb_byte(cdb, 3) << 16) | in sati_read_buffer_translate_command()
109 if((allocation_length == 512) && (buffer_offset == 0) && in sati_read_buffer_translate_command()
H A Dsati_util.c1977 U32 buffer_offset in sati_ata_download_microcode_construct() argument
1982 U32 buffer_blkoffset = buffer_offset >> 9; in sati_ata_download_microcode_construct()
2000 if((allocation_length == 0) && (buffer_offset == 0)) in sati_ata_download_microcode_construct()
H A Dsati_util.h384 U32 buffer_offset
/freebsd-12.1/sys/dev/drm2/radeon/
H A Datombios_i2c.c101 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
119 buffer_offset = 0; in radeon_atom_hw_i2c_xfer()
135 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer()
139 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
H A Dradeon_i2c.c660 int i, j, remaining, current_count, buffer_offset, ret = 0; in r500_hw_i2c_xfer() local
780 buffer_offset = 0; in r500_hw_i2c_xfer()
817 p->buf[buffer_offset + j] = RREG32(AVIVO_DC_I2C_DATA) & 0xff; in r500_hw_i2c_xfer()
819 buffer_offset += current_count; in r500_hw_i2c_xfer()
836 WREG32(AVIVO_DC_I2C_DATA, p->buf[buffer_offset + j]); in r500_hw_i2c_xfer()
860 buffer_offset += current_count; in r500_hw_i2c_xfer()
/freebsd-12.1/sys/cam/ctl/
H A Dctl_frontend_iscsi.c686 size_t copy_len, len, off, buffer_offset; in cfiscsi_handle_data_segment() local
726 buffer_offset = 0; in cfiscsi_handle_data_segment()
733 if (buffer_offset > in cfiscsi_handle_data_segment()
735 buffer_offset + len <= in cfiscsi_handle_data_segment()
752 buffer_offset; in cfiscsi_handle_data_segment()
2474 if (buffer_offset >= expected_len) { in cfiscsi_datamove_in()
2594 buffer_offset += response->ip_data_len; in cfiscsi_datamove_in()
2596 buffer_offset == expected_len) { in cfiscsi_datamove_in()
2597 buffer_offset -= response->ip_data_len; in cfiscsi_datamove_in()
2606 buffer_offset += response->ip_data_len; in cfiscsi_datamove_in()
[all …]
H A Dctl_util.h59 uint32_t buffer_offset, ctl_tag_type tag_type,
H A Dctl_util.c215 uint8_t buffer_id, uint32_t buffer_offset, in ctl_scsi_read_write_buffer() argument
234 scsi_ulto3b(buffer_offset, cdb->offset); in ctl_scsi_read_write_buffer()
H A Dctl.c5567 uint64_t buffer_offset; in ctl_read_buffer() local
5580 buffer_offset = scsi_3btoul(cdb->offset); in ctl_read_buffer()
5589 buffer_offset = scsi_8btou64(cdb->offset); in ctl_read_buffer()
5600 if (buffer_offset > CTL_WRITE_BUFFER_SIZE || in ctl_read_buffer()
5601 buffer_offset + len > CTL_WRITE_BUFFER_SIZE) { in ctl_read_buffer()
5625 ctsio->kern_data_ptr = lun->write_buffer + buffer_offset; in ctl_read_buffer()
5642 int buffer_offset, len; in ctl_write_buffer() local
5649 buffer_offset = scsi_3btoul(cdb->offset); in ctl_write_buffer()
5651 if (buffer_offset + len > CTL_WRITE_BUFFER_SIZE) { in ctl_write_buffer()
5671 ctsio->kern_data_ptr = lun->write_buffer + buffer_offset; in ctl_write_buffer()
/freebsd-12.1/sys/dev/qlnx/qlnxe/
H A Discsi_common.h255 __le32 buffer_offset /* Payload data offset */; member
452 __le32 buffer_offset /* Buffer Offset - offset in task */; member
485 __le32 buffer_offset /* Buffer Offset - offset in task */; member
504 __le32 buffer_offset /* Buffer Offset - offset in task */; member
/freebsd-12.1/contrib/binutils/bfd/
H A Dieee.c1295 file_ptr buffer_offset = 0; in ieee_archive_p() local
1371 buffer_offset += ieee_pos (IEEE_DATA (abfd)); in ieee_archive_p()
1372 if (bfd_seek (abfd, buffer_offset, SEEK_SET) != 0) in ieee_archive_p()
/freebsd-12.1/sys/dev/cxgbe/common/
H A Dt4_msg.h1516 __be32 buffer_offset; member
/freebsd-12.1/sys/dev/bxe/
H A Decore_hsi.h10800 uint32_t buffer_offset; member