Searched refs:HwDeviceExtension (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/staging/xgifb/
H A Dvb_init.c32 XGINew_GetXG20DRAMType(struct xgi_hw_device_info *HwDeviceExtension, XGINew_GetXG20DRAMType() argument
37 if (HwDeviceExtension->jChipType < XG20) { XGINew_GetXG20DRAMType()
43 } else if (HwDeviceExtension->jChipType == XG27) { XGINew_GetXG20DRAMType()
51 } else if (HwDeviceExtension->jChipType == XG21) { XGINew_GetXG20DRAMType()
128 struct xgi_hw_device_info *HwDeviceExtension, XGINew_DDRII_Bootup_XG27()
133 pVBInfo->ram_type = XGINew_GetXG20DRAMType(HwDeviceExtension, pVBInfo); XGINew_DDRII_Bootup_XG27()
200 static void XGINew_DDR2_MRS_XG20(struct xgi_hw_device_info *HwDeviceExtension, XGINew_DDR2_MRS_XG20() argument
205 pVBInfo->ram_type = XGINew_GetXG20DRAMType(HwDeviceExtension, pVBInfo); XGINew_DDR2_MRS_XG20()
274 struct xgi_hw_device_info *HwDeviceExtension, XGINew_DDR1x_DefaultRegister()
279 if (HwDeviceExtension->jChipType >= XG20) { XGINew_DDR1x_DefaultRegister()
298 switch (HwDeviceExtension->jChipType) { XGINew_DDR1x_DefaultRegister()
351 struct xgi_hw_device_info *HwDeviceExtension, XGINew_DDR2_DefaultRegister()
373 if (HwDeviceExtension->jChipType == XG27) XGINew_DDR2_DefaultRegister()
381 if (HwDeviceExtension->jChipType == XG27) XGINew_DDR2_DefaultRegister()
382 XGINew_DDRII_Bootup_XG27(HwDeviceExtension, P3c4, pVBInfo); XGINew_DDR2_DefaultRegister()
384 XGINew_DDR2_MRS_XG20(HwDeviceExtension, P3c4, pVBInfo); XGINew_DDR2_DefaultRegister()
402 struct xgi_hw_device_info *HwDeviceExtension, XGINew_SetDRAMDefaultRegister340()
456 if (HwDeviceExtension->jChipType == XG27) XGINew_SetDRAMDefaultRegister340()
471 if (HwDeviceExtension->jChipType == XG42) XGINew_SetDRAMDefaultRegister340()
483 if (HwDeviceExtension->jChipType == XG27) XGINew_SetDRAMDefaultRegister340()
491 temp = XGINew_GetXG20DRAMType(HwDeviceExtension, pVBInfo); XGINew_SetDRAMDefaultRegister340()
493 XGINew_DDR1x_DefaultRegister(HwDeviceExtension, P3d4, pVBInfo); XGINew_SetDRAMDefaultRegister340()
496 XGINew_DDR2_DefaultRegister(HwDeviceExtension, P3d4, pVBInfo); XGINew_SetDRAMDefaultRegister340()
582 static void XGINew_CheckChannel(struct xgi_hw_device_info *HwDeviceExtension, XGINew_CheckChannel() argument
587 switch (HwDeviceExtension->jChipType) { XGINew_CheckChannel()
596 if ((HwDeviceExtension->ulVideoMemorySize - 1) XGINew_CheckChannel()
607 if ((HwDeviceExtension->ulVideoMemorySize - 1) > XGINew_CheckChannel()
625 if ((HwDeviceExtension->ulVideoMemorySize - 1) > XGINew_CheckChannel()
642 if ((HwDeviceExtension->ulVideoMemorySize - 1) > XGINew_CheckChannel()
654 if ((HwDeviceExtension->ulVideoMemorySize - 1) > XGINew_CheckChannel()
673 if ((HwDeviceExtension->ulVideoMemorySize - 1) > XGINew_CheckChannel()
784 static int XGINew_DDRSizing340(struct xgi_hw_device_info *HwDeviceExtension, XGINew_DDRSizing340() argument
793 XGINew_CheckChannel(HwDeviceExtension, pVBInfo); XGINew_DDRSizing340()
795 if (HwDeviceExtension->jChipType >= XG20) { XGINew_DDRSizing340()
816 if ((HwDeviceExtension->ulVideoMemorySize - 1) < XGINew_DDRSizing340()
827 struct xgi_hw_device_info *HwDeviceExtension, XGINew_SetDRAMSize_340()
832 pVBInfo->FBAddr = HwDeviceExtension->pjVideoMemoryAddress; XGINew_SetDRAMSize_340()
834 XGISetModeNew(xgifb_info, HwDeviceExtension, 0x2e); XGINew_SetDRAMSize_340()
839 XGI_DisplayOff(xgifb_info, HwDeviceExtension, pVBInfo); XGINew_SetDRAMSize_340()
841 XGINew_DDRSizing340(HwDeviceExtension, pVBInfo); XGINew_SetDRAMSize_340()
1062 *HwDeviceExtension, XGINew_SenseLCD()
1065 unsigned short temp = HwDeviceExtension->ulCRT2LCDType; XGINew_SenseLCD()
1067 switch (HwDeviceExtension->ulCRT2LCDType) { XGINew_SenseLCD()
1182 struct xgi_hw_device_info *HwDeviceExtension = &xgifb_info->hw_info; XGIInitNew() local
1187 pVBInfo->FBAddr = HwDeviceExtension->pjVideoMemoryAddress; XGIInitNew()
1198 InitTo330Pointer(HwDeviceExtension->jChipType, pVBInfo); XGIInitNew()
1204 if (HwDeviceExtension->jChipType == XG21) XGIInitNew()
1207 if (HwDeviceExtension->jChipType == XG27) XGIInitNew()
1222 if (HwDeviceExtension->jChipType == XG42) XGIInitNew()
1228 if (HwDeviceExtension->jChipType >= XG20) XGIInitNew()
1233 if (HwDeviceExtension->jChipType == XG27) { XGIInitNew()
1243 if (HwDeviceExtension->jChipType == XG27) XGIInitNew()
1246 if (HwDeviceExtension->jChipType < XG20) { XGIInitNew()
1278 if (HwDeviceExtension->jChipType < XG20) { XGIInitNew()
1295 if ((HwDeviceExtension->jChipType == XG42) && XGIInitNew()
1296 XGINew_GetXG20DRAMType(HwDeviceExtension, pVBInfo) != 0) { XGIInitNew()
1310 if (HwDeviceExtension->jChipType < XG20) { XGIInitNew()
1326 if (HwDeviceExtension->jChipType == XG21) { XGIInitNew()
1334 if (HwDeviceExtension->jChipType == XG27) { XGIInitNew()
1343 pVBInfo->ram_type = XGINew_GetXG20DRAMType(HwDeviceExtension, pVBInfo); XGIInitNew()
1345 XGINew_SetDRAMDefaultRegister340(HwDeviceExtension, XGIInitNew()
1349 XGINew_SetDRAMSize_340(xgifb_info, HwDeviceExtension, pVBInfo); XGIInitNew()
127 XGINew_DDRII_Bootup_XG27( struct xgi_hw_device_info *HwDeviceExtension, unsigned long P3c4, struct vb_device_info *pVBInfo) XGINew_DDRII_Bootup_XG27() argument
273 XGINew_DDR1x_DefaultRegister( struct xgi_hw_device_info *HwDeviceExtension, unsigned long Port, struct vb_device_info *pVBInfo) XGINew_DDR1x_DefaultRegister() argument
350 XGINew_DDR2_DefaultRegister( struct xgi_hw_device_info *HwDeviceExtension, unsigned long Port, struct vb_device_info *pVBInfo) XGINew_DDR2_DefaultRegister() argument
401 XGINew_SetDRAMDefaultRegister340( struct xgi_hw_device_info *HwDeviceExtension, unsigned long Port, struct vb_device_info *pVBInfo) XGINew_SetDRAMDefaultRegister340() argument
826 XGINew_SetDRAMSize_340(struct xgifb_video_info *xgifb_info, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGINew_SetDRAMSize_340() argument
1061 XGINew_SenseLCD(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGINew_SenseLCD() argument
H A Dvb_setmode.h13 struct xgi_hw_device_info *HwDeviceExtension,
H A Dvb_setmode.c262 struct xgi_hw_device_info *HwDeviceExtension) XGI_SetCRT1Timing_H()
292 if (HwDeviceExtension->jChipType >= XG20) { XGI_SetCRT1Timing_H()
366 struct xgi_hw_device_info *HwDeviceExtension) XGI_SetCRT1CRTC()
387 XGI_SetCRT1Timing_H(pVBInfo, HwDeviceExtension); XGI_SetCRT1CRTC()
746 struct xgi_hw_device_info *HwDeviceExtension, XGI_SetCRT1Offset()
820 if (HwDeviceExtension->jChipType >= XG20) XGI_SetCRT1Offset()
877 struct xgi_hw_device_info *HwDeviceExtension, XGI_SetCRT1VCLK()
906 if (HwDeviceExtension->jChipType >= XG20) { XGI_SetCRT1VCLK()
936 static void XGI_SetCRT1FIFO(struct xgi_hw_device_info *HwDeviceExtension, XGI_SetCRT1FIFO() argument
953 if (HwDeviceExtension->jChipType == XG21) XGI_SetCRT1FIFO()
957 static void XGI_SetVCLKState(struct xgi_hw_device_info *HwDeviceExtension, XGI_SetVCLKState() argument
975 if (HwDeviceExtension->jChipType >= XG20) XGI_SetVCLKState()
980 if (HwDeviceExtension->jChipType < XG20) { XGI_SetVCLKState()
991 if (HwDeviceExtension->jChipType >= XG27) XGI_SetVCLKState()
996 static void XGI_SetCRT1ModeRegs(struct xgi_hw_device_info *HwDeviceExtension, XGI_SetCRT1ModeRegs() argument
1050 XGI_SetVCLKState(HwDeviceExtension, RefreshRateTableIndex, pVBInfo); XGI_SetCRT1ModeRegs()
1054 if (HwDeviceExtension->jChipType == XG27) { XGI_SetCRT1ModeRegs()
1061 } else if (HwDeviceExtension->jChipType >= XG20) { XGI_SetCRT1ModeRegs()
1298 struct xgi_hw_device_info *HwDeviceExtension, XGI_ModCRT1Regs()
1313 XGI_SetCRT1Timing_H(pVBInfo, HwDeviceExtension); XGI_ModCRT1Regs()
4440 struct xgi_hw_device_info *HwDeviceExtension, XGI_DisableBridge()
4469 XGI_DisplayOff(xgifb_info, HwDeviceExtension, pVBInfo); XGI_DisableBridge()
4513 XGI_DisplayOff(xgifb_info, HwDeviceExtension, pVBInfo); XGI_DisableBridge()
5163 struct xgi_hw_device_info *HwDeviceExtension, XGI_SetLCDAGroup()
5169 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, XGI_SetLCDAGroup()
5173 XGI_ModCRT1Regs(ModeIdIndex, HwDeviceExtension, pVBInfo); XGI_SetLCDAGroup()
5179 struct xgi_hw_device_info *HwDeviceExtension, XGI_SetCRT2Group301()
5187 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, XGI_SetCRT2Group301()
5299 struct xgi_hw_device_info *HwDeviceExtension, XGI_EnableBridge()
5360 XGI_DisplayOn(xgifb_info, HwDeviceExtension, pVBInfo); XGI_EnableBridge()
5373 XGI_DisplayOn(xgifb_info, HwDeviceExtension, pVBInfo); XGI_EnableBridge()
5378 struct xgi_hw_device_info *HwDeviceExtension, XGI_SetCRT1Group()
5391 if (HwDeviceExtension->jChipType == XG27) { XGI_SetCRT1Group()
5408 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, XGI_SetCRT1Group()
5413 pVBInfo, HwDeviceExtension); XGI_SetCRT1Group()
5416 HwDeviceExtension, pVBInfo); XGI_SetCRT1Group()
5417 XGI_SetCRT1VCLK(ModeIdIndex, HwDeviceExtension, XGI_SetCRT1Group()
5421 if (HwDeviceExtension->jChipType >= XG21) { XGI_SetCRT1Group()
5425 if (HwDeviceExtension->jChipType == XG27) XGI_SetCRT1Group()
5433 xgifb_set_lcd(HwDeviceExtension->jChipType, XGI_SetCRT1Group()
5438 HwDeviceExtension->jChipType, XGI_SetCRT1Group()
5444 XGI_SetCRT1FIFO(HwDeviceExtension, pVBInfo); XGI_SetCRT1Group()
5445 XGI_SetCRT1ModeRegs(HwDeviceExtension, ModeIdIndex, XGI_SetCRT1Group()
5451 struct xgi_hw_device_info *HwDeviceExtension, XGISetModeNew()
5460 if (HwDeviceExtension->jChipType >= XG20) XGISetModeNew()
5466 if (HwDeviceExtension->jChipType == XG21) { XGISetModeNew()
5470 if (HwDeviceExtension->jChipType == XG27) { XGISetModeNew()
5477 InitTo330Pointer(HwDeviceExtension->jChipType, pVBInfo); XGISetModeNew()
5482 if (HwDeviceExtension->jChipType < XG20) XGISetModeNew()
5487 if (HwDeviceExtension->jChipType < XG20) { XGISetModeNew()
5491 XGI_DisableBridge(xgifb_info, HwDeviceExtension, pVBInfo); XGISetModeNew()
5495 XGI_SetCRT1Group(xgifb_info, HwDeviceExtension, ModeNo, XGISetModeNew()
5500 HwDeviceExtension, pVBInfo); XGISetModeNew()
5505 switch (HwDeviceExtension->ujVBChipID) { XGISetModeNew()
5508 XGI_SetCRT2Group301(ModeNo, HwDeviceExtension, XGISetModeNew()
5519 XGI_EnableBridge(xgifb_info, HwDeviceExtension, pVBInfo); XGISetModeNew()
5533 XGI_DisplayOff(xgifb_info, HwDeviceExtension, pVBInfo); XGISetModeNew()
5535 XGI_SetCRT1Group(xgifb_info, HwDeviceExtension, ModeNo, XGISetModeNew()
5538 XGI_DisplayOn(xgifb_info, HwDeviceExtension, pVBInfo); XGISetModeNew()
5543 if (HwDeviceExtension->jChipType < XG20) XGISetModeNew()
261 XGI_SetCRT1Timing_H(struct vb_device_info *pVBInfo, struct xgi_hw_device_info *HwDeviceExtension) XGI_SetCRT1Timing_H() argument
363 XGI_SetCRT1CRTC(unsigned short ModeIdIndex, unsigned short RefreshRateTableIndex, struct vb_device_info *pVBInfo, struct xgi_hw_device_info *HwDeviceExtension) XGI_SetCRT1CRTC() argument
743 XGI_SetCRT1Offset(unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefreshRateTableIndex, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGI_SetCRT1Offset() argument
876 XGI_SetCRT1VCLK(unsigned short ModeIdIndex, struct xgi_hw_device_info *HwDeviceExtension, unsigned short RefreshRateTableIndex, struct vb_device_info *pVBInfo) XGI_SetCRT1VCLK() argument
1297 XGI_ModCRT1Regs(unsigned short ModeIdIndex, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGI_ModCRT1Regs() argument
4439 XGI_DisableBridge(struct xgifb_video_info *xgifb_info, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGI_DisableBridge() argument
5162 XGI_SetLCDAGroup(unsigned short ModeNo, unsigned short ModeIdIndex, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGI_SetLCDAGroup() argument
5178 XGI_SetCRT2Group301(unsigned short ModeNo, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGI_SetCRT2Group301() argument
5298 XGI_EnableBridge(struct xgifb_video_info *xgifb_info, struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) XGI_EnableBridge() argument
5377 XGI_SetCRT1Group(struct xgifb_video_info *xgifb_info, struct xgi_hw_device_info *HwDeviceExtension, unsigned short ModeNo, unsigned short ModeIdIndex, struct vb_device_info *pVBInfo) XGI_SetCRT1Group() argument
5450 XGISetModeNew(struct xgifb_video_info *xgifb_info, struct xgi_hw_device_info *HwDeviceExtension, unsigned short ModeNo) XGISetModeNew() argument
H A DXGI_main_26.c59 struct xgi_hw_device_info *HwDeviceExtension, XGIfb_mode_rate_to_dclock()
67 InitTo330Pointer(HwDeviceExtension->jChipType, XGI_Pr); XGIfb_mode_rate_to_dclock()
71 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, XGIfb_mode_rate_to_dclock()
82 struct xgi_hw_device_info *HwDeviceExtension, XGIfb_mode_rate_to_ddata()
97 InitTo330Pointer(HwDeviceExtension->jChipType, XGI_Pr); XGIfb_mode_rate_to_ddata()
100 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, XGIfb_mode_rate_to_ddata()
58 XGIfb_mode_rate_to_dclock(struct vb_device_info *XGI_Pr, struct xgi_hw_device_info *HwDeviceExtension, unsigned char modeno) XGIfb_mode_rate_to_dclock() argument
81 XGIfb_mode_rate_to_ddata(struct vb_device_info *XGI_Pr, struct xgi_hw_device_info *HwDeviceExtension, unsigned char modeno, u32 *left_margin, u32 *right_margin, u32 *upper_margin, u32 *lower_margin, u32 *hsync_len, u32 *vsync_len, u32 *sync, u32 *vmode) XGIfb_mode_rate_to_ddata() argument

Completed in 281 milliseconds