repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
lanpinguo/rootfs_build | u-boot/arch/arm/include/asm/arch-sun50iw3p1/intc.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 | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/rtl8192e/halhwimg8192e_bb.c | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/rtl8192e/halhwimg8192e_bb.c<gh_stars>0
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/o... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/include/rtw_version.h | #define DRIVERVERSION "v4.4.1_17696.20160509_BTCOEX20160412-0042"
#define BTCOEXVERSION "BTCOEX20160412-0042"
|
lanpinguo/rootfs_build | kernel/modules/nand/sun8iw11p1/nfd/nand_dev.c | #define _NAND_DEV_C_
#include "nand_blk.h"
#include "nand_dev.h"
#define NAND_SCHEDULE_TIMEOUT (HZ >> 1)
#define NFTL_SCHEDULE_TIMEOUT (HZ >> 1)
#define NFTL_FLUSH_DATA_TIME 1
#define WEAR_LEVELING 1
static int dev_num;
unsigned long nand_active_time;
unsigned long nand_write_active_time;
struct nand_kobject *... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/modules/sensor/imx214.c | /*
* A V4L2 driver for IMX214 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 <media/v4l2-mediabus.h>
... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/top_reg_i.h | <reponame>lanpinguo/rootfs_build
/*
******************************************************************************
*
* top_reg_i.h
*
* CSIC - top_reg_i.h module
*
* Copyright (c) 2016 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 1.0 <... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/dev_composer.c | #ifndef DEV_COMPOSER_C_C
#define DEV_COMPOSER_C_C
#define HWC_CMD_GET_FPS (0x00000001)
#define HWC_CMD_GET_CLK_RATE (0x00000002)
#if 0 //!defined(CONFIG_HOMLET_PLATFORM)
#include <linux/sw_sync.h>
#include <linux/sync.h>
#include <linux/file.h>
#include "dev_disp.h"
#include <video/sunxi_display2.h>
#include <linu... |
lanpinguo/rootfs_build | kernel/include/linux/vexpress.h | <filename>kernel/include/linux/vexpress.h<gh_stars>0
/*
* 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 useful,
* but ... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/core/rtw_btcoex.c | /******************************************************************************
*
* Copyright(c) 2013 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 Free So... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/phydm_AntDiv.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 Genera... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi_car_reverse/car_reverse.h | <gh_stars>0
/*
* Fast car reverse image preview module
*
* Copyright (C) 2015-2018 AllwinnerTech, Inc.
*
* Contacts:
* Zeng.Yajian <<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 Found... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_timing.h | /*
*********************************************************************************************************
* LINUX-KERNEL
* AllWinner Linux Platform Develop Kits
* Kernel Module
... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/standby_debug.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 "standby.h"
#include "../pm_config.h"
void mem_status_init(char *name)
{
retu... |
lanpinguo/rootfs_build | kernel/fs/msdcardfs/version.h | <filename>kernel/fs/msdcardfs/version.h
/*
* The sdcardfs
*
* Copyright (c) 2013 Samsung Electronics Co. Ltd
* Authors: <NAME>, <NAME>, <NAME>, <NAME>
*
* Revision History
* 2014.06.24 : Release Version 2.1.0
* - Add sdcardfs version
* - Add kernel log when put_super
* 2014.07.21 : Release Version 2.1... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/include/linux/aw/sun8i/sun8iw5p1.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/arch/arm/include/asm/suspend.h | <reponame>lanpinguo/rootfs_build
#ifndef __ASM_ARM_SUSPEND_H
#define __ASM_ARM_SUSPEND_H
extern int __cpu_suspend(unsigned long, int (*)(unsigned long));
extern void cpu_resume(void);
extern int cpu_suspend(unsigned long, int (*)(unsigned long));
#endif
|
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-csi/bsp_csi.c | /*
* sunxi csi bsp interface
* Author:raymonxiu
*/
#include "bsp_csi.h"
static struct frame_arrange frm_arrange_gbl[MAX_CSI];
static unsigned int line_stride_y_ch_gbl[MAX_CSI][MAX_CH_NUM];
static unsigned int line_stride_c_ch_gbl[MAX_CSI][MAX_CH_NUM];
static unsigned int buf_height_y_ch_gbl[MAX_CSI][MAX_CH_NUM];
s... |
lanpinguo/rootfs_build | kernel/include/trace/events/ion.h | #undef TRACE_SYSTEM
#define TRACE_SYSTEM ion
#if !defined(_TRACE_ION_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_ION_H
#include <linux/tracepoint.h>
#define ION_HEAP_MASK \
{(unsigned int)ION_HEAP_SYSTEM_MASK, "system"}, \
{(unsigned int)ION_HEAP_SYSTEM_CONTIG_MASK, "system contig"}, \
{(unsigned int)IO... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_clock.h | <reponame>lanpinguo/rootfs_build
#ifndef __DE_CLOCK_H__
#define __DE_CLOCK_H__
#include "../include.h"
#include "de_feat.h"
enum de_clk_id {
DE_CLK_NONE = 0,
DE_CLK_CORE0 = 1,
DE_CLK_CORE1 = 2,
DE_CLK_WB = 3,
};
struct de_clk_para {
enum de_clk_id clk_no;
u32 div;
u32 ahb_gate_adr;
u32 ahb_gate_shift;
u32 ... |
lanpinguo/rootfs_build | u-boot/common/cmd_boota.c | /*
* (C) Copyright 2007-2011
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* <NAME> <<EMAIL>>
*
* Boot an image which is generated by android mkbootimg tool
*
* (C) Copyright 2000-2003
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* See file CREDITS for list of people who contributed to this
* p... |
lanpinguo/rootfs_build | kernel/drivers/misc/sunxi-clk-prepare/sunxi-clk-prepare.h | <filename>kernel/drivers/misc/sunxi-clk-prepare/sunxi-clk-prepare.h
#ifndef _SUNXI_CLK_PERPARE_H
#define _SUNXI_CLK_PERPARE_H
#define CLK_MAX_MODULE_VALUE 10
#define CLK_MAX_ID_VALUE 32
enum CLK_ID_BIT
{
CLK_USBPHY0_BIT = (1<<0x0),
CLK_USBPHY1_BIT = (1<<0x1),
CLK_USBOHCI1_BIT = (1<<0x2),
CLK_USBOHCI0_BI... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8188eu/hal/phydm/rtl8188e/phydm_regconfig8188e.h | <reponame>lanpinguo/rootfs_build<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
... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/linux/mali_memory.h | <reponame>lanpinguo/rootfs_build<filename>kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/linux/mali_memory.h
/*
* 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 pub... |
lanpinguo/rootfs_build | kernel/drivers/gpio/gpio-tps65912.c | <reponame>lanpinguo/rootfs_build<filename>kernel/drivers/gpio/gpio-tps65912.c
/*
* Copyright 2011 Texas Instruments Inc.
*
* 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 Sof... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp-charger.h | #ifndef AXP_CHARGER_H
#define AXP_CHARGER_H
#include <linux/power_supply.h>
#define BATRDC 100
#define INTCHGCUR 300000 /* set initial charging current limite */
#define SUSCHGCUR 1000000 /* set suspend charging current limite */
#define RESCHGCUR INTCHGCUR /* set resume charging... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/aw_pwr_dm.c |
/* arch/arm/mach-sunxi/pm/aw_pwr_dm.c
*
* Copyright (C) 2013-2014 allwinner.
*
* By : yanggq
* Version : v1.0
* Date : 2014-8-6 09:08
*/
#include <linux/ctype.h>
#include <linux/module.h>
#include "linux/power/aw_pm.h"
#include "pm.h"
#include "linux/power/axp_depend.h"
#include <linux/power/scenelo... |
lanpinguo/rootfs_build | kernel/drivers/mmc/host/sunxi-mmc-v5px.h | #ifdef CONFIG_ARCH_SUN8IW10P1
#ifndef __SUNXI_MMC_SUN8IW10P1_2_H__
#define __SUNXI_MMC_SUN8IW10P1_2_H__
void sunxi_mmc_init_priv_v5px(struct sunxi_mmc_host *host,
struct platform_device *pdev, int phy_index);
int sunxi_mmc_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en);
#endif
#endif
|
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/hdmi/hdmi_core.c | #include "hdmi_core.h"
static s32 hdmi_state = HDMI_State_Idle;
static u32 video_on = 0;
static u32 audio_on = 0;
static bool video_enable = 0;
static bool audio_enable = false;
static u32 cts_enable = 0;
static u32 hdcp_enable = 0;
static u8 isHDMI = 0;
static u8 YCbCr444_Support = 0;
static s32 HPD = 0;
st... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power_legacy/axp81x/axp81x-board.c | /*
* Battery charger driver for allwinnertech AXP81X
*
* Copyright (C) 2014 ALLWINNERTECH.
* <NAME> <<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 <l... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-mipi/bsp_mipi_csi.c | /*
* sunxi mipi bsp interface
* Author:wangxuan
*/
#include "bsp_mipi_csi.h"
#include "../utility/vin_io.h"
#define MAX_CSI 2
volatile void __iomem *addr;
static unsigned int glb_mipicsi2_version[MAX_CSI];
static void mipi_csi2_reg_default(unsigned int sel)
{
vin_reg_writel(addr + 0x004, 0);
vin_reg_writel(addr +... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/include/rtl8703b_hal.h | <filename>kernel/drivers/net/wireless/rtl8192eu/include/rtl8703b_hal.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 ... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_gtbus.h | <gh_stars>0
/*
*********************************************************************************************************
* LINUX-KERNEL
* AllWinner Linux Platform Develop Kits
* Ke... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/extended_standby-sun8iw6.c | /* extended_standby.c
*
* Copyright (C) 2013-2014 allwinner.
*
* By : liming
* Version : v1.0
* Date : 2013-4-17 09:08
*/
#include <linux/module.h>
#include <linux/power/aw_pm.h>
#include <linux/power/scenelock.h>
#include "pm.h"
#include "../../../../kernel/power/power.h"
static int aw_ex_standby_de... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/txbf/haltxbf8821b.h | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/txbf/haltxbf8821b.h
#ifndef __HAL_TXBF_8821B_H__
#define __HAL_TXBF_8821B_H__
#if (BEAMFORMING_SUPPORT == 1)
#if (RTL8821B_SUPPORT == 1)
VOID
HalTxbf8821B_Enter(
IN PVOID pDM_VOID,
IN u1Byte Idx
);
VOID
HalTxbf8821B_Leave(
IN PVOID pDM_... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vfe/vfe.c | /*
* sunxi Camera Interface driver
* Author: raymonxiu
*/
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/version.h>
#include <linux/mutex.h>
#include <linux/videodev2.h>
#include <linux/delay.h>
#i... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp-gpio.h | #ifndef AXP_GPIO_H_
#define AXP_GPIO_H_
#include <linux/kernel.h>
#include <linux/pinctrl/pinconf-sunxi.h>
#define AXP_PINCTRL_GPIO(_num) PINCTRL_PIN(_num, "GPIO"#_num)
/*
* GPIO Registers.
*/
#define AXP_PIN_NAME_MAX_LEN (8)
struct axp_desc_function {
const char *name;
u8 muxval;
u8 irq_v... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/utility/cfg_op.h | <filename>kernel/drivers/media/platform/sunxi-vin/utility/cfg_op.h
/*
******************************************************************************
*
* cfg_op.h
*
* Hawkview ISP - cfg_op.h module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Dat... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_scaler_table.h | <gh_stars>0
/**
* All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
* File name : de_scaler_table.h
*
* Description : display engine 2.0 vsu/gsu common fir table
* information
*
* History : 2014/03/26 <NAME> v0.1 Initial version
*
*/
#ifndef __DE_SCA... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_twi.c | <gh_stars>0
/*
* 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_i.h"
static __twic_reg_t *TWI_REG_BASE[3] = {
(__twic_reg_t *... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8189es/include/rtw_version.h | #define DRIVERVERSION "v4.3.10.1_13373.20150129"
|
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/eink_pipeline_manager.c | /*
* Copyright (C) 2015 Allwinnertech, z.q <<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 "disp_eink.h"
#ifdef SUPPORT_EINK
#define PIPELINE_NUM 16... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw10/de_wb.h | //*****************************************************************************
// All Winner Micro, All Right Reserved. 2006-2013 Copyright (c)
//
// File name : de2_wb.h
//
// Description : DE2.0 Write-Back Controller interface functions
// History :
// 2014/03/03 initial version
// 201... |
lanpinguo/rootfs_build | kernel/modules/nand/sun8iw11p1/nfd/nand_dev.h |
#ifndef __NAND_DEV_H__
#define __NAND_DEV_H__
struct nand_kobject {
struct kobject kobj;
struct _nftl_blk *nftl_blk;
char name[32];
};
extern unsigned int do_static_wear_leveling(void *zone);
extern unsigned short nftl_get_zone_write_cache_nums(void *_zone);
extern unsigned int garbage_collect(void *zone);
extern... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8188eu/hal/btc/HalBtc8703b2Ant.h | //===========================================
// The following is for 8703B 2Ant BT Co-exist definition
//===========================================
#define BT_AUTO_REPORT_ONLY_8703B_2ANT 1
#define BT_INFO_8703B_2ANT_B_FTP BIT7
#define BT_INFO_8703B_2ANT_B_A2DP BIT6
#define BT_INFO_8703B_2ANT_B_H... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sun50iw2_codec.c | /*
* sound\soc\sunxi\sun50iw2p1_codec.c
* (C) Copyright 2014-2017
* Allwinnertech Technology Co., Ltd. <www.allwinnertech.com>
* Young <<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 Public Lice... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_ccu-sun8iw9.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_types.h"
#include "pm_i.h"
/*
********************************************... |
lanpinguo/rootfs_build | kernel/security/optee/armtz/tee_tz_priv.h | /*
* 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/drivers/soc/allwinner/pm/mem_timing.c | #include "pm_types.h"
#include "./pm.h"
#include "./pm_i.h"
static __u32 cpu_freq;
static __u32 overhead;
static __u32 backup_perf_counter_ctrl_reg;
static __u32 backup_perf_counter_enable_reg;
static __u32 match_event_counter(enum counter_type_e type);
void init_perfcounters(__u32 do_reset, __u32 enable_divider)
{
... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/rtl8192e/usb/rtl8192eu_xmit.c | <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 ter... |
lanpinguo/rootfs_build | u-boot/drivers/usb/sunxi_usb/include/sunxi_usb_config.h | <reponame>lanpinguo/rootfs_build
/*
* drivers/usb/sunxi_usb/include/sunxi_usb_config.h
* (C) Copyright 2010-2015
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* javen, 2011-4-14, create this file
*
* usb config head file.
*
* This program is free software; you can redistribute it and/or
* modify it ... |
lanpinguo/rootfs_build | u-boot/sunxi_spl/boot0/main/boot0_main.c | /*
**********************************************************************************************************************
*
* the Embedded Secure Bootloader System
*
*
* Copyright(C), 2006-2014, Allwinnertech Co., Ltd.
* All Rights Reserved
*
* File ... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/modules/sensor/ov12830.c | /*
* A V4L2 driver for OV12830 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 <media/v4l2-mediabus.h>... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/tv/de_tve_sun8iw11.h | <filename>u-boot/drivers/video/sunxi/disp2/tv/de_tve_sun8iw11.h
#ifndef __DE_TVE_SUN8IW11_H__
#define __DE_TVE_SUN8IW11_H__
#define TVE_GET_REG_BASE(sel) (tve_reg_base[sel])
#define TVE_WUINT32(sel,offset,value) (*((volatile u32 *)( TVE_GET_REG_BASE(sel) + (offset) ))=(value))
#define TVE_R... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/phydm_debug.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 Genera... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vfe/csi/csi_reg_v1.c | /*
* sunxi csi register read/write interface
*/
#include "csi_reg_v1.h"
#include "../utility/vfe_io.h"
#define ADDR_BIT_R_SHIFT 0
#define CLK_POL 0 /*0:RISING, 1:FAILING*/
volatile void __iomem *csi_base_addr[2];
enum csi_input_fmt input_fmt;
int csi_set_base_addr(unsigned int sel, unsigned long addr)
{
if (sel >... |
lanpinguo/rootfs_build | u-boot/include/boot_gui.h | <gh_stars>0
#ifndef __BOOT_GUI_H__
#define __BOOT_GUI_H__
enum {
FB_ID_0 = 0,
FB_ID_1,
FB_ID_2,
FB_ID_3,
FB_ID_NUM, /* excuse me: it is not the number of framebuffer */
FB_ID_INVALID,
};
typedef struct color {
unsigned char blue;
unsigned char green;
unsigned char red;
unsigned char alpha;
} argb_t;
typed... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/nmi/sunxi-nmi.h | <filename>kernel/drivers/power/axp_power/nmi/sunxi-nmi.h
#ifndef _SUNXI_NMI_H
#define _SUNXI_NMI_H
#define NMI_MODULE_NAME "nmi"
#define NMI_IRQ_LOW_LEVEL (0x0)
#define NMI_IRQ_NE_EDGE (0x1)
#define NMI_IRQ_HIGH_LEVEL (0x2)
#define NMI_IRQ_PO_EDGE (0x3)
struct nmi_struct {
void __iomem *b... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_interface.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 G... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8189fs/include/autoconf.h | <reponame>lanpinguo/rootfs_build<filename>kernel/drivers/net/wireless/rtl8189fs/include/autoconf.h
/******************************************************************************
*
* Copyright(c) 2007 - 2014 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or ... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp259/axp259.c | <gh_stars>0
#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>
#i... |
lanpinguo/rootfs_build | u-boot/board/sunxi/sun50iw1p1/sun50iw1p1.c | <reponame>lanpinguo/rootfs_build
/*
* (C) Copyright 2007-2015
* 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 | kernel/drivers/soc/allwinner/pm/pm_debug_sun8i50i.c | #include "pm_i.h"
#define CPUX_STATUS_CODE_INDEX (1)
#define CPUX_IRQ_STATUS_CODE_INDEX (2)
#define CPUS_STATUS_CODE_INDEX (3)
static u32 *base;
static u32 len;
static u32 mem_status_init_done;
void mem_status_init(char *name)
{
u32 gpr_offset;
struct device_node *np;
pm_get_dev_info(name, 0, &base, &len);
np = o... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sun8iw10_codec.h | <filename>kernel/sound/soc/sunxi/sun8iw10_codec.h<gh_stars>0
/*
* sound\soc\sunxi\sun8iw10codec.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
*... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/utility/bsp_common.h | <gh_stars>0
/*
******************************************************************************
*
* bsp_common.h
*
* Hawkview ISP - bsp_common.h module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 <NAME> 201... |
lanpinguo/rootfs_build | u-boot/drivers/serial/ns16550.c | /*
* COM1 NS16550 support
* originally from linux source (arch/powerpc/boot/ns16550.c)
* modified to use CONFIG_SYS_ISA_MEM and new defines
*/
#include <config.h>
#include <ns16550.h>
#include <watchdog.h>
#include <linux/types.h>
#include <asm/io.h>
#define UART_LCRVAL UART_LCR_8N1 /* 8 data, 1 stop, no parity ... |
lanpinguo/rootfs_build | u-boot/drivers/power/sunxi/axp81X.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/soc/allwinner/pm/mem_cpu.h | <gh_stars>0
#ifndef _MEM_CPU_H
#define _MEM_CPU_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.
*/
/*
* Image of the saved processor s... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi-sndspdif.c | /*
* sound\soc\sunxi\sunxi_sndspdif.c
* (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 Public License a... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm_config.h | #ifndef _PM_CONFIG_H
#define _PM_CONFIG_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 "uapi/linux/const.h"
#include "pm_def_i.h"... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/disp_sys_intf.c | #include "de/bsp_display.h"
#include "disp_sys_intf.h"
#include "asm/cacheflush.h"
#include <linux/clk/sunxi.h>
#include <linux/clk-private.h>
/* cache flush flags */
#define CACHE_FLUSH_I_CACHE_REGION 0
#define CACHE_FLUSH_D_CACHE_REGION 1
#define CACHE_FLUSH_CACHE_REGION 2
#define CACHE_CLEAN... |
lanpinguo/rootfs_build | kernel/drivers/crypto/sunxi/sunxi_ss.h | /*
* Some macro and struct of SUNXI SecuritySystem controller.
*
* Copyright (C) 2013 Allwinner.
*
* Mintow <<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.
*/
#... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali/linux/mali_platform.c | /**
* 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/drivers/misc/sunxi-clk-prepare/sunxi-clk-prepare.c | <reponame>lanpinguo/rootfs_build
/*
* sunxi-clk-prepare.c clk prepare Interlace driver
*
* Copyright (C) 2014-2016 allwinner.
* <NAME><<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 ... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/phydm_ACS.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 Genera... |
lanpinguo/rootfs_build | u-boot/drivers/smc/teesmc.h | /*
* Copyright (c) 2014, Linaro Limited
*
* 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 useful,
* but WITHOUT ANY ... |
lanpinguo/rootfs_build | kernel/arch/arm/mm/rodata.c | <reponame>lanpinguo/rootfs_build<gh_stars>0
/*
* linux/arch/arm/mm/rodata.c
*
* Copyright (C) 2011 Google, Inc.
*
* Author: <NAME> <<EMAIL>>
*
* Based on x86 implementation in arch/x86/mm/init_32.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi_tdmhdmi.c | /*
* sound\soc\sunxi\sunxi_tdmhdmi.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 Gen... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/platform/arm/arm.c | <filename>kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/platform/arm/arm.c
/*
* Copyright (C) 2010, 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... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/modules/flash/flash.c | /*
*****************************************************************************
*
* sunxi_flash.c
*
* Hawkview ISP - sunxi_flash.c module
*
* Copyright (c) 2015 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 3.0 ... |
lanpinguo/rootfs_build | kernel/drivers/devfreq/governor_temptrigger.c | /*
* linux/drivers/devfreq/governor_temptrigger.c
*
* Copyright(c) 2013-2015 Allwinnertech Co., 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 version 2 as
* published by the Free Software Foundat... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-csi/csi_reg_i.h | /*
******************************************************************************
*
* csi_reg_i.h
*
* Hawkview ISP - csi_reg_i.h module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 2.0 <NAME> 2014/07/15 ... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/sunxi-sid.c | /*
* drivers/soc/sunxi-sid.c
*
* Copyright(c) 2014-2016 Allwinnertech Co., Ltd.
* http://www.allwinnertech.com
*
* Author: sunny <<EMAIL>>
* Author: superm <<EMAIL>>
* Author: Matteo <<EMAIL>>
*
* Allwinner sunxi soc chip version and chip id manager.
*
* This program is free software; you can redist... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_dcsc.c | /*****************************************************************************
*All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
*File name : de_ccsc.c
*
*Description : display engine 2.0 device csc basic function definition
*
*History : 2014/05/19 <NAME> v0.1 Initial ver... |
lanpinguo/rootfs_build | kernel/arch/arm/include/asm/arch_timer.h | #ifndef __ASMARM_ARCH_TIMER_H
#define __ASMARM_ARCH_TIMER_H
#include <asm/barrier.h>
#include <asm/errno.h>
#include <linux/clocksource.h>
#include <linux/init.h>
#include <linux/types.h>
#include <clocksource/arm_arch_timer.h>
#ifdef CONFIG_ARM_ARCH_TIMER
int arch_timer_arch_init(void);
/*
* These register access... |
lanpinguo/rootfs_build | kernel/modules/gpu/mali450/kernel_mode/driver/src/devicedrv/mali/linux/mali_osk_profiling.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/drivers/net/wireless/rtl8192eu/hal/rtl8192e/rtl8192e_rf6052.c | <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 | kernel/drivers/power/axp_power/axpdummy/axpdummy.c | <reponame>lanpinguo/rootfs_build<filename>kernel/drivers/power/axp_power/axpdummy/axpdummy.c
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/of_irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/mfd/core.... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm.c | <gh_stars>0
/*
* 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"
#include <linux/clk.h>
#include <linux/clk-private.h>
#in... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp20/virtual20_dev.c | <gh_stars>0
#include <linux/init.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/regulator/machine.h>
#include <linux/i2c.h>
#include <linux/power_supply.h>
#include <linux/module.h>
static struct platform_device virt[] = {
{
.name = "reg-20-cs-dcdc2",
.id = -1,
.dev = {
.pla... |
lanpinguo/rootfs_build | kernel/security/fivm/fivm.h | <filename>kernel/security/fivm/fivm.h
/*
* 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, version 2 of the
* License.... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/modules/sensor/ov2710_aw6131.c | <reponame>lanpinguo/rootfs_build<filename>kernel/drivers/media/platform/sunxi-vin/modules/sensor/ov2710_aw6131.c
/* **************************************************************************************
*ov2710_aw6131.c
*A V4L2 driver for OV2710_AW6131 cameras
*Copyright (c) 2014 by Allwinnertech Co., Ltd.http://www... |
lanpinguo/rootfs_build | kernel/modules/nand/sun8iw11p1/nand_interface.c | <gh_stars>0
/*
* nand_interface.c
* (C) Copyright 2007-2011
* Reuuimlla Technology Co., Ltd. <www.reuuimllatech.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 Public License as
... |
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/disp_tv.h |
#ifndef __DISP_TV_H__
#define __DISP_TV_H__
#include "disp_private.h"
s32 disp_init_tv(void);//call by disp_display
s32 disp_tv_set_func(struct disp_device* ptv, struct disp_tv_func * func);
s32 disp_tv_set_hpd(struct disp_device* ptv, u32 state);
struct disp_device_private_data {
u32 enabled;
bool suspended;
... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/power/axp15_power.c | <filename>kernel/drivers/soc/allwinner/pm/standby/power/axp15_power.c<gh_stars>0
/*
* axp192 for standby driver
*
* Copyright (C) 2015 allwinnertech 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 vers... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/phydm_debug.h | <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 th... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/standby_debug.h | <filename>kernel/drivers/soc/allwinner/pm/standby/standby_debug.h
#ifndef __STANDBY_DEBUG_
#define __STANDBY_DEBUG_
#define STANDBY_START (0x00)
#define RESUME0_START (0x20)
#define RESUME1_START (0x40)
#define SHUTDOWN_FLOW (0x10)
#define OTA_FLOW (0x30)
void mem_statu... |
lanpinguo/rootfs_build | kernel/arch/arm/include/asm/pgtable-3level-hwdef.h | /*
* arch/arm/include/asm/pgtable-3level-hwdef.h
*
* Copyright (C) 2011 ARM 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 version 2 as
* published by the Free Software Foundation.
*
* This program... |
lanpinguo/rootfs_build | kernel/drivers/usb/host/sunxi_hci.h | <reponame>lanpinguo/rootfs_build
/*
* drivers/usb/host/sunxi_hci.h
* (C) Copyright 2010-2015
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* yangnaitian, 2011-5-24, create this file
*
* Include file for SUNXI HCI Host Controller Driver
*
* This program is free software; you can redistribute it and/or... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm.h | <reponame>lanpinguo/rootfs_build
/*
* 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.
*/
#ifndef _PM_H
#define _PM_H
#if defined(CONFIG_ARCH_SU... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_rtmx.h | <filename>u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_rtmx.h
/**
*All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
*File name :de_rtmx.h
*
*Description :display engine 2.0 realtime
* mixer processing base functions implement
*History :2014/02/08 iptang v0.1 Initia... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.