s3c2xx0_softc
s3c2xx0_softc = &(sc->sc_sx);
s3c24x0_clock_freq(struct s3c2xx0_softc *sc)
struct s3c2xx0_softc *s3c2xx0_softc;
reg = bus_space_read_4(s3c2xx0_softc->sc_iot,
s3c2xx0_softc->sc_gpio_ioh,
bus_space_write_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_gpio_ioh,
spia.spia_gpioh = s3c2xx0_softc->sc_gpio_ioh;
spia.spia_dmat = s3c2xx0_softc->sc_dmat;
int pclk = s3c2xx0_softc->sc_pclk;
bus_space_handle_t gpioh = s3c2xx0_softc->sc_gpio_ioh;
s3c2xx0_softc = &(sc->sc_sx);
s3c24x0_clock_freq(struct s3c2xx0_softc *sc)
struct s3c2xx0_softc *s3c2xx0_softc;
sc->sc_iot = s3c2xx0_softc->sc_iot;
sc->sc_dmach = s3c2xx0_softc->sc_dmach;
sc->sc_dmat = s3c2xx0_softc->sc_dmat;
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
int pclk = s3c2xx0_softc->sc_pclk; /* Peripherical Clock in Hz*/
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
struct s3c2xx0_softc *sc = s3c2xx0_softc; /* Shortcut */
reg = bus_space_read_4(s3c2xx0_softc->sc_iot,
s3c2xx0_softc->sc_gpio_ioh,
bus_space_write_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_gpio_ioh,
reg = bus_space_read_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_gpio_ioh,
bus_space_write_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_gpio_ioh,
saa.saa_clkmin = s3c2xx0_softc->sc_pclk / 256;
saa.saa_clkmax = s3c2xx0_softc->sc_pclk / 1; /* PCLK/1 or PCLK/2 depending on how the spec is read */
data = bus_space_read_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_clkman_ioh, CLKMAN_CLKCON);
bus_space_write_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_clkman_ioh, CLKMAN_CLKCON, data | CLKCON_SDI);
int pclk = s3c2xx0_softc->sc_pclk/1000; /*Peripheral bus clock in KHz*/
spia.spia_gpioh = s3c2xx0_softc->sc_gpio_ioh;
spia.spia_dmat = s3c2xx0_softc->sc_dmat;
int pclk = s3c2xx0_softc->sc_pclk;
bus_space_handle_t gpioh = s3c2xx0_softc->sc_gpio_ioh;
int pclk = s3c2xx0_softc->sc_pclk;
struct s3c24x0_softc *sc = (struct s3c24x0_softc *) s3c2xx0_softc;
struct s3c24x0_softc *sc = (struct s3c24x0_softc *)s3c2xx0_softc;
int pclk = s3c2xx0_softc->sc_pclk;
struct s3c2xx0_softc *sc = s3c2xx0_softc;
struct s3c24x0_softc *sc = (struct s3c24x0_softc *) s3c2xx0_softc;
int hclk = s3c2xx0_softc->sc_hclk;
struct s3c2xx0_softc sc_sx;
void s3c24x0_clock_freq(struct s3c2xx0_softc *);
s3c2xx0_softc = &(sc->sc_sx);
s3c2800_clock_freq(struct s3c2xx0_softc *sc)
struct s3c2xx0_softc *s3c2xx0_softc;
struct s3c2800_softc *sc = (struct s3c2800_softc *) s3c2xx0_softc;
struct s3c2800_softc *sc = (struct s3c2800_softc *)s3c2xx0_softc;
int pclk = s3c2xx0_softc->sc_pclk;
struct s3c2800_softc *sc = (struct s3c2800_softc *) s3c2xx0_softc;
reg = bus_space_read_4(s3c2xx0_softc->sc_iot,
s3c2xx0_softc->sc_gpio_ioh,
bus_space_write_4(s3c2xx0_softc->sc_iot, s3c2xx0_softc->sc_gpio_ioh,
struct s3c2xx0_softc sc_sx;
void s3c2800_clock_freq(struct s3c2xx0_softc *);
extern struct s3c2xx0_softc *s3c2xx0_softc;
sc->sc_iot = s3c2xx0_softc->sc_iot;
sc->sc_frequency = s3c2xx0_softc->sc_pclk;
sc->sc_iot = s3c2xx0_softc->sc_iot;
sc->sc_frequency = s3c2xx0_softc->sc_pclk;
sc->sc_iot = s3c2xx0_softc->sc_iot;
sc->sc_frequency = s3c2xx0_softc->sc_pclk;
struct s3c2xx0_softc *s3sc = s3c2xx0_softc; /* Shortcut */
struct s3c2xx0_softc *s3sc = s3c2xx0_softc; /* Shortcut */
bus_space_tag_t iot = s3c2xx0_softc->sc_iot;
bus_space_handle_t gpio_ioh = s3c2xx0_softc->sc_gpio_ioh;
gpio_ioh = s3c2xx0_softc->sc_gpio_ioh;
bus_space_tag_t iot = s3c2xx0_softc->sc_iot;
bus_space_handle_t gpio_ioh = s3c2xx0_softc->sc_gpio_ioh;
gpio_ioh = s3c2xx0_softc->sc_gpio_ioh;