Home
last modified time | relevance | path

Searched refs:dev_index (Results 1 – 25 of 33) sorted by relevance

12

/u-boot/drivers/mmc/
A Dexynos_dw_mmc.c74 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_get_clk()
113 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_core_init()
116 set_mmc_clk(host->dev_index, div); in exynos_dwmci_core_init()
131 printf("DWMMC%d registration failed\n", host->dev_index); in exynos_dwmci_core_init()
146 printf("DWMMC%d not configure\n", host->dev_index); in do_dwmci_init()
164 if (host->dev_index == host->dev_id) in exynos_dwmci_get_config()
165 host->dev_index = host->dev_id - PERIPH_ID_SDMMC0; in exynos_dwmci_get_config()
167 if (host->dev_index > 4) { in exynos_dwmci_get_config()
187 host->dev_index); in exynos_dwmci_get_config()
197 if (host->dev_index == 0) in exynos_dwmci_get_config()
[all …]
A Dkona_sdhci.c78 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks) in kona_sdhci_init() argument
90 switch (dev_index) { in kona_sdhci_init()
113 __func__, dev_index); in kona_sdhci_init()
A Dnexell_dw_mmc.c101 int index = host->dev_index; in nx_dw_mmc_get_clk()
124 int index = host->dev_index; in nx_dw_mmc_set_clk()
164 host->dev_index = val; in nexell_dwmmc_of_to_plat()
178 host->dev_index, host->name, (u32)host->ioaddr); in nexell_dwmmc_of_to_plat()
211 nx_dw_mmc_reset(host->dev_index); in nexell_dwmmc_probe()
A Dhi6220_dw_mmc.c43 host->dev_index = 0; in hi6220_dwmmc_of_to_plat()
45 host->dev_index = 1; in hi6220_dwmmc_of_to_plat()
A Drockchip_dw_mmc.c67 host->dev_index = 0; in rockchip_dwmmc_of_to_plat()
69 host->dev_index = 1; in rockchip_dwmmc_of_to_plat()
118 host->dev_index = 0; in rockchip_dwmmc_probe()
A Dftsdc010_mci.h28 int dev_index; member
/u-boot/drivers/serial/
A Dserial_ns16550.c153 serial_putc_dev(unsigned int dev_index,const char c) in serial_putc_dev() argument
155 _serial_putc(c,dev_index); in serial_putc_dev()
159 serial_puts_dev(unsigned int dev_index,const char *s) in serial_puts_dev() argument
161 _serial_puts(s,dev_index); in serial_puts_dev()
165 serial_getc_dev(unsigned int dev_index) in serial_getc_dev() argument
167 return _serial_getc(dev_index); in serial_getc_dev()
171 serial_tstc_dev(unsigned int dev_index) in serial_tstc_dev() argument
173 return _serial_tstc(dev_index); in serial_tstc_dev()
177 serial_setbrg_dev(unsigned int dev_index) in serial_setbrg_dev() argument
179 _serial_setbrg(dev_index); in serial_setbrg_dev()
/u-boot/arch/arm/mach-exynos/
A Dclock.c804 switch (dev_index) { in exynos4_get_mmc_clk()
823 if (dev_index == 1 || dev_index == 3) in exynos4_get_mmc_clk()
848 if (dev_index < 2) { in exynos4_set_mmc_clk()
852 } else if (dev_index == 4) { in exynos4_set_mmc_clk()
854 dev_index -= 4; in exynos4_set_mmc_clk()
860 dev_index -= 2; in exynos4_set_mmc_clk()
881 if (dev_index < 2) { in exynos5_set_mmc_clk()
885 dev_index -= 2; in exynos5_set_mmc_clk()
907 shift = dev_index * 10; in exynos5420_set_mmc_clk()
1644 switch (dev_index) { in get_uart_clk()
[all …]
A Dpower.c11 static void exynos4_mipi_phy_control(unsigned int dev_index, in exynos4_mipi_phy_control() argument
18 if (dev_index == 0) in exynos4_mipi_phy_control()
33 void set_mipi_phy_ctrl(unsigned int dev_index, unsigned int enable) in set_mipi_phy_ctrl() argument
36 exynos4_mipi_phy_control(dev_index, enable); in set_mipi_phy_ctrl()
/u-boot/arch/arm/mach-exynos/include/mach/
A Dclk.h41 unsigned long get_uart_clk(int dev_index);
42 unsigned long get_mmc_clk(int dev_index);
43 void set_mmc_clk(int dev_index, unsigned int div);
A Dmipi_dsim.h277 void (*phy_enable)(unsigned int dev_index, unsigned int enable);
/u-boot/cmd/
A Drockusb.c16 int controller_index, dev_index; in do_rockusb() local
34 dev_index = simple_strtoul(devnum, NULL, 0); in do_rockusb()
35 rockusb_dev_init(devtype, dev_index); in do_rockusb()
/u-boot/arch/arm/mach-s5pc1xx/include/mach/
A Dclk.h20 unsigned long get_uart_clk(int dev_index);
21 void set_mmc_clk(int dev_index, unsigned int div);
/u-boot/common/
A Dusb.c50 static int dev_index; variable
67 dev_index = 0; in usb_init()
97 start_index = dev_index; in usb_init()
111 if (start_index == dev_index) { in usb_init()
116 dev_index - start_index); in usb_init()
886 usb_dev[dev_index].devnum = dev_index + 1; in usb_alloc_new_device()
887 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device()
892 dev_index++; in usb_alloc_new_device()
893 *devp = &usb_dev[dev_index - 1]; in usb_alloc_new_device()
905 dev_index--; in usb_free_device()
[all …]
/u-boot/arch/arm/mach-s5pc1xx/
A Dclock.c280 static unsigned long s5pc1xx_get_uart_clk(int dev_index) in s5pc1xx_get_uart_clk() argument
318 unsigned long get_uart_clk(int dev_index) in get_uart_clk() argument
320 return s5pc1xx_get_uart_clk(dev_index); in get_uart_clk()
323 void set_mmc_clk(int dev_index, unsigned int div) in set_mmc_clk() argument
/u-boot/drivers/power/
A Dtwl4030.c155 void twl4030_power_mmc_init(int dev_index) in twl4030_power_mmc_init() argument
157 if (dev_index == 0) { in twl4030_power_mmc_init()
165 } else if (dev_index == 1) { in twl4030_power_mmc_init()
A Dtwl6030.c222 void twl6030_power_mmc_init(int dev_index) in twl6030_power_mmc_init() argument
226 if (dev_index == 0) { in twl6030_power_mmc_init()
234 } else if (dev_index == 1) { in twl6030_power_mmc_init()
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h120 unsigned int dev_index; member
134 void rockusb_dev_init(char *dev_type, int dev_index);
/u-boot/arch/arm/include/asm/iproc-common/
A Diproc_sdhci.h10 int iproc_sdhci_init(int dev_index, u32 quirks);
/u-boot/arch/arm/include/asm/kona-common/
A Dkona_sdhci.h9 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks);
/u-boot/drivers/usb/gadget/
A Df_rockusb.c319 void rockusb_dev_init(char *dev_type, int dev_index) in rockusb_dev_init() argument
324 f_rkusb->dev_index = dev_index; in rockusb_dev_init()
470 f_rkusb->dev_type, f_rkusb->dev_index); in tx_handler_ul_image()
519 f_rkusb->dev_index); in rx_handler_dl_image()
633 int index = f_rkusb->dev_index; in cb_read_lba()
675 int index = f_rkusb->dev_index; in cb_write_lba()
716 int index = f_rkusb->dev_index; in cb_erase_lba()
736 f_rkusb->dev_index); in cb_erase_lba()
/u-boot/lib/efi_loader/
A Defi_disk.c42 int dev_index; member
359 int dev_index, in efi_disk_add_dev() argument
445 diskobj->dev_index = dev_index; in efi_disk_add_dev()
/u-boot/include/
A Dtwl6030.h215 void twl6030_power_mmc_init(int dev_index);
/u-boot/include/faraday/
A Dftsdc010.h60 int ftsdc010_mmc_init(int dev_index);
/u-boot/arch/arm/include/asm/
A Domap_mmc.h235 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,

Completed in 33 milliseconds

12