Home | History | Annotate | Download | only in sdmmc

Lines Matching defs:sdhc_host

50 void	sdhc_dump_regs(struct sdhc_host *);
61 struct sdhc_host {
109 hread1(struct sdhc_host *hp, bus_size_t reg)
118 hread2(struct sdhc_host *hp, bus_size_t reg)
133 hwrite1(struct sdhc_host *hp, bus_size_t o, uint8_t val)
148 hwrite2(struct sdhc_host *hp, bus_size_t o, uint16_t val)
163 hwrite4(struct sdhc_host *hp, bus_size_t o, uint32_t val)
201 static int sdhc_execute_tuning1(struct sdhc_host *, int);
205 static int sdhc_start_command(struct sdhc_host *, struct sdmmc_command *);
206 static int sdhc_wait_state(struct sdhc_host *, uint32_t, uint32_t);
207 static int sdhc_soft_reset(struct sdhc_host *, int);
208 static int sdhc_wait_intr(struct sdhc_host *, int, int, bool);
209 static void sdhc_transfer_data(struct sdhc_host *, struct sdmmc_command *);
210 static int sdhc_transfer_data_dma(struct sdhc_host *, struct sdmmc_command *);
211 static int sdhc_transfer_data_pio(struct sdhc_host *, struct sdmmc_command *);
212 static void sdhc_read_data_pio(struct sdhc_host *, uint8_t *, u_int);
213 static void sdhc_write_data_pio(struct sdhc_host *, uint8_t *, u_int);
214 static void esdhc_read_data_pio(struct sdhc_host *, uint8_t *, u_int);
215 static void esdhc_write_data_pio(struct sdhc_host *, uint8_t *, u_int);
255 const struct sdhc_host * const hp = saa->saa_sch;
278 struct sdhc_host *hp;
284 hp = malloc(sizeof(struct sdhc_host), M_DEVBUF, M_WAITOK|M_ZERO);
666 struct sdhc_host *hp;
715 struct sdhc_host *hp;
747 struct sdhc_host *hp;
781 struct sdhc_host *hp;
798 struct sdhc_host *hp = (struct sdhc_host *)sch;
856 struct sdhc_host *hp = (struct sdhc_host *)sch;
869 struct sdhc_host *hp = (struct sdhc_host *)sch;
877 struct sdhc_host *hp = (struct sdhc_host *)sch;
888 struct sdhc_host *hp = (struct sdhc_host *)sch;
908 struct sdhc_host *hp = (struct sdhc_host *)sch;
926 struct sdhc_host *hp = (struct sdhc_host *)sch;
1018 sdhc_clock_divisor(struct sdhc_host *hp, u_int freq, u_int *divp)
1098 struct sdhc_host *hp = (struct sdhc_host *)sch;
1303 struct sdhc_host *hp = (struct sdhc_host *)sch;
1357 struct sdhc_host *hp = (struct sdhc_host *)sch;
1368 struct sdhc_host *hp = (struct sdhc_host *)sch;
1386 struct sdhc_host *hp = (struct sdhc_host *)sch;
1398 struct sdhc_host *hp = (struct sdhc_host *)sch;
1439 sdhc_execute_tuning1(struct sdhc_host *hp, int timing)
1535 struct sdhc_host *hp = (struct sdhc_host *)sch;
1547 struct sdhc_host *hp = arg;
1555 struct sdhc_host *hp = (struct sdhc_host *)sch;
1563 sdhc_wait_state(struct sdhc_host *hp, uint32_t mask, uint32_t value)
1589 struct sdhc_host *hp = (struct sdhc_host *)sch;
1708 sdhc_start_command(struct sdhc_host *hp, struct sdmmc_command *cmd)
1900 sdhc_transfer_data(struct sdhc_host *hp, struct sdmmc_command *cmd)
1942 sdhc_transfer_data_dma(struct sdhc_host *hp, struct sdmmc_command *cmd)
2005 sdhc_transfer_data_pio(struct sdhc_host *hp, struct sdmmc_command *cmd)
2008 void (*pio_func)(struct sdhc_host *, uint8_t *, u_int);
2079 sdhc_read_data_pio(struct sdhc_host *hp, uint8_t *data, u_int datalen)
2119 sdhc_write_data_pio(struct sdhc_host *hp, uint8_t *data, u_int datalen)
2159 esdhc_read_data_pio(struct sdhc_host *hp, uint8_t *data, u_int datalen)
2198 esdhc_write_data_pio(struct sdhc_host *hp, uint8_t *data, u_int datalen)
2231 sdhc_soft_reset(struct sdhc_host *hp, int mask)
2283 sdhc_wait_intr(struct sdhc_host *hp, int mask, int timo, bool probing)
2371 struct sdhc_host *hp;
2493 sdhc_host_lock(struct sdhc_host *hp)
2499 sdhc_host_read_1(struct sdhc_host *hp, int reg)
2505 sdhc_host_read_2(struct sdhc_host *hp, int reg)
2511 sdhc_host_read_4(struct sdhc_host *hp, int reg)
2517 sdhc_host_write_1(struct sdhc_host *hp, int reg, uint8_t val)
2523 sdhc_host_write_2(struct sdhc_host *hp, int reg, uint16_t val)
2529 sdhc_host_write_4(struct sdhc_host *hp, int reg, uint32_t val)
2536 sdhc_dump_regs(struct sdhc_host *hp)