Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/mmc/
Dexynos_dw_mmc.c67 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_get_clk()
106 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_core_init()
109 set_mmc_clk(host->dev_index, div); in exynos_dwmci_core_init()
124 printf("DWMMC%d registration failed\n", host->dev_index); in exynos_dwmci_core_init()
141 printf("DWMMC%d not configure\n", host->dev_index); in do_dwmci_init()
164 host->dev_index = fdtdec_get_int(blob, node, "index", host->dev_id); in exynos_dwmci_get_config()
165 if (host->dev_index == host->dev_id) in exynos_dwmci_get_config()
166 host->dev_index = host->dev_id - PERIPH_ID_SDMMC0; in exynos_dwmci_get_config()
168 if (host->dev_index > 4) { in exynos_dwmci_get_config()
169 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()
112 host->dev_index = 0; in rockchip_dwmmc_probe()
Dftsdc010_mci.h28 int dev_index; member
Dhi6220_dw_mmc.c24 host->dev_index = index; in hi6220_dwmci_core_init()
/external/u-boot/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()
/external/u-boot/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()
/external/u-boot/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()
868 debug("New Device %d\n", dev_index); in usb_alloc_new_device()
869 if (dev_index == USB_MAX_DEVICE) { in usb_alloc_new_device()
874 usb_dev[dev_index].devnum = dev_index + 1; in usb_alloc_new_device()
875 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device()
877 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device()
[all …]
/external/u-boot/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);
/external/u-boot/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()
/external/u-boot/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
/external/u-boot/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()
/external/adhd/cras/src/tests/
Dcras_test_client.c1365 int dev_index = atoi(strtok(optarg, ":")); in main() local
1368 cras_node_id_t id = cras_make_node_id(dev_index, in main()
1376 int dev_index = atoi(strtok(optarg, ":")); in main() local
1378 cras_node_id_t id = cras_make_node_id(dev_index, in main()
1393 int dev_index = atoi(strtok(optarg, ":")); in main() local
1396 cras_node_id_t id = cras_make_node_id(dev_index, in main()
1413 int dev_index; in main() local
1422 dev_index = atoi(s); in main()
1438 cras_node_id_t id = cras_make_node_id(dev_index, in main()
1467 int dev_index = atoi(strtok(optarg, ":")); in main() local
[all …]
Dcras_monitor.c70 uint32_t dev_index = dev_index_of(node_id); in node_array_index_of_node_id() local
75 if (nodes[i].iodev_idx == dev_index && in node_array_index_of_node_id()
/external/u-boot/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);
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Df_rockusb.h118 unsigned int dev_index; member
130 void rockusb_dev_init(char *dev_type, int dev_index);
/external/u-boot/lib/efi_loader/
Defi_disk.c26 int dev_index; member
233 int dev_index, in efi_disk_add_dev() argument
281 diskobj->dev_index = dev_index; in efi_disk_add_dev()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h47 int dev_index; member
52 dev_index(0), in MemDesc()
/external/iproute2/ip/
Diplink.c238 static int nl_get_ll_addr_len(unsigned int dev_index) in nl_get_ll_addr_len() argument
249 .ifi_index = dev_index, in nl_get_ll_addr_len()
323 struct iplink_req *req, int dev_index) in iplink_parse_vf() argument
359 int halen = nl_get_ll_addr_len(dev_index); in iplink_parse_vf()
528 ipaddr_get_vf_rate(tivt.vf, &tmin, &tmax, dev_index); in iplink_parse_vf()
560 int dev_index = 0; in iplink_parse() local
715 if (dev_index == 0) in iplink_parse()
718 len = iplink_parse_vf(vf, &argc, &argv, req, dev_index); in iplink_parse()
856 dev_index = ll_name_to_index(*dev); in iplink_parse()
861 if (dev_index && addr_len) { in iplink_parse()
[all …]
/external/u-boot/arch/arm/include/asm/kona-common/
Dkona_sdhci.h9 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks);
/external/u-boot/drivers/usb/gadget/
Df_rockusb.c314 void rockusb_dev_init(char *dev_type, int dev_index) in rockusb_dev_init() argument
319 f_rkusb->dev_index = dev_index; in rockusb_dev_init()
421 int index = f_rkusb->dev_index; in rx_handler_dl_image()
453 f_rkusb->dev_index); in rx_handler_dl_image()
/external/kernel-headers/original/uapi/linux/
Dpktcdvd.h98 __u32 dev_index; /* in/out: Device index */ member
/external/adhd/cras/src/common/
Dcras_types.h160 static inline cras_node_id_t cras_make_node_id(uint32_t dev_index, in cras_make_node_id() argument
163 cras_node_id_t id = dev_index; in cras_make_node_id()

12