Lines Matching refs:ai
16 status_t Radeon_WaitForIdle( accelerator_info *ai, bool keep_lock )
23 return ioctl( ai->fd, RADEON_WAITFORIDLE, &wfi, sizeof( wfi ));
28 status_t Radeon_WaitForFifo( accelerator_info *ai, int entries )
34 int slots = INREG( ai->regs, RADEON_RBBM_STATUS ) & RADEON_RBBM_FIFOCNT_MASK;
42 Radeon_ResetEngine( ai );
48 void Radeon_ResetEngine( accelerator_info *ai )
54 ioctl( ai->fd, RADEON_RESETENGINE, &na, sizeof( na ));
58 status_t Radeon_VIPRead( accelerator_info *ai, uint channel, uint address, uint32 *data )
68 res = ioctl( ai->fd, RADEON_VIPREAD, &vr, sizeof( vr ));
77 status_t Radeon_VIPWrite( accelerator_info *ai, uint8 channel, uint address, uint32 data )
87 return ioctl( ai->fd, RADEON_VIPWRITE, &vw, sizeof( vw ));
90 int Radeon_FindVIPDevice( accelerator_info *ai, uint32 device_id )
98 res = ioctl( ai->fd, RADEON_FINDVIPDEVICE, &fvd, sizeof( fvd ));