/u-boot/drivers/mmc/ |
A D | sh_mmcif.c | 31 struct sh_mmcif_host *host = dev_id; in sh_mmcif_intr() local 127 static void sh_mmcif_sync_reset(struct sh_mmcif_host *host) in sh_mmcif_sync_reset() 221 static int sh_mmcif_multi_read(struct sh_mmcif_host *host, in sh_mmcif_multi_read() 338 static u32 sh_mmcif_set_cmd(struct sh_mmcif_host *host, in sh_mmcif_set_cmd() 582 struct sh_mmcif_host *host = mmc_priv(mmc); in sh_mmcif_send_cmd() local 589 struct sh_mmcif_host *host = mmc_priv(mmc); in sh_mmcif_set_ios() local 596 struct sh_mmcif_host *host = mmc_priv(mmc); in sh_mmcif_initialize() local 619 struct sh_mmcif_host *host = NULL; in mmcif_mmc_init() local 650 struct sh_mmcif_host *host = dev_get_priv(dev); in sh_mmcif_dm_send_cmd() local 657 struct sh_mmcif_host *host = dev_get_priv(dev); in sh_mmcif_dm_set_ios() local [all …]
|
A D | sh_sdhi.c | 63 static void sh_sdhi_detect(struct sh_sdhi_host *host) in sh_sdhi_detect() 73 struct sh_sdhi_host *host = dev_id; in sh_sdhi_intr() local 215 static int sh_sdhi_sync_reset(struct sh_sdhi_host *host) in sh_sdhi_sync_reset() 538 static int sh_sdhi_start_cmd(struct sh_sdhi_host *host, in sh_sdhi_start_cmd() 708 struct sh_sdhi_host *host = mmc_priv(mmc); in sh_sdhi_send_cmd() local 715 struct sh_sdhi_host *host = mmc_priv(mmc); in sh_sdhi_set_ios() local 722 struct sh_sdhi_host *host = mmc_priv(mmc); in sh_sdhi_initialize() local 762 struct sh_sdhi_host *host = NULL; in sh_sdhi_init() local 802 struct sh_sdhi_host *host = dev_get_priv(dev); in sh_sdhi_dm_send_cmd() local 809 struct sh_sdhi_host *host = dev_get_priv(dev); in sh_sdhi_dm_set_ios() local [all …]
|
A D | sdhci.c | 25 static void sdhci_reset(struct sdhci_host *host, u8 mask) in sdhci_reset() 210 struct sdhci_host *host = mmc->priv; local 352 struct sdhci_host *host = mmc->priv; local 367 struct sdhci_host *host = mmc->priv; local 489 void sdhci_set_uhs_timing(struct sdhci_host *host) 517 static void sdhci_set_voltage(struct sdhci_host *host) 605 void sdhci_set_control_reg(struct sdhci_host *host) 620 struct sdhci_host *host = mmc->priv; local 681 struct sdhci_host *host = mmc->priv; local 735 struct sdhci_host *host = mmc->priv; local [all …]
|
A D | iproc_sdhci.c | 21 struct sdhci_host host; member 28 static inline struct sdhci_iproc_host *to_iproc(struct sdhci_host *host) in to_iproc() 34 static u32 sdhci_iproc_readl(struct sdhci_host *host, int reg) in sdhci_iproc_readl() 44 static u16 sdhci_iproc_readw(struct sdhci_host *host, int reg) in sdhci_iproc_readw() 51 static u8 sdhci_iproc_readb(struct sdhci_host *host, int reg) in sdhci_iproc_readb() 58 static void sdhci_iproc_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_iproc_writel() 144 static int sdhci_iproc_set_ios_post(struct sdhci_host *host) in sdhci_iproc_set_ios_post() 159 static void sdhci_start_tuning(struct sdhci_host *host) in sdhci_start_tuning() 171 static void sdhci_end_tuning(struct sdhci_host *host) in sdhci_end_tuning() 185 struct sdhci_host *host = dev_get_priv(mmc->dev); in sdhci_iproc_execute_tuning() local [all …]
|
A D | bcm2835_sdhci.c | 61 struct sdhci_host host; member 66 static inline struct bcm2835_sdhci_host *to_bcm(struct sdhci_host *host) in to_bcm() 71 static inline void bcm2835_sdhci_raw_writel(struct sdhci_host *host, u32 val, in bcm2835_sdhci_raw_writel() 94 static inline u32 bcm2835_sdhci_raw_readl(struct sdhci_host *host, int reg) in bcm2835_sdhci_raw_readl() 99 static void bcm2835_sdhci_writel(struct sdhci_host *host, u32 val, int reg) in bcm2835_sdhci_writel() 104 static void bcm2835_sdhci_writew(struct sdhci_host *host, u16 val, int reg) in bcm2835_sdhci_writew() 120 static void bcm2835_sdhci_writeb(struct sdhci_host *host, u8 val, int reg) in bcm2835_sdhci_writeb() 131 static u32 bcm2835_sdhci_readl(struct sdhci_host *host, int reg) in bcm2835_sdhci_readl() 138 static u16 bcm2835_sdhci_readw(struct sdhci_host *host, int reg) in bcm2835_sdhci_readw() 148 static u8 bcm2835_sdhci_readb(struct sdhci_host *host, int reg) in bcm2835_sdhci_readb() [all …]
|
A D | s5p_sdhci.c | 31 static void s5p_sdhci_set_control_reg(struct sdhci_host *host) in s5p_sdhci_set_control_reg() 77 static void s5p_set_clock(struct sdhci_host *host, u32 div) in s5p_set_clock() 88 static int s5p_sdhci_core_init(struct sdhci_host *host) in s5p_sdhci_core_init() 111 struct sdhci_host *host = calloc(1, sizeof(struct sdhci_host)); in s5p_sdhci_init() local 123 static int do_sdhci_init(struct sdhci_host *host) in do_sdhci_init() 156 static int sdhci_get_config(const void *blob, int node, struct sdhci_host *host) in sdhci_get_config() 198 struct sdhci_host *host = dev_get_priv(dev); in s5p_sdhci_probe() local
|
A D | exynos_dw_mmc.c | 39 struct dwmci_host host; member 48 static int exynos_dwmci_clksel(struct dwmci_host *host) in exynos_dwmci_clksel() 61 unsigned int exynos_dwmci_get_clk(struct dwmci_host *host, uint freq) in exynos_dwmci_get_clk() 83 static void exynos_dwmci_board_init(struct dwmci_host *host) in exynos_dwmci_board_init() 102 static int exynos_dwmci_core_init(struct dwmci_host *host) in exynos_dwmci_core_init() 139 static int do_dwmci_init(struct dwmci_host *host) in do_dwmci_init() 154 struct dwmci_host *host, in exynos_dwmci_get_config() 216 struct dwmci_host *host = &priv->host; in exynos_dwmmc_probe() local
|
A D | arm_pl180_mmci.c | 42 struct pl180_mmc_host *host = dev->priv; in wait_for_command_end() local 83 struct pl180_mmc_host *host = dev->priv; in do_command() local 115 struct pl180_mmc_host *host = dev->priv; in read_bytes() local 171 struct pl180_mmc_host *host = dev->priv; in write_bytes() local 230 struct pl180_mmc_host *host = dev->priv; in do_data_transfer() local 287 struct pl180_mmc_host *host = dev->priv; in host_set_ios() local 351 struct pl180_mmc_host *host = dev->priv; in mmc_host_reset() local 406 static void arm_pl180_mmc_init(struct pl180_mmc_host *host) in arm_pl180_mmc_init() 424 struct pl180_mmc_host *host = dev_get_priv(dev); in arm_pl180_mmc_probe() local 511 struct pl180_mmc_host *host = dev_get_priv(dev); in dm_mmc_getcd() local [all …]
|
A D | dw_mmc.c | 24 static int dwmci_wait_reset(struct dwmci_host *host, u32 value) in dwmci_wait_reset() 50 static void dwmci_prepare_data(struct dwmci_host *host, in dwmci_prepare_data() 104 static int dwmci_fifo_ready(struct dwmci_host *host, u32 bit, u32 *len) in dwmci_fifo_ready() 137 static int dwmci_data_transfer(struct dwmci_host *host, struct mmc_data *data) in dwmci_data_transfer() 230 static int dwmci_set_transfer_mode(struct dwmci_host *host, in dwmci_set_transfer_mode() 252 struct dwmci_host *host = mmc->priv; local 401 static int dwmci_setup_bus(struct dwmci_host *host, u32 freq) 471 struct dwmci_host *host = (struct dwmci_host *)mmc->priv; local 527 struct dwmci_host *host = mmc->priv; local 590 void dwmci_setup_cfg(struct mmc_config *cfg, struct dwmci_host *host, [all …]
|
A D | xenon_sdhci.c | 123 struct sdhci_host host; member 135 static int xenon_mmc_phy_init(struct sdhci_host *host) in xenon_mmc_phy_init() 203 static void armada_3700_soc_pad_voltage_set(struct sdhci_host *host) in armada_3700_soc_pad_voltage_set() 258 static void xenon_mmc_phy_set(struct sdhci_host *host) in xenon_mmc_phy_set() 317 static void xenon_mmc_set_acg(struct sdhci_host *host, bool enable) in xenon_mmc_set_acg() 333 static void xenon_mmc_enable_slot(struct sdhci_host *host, u8 slot) in xenon_mmc_enable_slot() 378 static void xenon_mask_cmd_conflict_err(struct sdhci_host *host) in xenon_mask_cmd_conflict_err() 388 static int xenon_sdhci_set_ios_post(struct sdhci_host *host) in xenon_sdhci_set_ios_post() 447 struct sdhci_host *host = dev_get_priv(dev); in xenon_sdhci_probe() local 519 struct sdhci_host *host = dev_get_priv(dev); in xenon_sdhci_remove() local [all …]
|
A D | ca_dw_mmc.c | 38 struct dwmci_host host; member 44 static int ca_dwmci_clksel(struct dwmci_host *host) in ca_dwmci_clksel() 60 static void ca_dwmci_board_init(struct dwmci_host *host) in ca_dwmci_board_init() 73 unsigned int ca_dwmci_get_mmc_clock(struct dwmci_host *host, uint freq) in ca_dwmci_get_mmc_clock() 96 struct dwmci_host *host = &priv->host; in ca_dwmmc_of_to_plat() local 133 struct dwmci_host *host = &priv->host; in ca_dwmmc_probe() local
|
A D | bcm2835_sdhost.c | 186 static void bcm2835_dumpregs(struct bcm2835_host *host) in bcm2835_dumpregs() 206 static void bcm2835_reset_internal(struct bcm2835_host *host) in bcm2835_reset_internal() 239 static int bcm2835_wait_transfer_complete(struct bcm2835_host *host) in bcm2835_wait_transfer_complete() 351 static int bcm2835_transfer_pio(struct bcm2835_host *host) in bcm2835_transfer_pio() 395 static u32 bcm2835_read_wait_sdcmd(struct bcm2835_host *host) in bcm2835_read_wait_sdcmd() 465 static int bcm2835_finish_command(struct bcm2835_host *host) in bcm2835_finish_command() 558 static int bcm2835_transmit(struct bcm2835_host *host) in bcm2835_transmit() 665 struct bcm2835_host *host = dev_get_priv(dev); in bcm2835_send_cmd() local 710 struct bcm2835_host *host = dev_get_priv(dev); in bcm2835_set_ios() local 733 static void bcm2835_add_host(struct bcm2835_host *host) in bcm2835_add_host() [all …]
|
A D | mxcmmc.c | 128 static struct mxcmci_host *host = &mxcmci_host; variable 130 static inline int mxcmci_use_dma(struct mxcmci_host *host) in mxcmci_use_dma() 135 static void mxcmci_softreset(struct mxcmci_host *host) in mxcmci_softreset() 196 static void mxcmci_finish_request(struct mxcmci_host *host, in mxcmci_finish_request() 265 static int mxcmci_poll_status(struct mxcmci_host *host, u32 mask) in mxcmci_poll_status() 281 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() 342 static int mxcmci_transfer_data(struct mxcmci_host *host) in mxcmci_transfer_data() 368 static int mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat) in mxcmci_cmd_done() 394 struct mxcmci_host *host = mmc->priv; in mxcmci_request() local 454 struct mxcmci_host *host = mmc->priv; in mxcmci_set_ios() local [all …]
|
A D | snps_dw_mmc.c | 31 struct dwmci_host host; member 38 struct dwmci_host *host = &priv->host; in snps_dwmmc_clk_setup() local 82 struct dwmci_host *host = &priv->host; in snps_dwmmc_of_to_plat() local 125 struct dwmci_host *host = &priv->host; in snps_dwmmc_getcd() local 139 struct dwmci_host *host = &priv->host; in snps_dwmmc_probe() local
|
A D | socfpga_dw_mmc.c | 33 struct dwmci_host host; member 52 static int socfpga_dwmci_clksel(struct dwmci_host *host) in socfpga_dwmci_clksel() 91 struct dwmci_host *host = &priv->host; in socfpga_dwmmc_get_clk_rate() local 118 struct dwmci_host *host = &priv->host; in socfpga_dwmmc_of_to_plat() local 157 struct dwmci_host *host = &priv->host; in socfpga_dwmmc_probe() local
|
A D | zynq_sdhci.c | 42 struct sdhci_host *host; member 72 static void arasan_zynqmp_dll_reset(struct sdhci_host *host, u8 deviceid) in arasan_zynqmp_dll_reset() 106 struct sdhci_host *host; in arasan_sdhci_execute_tuning() local 188 static int sdhci_zynqmp_sdcardclk_set_phase(struct sdhci_host *host, in sdhci_zynqmp_sdcardclk_set_phase() 244 static int sdhci_zynqmp_sampleclk_set_phase(struct sdhci_host *host, in sdhci_zynqmp_sampleclk_set_phase() 300 static int sdhci_versal_sdcardclk_set_phase(struct sdhci_host *host, in sdhci_versal_sdcardclk_set_phase() 364 static int sdhci_versal_sampleclk_set_phase(struct sdhci_host *host, in sdhci_versal_sampleclk_set_phase() 423 static void arasan_sdhci_set_tapdelay(struct sdhci_host *host) in arasan_sdhci_set_tapdelay() 527 static void arasan_sdhci_set_control_reg(struct sdhci_host *host) in arasan_sdhci_set_control_reg() 558 struct sdhci_host *host; in arasan_sdhci_probe() local
|
A D | rockchip_dw_mmc.c | 32 struct dwmci_host host; member 38 static uint rockchip_dwmmc_get_mmc_clk(struct dwmci_host *host, uint freq) in rockchip_dwmmc_get_mmc_clk() 57 struct dwmci_host *host = &priv->host; in rockchip_dwmmc_of_to_plat() local 107 struct dwmci_host *host = &priv->host; in rockchip_dwmmc_probe() local
|
A D | nexell_dw_mmc.c | 39 struct dwmci_host host; member 54 static int nx_dw_mmc_clksel(struct dwmci_host *host) in nx_dw_mmc_clksel() 84 struct dwmci_host *host = &priv->host; in nx_dw_mmc_clk_delay() local 95 static unsigned int nx_dw_mmc_get_clk(struct dwmci_host *host, uint freq) in nx_dw_mmc_get_clk() 116 static unsigned long nx_dw_mmc_set_clk(struct dwmci_host *host, in nx_dw_mmc_set_clk() 147 struct dwmci_host *host = &priv->host; in nexell_dwmmc_of_to_plat() local 187 struct dwmci_host *host = &priv->host; in nexell_dwmmc_probe() local
|
A D | sti_sdhci.c | 40 struct sdhci_host *host = dev_get_priv(dev); in sti_mmc_core_config() local 76 struct sdhci_host *host = dev_get_priv(dev); in sti_sdhci_probe() local 117 struct sdhci_host *host = dev_get_priv(dev); in sti_sdhci_of_to_plat() local
|
A D | rockchip_sdhci.c | 30 struct sdhci_host host; member 39 struct sdhci_host *host = &prv->host; in arasan_sdhci_probe() local 87 struct sdhci_host *host = dev_get_priv(dev); in arasan_sdhci_of_to_plat() local
|
A D | hi6220_dw_mmc.c | 23 struct dwmci_host host; member 34 struct dwmci_host *host = &priv->host; in hi6220_dwmmc_of_to_plat() local 57 struct dwmci_host *host = &priv->host; in hi6220_dwmmc_probe() local
|
/u-boot/drivers/smem/ |
A D | sandbox_smem.c | 12 static int sandbox_smem_alloc(unsigned int host, in sandbox_smem_alloc() 18 static void *sandbox_smem_get(unsigned int host, in sandbox_smem_get() 24 static int sandbox_smem_get_free_space(unsigned int host) in sandbox_smem_get_free_space()
|
A D | smem-uclass.c | 10 int smem_alloc(struct udevice *dev, unsigned int host, in smem_alloc() 21 void *smem_get(struct udevice *dev, unsigned int host, in smem_get() 32 int smem_get_free_space(struct udevice *dev, unsigned int host) in smem_get_free_space()
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_uboot.c | 69 struct musb *host = hcd->hcd_priv; in submit_urb() local 107 static int _musb_submit_bulk_msg(struct musb_host_data *host, in _musb_submit_bulk_msg() 115 static int _musb_submit_int_msg(struct musb_host_data *host, in _musb_submit_int_msg() 217 int musb_lowlevel_init(struct musb_host_data *host) in musb_lowlevel_init() 315 struct musb_host_data *host = dev_get_priv(dev); in musb_submit_control_msg() local 322 struct musb_host_data *host = dev_get_priv(dev); in musb_submit_bulk_msg() local 330 struct musb_host_data *host = dev_get_priv(dev); in musb_submit_int_msg() local 339 struct musb_host_data *host = dev_get_priv(dev); in musb_create_int_queue() local 347 struct musb_host_data *host = dev_get_priv(dev); in musb_poll_int_queue() local 354 struct musb_host_data *host = dev_get_priv(dev); in musb_destroy_int_queue() local [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | mxc_nand.c | 38 static struct mxc_nand_host *host = &mxc_host; variable 145 static void send_cmd(struct mxc_nand_host *host, uint16_t cmd) 161 static void send_addr(struct mxc_nand_host *host, uint16_t addr) 274 static void send_read_id(struct mxc_nand_host *host) 302 static uint16_t get_dev_status(struct mxc_nand_host *host) 389 struct mxc_nand_host *host = nand_get_controller_data(chip); local 443 struct mxc_nand_host *host = nand_get_controller_data(chip); local 488 struct mxc_nand_host *host = nand_get_controller_data(chip); local 552 struct mxc_nand_host *host = nand_get_controller_data(chip); local 580 struct mxc_nand_host *host = nand_get_controller_data(chip); local [all …]
|