Home
last modified time | relevance | path

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

12

/third_party/uboot/u-boot-2020.01/drivers/mmc/
Dexynos_dw_mmc.c71 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_get_clk()
110 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_core_init()
113 set_mmc_clk(host->dev_index, div); in exynos_dwmci_core_init()
128 printf("DWMMC%d registration failed\n", host->dev_index); in exynos_dwmci_core_init()
145 printf("DWMMC%d not configure\n", host->dev_index); in do_dwmci_init()
162 host->dev_index = fdtdec_get_int(blob, node, "index", host->dev_id); in exynos_dwmci_get_config()
163 if (host->dev_index == host->dev_id) in exynos_dwmci_get_config()
164 host->dev_index = host->dev_id - PERIPH_ID_SDMMC0; in exynos_dwmci_get_config()
166 if (host->dev_index > 4) { in exynos_dwmci_get_config()
167 printf("DWMMC%d: Can't get the dev index\n", host->dev_index); in exynos_dwmci_get_config()
[all …]
Dkona_sdhci.c77 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks) in kona_sdhci_init() argument
89 switch (dev_index) { in kona_sdhci_init()
112 __func__, dev_index); in kona_sdhci_init()
Drockchip_dw_mmc.c65 host->dev_index = 0; in rockchip_dwmmc_ofdata_to_platdata()
67 host->dev_index = 1; in rockchip_dwmmc_ofdata_to_platdata()
117 host->dev_index = 0; in rockchip_dwmmc_probe()
Dhi6220_dw_mmc.c42 host->dev_index = 0; in hi6220_dwmmc_ofdata_to_platdata()
44 host->dev_index = 1; in hi6220_dwmmc_ofdata_to_platdata()
Dftsdc010_mci.h28 int dev_index; member
/third_party/uboot/u-boot-2020.01/drivers/serial/
Dserial_ns16550.c156 serial_putc_dev(unsigned int dev_index,const char c) in serial_putc_dev() argument
158 _serial_putc(c,dev_index); in serial_putc_dev()
162 serial_puts_dev(unsigned int dev_index,const char *s) in serial_puts_dev() argument
164 _serial_puts(s,dev_index); in serial_puts_dev()
168 serial_getc_dev(unsigned int dev_index) in serial_getc_dev() argument
170 return _serial_getc(dev_index); in serial_getc_dev()
174 serial_tstc_dev(unsigned int dev_index) in serial_tstc_dev() argument
176 return _serial_tstc(dev_index); in serial_tstc_dev()
180 serial_setbrg_dev(unsigned int dev_index) in serial_setbrg_dev() argument
182 _serial_setbrg(dev_index); in serial_setbrg_dev()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-exynos/
Dclock.c692 static unsigned long exynos4_get_uart_clk(int dev_index) in exynos4_get_uart_clk() argument
710 sel = (sel >> (dev_index << 2)) & 0xf; in exynos4_get_uart_clk()
731 ratio = (ratio >> (dev_index << 2)) & 0xf; in exynos4_get_uart_clk()
739 static unsigned long exynos4x12_get_uart_clk(int dev_index) in exynos4x12_get_uart_clk() argument
756 sel = (sel >> (dev_index << 2)) & 0xf; in exynos4x12_get_uart_clk()
776 ratio = (ratio >> (dev_index << 2)) & 0xf; in exynos4x12_get_uart_clk()
783 static unsigned long exynos4_get_mmc_clk(int dev_index) in exynos4_get_mmc_clk() argument
792 sel = (sel >> (dev_index << 2)) & 0xf; in exynos4_get_mmc_clk()
803 switch (dev_index) { in exynos4_get_mmc_clk()
822 if (dev_index == 1 || dev_index == 3) in exynos4_get_mmc_clk()
[all …]
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()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-exynos/include/mach/
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);
Dmipi_dsim.h277 void (*phy_enable)(unsigned int dev_index, unsigned int enable);
/third_party/uboot/u-boot-2020.01/cmd/
Drockusb.c15 int controller_index, dev_index; in do_rockusb() local
33 dev_index = simple_strtoul(devnum, NULL, 0); in do_rockusb()
34 rockusb_dev_init(devtype, dev_index); in do_rockusb()
/third_party/uboot/u-boot-2020.01/common/
Dusb.c47 static int dev_index; variable
64 dev_index = 0; in usb_init()
94 start_index = dev_index; in usb_init()
108 if (start_index == dev_index) { in usb_init()
113 dev_index - start_index); in usb_init()
880 debug("New Device %d\n", dev_index); in usb_alloc_new_device()
881 if (dev_index == USB_MAX_DEVICE) { in usb_alloc_new_device()
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()
889 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/mach-s5pc1xx/include/mach/
Dclk.h20 unsigned long get_uart_clk(int dev_index);
21 void set_mmc_clk(int dev_index, unsigned int div);
/third_party/uboot/u-boot-2020.01/arch/arm/mach-s5pc1xx/
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
/third_party/uboot/u-boot-2020.01/drivers/power/
Dtwl4030.c153 void twl4030_power_mmc_init(int dev_index) in twl4030_power_mmc_init() argument
155 if (dev_index == 0) { in twl4030_power_mmc_init()
163 } else if (dev_index == 1) { in twl4030_power_mmc_init()
Dtwl6030.c221 void twl6030_power_mmc_init(int dev_index) in twl6030_power_mmc_init() argument
225 if (dev_index == 0) { in twl6030_power_mmc_init()
233 } else if (dev_index == 1) { in twl6030_power_mmc_init()
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/arch-rockchip/
Df_rockusb.h120 unsigned int dev_index; member
134 void rockusb_dev_init(char *dev_type, int dev_index);
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.h56 int dev_index; /* device index */ member
89 int dev_index; member
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/
Df_rockusb.c315 void rockusb_dev_init(char *dev_type, int dev_index) in rockusb_dev_init() argument
320 f_rkusb->dev_index = dev_index; in rockusb_dev_init()
466 f_rkusb->dev_type, f_rkusb->dev_index); in tx_handler_ul_image()
515 f_rkusb->dev_index); in rx_handler_dl_image()
629 int index = f_rkusb->dev_index; in cb_read_lba()
671 int index = f_rkusb->dev_index; in cb_write_lba()
712 int index = f_rkusb->dev_index; in cb_erase_lba()
732 f_rkusb->dev_index); in cb_erase_lba()
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/iproc-common/
Diproc_sdhci.h10 int iproc_sdhci_init(int dev_index, u32 quirks);
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/kona-common/
Dkona_sdhci.h9 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks);
/third_party/uboot/u-boot-2020.01/lib/efi_loader/
Defi_disk.c36 int dev_index; member
303 int dev_index, in efi_disk_add_dev() argument
353 diskobj->dev_index = dev_index; in efi_disk_add_dev()
/third_party/uboot/u-boot-2020.01/include/
Dtwl6030.h215 void twl6030_power_mmc_init(int dev_index);
/third_party/uboot/u-boot-2020.01/include/faraday/
Dftsdc010.h59 int ftsdc010_mmc_init(int dev_index);
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/
Domap_mmc.h232 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,

12