• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C++ s3c24xx_init_uartdevs函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中s3c24xx_init_uartdevs函数的典型用法代码示例。如果您正苦于以下问题:C++ s3c24xx_init_uartdevs函数的具体用法?C++ s3c24xx_init_uartdevs怎么用?C++ s3c24xx_init_uartdevs使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了s3c24xx_init_uartdevs函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: exynos_init_uarts

static void __init exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
    struct s3c2410_uartcfg *tcfg = cfg;
    u32 ucnt;

    for (ucnt = 0; ucnt < no; ucnt++, tcfg++)
        tcfg->has_fracval = 1;

    if (soc_is_exynos5250())
        s3c24xx_init_uartdevs("exynos4210-uart", exynos5_uart_resources, cfg, no);
    else
        s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no);
}
开发者ID:rslotte,项目名称:OGS-Arm,代码行数:13,代码来源:common.c


示例2: s3c2443_init_uarts

void __init s3c2443_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
    s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no);

    /* rename devices that are s3c2413/s3c2443/s3c6400 specific */
    s3c_device_lcd.name  = "s3c-lcd";
}
开发者ID:maliyu,项目名称:SOM2416,代码行数:7,代码来源:s3c2443.c


示例3: s3c2412_init_uarts

void __init s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c2412-uart", s3c2410_uart_resources, cfg, no);

	/* rename devices that are s3c2412/s3c2413 specific */
	s3c_device_sdi.name  = "s3c2412-sdi";
	s3c_device_lcd.name  = "s3c2412-lcd";
	s3c_device_nand.name = "s3c2412-nand";
}
开发者ID:ivucica,项目名称:linux,代码行数:9,代码来源:s3c2412.c


示例4: exynos4_init_uarts

void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	struct s3c2410_uartcfg *tcfg = cfg;
	u32 ucnt;

	for (ucnt = 0; ucnt < no; ucnt++, tcfg++)
		tcfg->has_fracval = 1;

	s3c24xx_init_uartdevs("exynos4210-uart", s5p_uart_resources, cfg, no);
}
开发者ID:33d,项目名称:linux-2.6.21-hh20,代码行数:10,代码来源:common.c


示例5: s5p6440_init_uarts

/* uart registration process */
void __init s5p6440_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	int uart;

	for (uart = 0; uart < no; uart++) {
		s5p_uart_resources[uart].resources->start = S5P6440_PA_UART(uart);
		s5p_uart_resources[uart].resources->end = S5P6440_PA_UART(uart) + S5P_SZ_UART;
	}

	s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no);
}
开发者ID:33d,项目名称:linux-2.6.21-hh20,代码行数:12,代码来源:common.c


示例6: s5p6440_common_init_uarts

/* uart registration process */
void __init s5p6440_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	struct s3c2410_uartcfg *tcfg = cfg;
	u32 ucnt;

	for (ucnt = 0; ucnt < no; ucnt++, tcfg++) {
		if (!tcfg->clocks) {
			tcfg->clocks = s5p6440_serial_clocks;
			tcfg->clocks_size = ARRAY_SIZE(s5p6440_serial_clocks);
		}
	}

	s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no);
}
开发者ID:12019,项目名称:android_kernel_samsung_xcover,代码行数:15,代码来源:init.c


示例7: exynos_common_init_uarts

/* uart registration process */
void __init exynos_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	struct s3c2410_uartcfg *tcfg = cfg;
	u32 ucnt;

	for (ucnt = 0; ucnt < no; ucnt++, tcfg++) {
		if (!tcfg->clocks) {
			tcfg->has_fracval = 1;
			tcfg->clocks = exynos_serial_clocks;
			tcfg->clocks_size = ARRAY_SIZE(exynos_serial_clocks);
		}
		tcfg->flags |= NO_NEED_CHECK_CLKSRC;
	}

	s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no);
}
开发者ID:0x7678,项目名称:SJKernel-gn2,代码行数:17,代码来源:init.c


示例8: s3c2412_init_uarts

void __init s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
    s3c24xx_init_uartdevs("s3c2412-uart", s3c2410_uart_resources, cfg, no);

    /* rename devices that are s3c2412/s3c2413 specific */
    s3c_device_sdi.name  = "s3c2412-sdi";
    s3c_device_lcd.name  = "s3c2412-lcd";
    s3c_device_nand.name = "s3c2412-nand";

    /* alter IRQ of SDI controller */

    s3c_device_sdi.resource[1].start = IRQ_S3C2412_SDI;
    s3c_device_sdi.resource[1].end   = IRQ_S3C2412_SDI;

    /* spi channel related changes, s3c2412/13 specific */
    s3c_device_spi0.name = "s3c2412-spi";
    s3c_device_spi0.resource[0].end = S3C24XX_PA_SPI + 0x24;
    s3c_device_spi1.name = "s3c2412-spi";
    s3c_device_spi1.resource[0].start = S3C24XX_PA_SPI + S3C2412_SPI1;
    s3c_device_spi1.resource[0].end = S3C24XX_PA_SPI + S3C2412_SPI1 + 0x24;

}
开发者ID:274914765,项目名称:C,代码行数:22,代码来源:s3c2412.c


示例9: s3c2412_init_uarts

void __init s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c2412-uart", s3c2410_uart_resources, cfg, no);

	
	s3c_device_sdi.name  = "s3c2412-sdi";
	s3c_device_lcd.name  = "s3c2412-lcd";
	s3c_nand_setname("s3c2412-nand");

	

	s3c_device_sdi.resource[1].start = IRQ_S3C2412_SDI;
	s3c_device_sdi.resource[1].end   = IRQ_S3C2412_SDI;

	
	s3c_device_spi0.name = "s3c2412-spi";
	s3c_device_spi0.resource[0].end = S3C24XX_PA_SPI + 0x24;
	s3c_device_spi1.name = "s3c2412-spi";
	s3c_device_spi1.resource[0].start = S3C24XX_PA_SPI + S3C2412_SPI1;
	s3c_device_spi1.resource[0].end = S3C24XX_PA_SPI + S3C2412_SPI1 + 0x24;

}
开发者ID:Blackburn29,项目名称:PsycoKernel,代码行数:22,代码来源:s3c2412.c


示例10: s3c2416_init_uarts

void __init s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no);

	s3c_nand_setname("s3c2412-nand");
}
开发者ID:Adjustxx,项目名称:Savaged-Zen,代码行数:6,代码来源:s3c2416.c


示例11: s3c244x_init_uarts

void __init s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no);
}
开发者ID:24hours,项目名称:linux,代码行数:4,代码来源:s3c244x.c


示例12: s3c6400_common_init_uarts

void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no);
}
开发者ID:CSCLOG,项目名称:beaglebone,代码行数:4,代码来源:cpu.c


示例13: s5p6450_init_uarts

void __init s5p6450_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no);
}
开发者ID:33d,项目名称:linux-2.6.21-hh20,代码行数:4,代码来源:common.c


示例14: s3c2416_init_uarts

void __init s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no);

	s3c_device_nand.name = "s3c2416-nand";
}
开发者ID:12019,项目名称:android_kernel_samsung_xcover,代码行数:6,代码来源:s3c2416.c



注:本文中的s3c24xx_init_uartdevs函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ s3c24xx_init_uarts函数代码示例发布时间:2022-05-30
下一篇:
C++ s3c24xx_init_clocks函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap