radeonfb_softc
radeonfb_map(struct radeonfb_softc *sc)
radeonfb_unmap(struct radeonfb_softc *sc)
static int radeonfb_scratch_test(struct radeonfb_softc *, int, uint32_t);
static void radeonfb_loadbios(struct radeonfb_softc *,
struct radeonfb_softc *sc;
static uintmax_t radeonfb_getprop_num(struct radeonfb_softc *, const char *,
static int radeonfb_getclocks(struct radeonfb_softc *);
static int radeonfb_gettmds(struct radeonfb_softc *);
static int radeonfb_calc_dividers(struct radeonfb_softc *, uint32_t,
static int radeonfb_getconnectors(struct radeonfb_softc *);
static void radeonfb_pllwriteupdate(struct radeonfb_softc *, int);
static void radeonfb_pllwaitatomicread(struct radeonfb_softc *, int);
static void radeonfb_program_vclk(struct radeonfb_softc *, int, int, int);
struct radeonfb_softc *sc;
static void radeonfb_init_misc(struct radeonfb_softc *);
static void radeonfb_set_fbloc(struct radeonfb_softc *);
static void radeonfb_r300cg_workaround(struct radeonfb_softc *);
radeonfb_loadbios(struct radeonfb_softc *sc, const struct pci_attach_args *pa)
radeonfb_get32(struct radeonfb_softc *sc, uint32_t reg)
radeonfb_put32(struct radeonfb_softc *sc, uint32_t reg, uint32_t val)
radeonfb_put32s(struct radeonfb_softc *sc, uint32_t reg, uint32_t val)
radeonfb_mask32(struct radeonfb_softc *sc, uint32_t reg,
radeonfb_getindex(struct radeonfb_softc *sc, uint32_t idx)
radeonfb_putindex(struct radeonfb_softc *sc, uint32_t idx, uint32_t val)
radeonfb_maskindex(struct radeonfb_softc *sc, uint32_t idx,
radeonfb_getpll(struct radeonfb_softc *sc, uint32_t idx)
radeonfb_putpll(struct radeonfb_softc *sc, uint32_t idx, uint32_t val)
radeonfb_maskpll(struct radeonfb_softc *sc, uint32_t idx,
radeonfb_scratch_test(struct radeonfb_softc *sc, int reg, uint32_t v)
radeonfb_getprop_num(struct radeonfb_softc *sc, const char *name,
radeonfb_getclocks(struct radeonfb_softc *sc)
static inline void radeonfb_wait_fifo(struct radeonfb_softc *, int);
static void radeonfb_engine_idle(struct radeonfb_softc *);
static void radeonfb_engine_flush(struct radeonfb_softc *);
static void radeonfb_engine_reset(struct radeonfb_softc *);
static inline void radeonfb_unclip(struct radeonfb_softc *) __unused;
radeonfb_calc_dividers(struct radeonfb_softc *sc, uint32_t dotclock,
radeonfb_getconnectors(struct radeonfb_softc *sc)
static const struct videomode *radeonfb_port_mode(struct radeonfb_softc *,
radeonfb_gettmds(struct radeonfb_softc *sc)
radeonfb_pllwriteupdate(struct radeonfb_softc *sc, int crtc)
radeonfb_pllwaitatomicread(struct radeonfb_softc *sc, int crtc)
radeonfb_program_vclk(struct radeonfb_softc *sc, int dotclock, int crtc, int flags)
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc;
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = dp->rd_softc;
radeonfb_avivo_INMC(struct radeonfb_softc *sc, uint32_t addr)
radeonfb_avivo_OUTMC(struct radeonfb_softc *sc, uint32_t addr, uint32_t data)
radeonfb_set_fbloc(struct radeonfb_softc *sc)
radeonfb_init_misc(struct radeonfb_softc *sc)
struct radeonfb_softc *sc = dp->rd_softc;
radeonfb_r300cg_workaround(struct radeonfb_softc *sc)
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = dp->rd_softc;
radeonfb_engine_idle(struct radeonfb_softc *sc)
radeonfb_wait_fifo(struct radeonfb_softc *sc, int n)
radeonfb_engine_flush(struct radeonfb_softc *sc)
radeonfb_unclip(struct radeonfb_softc *sc)
struct radeonfb_softc *sc = dp->rd_softc;
radeonfb_engine_reset(struct radeonfb_softc *sc)
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = dp->rd_softc;
CFATTACH_DECL_NEW(radeonfb, sizeof (struct radeonfb_softc),
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc;
radeonfb_port_mode(struct radeonfb_softc *sc, struct radeonfb_port *rp,
struct radeonfb_softc *sc = device_private(dev);
struct radeonfb_softc *sc = dp->rd_softc;
struct radeonfb_softc *sc = device_private(dev);
struct radeonfb_softc *sc = device_private(dev);
static void rb_validate(struct radeonfb_softc *, struct rb_table *);
static uint16_t rb_find_asic_table(struct radeonfb_softc *, struct rb_table *);
static uint16_t rb_find_mem_reset_table(struct radeonfb_softc *,
static uint16_t rb_find_short_mem_reset_table(struct radeonfb_softc *,
static int rb_load_init_block(struct radeonfb_softc *, struct rb_table *);
static int rb_load_pll_block(struct radeonfb_softc *, struct rb_table *);
static int rb_reset_sdram(struct radeonfb_softc *, struct rb_table *);
static void rb_wait_mc_busy_mask(struct radeonfb_softc *, uint16_t);
static void rb_wait_mem_pwrup_complete(struct radeonfb_softc *, uint16_t);
static void rb_wait_dll_ready_mask(struct radeonfb_softc *, uint16_t);
static void rb_wait_chk_set_clk_pwrmgt_cntl24(struct radeonfb_softc *);
void (*validate)(struct radeonfb_softc *, struct rb_table *);
uint16_t (*find)(struct radeonfb_softc *, struct rb_table *);
rb_validate(struct radeonfb_softc *sc, struct rb_table *tp)
rb_find_asic_table(struct radeonfb_softc *sc, struct rb_table *tp)
rb_find_mem_reset_table(struct radeonfb_softc *sc, struct rb_table *tp)
rb_find_short_mem_reset_table(struct radeonfb_softc *sc, struct rb_table *tp)
rb_wait_mc_busy_mask(struct radeonfb_softc *sc, uint16_t count)
rb_wait_mem_pwrup_complete(struct radeonfb_softc *sc, uint16_t count)
rb_wait_dll_ready_mask(struct radeonfb_softc *sc, uint16_t count)
rb_wait_chk_set_clk_pwrmgt_cntl24(struct radeonfb_softc *sc)
rb_load_init_block(struct radeonfb_softc *sc, struct rb_table *tp)
rb_load_pll_block(struct radeonfb_softc *sc, struct rb_table *tp)
rb_reset_sdram(struct radeonfb_softc *sc, struct rb_table *tp)
radeonfb_bios_init(struct radeonfb_softc *sc)
struct radeonfb_softc *sc = ric->ric_softc;
struct radeonfb_softc *sc = ric->ric_softc;
radeonfb_i2c_init(struct radeonfb_softc *sc)
radeonfb_i2c_read_edid(struct radeonfb_softc *sc, int ddctype, uint8_t *data)
struct radeonfb_softc *sc = ric->ric_softc;
struct radeonfb_softc *sc = ric->ric_softc;
struct radeonfb_softc *sc = ric->ric_softc;
struct radeonfb_softc *ric_softc;
struct radeonfb_softc *rd_softc;
uint32_t radeonfb_get32(struct radeonfb_softc *, uint32_t);
void radeonfb_put32(struct radeonfb_softc *, uint32_t, uint32_t);
void radeonfb_put32s(struct radeonfb_softc *, uint32_t, uint32_t);
void radeonfb_mask32(struct radeonfb_softc *, uint32_t, uint32_t, uint32_t);
uint32_t radeonfb_getindex(struct radeonfb_softc *, uint32_t);
void radeonfb_putindex(struct radeonfb_softc *, uint32_t, uint32_t);
void radeonfb_maskindex(struct radeonfb_softc *, uint32_t, uint32_t, uint32_t);
uint32_t radeonfb_getpll(struct radeonfb_softc *, uint32_t);
void radeonfb_putpll(struct radeonfb_softc *, uint32_t, uint32_t);
void radeonfb_maskpll(struct radeonfb_softc *, uint32_t, uint32_t, uint32_t);
int radeonfb_bios_init(struct radeonfb_softc *);
void radeonfb_i2c_init(struct radeonfb_softc *);
int radeonfb_i2c_read_edid(struct radeonfb_softc *, int, uint8_t *);
struct radeonfb_softc;