Lines Matching defs:offset

371  * @pos: offset of the buffer in vram
413 * @pos: offset of the buffer in vram
464 * @pos: offset of the buffer in vram
521 * @reg: dword aligned register offset
524 * Returns the 32 bit value from the offset specified.
554 * @offset:bytes offset from MMIO start
561 * @offset: byte aligned register offset
563 * Returns the 8 bit value from the offset specified.
565 uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset)
570 if (offset < adev->rmmio_size)
571 return (readb(adev->rmmio + offset));
580 * @reg: dword aligned register offset
584 * Returns the 32 bit value from the offset specified.
620 * @offset:bytes offset from MMIO start
628 * @offset: byte aligned register offset
631 * Writes the value specified to the offset specified.
633 void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value)
638 if (offset < adev->rmmio_size)
639 writeb(value, adev->rmmio + offset);
648 * @reg: dword aligned register offset
652 * Writes the value specified to the offset specified.
710 * @reg: dword aligned register offset
715 * Writes the value specified to the offset specified.
920 * @reg_addr: indirect register offset
989 * @reg_addr: indirect register offset
1085 * @reg: offset of register
1109 * @reg: offset of register
1133 * @reg: offset of register
1157 * @reg: offset of register
1181 * @block: offset of instance
1182 * @reg: offset of register
1201 * @block: offset of instance
1202 * @reg: offset of register
1405 unsigned long offset = find_first_zero_bit(adev->wb.used, adev->wb.num_wb);
1407 if (offset < adev->wb.num_wb) {
1408 __set_bit(offset, adev->wb.used);
1409 *wb = offset << 3; /* convert to dw offset */
1703 * a page is 4KB so we have 12 bits offset, minimum 9 bits in the
1709 * a page is 4KB so we have 12 bits offset, minimum 9 bits in the