repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/modules/sensor/gc2155.c | <gh_stars>0
/*
* A V4L2 driver for GalaxyCore gc2155 cameras.
*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <linux/clk.h>
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>
#include <... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp22/axp22.c | #include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/reboot.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/mfd/core.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linu... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/lcd/tft720x1280.c | #include "tft720x1280.h"
extern s32 bsp_disp_get_panel_info(u32 screen_id, disp_panel_para *info);
static void LCD_power_on(u32 sel);
static void LCD_power_off(u32 sel);
static void LCD_bl_open(u32 sel);
static void LCD_bl_close(u32 sel);
static void LCD_panel_init(u32 sel);
static void LCD_panel_exit(u32 sel);
#def... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp20/axp20-regu.h | <reponame>lanpinguo/rootfs_build<gh_stars>0
#ifndef _LINUX_AXP20_REGU_H_
#define _LINUX_AXP20_REGU_H_
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
enum {
AXP20_ID_LDO1,
AXP20_ID_LDO2,
AXP20_ID_LDO3,
AXP20_ID_LDO4,
AXP20_ID_LDOIO0 = AXP_LDOIO_ID_START,
AXP20_ID_DCDC2 = AXP_DCDC_ID_ST... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/bcmdhd/dhd_config.c | <filename>kernel/drivers/net/wireless/bcmdhd/dhd_config.c
#include <typedefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <hndsoc.h>
#include <bcmsdbus.h>
#if defined(HW_OOB) || defined(FORCE_WOWLAN)
#include <bcmdefs.h>
#include <bcmsdh.h>
#include <sdio.h>
#include <sbchipc.h>
#endif
#include <d... |
lanpinguo/rootfs_build | kernel/drivers/bluetooth/hci_h4.c | <gh_stars>0
/*
*
* Bluetooth HCI UART driver
*
* Copyright (C) 2000-2001 Qualcomm Incorporated
* Copyright (C) 2002-2003 <NAME> <<EMAIL>>
* Copyright (C) 2004-2005 <NAME> <<EMAIL>>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi_sndcodec.c | /*
* sound\soc\sunxi\sunxi_sndcodec.c
* (C) Copyright 2014-2017
* Reuuimlla Technology Co., Ltd. <www.reuuimllatech.com>
* huangxin <<EMAIL>>
* liushaohua <<EMAIL>>
*
* some simple description for this code
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GN... |
lanpinguo/rootfs_build | kernel/drivers/usb/host/ohci_sunxi.c | <reponame>lanpinguo/rootfs_build
/*
* drivers/usb/host/ohci_sunxi.c
* (C) Copyright 2010-2015
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* yangnaitian, 2011-5-24, create this file
* javen, 2011-6-26, add suspend and resume
* javen, 2011-7-18, move clock and power operations out from driver
*
* OHC... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power_legacy/axp-device.c | #include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/string.h>
#include "axp-cfg.h"
static struct of_device_id axp_device_match[] = {
{ .compatible = "allwinner,", .data = NULL },
{ }
};
static s32 axp_device_probe(struct platform_device *pd... |
lanpinguo/rootfs_build | kernel/drivers/misc/sunxi-rf/sunxi-wlan.c | <filename>kernel/drivers/misc/sunxi-rf/sunxi-wlan.c
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/err.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/of_gpio.h>
#include <linux/clk.h>
#include <linux/int... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_bws_type.h | <filename>u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_bws_type.h
/*****************************************************************************
* All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
* File name : de_bws_type.h
*
* Description : display engine 2.0 bws struct declarat... |
lanpinguo/rootfs_build | u-boot/arch/arm/include/asm/arch-sun8iw11p1/nand_boot0.h | /*
************************************************************************************************************************
* eGON
* the Embedded GO-ON Bootloader System
*
* Copyright(C), 2006-200... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8188eu/hal/phydm/rtl8188e/version_rtl8188e.h | /*RTL8188E PHY Parameters*/
#define SVN_COMMIT_VERSION_8188E 65
#define RELEASE_DATE_8188E 20150610
#define COMMIT_BY_8188E "BB_LUKE"
#define RELEASE_VERSION_8188E 63
|
lanpinguo/rootfs_build | u-boot/drivers/sunxi_flash/sunxi_flash.c | <filename>u-boot/drivers/sunxi_flash/sunxi_flash.c
/*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it un... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp259/axp259-charger.c | <filename>kernel/drivers/power/axp_power/axp259/axp259-charger.c
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/workqueue.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux... |
lanpinguo/rootfs_build | kernel/security/optee/core/tee_supp_com.c | <gh_stars>0
/*
* Copyright (c) 2014, STMicroelectronics International N.V.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License Version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... |
lanpinguo/rootfs_build | kernel/arch/arm/mach-clps711x/common.c | /*
* linux/arch/arm/mach-clps711x/core.c
*
* Core support for the CLPS711x-based machines.
*
* Copyright (C) 2001,2011 Deep Blue Solutions Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/sunxi-sid-efuse.h | /*
* The key define in SUNXI Efuse.
*
* Copyright (C) 2016 Allwinner.
*
* Matteo <<EMAIL>>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#ifndef __SUNXI_SID_EFUSE_H_... |
lanpinguo/rootfs_build | u-boot/common/cmd_fat.c | /*
* (C) Copyright 2002
* <NAME>, <EMAIL>
*
* SPDX-License-Identifier: GPL-2.0+
*/
/*
* Boot support
*/
#include <common.h>
#include <command.h>
#include <s_record.h>
#include <net.h>
#include <ata.h>
#include <asm/io.h>
#include <part.h>
#include <fat.h>
#include <fs.h>
#include <sys_partition.h>
int do_fat_f... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-mipi/protocol/protocol_reg.c | <gh_stars>0
/*
* sunxi mipi protocol low-level interface
* Author:raymonxiu
*/
#include "protocol_reg_i.h"
#include "protocol.h"
#include "protocol_reg.h"
MIPI_CSI2_CTL_t *mipi_csi2_ctl[MAX_MIPI_PTL];
MIPI_CSI2_CFG_t *mipi_csi2_cfg[MAX_MIPI_PTL];
MIPI_CSI2_VCDT_RX_t *mipi_csi2_vcdt_rx[MAX_MIPI_PTL];
MIPI_CSI2_RX_P... |
lanpinguo/rootfs_build | u-boot/drivers/power/sunxi/axp22.c | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
... |
lanpinguo/rootfs_build | kernel/drivers/thermal/sunxi_thermal/sun50iw2_ths.h | #ifndef SUN50IW2_TH_H
#define SUN50IW2_TH_H
#define SENSOR_CNT (2)
#define THS_CLK (24000000)
/* when temperature <= 70C (sample_data >= 0x500)
* temperature = -0.1191*sensor + 223
* = (2230000 - 1191*sensor)/10000
* = (233832448 - 124885.4016*sensor)/1024/1024
* = (233832448 - 12... |
lanpinguo/rootfs_build | kernel/drivers/arisc/arisc.c | /*
* drivers/arisc/arisc.c
*
* Copyright (c) 2012 Allwinner.
* 2012-05-01 Written by sunny (<EMAIL>).
* 2012-10-01 Written by superm (<EMAIL>).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/rtl8192e/halphyrf_8192e_win.h | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/rtl8192e/halphyrf_8192e_win.h
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify ... |
lanpinguo/rootfs_build | u-boot/arch/arm/include/asm/arch-sun8iw11p1/spi.h | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm_config-sun8iw6p1.h | #ifndef _PM_CONFIG_SUN8IW6P1_H
#define _PM_CONFIG_SUN8IW6P1_H
/*
* Copyright (c) 2011-2015 <EMAIL>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include "pm_def_i.h"
#include... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp20/axp20-charger.c | <reponame>lanpinguo/rootfs_build
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/workqueue.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/po... |
lanpinguo/rootfs_build | kernel/include/linux/dma/sunxi/dma-sun8iw11.h | #ifndef __DMA_SUN8IW10__
#define __DMA_SUN8IW10__
#define DRQSRC_SRAM 0
#define DRQSRC_SDRAM 0
#define DRQSRC_SPDIFRX 2
#define DRQSRC_OWARX DRQSRC_SPDIFRX
#define DRQSRC_DAUDIO_0_RX 3
#define DRQSRC_DAI0_RX DRQSRC_DAUDIO_0_RX
#define DRQSRC_DAUDIO_1_RX 4
#define DRQSRC_DAI1_RX DRQSRC_DAUDIO_1_RX
#define DRQSRC_... |
lanpinguo/rootfs_build | kernel/drivers/input/keyboard/sunxi-keypad.c | <reponame>lanpinguo/rootfs_build
/*
* Copyright (c) 2013-2015 <EMAIL>,qys<<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-csi/csi_reg.c | /*
******************************************************************************
*
* csi_reg.c
*
* Hawkview ISP - csi_reg.c module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 2.0 <NAME> 2014/07/15 Sec... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/disp_format_convert.h | <filename>kernel/drivers/video/sunxi/disp2/disp/de/disp_format_convert.h<gh_stars>0
#ifndef __DISP_FORMAT_CONVERT_H__
#define __DISP_FORMAT_CONVERT_H__
#include "disp_private.h"
#endif
|
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/standby_divlib.h | #ifndef _STANDBY_DIVLIBC_H
#define _STANDBY_DIVLIBC_H
void __mem_div0(void);
__u32 raw_lib_udiv(__u32 dividend, __u32 divisior);
void standby_delay(int cycle);
void standby_delay_cycle(int cycle);
#endif /*_MEM_DIVLIBC_H*/
|
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/PhyDM_Adaptivity.c | <filename>kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/PhyDM_Adaptivity.c
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redi... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/led/hal_usb_led.c | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/led/hal_usb_led.c
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistri... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-mipi/sunxi_mipi.c |
/*
******************************************************************************
*
* sunxi_mipi.c
*
* Hawkview ISP - sunxi_mipi.c module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 <NAME> 2015/02/27 ISP T... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_pre_define.h | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_pre_define.h
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can r... |
lanpinguo/rootfs_build | u-boot/arch/arm/include/asm/arch-sun8iw11p1/spinor.h | <gh_stars>0
/*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* wangwei <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publi... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/linux/mali_memory_ump.c | /*
* Copyright (C) 2012-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* ... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sun8iw11_codec.h | <gh_stars>0
/*
* sound\soc\sunxi\sun8iw11codec.h
* (C) Copyright 2014-2016
* allwinner Technology Co., Ltd. <www.allwinnertech.com>
* huangxin <<EMAIL>>
*
* some simple description for this code
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Pub... |
lanpinguo/rootfs_build | u-boot/nand_sunxi/nand_interface/nand_for_uboot.c | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/modules/actuator/ad5820_act.c | /*
* sunxi actuator driver
*/
#include "actuator.h"
#define SUNXI_ACT_NAME "ad5820_act"
#define SUNXI_ACT_ID 0x18
#define TOTAL_STEPS_ACTIVE 64
DEFINE_MUTEX(act_mutex);
static struct actuator_ctrl_t act_t;
/*
Please implement this for each actuator device!!!
*/
static int subdev_i2c_write(struct actuator_... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/common/mali_pp_job.h | <reponame>lanpinguo/rootfs_build
/*
* Copyright (C) 2011-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the t... |
lanpinguo/rootfs_build | u-boot/sprite/firmware/imgdecode.h | <gh_stars>0
/*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... |
lanpinguo/rootfs_build | u-boot/drivers/arisc/arisc.c | /*
* drivers/arisc/arisc.c
*
* Copyright (c) 2012 Allwinner.
* 2012-05-01 Written by sunny (<EMAIL>).
* 2012-10-01 Written by superm (<EMAIL>).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-stat/vin_h3a.h |
/*
******************************************************************************
*
* vin_3a.h
*
* Hawkview ISP - vin_3a.h module
*
* Copyright (c) 2016 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 <NAME> 2016/03/11 VIDEO INPUT
... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vfe/vfe_os.c | #include <linux/module.h>
#include "vfe_os.h"
unsigned int vfe_dbg_en = 0;
unsigned int vfe_dbg_lv = 1;
EXPORT_SYMBOL_GPL(vfe_dbg_en);
EXPORT_SYMBOL_GPL(vfe_dbg_lv);
int os_gpio_request(struct vfe_gpio_cfg *gpio_list, __u32 group_count_max)
{
#ifdef VFE_GPIO
int ret = 0;
struct gpio_config pin_cfg;
if(gpio_l... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_scaler.h | /**
* All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
* File name : de_scaler.h
*
* Description : display engine 2.0 gsu/vsu basic function
* declaration
*
* History : 2014/03/20 <NAME> v0.1 Initial version
*
*/
#ifndef __DE_SCALER_H__
#define __D... |
lanpinguo/rootfs_build | kernel/drivers/input/touchscreen/gslx680new/gslX680.h | #ifndef GSLX680NEW
#define GSLX680NEW
#define TPD_X_RES 768
#define TPD_Y_RES 1024
//#define STRETCH_FRAME
#ifdef STRETCH_FRAME
#define CTP_MAX_X TPD_X_RES
#define CTP_MAX_Y TPD_Y_RES
#define X_STRETCH_MAX (CTP_MAX_X/12)
#define Y_STRETCH_MAX (CTP_MAX_Y/20)
#define XL_RATIO_1 25
#define XL_... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/rtl8192e/rtl8192e_rxdesc.c | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... |
lanpinguo/rootfs_build | kernel/drivers/arisc/interfaces/arisc_axp.c | /*
* drivers/arisc/interfaces/arisc_axp.c
*
* Copyright (c) 2012 Allwinner.
* 2012-05-01 Written by sunny (<EMAIL>).
* 2012-10-01 Written by superm (<EMAIL>).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the F... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/disp_vga.h | #ifndef __DISP_VGA_H__
#define __DISP_VGA_H__
#include "disp_private.h"
#include "disp_display.h"
struct disp_vga_private_data {
bool enabled;
bool suspended;
enum disp_tv_mode vga_mode;
struct disp_tv_func tv_func;
struct disp_video_timings *video_info;
struct disp_clk_info lcd_clk;
struct clk *clk;
struct... |
lanpinguo/rootfs_build | kernel/arch/arm/mach-prima2/common.h | <filename>kernel/arch/arm/mach-prima2/common.h<gh_stars>1-10
/*
* This file contains common function prototypes to avoid externs in the c files.
*
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#ifndef __MACH_PRIMA2_COMMON_H__
#define __MACH_P... |
lanpinguo/rootfs_build | u-boot/board/sunxi/common/bootGUI/dev_manage.h | #ifndef __DEV_MANAGE_H__
#define __DEV_MANAGE_H__
#include "video_hal.h"
#include <common.h>
enum {
DISP_OUTPUT_TYPE_NONE = 0,
DISP_OUTPUT_TYPE_LCD = 1,
DISP_OUTPUT_TYPE_TV = 2,
DISP_OUTPUT_TYPE_HDMI = 4,
DISP_OUTPUT_TYPE_VGA = 8,
};
enum {
DISP_TV_MOD_480I = 0,
DISP_TV_MOD_576I ... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm_errcode.c | <reponame>lanpinguo/rootfs_build
#include "pm_i.h"
static struct errstr_t {
int last_err;
const char **error_array; /*save string info for corresponding err code. */
} pm_errstr_array[MOD_MAX_COUNT];
static const char *pm_errstr_suspend_cpu0[ERR_SUSPEND_CPUXSYS_MAX_];
static void suspend_cpu0_errstr_init(void)
{
p... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/disp_lcd.h |
#ifndef __DISP_LCD_H__
#define __DISP_LCD_H__
#include "disp_private.h"
#define LCD_GPIO_NUM 8
#define LCD_POWER_NUM 4
#define LCD_POWER_STR_LEN 32
#define LCD_GPIO_REGU_NUM 3
#define LCD_GPIO_SCL (LCD_GPIO_NUM-2)
#define LCD_GPIO_SDA (LCD_GPIO_NUM-1)
typedef struct
{
bool lcd_used;
bool ... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vfe/csi/sunxi_csi.c |
/*
***************************************************************************************
*
* sunxi_csi.c
*
* Hawkview ISP - sunxi_csi.c module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 <NAME> 20... |
lanpinguo/rootfs_build | kernel/drivers/arisc/interfaces/arisc_twi.c | <filename>kernel/drivers/arisc/interfaces/arisc_twi.c<gh_stars>0
/*
* drivers/arisc/interfaces/arisc_rsb.c
*
* Copyright (c) 2013 Allwinner.
* 2013-07-01 Written by superm (<EMAIL>).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... |
lanpinguo/rootfs_build | kernel/drivers/media/rc/rc-sunxi-keymaps.c | /* Sunxi Remote Controller
*
* keymap imported from ir-keymaps.c
*
* Copyright (c) 2014 by allwinnertech
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-vipp/sunxi_scaler.c |
/*
*****************************************************************************
*
* sunxi_scaler.c
*
* Hawkview ISP - sunxi_scaler.c module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 <NAME> 2014/12/11 I... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/include/Hal8192EPhyCfg.h | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... |
lanpinguo/rootfs_build | u-boot/arch/arm/include/asm/arch-sun8iw10p1/ccmu.h | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-mipi/protocol.h | #ifndef __PROTOCOL__H__
#define __PROTOCOL__H__
enum bit_order {
LSB_FST,
MSB_FST,
};
enum byte_order {
WCh_WCl_DI,
DI_WCh_WCl,
WCl_WCh, DI,
DI_WCl_WCh,
};
enum source_type {
PROGRESSIVE,
INTERLACED,
};
enum line_sync {
TGL_PKT,
TGL_LSLE,
};
enum pkt_fmt {
MIPI_FS = 0X00, /*short packet*/
MIPI_FE = 0X... |
lanpinguo/rootfs_build | kernel/security/optee/core/tee_kernel_api.c | /*
* Copyright (c) 2014, STMicroelectronics International N.V.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License Version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... |
lanpinguo/rootfs_build | kernel/security/fivm.c | /*
*
* Copyright (C) 2014 Allwinner Ltd.
*
* Author:
* <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any lat... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/btc/HalBtc8192e2Ant.c | <reponame>lanpinguo/rootfs_build
/* ************************************************************
* Description:
*
* This file is for RTL8192E Co-exist mechanism
*
* History
* 2012/11/15 Cosa first check in.
*
* ************************************************************ */
/* *********************************... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vfe/flash_light/flash.h | <gh_stars>0
/*
* sunxi camera flash device header file
*/
#ifndef __FLASH_H__
#define __FLASH_H__
#include <linux/module.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-dev.h>
#include "../vfe_subdev.h"
#include "../device/camera_cfg.h"
#include "../vfe_os.h"
typedef enum sunxi_flash_ctrl {
SW_CTRL_FLASH_... |
lanpinguo/rootfs_build | kernel/drivers/input/keyboard/sunxi-keyacc.c | /*
* Copyright (c) 2013-2015 <EMAIL>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is di... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-cci/bsp_cci.h |
/*
******************************************************************************
*
* bsp_cci.h
*
* Hawkview ISP - bsp_cci.h module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 <NAME> 2015/12/02 ISP Tuning... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi_i2s.c | /*
* sound\soc\sunxi\sunxi-i2s.c
* (C) Copyright 2014-2016
* Reuuimlla Technology Co., Ltd. <www.reuuimllatech.com>
* huangxin <<EMAIL>>
* <NAME> <<EMAIL>>
*
* some simple description for this code
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8189es/os_dep/linux/sdio_intf.c | <gh_stars>0
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* publi... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/disp_private.h | #ifndef _DISP_PRIVATE_H_
#define _DISP_PRIVATE_H_
#include "disp_features.h"
#if defined(CONFIG_ARCH_SUN50IW1P1)
#include "./lowlevel_sun50iw1/disp_al.h"
#elif defined(CONFIG_ARCH_SUN50IW2)
#include "./lowlevel_v2x/disp_al.h"
#elif defined(CONFIG_ARCH_SUN8IW10)
#include "./lowlevel_sun8iw10/disp_al.h"
#elif defined(CO... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi_spdif.h | <gh_stars>0
/*
* sound\soc\sunxi\spdif\sunxi_spdif.h
* (C) Copyright 2010-2016
* AllWinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* some simple description for this code
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General P... |
lanpinguo/rootfs_build | u-boot/arch/arm/cpu/armv7/sun8iw10p1/nand/nand_bsp/nfc_for_boot0/src/nfc_for_boot0.c | <reponame>lanpinguo/rootfs_build<gh_stars>0
/*
*********************************************************************************************************
* eBIOS
* the Base Input Output Subrutines
* dma controller sub system
*
* (c) Copyright 2006-20... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_memory.c | <gh_stars>0
/*
* Copyright (C) 2013-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU lice... |
lanpinguo/rootfs_build | kernel/drivers/char/dump_reg/dump_reg.c | /*
* drivers/char/dump_reg/dump_reg.c
*
* Copyright(c) 2015-2018 Allwinnertech Co., Ltd.
* http://www.allwinnertech.com
*
* Author: Liugang <<EMAIL>>
* Xiafeng <<EMAIL>>
*
* dump registers sysfs driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8188eu/core/rtw_pwrctrl.c | /******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU Genera... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/disp_tv.c | <filename>kernel/drivers/video/sunxi/disp2/disp/de/disp_tv.c
#include "disp_tv.h"
#if defined(SUPPORT_TV)
#define TVE_COUNT 1
static spinlock_t g_tv_data_lock;
static struct disp_device *g_ptv_devices = NULL;
static struct disp_device_private_data *g_ptv_private = NULL;
disp_bsp_init_para g_init_para;
static struc... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-csi/sunxi_csi.c | <reponame>lanpinguo/rootfs_build<filename>kernel/drivers/media/platform/sunxi-vin/vin-csi/sunxi_csi.c
/*
******************************************************************************
*
* sunxi_csi.c
*
* Hawkview ISP - sunxi_csi.c module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertec... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_fcc.c | /*******************************************************************************
* All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
* File name : de_fcc.c
*
* Description : display engine 2.0 fcc base functions implement
*
* History : 2014/03/28 iptang v0.1 Initial ve... |
lanpinguo/rootfs_build | kernel/drivers/misc/sst_storage/sst_storage.h | /* secure storage driver for sunxi platform
*
* Copyright (C) 2014 Allwinner Ltd.
*
* Author:
* <NAME> <<EMAIL>>
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those ter... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm-sun8iw11.c | /*
* Copyright (c) 2011-2020 <EMAIL>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include "pm_o.h"
static struct clk_state saved_clk_state;
static struct gpio_state sav... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm_config-sun9iw1p1.h | <reponame>lanpinguo/rootfs_build
#ifndef _PM_CONFIG_SUN9IW1P1_H
#define _PM_CONFIG_SUN9IW1P1_H
/*
* Copyright (c) 2011-2015 <EMAIL>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*... |
lanpinguo/rootfs_build | u-boot/arch/arm/include/asm/arch-sun8iw11p1/dma.h | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
... |
lanpinguo/rootfs_build | kernel/security/optee/armtz/tee_tz_drv.c | <filename>kernel/security/optee/armtz/tee_tz_drv.c
/*
* Copyright (c) 2014, STMicroelectronics International N.V.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License Version 2 as
* published by the Free Software Foundation.
*
* This prog... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_para-sun8iw11.h | <reponame>lanpinguo/rootfs_build<gh_stars>0
#ifndef _MCTL_PARA_H
#define _MCTL_PARA_H
typedef struct __DRAM_PARA {
/*normal configuration */
unsigned int dram_clk;
unsigned int dram_type; /*dram_type DDR2: 2 DDR3: 3 LPDDR2: 6 LPDDR3: 7 DDR3L: 31 */
/*... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/include/linux/aw/config.h | /**
* Copyright (C) 2015-2016 Allwinner Technology Limited. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope th... |
lanpinguo/rootfs_build | kernel/include/linux/dma/sunxi/dma-sun50iw6.h | #ifndef __DMA_SUN50IW6__
#define __DMA_SUN50IW6__
/*
* The source DRQ type and port corresponding relation
*
*/
#define DRQSRC_SRAM 0
#define DRQSRC_SDRAM DRQSRC_SRAM
#define DRQSRC_DRAM 1
#define DRQSRC_SPDIFRX 2
#define DRQSRC_OWARX DRQSRC_SPDIFRX
#define DRQSRC_DAUDIO_0_RX 3
#define DRQSRC_DAI0_RX DRQSRC_D... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8189es/hal/OUTSRC/rtl8188e/HalHWImg8188E_BB.c | <gh_stars>0
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* publi... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/include/Hal8814PhyCfg.h | <reponame>lanpinguo/rootfs_build
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General ... |
lanpinguo/rootfs_build | u-boot/nand_sunxi/sun50iw3p1/osal/nand_uboot_fun.c | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw10/de_lcd.c | <gh_stars>0
#include "de_lcd_type.h"
#include "de_lcd.h"
static volatile __de_lcd_dev_t *lcd_dev[2];
extern s32 disp_delay_us(u32 us);
extern s32 disp_delay_ms(u32 ms);
s32 hmdi_src_sel(u32 sel)
{
lcd_dev[0]->tcon_mul_ctl.bits.hdmi_src = sel;
return 0;
}
s32 dsi_src_sel(u32 sel)
{
lcd_dev[0]->tcon_mul_ctl.bits.d... |
lanpinguo/rootfs_build | u-boot/arch/arm/cpu/armv7/sun50iw3p1/spl/serial_spl.c | <reponame>lanpinguo/rootfs_build<filename>u-boot/arch/arm/cpu/armv7/sun50iw3p1/spl/serial_spl.c
/*
* COM1 NS16550 support
* originally from linux source (arch/powerpc/boot/ns16550.c)
* modified to use CONFIG_SYS_ISA_MEM and new defines
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/uart.h>
#include ... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi_cpudai.h | #ifndef __SUNXI_CPUDAI_H__
#define __SUNXI_CPUDAI_H__
#if defined(CONFIG_ARCH_SUN8IW10)
#include "sun8iw10_codec.h"
#elif defined(CONFIG_ARCH_SUN8IW11)
#include "sun8iw11_codec.h"
#elif defined(CONFIG_ARCH_SUN50IW2)
#include "sun50iw2_codec.h"
#endif
#endif /* __SUNXI_CPUDAI_H__ */
|
lanpinguo/rootfs_build | kernel/drivers/bus/sunxi_mbus.c | <gh_stars>0
/*
* SUNXI MBUS driver
*
* Copyright (C) 2015 AllWinnertech Ltd.
* Author: xiafeng <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/common/mali_osk_mali.h | /*
* Copyright (C) 2010-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* ... |
lanpinguo/rootfs_build | u-boot/arch/arm/cpu/armv7/sun8iw11p1/nand/nand/basic_nf_read.c | <gh_stars>0
/*
************************************************************************************************************************
* eGON
* the Embedded GO-ON Bootloader System
*
* Copyright(... |
lanpinguo/rootfs_build | kernel/drivers/mmc/host/sunxi-mmc.c | <reponame>lanpinguo/rootfs_build
/*
* Driver for sunxi SD/MMC host controllers
* (C) Copyright 2007-2011 Reuuimlla Technology Co., Ltd.
* (C) Copyright 2007-2011 <NAME> <<EMAIL>>
* (C) Copyright 2013-2014 O2S GmbH <www.o2s.ch>
* (C) Copyright 2013-2014 <NAME> <<EMAIL>>
* (C) Copyright 2013-2014 <NAME> <<EMAIL>>
... |
lanpinguo/rootfs_build | kernel/drivers/char/sunxi-sysinfo/sunxi-sysinfo.c | /*
* Based on drivers/char/sunxi-sysinfo/sunxi-sysinfo.c
*
* Copyright (C) 2015 Allwinnertech Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distri... |
lanpinguo/rootfs_build | u-boot/drivers/smc/sunxi_smc.c | <reponame>lanpinguo/rootfs_build
/*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... |
lanpinguo/rootfs_build | u-boot/drivers/usb/host/ehci-sunxi.c | <reponame>lanpinguo/rootfs_build
/*
* (C) Copyright 20016-2020
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* wangwei <<EMAIL>>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.