p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/linux/i2c/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/linux/i2c/bh1770glc.h
/*
 * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 sensor driver.
 * Chip is combined proximity and ambient light sensor.
 *
 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 *
 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
 *
 * 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 WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

#ifndef __BH1770_H__
#define __BH1770_H__

/**
 * struct bh1770_platform_data - platform data for bh1770glc driver
 * @led_def_curr: IR led driving current.
 * @glass_attenuation: Attenuation factor for covering window.
 * @setup_resources: Call back for interrupt line setup function
 * @release_resources: Call back for interrupte line release function
 *
 * Example of glass attenuation: 16384 * 385 / 100 means attenuation factor
 * of 3.85. i.e. light_above_sensor = light_above_cover_window / 3.85
 */

struct bh1770_platform_data {
#define BH1770_LED_5mA	0
#define BH1770_LED_10mA	1
#define BH1770_LED_20mA	2
#define BH1770_LED_50mA	3
#define BH1770_LED_100mA 4
#define BH1770_LED_150mA 5
#define BH1770_LED_200mA 6
	__u8 led_def_curr;
#define BH1770_NEUTRAL_GA 16384 /* 16384 / 16384 = 1 */
	__u32 glass_attenuation;
	int (*setup_resources)(void);
	int (*release_resources)(void);
};
#endif
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:51
0 / 0
0755
adp5588.h
6.533 KB
November 06 2023 09:15:52
0 / 0
0644
adp8860.h
4.603 KB
November 06 2023 09:15:52
0 / 0
0644
adp8870.h
4.509 KB
November 06 2023 09:15:52
0 / 0
0644
ads1015.h
1.105 KB
November 06 2023 09:15:52
0 / 0
0644
apds990x.h
2.429 KB
November 06 2023 09:15:52
0 / 0
0644
atmel_mxt_ts.h
1.206 KB
November 06 2023 09:15:52
0 / 0
0644
bh1770glc.h
1.775 KB
November 06 2023 09:15:52
0 / 0
0644
dm355evm_msp.h
2.812 KB
November 06 2023 09:15:52
0 / 0
0644
ds620.h
0.378 KB
November 06 2023 09:15:52
0 / 0
0644
i2c-rcar.h
0.162 KB
November 06 2023 09:15:52
0 / 0
0644
i2c-sh_mobile.h
0.218 KB
November 06 2023 09:15:52
0 / 0
0644
lm8323.h
1.34 KB
November 06 2023 09:15:52
0 / 0
0644
ltc4245.h
0.525 KB
November 06 2023 09:15:52
0 / 0
0644
max6639.h
0.385 KB
November 06 2023 09:15:52
0 / 0
0644
max732x.h
0.521 KB
November 06 2023 09:15:52
0 / 0
0644
mcs.h
0.892 KB
November 06 2023 09:15:52
0 / 0
0644
mms114.h
0.566 KB
November 06 2023 09:15:52
0 / 0
0644
mpr121_touchkey.h
0.515 KB
November 06 2023 09:15:52
0 / 0
0644
pca953x.h
0.636 KB
November 06 2023 09:15:52
0 / 0
0644
pca954x.h
1.53 KB
November 06 2023 09:15:52
0 / 0
0644
pcf857x.h
1.744 KB
November 06 2023 09:15:52
0 / 0
0644
pmbus.h
1.494 KB
November 06 2023 09:15:52
0 / 0
0644
pxa-i2c.h
2.728 KB
November 06 2023 09:15:52
0 / 0
0644
s6000.h
0.185 KB
November 06 2023 09:15:52
0 / 0
0644
sx150x.h
4.093 KB
November 06 2023 09:15:52
0 / 0
0644
tc35876x.h
0.168 KB
November 06 2023 09:15:52
0 / 0
0644
tps65010.h
6.528 KB
November 06 2023 09:15:52
0 / 0
0644
tsc2007.h
0.687 KB
November 06 2023 09:15:52
0 / 0
0644
twl.h
25.113 KB
November 06 2023 09:15:52
0 / 0
0644
twl4030-madc.h
4.011 KB
November 06 2023 09:15:52
0 / 0
0644