repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/Auth View Controllers/AuthViewController.h | //
// AuthViewController.h
// Hiyoko
//
// Created by 天々座理世 on 2018/09/04.
// Copyright © 2018 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "OAuthViewControllerDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@interface AuthViewController : UIViewController
@property (nonatomic, weak) id <Au... |
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/View Controllers/Export/ExportListTableViewController.h | <gh_stars>10-100
//
// ExportListTableViewController.h
// Shukofukurou-IOS
//
// Created by 香風智乃 on 3/26/19.
// Copyright © 2019 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ExportListTableViewController : UITableViewController
@end
NS_ASSUME_NONNUL... |
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/View Controllers/AiringNotificationServiceSelector.h | <reponame>Atelier-Shiori/Shukofukurou-iOS
//
// AiringNotificationServiceSelector.h
// Shukofukurou-IOS
//
// Created by 香風智乃 on 11/13/18.
// Copyright © 2018 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface AiringNotificationServiceSelector : UITableView... |
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/Navigation/SideBarCell.h | <reponame>Atelier-Shiori/Shukofukurou-iOS<filename>Shukofukurou-IOS/Navigation/SideBarCell.h<gh_stars>10-100
//
// SideBarCell.h
// Hiyoko
//
// Created by 天々座理世 on 2018/08/14.
// Copyright © 2018 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SideBarCell : UITableViewCell <UIA... |
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/Scrobble/ScrobbleManager.h | //
// ScrobbleManager.h
// Shukofukurou-IOS
//
// Created by 香風智乃 on 3/19/19.
// Copyright © 2019 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ScrobbleManager : NSObject
+ (instancetype)sharedInstance;
- (void)checkScrobble;
- (void)clearScrobbleCache... |
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/View Controllers/StatsViewController.h | <filename>Shukofukurou-IOS/View Controllers/StatsViewController.h
//
// StatsViewController.h
// Shukofukurou-IOS
//
// Created by 香風智乃 on 2/4/19.
// Copyright © 2019 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GraphKit.h"
NS_ASSUME_NONNULL_BEGIN
@interface StatsViewControlle... |
Atelier-Shiori/Shukofukurou-iOS | Shukofukurou-IOS/Backend/UITextView+SetHTMLAttributedText.h | //
// UITextView+SetHTMLAttributedText.h
// Shukofukurou-IOS
//
// Created by 香風智乃 on 10/3/18.
// Copyright © 2018 MAL Updater OS X Group. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UITextView (SetHTMLAttributedText)
- (void)setTextToHTML:(NSString *)html withLoadingText:(... |
bailey27/syncplaylists | syncplaylists/iTunesCOMInterface_i.c | /* this file contains the actual definitions of */
/* the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 5.01.0164 */
/* at Thu Apr 08 14:04:46 2004
*/
/* Compiler settings for iTunesCOMInterface.idl:
Oicf (OptLev=i2), W1, Zp8, env=W... |
BeatHubmann/18H-ICP | ex07/latticeview.h | #include<iostream>
#include<fstream>
#include<vector>
using namespace std;
// The following function prints the lattice to file "output.ppm"
void Print_lattice (const vector<int> vlat, const int &vlx, const int &vly, const int &vwidth, const int &vheight, const char* vfilename="output.ppm")
{
int i, j, k, l;
int... |
BeatHubmann/18H-ICP | ex02/latticeview_v2.h | <filename>ex02/latticeview_v2.h<gh_stars>0
#include <iostream>
#include <fstream>
// The following function prints the lattice to file "output.ppm"
void Print_lattice (int *vlat, const int &vlx, const int &vly, const int &vwidth, const int &vheight, const char* vfilename="output.ppm")
{
const int vw= vwidth / vlx;
... |
BeatHubmann/18H-ICP | ex02/latticeview.h | #include<iostream>
#include<fstream>
using namespace std;
// The following function prints the lattice to file "output.ppm"
void Print_lattice (int *vlat, const int &vlx, const int &vly, const int &vwidth, const int &vheight, const char* vfilename="output.ppm")
{
int i, j, k, l;
int vw= vwidth/vlx, vh=vheight/vl... |
mingsai/FBGlowLabel | FBGlowLabel/Classes/FBGlowLabel.h | #import <UIKit/UIKit.h>
@interface FBGlowLabel : UILabel
@property (nonatomic, assign) CGFloat glowSize;
@property (nonatomic) UIColor *glowColor;
@property (nonatomic, assign) CGFloat innerGlowSize;
@property (nonatomic) UIColor *innerGlowColor;
@end
|
mingsai/FBGlowLabel | FBGlowLabelDemo/FBGlowLabelDemo/FBViewController.h | <filename>FBGlowLabelDemo/FBGlowLabelDemo/FBViewController.h
//
// FBViewController.h
// FBGlowLabelDemo
//
// Created by <NAME> on 2013/11/11.
// Copyright (c) 2013年 OCTUDIO. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FBViewController : UIViewController
@end
|
whjkm/Web_Server | Web_Server/EventLoopThread.h | <filename>Web_Server/EventLoopThread.h
#pragma once
#include "base/Condition.h"
#include "base/MutexLock.h"
#include "base/Thread.h"
#include "base/noncopyable.h"
#include "EventLoop.h"
/* IO线程不一定是主线程,我们可以在任何一个线程创建并运行 EventLoop。
一个程序也可以有不止一个线程,我们可以按照优先级将不同的 socket分给不同的 IO线程,避免优先级反转。
启动一个线程执行一个 EventLoop, "one loop pe... |
whjkm/Web_Server | Web_Server/base/Thread.h | <reponame>whjkm/Web_Server
#pragma once
#include "CountDownLatch.h"
#include "noncopyable.h"
#include <functional>
#include <memory>
#include <pthread.h>
#include <string>
#include <sys/syscall.h>
#include <unistd.h>
class Thread : noncopyable
{
public:
typedef std::function<void ()> ThreadFunc;
explicit Thre... |
ximtech/HD44780_I2C | include/HD44780_LCD_I2C.h | #pragma once
#include <stdio.h>
#include <stdarg.h>
#include <stdbool.h>
#include "I2C_Polling.h"
#if !defined(HD44780_LCD_COL_COUNT) || !defined(HD44780_LCD_ROW_COUNT)
#define HD44780_LCD_COL_COUNT 20
#define HD44780_LCD_ROW_COUNT 4
#endif
#ifndef HD44780_LCD_I2C_DEVICE_ADDRESS
#define HD44780_LCD_I2C_DEVICE_ADDRES... |
ForgetAndRemember/WangXuAPIs | Example/WangXuAPIs/WXViewController.h | //
// WXViewController.h
// WangXuAPIs
//
// Created by gitWangxu on 12/20/2018.
// Copyright (c) 2018 gitWangxu. All rights reserved.
//
@import UIKit;
@interface WXViewController : UIViewController
@end
|
ForgetAndRemember/WangXuAPIs | Example/Pods/Target Support Files/WangXuAPIs/WangXuAPIs-umbrella.h | <gh_stars>0
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "APIRequest.h"
#import "APIRequestProtocol.h"
#import "APIResponseProtocol.h"
#import "DBManager.h"
#impo... |
ForgetAndRemember/WangXuAPIs | Example/WangXuAPIs/WXAppDelegate.h | <filename>Example/WangXuAPIs/WXAppDelegate.h
//
// WXAppDelegate.h
// WangXuAPIs
//
// Created by gitWangxu on 12/20/2018.
// Copyright (c) 2018 gitWangxu. All rights reserved.
//
@import UIKit;
@interface WXAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
YJieZhang/Tengine | executor/operator/arm/include/pooling_kernel.h | <reponame>YJieZhang/Tengine
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version ... |
YJieZhang/Tengine | tests/bin/test_c_api.c | <reponame>YJieZhang/Tengine
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version ... |
YJieZhang/Tengine | tests/bin/test_c_simple.c | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... |
YJieZhang/Tengine | core/include/tengine_c_api.h | <filename>core/include/tengine_c_api.h
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Licens... |
ZhukovWang/ModbusSlave | src/register.c | <reponame>ZhukovWang/ModbusSlave<gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "register.h"
union register_union registers; |
ZhukovWang/ModbusSlave | test/checksum_test.h | <gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_CHECKSUM_TEST_H
#define MODBUSMASTER_CHECKSUM_TEST_H
void test_checksum(void);
void test_checksum_lrc(void);
void test_checksum_crc(void);
#endif //MODBUSMASTER_CHECKSUM_TEST_H
|
ZhukovWang/ModbusSlave | src/frame_conversion.h | //
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_FRAME_CONVERSION_H
#define MODBUSMASTER_FRAME_CONVERSION_H
uint8_t char_to_number(const uint8_t ch);
uint8_t number_to_char(const uint8_t ch);
void ascii_frame_to_standard_modbus(uint8_t* rx, uint16_t length, uint8_t* result, uint16_t* result_length);
void... |
ZhukovWang/ModbusSlave | test/frame_test.c | <reponame>ZhukovWang/ModbusSlave
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "frame_test.h"
#include "../src/config.h"
#include "../src/frame.h"
#include "unity.h"
#include "../src/register.h"
void test_frame(void)
{
RUN_TEST(test_ascii_frame);
RUN_TEST(test_rtu_frame);
}
void test_a... |
ZhukovWang/ModbusSlave | test/modbus_test.c | //
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "modbus_test.h"
#include "../src/modbus.h"
#include "unity.h"
#include "../src/register.h"
void test_modbus(void)
{
RUN_TEST(test_command_error);
RUN_TEST(test_read_registers_rx_length_error);
RUN_TEST(test_read_registers_length_error);... |
ZhukovWang/ModbusSlave | test/all_test.c | //
// Created by Zhukov on 2020/7/23.
//
#include "all_test.h"
#include "unity.h"
#include "checksum_test.h"
#include "modbus_test.h"
#include "frame_conversion_test.h"
#include "frame_test.h"
void setUp(void)
{
// set stuff up here
}
void tearDown(void)
{
// clean stuff up here
}
int test_all(void)
{
... |
ZhukovWang/ModbusSlave | src/checksum.c | //
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "checksum.h"
uint8_t checksum_lrc(uint8_t* data, uint16_t length)
{
uint8_t lrc_result = 0;
for (uint16_t i = 0; i < length; ++i)
{
lrc_result = (lrc_result + data[i]) & 0xFF;
}
lrc_result = (((lrc_result ^ 0xFF) + 1)... |
ZhukovWang/ModbusSlave | src/frame_conversion.c | <reponame>ZhukovWang/ModbusSlave
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "frame_conversion.h"
void ascii_frame_to_standard_modbus(uint8_t* rx, uint16_t length, uint8_t* result, uint16_t* result_length)
{
*result_length = 0;
for (uint16_t i = 1; i < length; ++i)
{
resu... |
ZhukovWang/ModbusSlave | test/frame_conversion_test.h | <reponame>ZhukovWang/ModbusSlave<filename>test/frame_conversion_test.h
//
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_FRAME_CONVERSION_TEST_H
#define MODBUSMASTER_FRAME_CONVERSION_TEST_H
void test_conversion(void);
void test_ascii_frame_to_standard_modbus(void);
void test_standard_modbus_to_ascii_frame... |
ZhukovWang/ModbusSlave | src/checksum.h | //
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_CHECKSUM_H
#define MODBUSMASTER_CHECKSUM_H
uint8_t checksum_lrc(uint8_t* data, uint16_t length);
uint16_t checksum_crc(uint8_t* data, uint16_t length);
#endif //MODBUSMASTER_CHECKSUM_H
|
ZhukovWang/ModbusSlave | src/modbus.h | <gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_MODBUS_H
#define MODBUSMASTER_MODBUS_H
int8_t modbus_entry(uint8_t* rx, uint16_t rx_length, uint8_t* tx, uint16_t* tx_length);
int8_t command_error(uint8_t *rx, uint16_t rx_length, uint8_t *tx, uint16_t *tx_length);
int8_t command_read_regis... |
ZhukovWang/ModbusSlave | src/config.c | <reponame>ZhukovWang/ModbusSlave
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "config.h"
/*
* slave id
*/
uint8_t slave_id = 0x01;
/*
* mode: 00:rtu 01:ascii
*/
uint8_t slave_mode = RTU_MODE; |
ZhukovWang/ModbusSlave | test/frame_test.h | <filename>test/frame_test.h<gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_FRAME_TEST_H
#define MODBUSMASTER_FRAME_TEST_H
void test_frame(void);
void test_ascii_frame(void);
void test_rtu_frame(void);
#endif //MODBUSMASTER_FRAME_TEST_H
|
ZhukovWang/ModbusSlave | test/modbus_test.h | //
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_MODBUS_TEST_H
#define MODBUSMASTER_MODBUS_TEST_H
void test_modbus(void);
void test_command_error(void);
void test_read_registers_length_error(void);
void test_read_registers_rx_length_error(void);
void test_read_registers_out_of_range_error(void);
void tes... |
ZhukovWang/ModbusSlave | main.c | <reponame>ZhukovWang/ModbusSlave
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include "test/all_test.h"
#include "src/config.h"
#include "src/frame.h"
#include "src/frame_conversion.h"
void slave_rtu_mode_transmit()
{
int8_t input_char[255];
printf("the mode is RTU, so the f... |
ZhukovWang/ModbusSlave | src/frame.c | <reponame>ZhukovWang/ModbusSlave
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "frame.h"
#include "config.h"
#include "checksum.h"
#include "modbus.h"
#include "frame_conversion.h"
int8_t frame_entry(uint8_t* rx_data, uint16_t rx_length, uint8_t* tx_data, uint16_t* tx_length)
{
if (slave_m... |
ZhukovWang/ModbusSlave | test/frame_conversion_test.c | <filename>test/frame_conversion_test.c<gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#include "frame_conversion_test.h"
#include <stdint.h>
#include "../src/frame_conversion.h"
#include "unity.h"
void test_conversion(void)
{
RUN_TEST(test_ascii_frame_to_standard_modbus);
RUN_TEST(test_standard_modb... |
ZhukovWang/ModbusSlave | test/checksum_test.c | <filename>test/checksum_test.c<gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include "checksum_test.h"
#include "../src/checksum.h"
#include "unity.h"
void test_checksum(void)
{
RUN_TEST(test_checksum_lrc);
RUN_TEST(test_checksum_crc);
}
void test_checksum_lrc(void)
{
uint8_... |
ZhukovWang/ModbusSlave | src/frame.h | <filename>src/frame.h
//
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_FRAME_H
#define MODBUSMASTER_FRAME_H
int8_t frame_entry(uint8_t* rx_data, uint16_t rx_length, uint8_t* tx_data, uint16_t* tx_length);
#endif //MODBUSMASTER_FRAME_H
|
ZhukovWang/ModbusSlave | src/register.h | //
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_REGISTER_H
#define MODBUSMASTER_REGISTER_H
#define MIN_READ_REGISTERS 0
#define MAX_READ_REGISTERS 0xFFFF
#define MAX_READ_REGISTERS_LENGTH 0x20
#define MIN_WRITE_SINGLE_REGISTER 0
#define MAX_WRITE_SINGLE_REGISTER 0xFFFF
#define MIN_WRITE_MULTIPLE_REGIS... |
ZhukovWang/ModbusSlave | src/modbus.c | <filename>src/modbus.c
//
// Created by Zhukov on 2020/7/23.
//
#include <stdint.h>
#include <math.h>
#include "modbus.h"
#include "config.h"
#include "register.h"
#define ERROR_CODE_COMMAND_ERROR 0x01
#define ERROR_CODE_ADRRESS_ERROR 0x02
#define ERROR_CODE_DATA_ERROR 0x03
#define ERROR_CODE_OTHER_ERROR 0x07
#defin... |
ZhukovWang/ModbusSlave | test/all_test.h | <gh_stars>1-10
//
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_ALL_TEST_H
#define MODBUSMASTER_ALL_TEST_H
int test_all(void);
#endif //MODBUSMASTER_ALL_TEST_H
|
ZhukovWang/ModbusSlave | src/config.h | //
// Created by Zhukov on 2020/7/23.
//
#ifndef MODBUSMASTER_CONFIG_H
#define MODBUSMASTER_CONFIG_H
#define RTU_MODE 0x00
#define ASCII_MODE 0x01
extern uint8_t slave_id;
extern uint8_t slave_mode;
#endif //MODBUSMASTER_CONFIG_H
|
infoxchange/mod_auth_openid | moid_utils.h | /*
Copyright (C) 2007-2010 Butterfat, LLC (http://butterfat.net)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, ... |
infoxchange/mod_auth_openid | MoidConsumer.h | /*
Copyright (C) 2007-2010 Butterfat, LLC (http://butterfat.net)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, ... |
infoxchange/mod_auth_openid | types.h | /*
Copyright (C) 2007-2010 Butterfat, LLC (http://butterfat.net)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, ... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/tv/de_tve.c | <reponame>lanpinguo/rootfs_build
#include "de_tvec_i.h"
#include "drv_tv_i.h"
u32 tve_reg_base0;
u32 tve_reg_base1;
s32 tve_low_set_reg_base(u32 sel,u32 address)
{
if(sel == 0) {
tve_reg_base0 = g_tv_info.screen[sel].base_address;
tve_reg_base1 = tve_reg_base0; //sel 1 from disp_driver map to sel0 tv re... |
lanpinguo/rootfs_build | u-boot/drivers/power/sunxi/axp806_supply.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/disp_eink_data.h | <filename>u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw10/disp_eink_data.h
#ifndef __DISP_EINK_DATA_H__
#define __DISP_EINK_DATA_H__
#include "../include.h"
#ifdef EINK_DRIVER // if you have eink driver, pls define this macro
#include "../disp_eink.h"
#endif
#define EINK_PANEL_W 800
#d... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/disp_tv.c | <gh_stars>0
#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 struct disp_device_private_data *disp_tv_get_priv(stru... |
lanpinguo/rootfs_build | u-boot/board/sunxi/common/bootGUI/video_hal.h | <filename>u-boot/board/sunxi/common/bootGUI/video_hal.h
#ifndef __VIDEO_HAL_H__
#define __VIDEO_HAL_H__
#define DISPLAY_PARTITION_NAME "Reserve0"
inline int hal_fat_fsload(char *part_name, char *file_name, char *load_addr, unsigned long length);
/*
* ------- video device hal : start --------
*/
typedef struct disp_... |
lanpinguo/rootfs_build | kernel/drivers/usb/misc/sunxi-eh-test.c | <reponame>lanpinguo/rootfs_build
/**
* sunxi-eh-test.c - SUNXI Embedded Host Test Support Driver
*
* 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.
*
* ALTERNATIVELY, this softwa... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-cci/sunxi_cci.h | <gh_stars>0
/*
******************************************************************************
*
* sunxi_cci.h
*
* Hawkview ISP - sunxi_cci.h module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 2.0 <NAME> 2014/... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_dsi_type.h | #ifndef __DE_DSI_TYPE_H__
#define __DE_DSI_TYPE_H__
#include "de_lcd.h"
/*
* Detail information of registers
*/
union dsi_ctl_reg_t {
u32 dwval;
struct {
u32 dsi_en:1;
u32 res0:31;
} bits;
};
union dsi_gint0_reg_t {
u32 dwval;
struct {
u32 dsi_irq_en:16;
u32 dsi_irq_flag:16;
} bits;
};
union dsi_gin... |
lanpinguo/rootfs_build | u-boot/include/generated/generic-asm-offsets.h | #ifndef __GENERIC_ASM_OFFSETS_H__
#define __GENERIC_ASM_OFFSETS_H__
/*
* DO NOT MODIFY.
*
* This file was generated by Kbuild
*
*/
#define GENERATED_GBL_DATA_SIZE 272 /* (sizeof(struct global_data) + 15) & ~15 @ */
#define GENERATED_BD_INFO_SIZE 96 /* (sizeof(struct bd_info) + 15) & ~15 @ */
#define GD_SIZE 264 /... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_tmr.c | <filename>kernel/drivers/soc/allwinner/pm/mem_tmr.c<gh_stars>0
#include "pm_i.h"
static __mem_tmr_reg_t *TmrReg;
static __u32 WatchDog1_Mod_Reg_Bak;
#ifndef CONFIG_ARCH_SUN8IW11P1
static __u32 WatchDog1_Config_Reg_Bak, WatchDog1_Irq_En_Bak;
#endif
/*
********************************************************************... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8188eu/hal/phydm/rtl8188e/phydm_rtl8188e.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 ... |
lanpinguo/rootfs_build | kernel/drivers/input/keyboard/sunxi-gpiokey.c | #include <linux/module.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/keyboard.h>
#include <linux/ioport.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <linux/timer.h>
#include <linux/clk.h>
#include <linux/sys_con... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/core/rtw_mem.c | <filename>kernel/drivers/net/wireless/rtl8192eu/core/rtw_mem.c
#include <drv_types.h>
#include <rtw_mem.h>
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
MODULE_AUTHOR("<NAME>iconductor Corp.");
MODULE_VERSION("DRIVERVERSION");
struct sk_buff_head rtk_skb_mem_q;
struct u8* rtk_bu... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-isp/isp_module_cfg.h | /*
******************************************************************************
*
* isp_module_cfg.h
*
* Hawkview ISP - isp_module_cfg.h module
*
* Copyright (c) 2013 by Allwinnertech Co., Ltd. http:
*
* Version Author Date Description
*
* 1.0 <NAME> 2013/11/07 First Version
*
... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/utility/vin_io.h | /*
******************************************************************************
*
* vfe_io.h
*
* Hawkview ISP - vfe_io.h module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 2.0 <NAME> 2014/07/14 Second ... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/power/axp22_power.h | <filename>kernel/drivers/soc/allwinner/pm/standby/power/axp22_power.h
/*
* 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 version 2 as
*... |
lanpinguo/rootfs_build | u-boot/drivers/power/sunxi/axp81X_supply.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/security/optee/include/linux/tee_core.h | <filename>kernel/security/optee/include/linux/tee_core.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.
*
* Thi... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/bcmdhd/include/epivers.h | /*
* $Copyright Open Broadcom Corporation$
*
* $Id: epivers.h.in,v 13.33 2010-09-08 22:08:53 $
*
*/
#ifndef _epivers_h_
#define _epivers_h_
#define EPI_MAJOR_VERSION 1
#define EPI_MINOR_VERSION 201
#define EPI_RC_NUMBER 59
#define EPI_INCREMENTAL_NUMBER 0
#define EPI_BUILD_NUMBER 0
#define EPI_VERSION 1, 2... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/include/rtl8192e_xmit.h | <filename>kernel/drivers/net/wireless/rtl8723bs/include/rtl8192e_xmit.h
/******************************************************************************
*
* Copyright(c) 2007 - 2013 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the term... |
lanpinguo/rootfs_build | kernel/arch/arm/mach-exynos/common.c | /*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Common Codes for EXYNOS
*
* 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... |
lanpinguo/rootfs_build | kernel/drivers/power/axp_power/axp20/axp20.h | #ifndef AXP20_H_
#define AXP20_H_
/*For AXP22*/
#define AXP20_STATUS (0x00)
#define AXP20_MODE_CHGSTATUS (0x01)
#define AXP20_OTG_STATUS (0x02)
#define AXP20_IC_TYPE (0x03)
#define AXP20_DATA_BUFFER1 (0x04)
#define AXP20_DATA_BUFFER2 (0x05)
#... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/txbf/haltxbf8822b.h | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/txbf/haltxbf8822b.h
#ifndef __HAL_TXBF_8822B_H__
#define __HAL_TXBF_8822B_H__
#if (BEAMFORMING_SUPPORT == 1)
#if (RTL8822B_SUPPORT == 1)
VOID
HalTxbf8822B_Init(
IN PVOID pDM_VOID
);
VOID
HalTxbf8822B_Enter(
IN PVOID pDM_VOID,
IN u1Byte ... |
lanpinguo/rootfs_build | u-boot/arch/arm/cpu/armv7/sun8iw10p1/spl/rtc_region.c | /*
**********************************************************************************************************************
*
* the Embedded Secure Bootloader System
*
*
* Copyright(C), 2006-2014, Allwinnertech Co., Ltd.
* All Rights Reserved
*
* File ... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/standby_dram.h | #ifndef __STANDBY_DRAM_
#define __STANDBY_DRAM_
s32 standby_dram_crc_enable(pm_dram_para_t *pdram_state);
u32 standby_dram_crc(pm_dram_para_t *pdram_state);
#endif /* __STANDBY_DRAM_ */
|
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_dfs.c | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_dfs.c
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistri... |
lanpinguo/rootfs_build | kernel/drivers/input/sensor/da380/mir3da_cust.c | <filename>kernel/drivers/input/sensor/da380/mir3da_cust.c
/* For AllWinner android platform.
*
* mir3da.c - Linux kernel modules for 3-Axis Accelerometer
*
* Copyright (C) 2011-2013 MiraMEMS Sensing Technology Co., Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, ... |
lanpinguo/rootfs_build | u-boot/arch/arm/cpu/armv7/sun8iw10p1/mmc/mmc_bsp.h | <filename>u-boot/arch/arm/cpu/armv7/sun8iw10p1/mmc/mmc_bsp.h<gh_stars>0
#ifndef _MMC_BSP_H_
#define _MMC_BSP_H_
#include <asm/arch/mmc.h>
struct sunxi_mmc_host {
void *reg; //struct sunxi_mmc *reg;
u32 mmc_no;
//u32 mclk;
u32 hclkrst;
u32 hclkbase;
u32 mclkbase;
u32 database;
u32 commreg;
u32 fatal_e... |
lanpinguo/rootfs_build | u-boot/board/sunxi/common/sys_config_old.c | <gh_stars>0
#include <common.h>
#include <sys_config_old.h>
#include <sys_config.h>
#include <malloc.h>
#include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR;
script_sub_key_t *sw_cfg_get_subkey(const char *script_buf, const char *main_key, const char *sub_key)
{
script_head_t *hd = (script_head_t *)script_buf;
script... |
lanpinguo/rootfs_build | kernel/modules/nand/sun8iw11p1/nfd/nand_lib.h | /*
************************************************************************************************************************
* eNand
* Nand flash driver logic control module define
*
* Copyright(C), 2008-... |
lanpinguo/rootfs_build | kernel/sound/soc/sunxi/sunxi_daudio.c | /* ound\soc\sunxi\sunxi_daudio.c
* (C) Copyright 2015-2017
* 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 as
* p... |
lanpinguo/rootfs_build | kernel/include/linux/bootup_extend.h | <gh_stars>0
/*
* driver/soc/allwinner/sunxi_bootup_extend.c
*
* Copyright(c) 2013-2015 Allwinnertech Co., Ltd.
* http://www.allwinnertech.com
*
* allwinner sunxi platform bootup extend 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/sound/soc/sunxi/sun8iw11_sndcodec.c | <gh_stars>0
/*
* sound\soc\sunxi\sunx8iw11_sndcodec.c
* (C) Copyright 2014-2017
* allwinner Technology Co., Ltd. <www.allwinnertech.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 ter... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/PhyDM_Adaptivity.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/video/sunxi/disp2/disp/lcd/cpu_gg1p4062utsw.c | #include "cpu_gg1p4062utsw.h"
#define gg1p4062utsw_rs(v) sunxi_lcd_gpio_set_value(0, 0, v)
#define gg1p4062utsw_cs(v) sunxi_lcd_gpio_set_value(0, 1, v)
#define lcd_cpu_wr_index_16b sunxi_lcd_cpu_write_index
#define lcd_cpu_wr_data_16b sunxi_lcd_cpu_write_data
static void lcd_power_on(u32 sel);
static void lcd_power_... |
lanpinguo/rootfs_build | u-boot/arch/arm/cpu/armv7/sun8iw11p1/spinor/spi_hal.h | /**
* spi_hal.h
* date: 2015/10/13
* author: wangwei<<EMAIL>>
* history: V0.1
*/
#ifndef __SPI_HAL_H
#define __SPI_HAL_H
extern int spic_init(unsigned int spi_no);
extern int spic_exit(unsigned int spi_no);
extern int spic_rw( u32 txlen, void* txbuff, u32 rxlen, void* rxbuff);
extern void spic_config... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_tmstmp.h | /*
* 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 __MEM_TMSTMP_H__
#define __MEM_TMSTMP_H__
typedef struct __MEM_TMSTMP_REG {
/*... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/pm_debug.c | #include "pm_i.h"
/* volatile int print_flag; = 0 */
void busy_waiting(void)
{
#if 1
volatile __u32 loop_flag = 1;
while (1 == loop_flag)
;
#endif
return;
}
|
lanpinguo/rootfs_build | kernel/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_lcd.c |
#include "de_lcd_type.h"
#include "de_lcd.h"
static volatile struct __de_lcd_dev_t *lcd_dev[DEVICE_NUM];
#if defined(HAVE_DEVICE_COMMON_MODULE)
static volatile struct __de_lcd_top_dev_t *lcd_top[1];
#endif
#if defined(HAVE_DEVICE_COMMON_MODULE)
/* sel: the index of timing controller */
s32 tcon0_out_to_gpio(u32 sel)... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-isp/sun8iw12p1/sun8iw12p1_isp_reg_cfg.c |
/*
******************************************************************************
*
* sun8iw12p1_isp_reg_cfg.c
*
* Hawkview ISP - sun8iw12p1_isp_reg_cfg.c module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http:
*
* Version Author Date Description
*
* 2.0 <NAME> 2014/06/30 ... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/mem_ccu-sun8iw8.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/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_antdiv.c | <filename>kernel/drivers/net/wireless/rtl8192eu/hal/phydm/phydm_antdiv.c
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redis... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/disp_features.c | <filename>u-boot/drivers/video/sunxi/disp2/disp/de/disp_features.c
#include "disp_features.h"
int bsp_disp_feat_get_num_screens(void)
{
return de_feat_get_num_screens();
}
int bsp_disp_feat_get_num_devices(void)
{
return de_feat_get_num_devices();
}
int bsp_disp_feat_get_num_channels(unsigned int disp)
{
return d... |
lanpinguo/rootfs_build | u-boot/drivers/clk/clk_sun50iw1.h | #ifndef __MACH_SUN50I_CLK__H
#define __MACH_SUN50I_CLK__H
#define PLL_CPU 0x0000
#define PLL_AUDIO 0x0008
#define PLL_VIDEO0 0x0010
#define PLL_VE 0x0018
#define PLL_DDR0 0x0020
#define PLL_PERIPH0 0x0028
#define PLL_PERIPH1 0x002c
#define PLL_VIDE... |
lanpinguo/rootfs_build | kernel/drivers/soc/allwinner/pm/standby/power/axp_power.h | #ifndef __AXP_POWER_H__
#define __AXP_POWER_H__
#define AXP_LDO(_pmic, _id, min, max, step1, vreg, shift, nbits, ereg, emask,\
enval, disval)\
{ \
.min_uv = (min) * 1000, \
.max_uv = (max) * 1000, \
.step1_uv = (step1) * 1000, ... |
lanpinguo/rootfs_build | kernel/drivers/net/wireless/rtl8723bs/hal/OUTSRC/phydm_EdcaTurboCheck.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 | kernel/drivers/gpio/gpio-sunxi.c | /* driver/misc/sunxi-reg.c
*
* Copyright (C) 2011 Reuuimlla Technology Co.Ltd
* Charles <<EMAIL>>
*
* www.reuuimllatech.com
*
* User access to the registers driver.
*
* 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
... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw11/de_lcd_type.h | <reponame>lanpinguo/rootfs_build<filename>u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw11/de_lcd_type.h
#ifndef __DE_LCD_TYPE_H__
#define __DE_LCD_TYPE_H__
#include "de_lcd.h"
//
// detail information of registers
//
typedef union
{
u32 dwval;
struct
{
u32 io_map_sel : 1 ; // defa... |
lanpinguo/rootfs_build | kernel/drivers/media/platform/sunxi-vin/vin-cci/sunxi_cci.c |
/*
******************************************************************************
*
* sunxi_cci.c
*
* Hawkview ISP - sunxi_cci.c module
*
* Copyright (c) 2014 by Allwinnertech Co., Ltd. http://www.allwinnertech.com
*
* Version Author Date Description
*
* 2.0 <NAME> 2014/06/23 ... |
lanpinguo/rootfs_build | u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_gsu_type.h | <filename>u-boot/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_gsu_type.h<gh_stars>0
/**
* All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
*
* File name : de_gsu_type.h
*
* Description : display engine 2.0 gsu struct declaration
*
* History : 2014/03/20 <NAME> v0.1 Ini... |
lanpinguo/rootfs_build | kernel/drivers/thermal/sunxi_budget_cooling/sunxi-budget-cooling-hotplug.c | <filename>kernel/drivers/thermal/sunxi_budget_cooling/sunxi-budget-cooling-hotplug.c<gh_stars>0
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/cpufreq.h>
#include <linux/thermal.h>
#include <linux/platform_device.h>
#include <linux/of_platform.h>
#include <linux/cpufreq.h>
#include <linux/err.h>
#i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.