コード例 #1
0
void diag_sdio_fn(int type)
{
	if (machine_is_msm8x60_fusion() || machine_is_msm8x60_fusn_ffa()) {
		if (type == INIT)
			diagfwd_sdio_init();
		else if (type == EXIT)
			diagfwd_sdio_exit();
	}
}
コード例 #2
0
void diag_sdio_fn(int type)
{
	if (diag_support_mdm9k) {
		if (type == INIT)
			diagfwd_sdio_init();
		else if (type == EXIT)
			diagfwd_sdio_exit();
	}
}
コード例 #3
0
static void __exit diagchar_exit(void)
{
	DIAG_INFO("diagchar exiting ..\n");
	/* On Driver exit, send special pool type to
	 ensure no memory leaks */
	diagmem_exit(driver, POOL_TYPE_ALL);
	diagfwd_exit();
#if defined(CONFIG_ARCH_MSM8X60_LTE)
	diagfwd_sdio_exit();
#endif
	diagchar_cleanup();
	DIAG_INFO("done diagchar exit\n");
}
コード例 #4
0
void diag_sdio_fn(int type)
{
	if (machine_is_msm8x60_fusion() || machine_is_msm8x60_fusn_ffa()
#ifdef CONFIG_MACH_MSM8X60_PORORO
		|| machine_is_msm8x60_pororo()
#endif
	) {
		if (type == INIT)
			diagfwd_sdio_init();
		else if (type == EXIT)
			diagfwd_sdio_exit();
	}
}
コード例 #5
0
static void __exit diagchar_exit(void)
{
	printk(KERN_INFO "diagchar exiting ..\n");
	/* On Driver exit, send special pool type to
	 ensure no memory leaks */
	diagmem_exit(driver, POOL_TYPE_ALL);
	diagfwd_exit();
#ifdef CONFIG_DIAG_SDIO_PIPE
	if (machine_is_msm8x60_charm_surf() || machine_is_msm8x60_charm_ffa())
		diagfwd_sdio_exit();
#endif
	diagchar_cleanup();
	printk(KERN_INFO "done diagchar exit\n");
}
コード例 #6
0
void diag_sdio_fn(int type)
{
	if (
#ifdef CONFIG_MACH_LGE_325_BOARD
		machine_is_lge_325_board() || 
#endif
#ifdef CONFIG_MACH_LGE_I_BOARD
		machine_is_lge_i_board() ||
#endif
		machine_is_msm8x60_fusion() || machine_is_msm8x60_fusn_ffa()) {
		if (type == INIT)
			diagfwd_sdio_init();
		else if (type == EXIT)
			diagfwd_sdio_exit();
	}
}