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/build/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/build/include/linux/i2c/pxa-i2c.h
/*
 *  i2c_pxa.h
 *
 *  Copyright (C) 2002 Intrinsyc Software Inc.
 *
 *  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 _I2C_PXA_H_
#define _I2C_PXA_H_

#if 0
#define DEF_TIMEOUT             3
#else
/* need a longer timeout if we're dealing with the fact we may well be
 * looking at a multi-master environment
*/
#define DEF_TIMEOUT             32
#endif

#define BUS_ERROR               (-EREMOTEIO)
#define XFER_NAKED              (-ECONNREFUSED)
#define I2C_RETRY               (-2000) /* an error has occurred retry transmit */

/* ICR initialize bit values
*
*  15. FM       0 (100 Khz operation)
*  14. UR       0 (No unit reset)
*  13. SADIE    0 (Disables the unit from interrupting on slave addresses
*                                       matching its slave address)
*  12. ALDIE    0 (Disables the unit from interrupt when it loses arbitration
*                                       in master mode)
*  11. SSDIE    0 (Disables interrupts from a slave stop detected, in slave mode)
*  10. BEIE     1 (Enable interrupts from detected bus errors, no ACK sent)
*  9.  IRFIE    1 (Enable interrupts from full buffer received)
*  8.  ITEIE    1 (Enables the I2C unit to interrupt when transmit buffer empty)
*  7.  GCD      1 (Disables i2c unit response to general call messages as a slave)
*  6.  IUE      0 (Disable unit until we change settings)
*  5.  SCLE     1 (Enables the i2c clock output for master mode (drives SCL)
*  4.  MA       0 (Only send stop with the ICR stop bit)
*  3.  TB       0 (We are not transmitting a byte initially)
*  2.  ACKNAK   0 (Send an ACK after the unit receives a byte)
*  1.  STOP     0 (Do not send a STOP)
*  0.  START    0 (Do not send a START)
*
*/
#define I2C_ICR_INIT	(ICR_BEIE | ICR_IRFIE | ICR_ITEIE | ICR_GCD | ICR_SCLE)

/* I2C status register init values
 *
 * 10. BED      1 (Clear bus error detected)
 * 9.  SAD      1 (Clear slave address detected)
 * 7.  IRF      1 (Clear IDBR Receive Full)
 * 6.  ITE      1 (Clear IDBR Transmit Empty)
 * 5.  ALD      1 (Clear Arbitration Loss Detected)
 * 4.  SSD      1 (Clear Slave Stop Detected)
 */
#define I2C_ISR_INIT	0x7FF  /* status register init */

struct i2c_slave_client;

struct i2c_pxa_platform_data {
	unsigned int		slave_addr;
	struct i2c_slave_client	*slave;
	unsigned int		class;
	unsigned int		use_pio :1;
	unsigned int		fast_mode :1;
};

extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);

#ifdef CONFIG_PXA27x
extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
#endif

#ifdef CONFIG_PXA3xx
extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info);
#endif

#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