• Home
  • Raw
  • Download

Lines Matching refs:rinfo

62 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100)  || \  argument
63 ((rinfo)->family == CHIP_FAMILY_RV200) || \
64 ((rinfo)->family == CHIP_FAMILY_RS100) || \
65 ((rinfo)->family == CHIP_FAMILY_RS200) || \
66 ((rinfo)->family == CHIP_FAMILY_RV250) || \
67 ((rinfo)->family == CHIP_FAMILY_RV280) || \
68 ((rinfo)->family == CHIP_FAMILY_RS300))
71 #define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \ argument
72 ((rinfo)->family == CHIP_FAMILY_RV350) || \
73 ((rinfo)->family == CHIP_FAMILY_R350) || \
74 ((rinfo)->family == CHIP_FAMILY_RV380) || \
75 ((rinfo)->family == CHIP_FAMILY_R420) || \
76 ((rinfo)->family == CHIP_FAMILY_RC410) || \
77 ((rinfo)->family == CHIP_FAMILY_RS480))
273 struct radeonfb_info *rinfo; member
286 typedef void (*reinit_function_ptr)(struct radeonfb_info *rinfo);
367 #define PRIMARY_MONITOR(rinfo) (rinfo->mon1_type) argument
374 void _radeon_msleep(struct radeonfb_info *rinfo, unsigned long ms);
376 #define INREG8(addr) readb((rinfo->mmio_base)+addr)
377 #define OUTREG8(addr,val) writeb(val, (rinfo->mmio_base)+addr)
378 #define INREG16(addr) readw((rinfo->mmio_base)+addr)
379 #define OUTREG16(addr,val) writew(val, (rinfo->mmio_base)+addr)
380 #define INREG(addr) readl((rinfo->mmio_base)+addr)
381 #define OUTREG(addr,val) writel(val, (rinfo->mmio_base)+addr)
383 void _OUTREGP(struct radeonfb_info *rinfo, u32 addr, u32 val, u32 mask);
385 #define OUTREGP(addr,val,mask) _OUTREGP(rinfo, addr, val,mask)
404 void radeon_pll_errata_after_index_slow(struct radeonfb_info *rinfo);
405 static inline void radeon_pll_errata_after_index(struct radeonfb_info *rinfo) in radeon_pll_errata_after_index() argument
407 if (rinfo->errata & CHIP_ERRATA_PLL_DUMMYREADS) in radeon_pll_errata_after_index()
408 radeon_pll_errata_after_index_slow(rinfo); in radeon_pll_errata_after_index()
411 void radeon_pll_errata_after_data_slow(struct radeonfb_info *rinfo);
412 static inline void radeon_pll_errata_after_data(struct radeonfb_info *rinfo) in radeon_pll_errata_after_data() argument
414 if (rinfo->errata & (CHIP_ERRATA_PLL_DELAY|CHIP_ERRATA_R300_CG)) in radeon_pll_errata_after_data()
415 radeon_pll_errata_after_data_slow(rinfo); in radeon_pll_errata_after_data()
418 u32 __INPLL(struct radeonfb_info *rinfo, u32 addr);
419 void __OUTPLL(struct radeonfb_info *rinfo, unsigned int index, u32 val);
420 void __OUTPLLP(struct radeonfb_info *rinfo, unsigned int index,
423 #define INPLL(addr) __INPLL(rinfo, addr)
424 #define OUTPLL(index, val) __OUTPLL(rinfo, index, val)
425 #define OUTPLLP(index, val, mask) __OUTPLLP(rinfo, index, val, mask)
428 #define BIOS_IN8(v) (readb(rinfo->bios_seg + (v)))
429 #define BIOS_IN16(v) (readb(rinfo->bios_seg + (v)) | \
430 (readb(rinfo->bios_seg + (v) + 1) << 8))
431 #define BIOS_IN32(v) (readb(rinfo->bios_seg + (v)) | \
432 (readb(rinfo->bios_seg + (v) + 1) << 8) | \
433 (readb(rinfo->bios_seg + (v) + 2) << 16) | \
434 (readb(rinfo->bios_seg + (v) + 3) << 24))
471 void _radeon_fifo_wait(struct radeonfb_info *rinfo, int entries);
472 void radeon_engine_flush(struct radeonfb_info *rinfo);
473 void _radeon_engine_idle(struct radeonfb_info *rinfo);
475 #define radeon_engine_idle() _radeon_engine_idle(rinfo)
476 #define radeon_fifo_wait(entries) _radeon_fifo_wait(rinfo,entries)
477 #define radeon_msleep(ms) _radeon_msleep(rinfo,ms)
481 extern void radeon_create_i2c_busses(struct radeonfb_info *rinfo);
482 extern void radeon_delete_i2c_busses(struct radeonfb_info *rinfo);
483 extern int radeon_probe_i2c_connector(struct radeonfb_info *rinfo, int conn, u8 **out_edid);
487 extern void radeonfb_pm_init(struct radeonfb_info *rinfo, int dynclk, int ignore_devlist, int force…
488 extern void radeonfb_pm_exit(struct radeonfb_info *rinfo);
491 extern void radeon_probe_screens(struct radeonfb_info *rinfo,
493 extern void radeon_check_modes(struct radeonfb_info *rinfo, const char *mode_option);
494 extern int radeon_match_mode(struct radeonfb_info *rinfo,
503 extern void radeonfb_engine_init (struct radeonfb_info *rinfo);
504 extern void radeonfb_engine_reset(struct radeonfb_info *rinfo);
507 extern int radeon_screen_blank(struct radeonfb_info *rinfo, int blank, int mode_switch);
508 extern void radeon_write_mode (struct radeonfb_info *rinfo, struct radeon_regs *mode,
513 extern void radeonfb_bl_init(struct radeonfb_info *rinfo);
514 extern void radeonfb_bl_exit(struct radeonfb_info *rinfo);
516 static inline void radeonfb_bl_init(struct radeonfb_info *rinfo) {} in radeonfb_bl_init() argument
517 static inline void radeonfb_bl_exit(struct radeonfb_info *rinfo) {} in radeonfb_bl_exit() argument