Hackfut Security File Manager
Current Path:
/usr/include/linux
usr
/
include
/
linux
/
π
..
π
a.out.h
(7.15 KB)
π
acct.h
(3.41 KB)
π
adb.h
(1.05 KB)
π
adfs_fs.h
(856 B)
π
affs_hardblocks.h
(1.45 KB)
π
agpgart.h
(3.83 KB)
π
aio_abi.h
(3.04 KB)
π
apm_bios.h
(3.46 KB)
π
arcfb.h
(150 B)
π
atalk.h
(927 B)
π
atm.h
(7.62 KB)
π
atm_eni.h
(585 B)
π
atm_he.h
(343 B)
π
atm_idt77105.h
(892 B)
π
atm_nicstar.h
(1.19 KB)
π
atm_tcp.h
(1.5 KB)
π
atm_zatm.h
(1.57 KB)
π
atmapi.h
(889 B)
π
atmarp.h
(1.2 KB)
π
atmbr2684.h
(3.13 KB)
π
atmclip.h
(513 B)
π
atmdev.h
(7.42 KB)
π
atmioc.h
(1.55 KB)
π
atmlec.h
(2.5 KB)
π
atmmpc.h
(4.07 KB)
π
atmppp.h
(576 B)
π
atmsap.h
(4.79 KB)
π
atmsvc.h
(1.75 KB)
π
audit.h
(15.51 KB)
π
auto_fs.h
(2.29 KB)
π
auto_fs4.h
(4.03 KB)
π
auxvec.h
(1.35 KB)
π
ax25.h
(2.69 KB)
π
b1lli.h
(1.62 KB)
π
baycom.h
(820 B)
π
bfs_fs.h
(1.79 KB)
π
binfmts.h
(565 B)
π
blk_types.h
(6.94 KB)
π
blkpg.h
(1.56 KB)
π
blktrace_api.h
(4.37 KB)
π
bpqether.h
(952 B)
π
bsg.h
(2.33 KB)
π
byteorder
π
can
π
can.h
(3.25 KB)
π
capability.h
(10.34 KB)
π
capi.h
(2.99 KB)
π
cciss_ioctl.h
(5.69 KB)
π
cdk.h
(12.47 KB)
π
cdrom.h
(27.47 KB)
π
cgroupstats.h
(2.1 KB)
π
chio.h
(5.16 KB)
π
cm4000_cs.h
(1.68 KB)
π
cn_proc.h
(2.65 KB)
π
coda.h
(17.08 KB)
π
coda_psdev.h
(679 B)
π
coff.h
(12.12 KB)
π
comstats.h
(3.05 KB)
π
connector.h
(2.08 KB)
π
const.h
(682 B)
π
cramfs_fs.h
(2.86 KB)
π
cuda.h
(769 B)
π
cyclades.h
(16.65 KB)
π
cycx_cfm.h
(2.86 KB)
π
dcbnl.h
(21.6 KB)
π
dccp.h
(5.66 KB)
π
dlm.h
(2.47 KB)
π
dlm_device.h
(2.42 KB)
π
dlm_netlink.h
(1.04 KB)
π
dlm_plock.h
(806 B)
π
dlmconstants.h
(4.9 KB)
π
dm-ioctl.h
(10.42 KB)
π
dm-log-userspace.h
(14.82 KB)
π
dn.h
(4.42 KB)
π
dqblk_xfs.h
(6.79 KB)
π
dvb
π
edd.h
(5.41 KB)
π
efs_fs_sb.h
(2.11 KB)
π
elf-em.h
(1.79 KB)
π
elf-fdpic.h
(2.5 KB)
π
elf.h
(10.97 KB)
π
elfcore.h
(2.86 KB)
π
errno.h
(79 B)
π
errqueue.h
(443 B)
π
ethtool.h
(33.37 KB)
π
eventpoll.h
(1.32 KB)
π
ext2_fs.h
(18.36 KB)
π
fadvise.h
(855 B)
π
falloc.h
(293 B)
π
fb.h
(15.64 KB)
π
fcntl.h
(1.57 KB)
π
fd.h
(11.29 KB)
π
fdreg.h
(5.23 KB)
π
fib_rules.h
(1.42 KB)
π
fiemap.h
(2.49 KB)
π
filter.h
(3.45 KB)
π
firewire-cdev.h
(24.47 KB)
π
firewire-constants.h
(1.93 KB)
π
flat.h
(2.04 KB)
π
fs.h
(18.47 KB)
π
fuse.h
(11.17 KB)
π
futex.h
(4.79 KB)
π
gameport.h
(816 B)
π
gen_stats.h
(1.27 KB)
π
generic_serial.h
(895 B)
π
genetlink.h
(1.64 KB)
π
gfs2_ondisk.h
(11.54 KB)
π
gigaset_dev.h
(981 B)
π
hayesesp.h
(230 B)
π
hdlc
π
hdlc.h
(574 B)
π
hdlcdrv.h
(2.78 KB)
π
hdreg.h
(22.11 KB)
π
hid.h
(1.78 KB)
π
hiddev.h
(6.12 KB)
π
hidraw.h
(1.19 KB)
π
hpet.h
(686 B)
π
hysdn_if.h
(1.29 KB)
π
i2c-dev.h
(2.35 KB)
π
i2c.h
(6.48 KB)
π
i2o-dev.h
(11.22 KB)
π
i8k.h
(1.4 KB)
π
icmp.h
(2.82 KB)
π
icmpv6.h
(3.74 KB)
π
if.h
(8.47 KB)
π
if_addr.h
(1.42 KB)
π
if_addrlabel.h
(658 B)
π
if_arcnet.h
(3.63 KB)
π
if_arp.h
(5.97 KB)
π
if_bonding.h
(3.98 KB)
π
if_bridge.h
(3.72 KB)
π
if_cablemodem.h
(910 B)
π
if_ec.h
(901 B)
π
if_eql.h
(1.25 KB)
π
if_ether.h
(6.39 KB)
π
if_fc.h
(1.63 KB)
π
if_fddi.h
(3.61 KB)
π
if_frad.h
(2.87 KB)
π
if_hippi.h
(4.08 KB)
π
if_infiniband.h
(1.12 KB)
π
if_link.h
(11.79 KB)
π
if_ltalk.h
(125 B)
π
if_packet.h
(3.45 KB)
π
if_phonet.h
(337 B)
π
if_plip.h
(596 B)
π
if_ppp.h
(6.78 KB)
π
if_pppol2tp.h
(1.94 KB)
π
if_pppox.h
(3.68 KB)
π
if_slip.h
(809 B)
π
if_strip.h
(700 B)
π
if_tr.h
(3.12 KB)
π
if_tun.h
(2.94 KB)
π
if_tunnel.h
(1.42 KB)
π
if_vlan.h
(1.67 KB)
π
igmp.h
(2.86 KB)
π
in.h
(8.99 KB)
π
in6.h
(7.32 KB)
π
in_route.h
(873 B)
π
inet_diag.h
(2.4 KB)
π
inotify.h
(2.77 KB)
π
input.h
(26.95 KB)
π
ioctl.h
(100 B)
π
ip.h
(3.47 KB)
π
ip6_tunnel.h
(1.05 KB)
π
ip_vs.h
(12.29 KB)
π
ipc.h
(1.99 KB)
π
ipmi.h
(16.16 KB)
π
ipmi_msgdefs.h
(4.37 KB)
π
ipsec.h
(884 B)
π
ipv6.h
(2.82 KB)
π
ipv6_route.h
(1.58 KB)
π
ipx.h
(1.78 KB)
π
irda.h
(7.47 KB)
π
irqnr.h
(93 B)
π
isdn
π
isdn.h
(5.55 KB)
π
isdn_divertif.h
(1.01 KB)
π
isdn_ppp.h
(1.82 KB)
π
isdnif.h
(2.25 KB)
π
iso_fs.h
(6.29 KB)
π
ivtv.h
(2.66 KB)
π
ivtvfb.h
(1.12 KB)
π
ixjuser.h
(24.53 KB)
π
jffs2.h
(6.79 KB)
π
joystick.h
(3.5 KB)
π
kd.h
(6.02 KB)
π
kdev_t.h
(298 B)
π
kernel.h
(2.4 KB)
π
kernelcapi.h
(959 B)
π
keyboard.h
(12.4 KB)
π
keyctl.h
(2.91 KB)
π
kvm.h
(20.2 KB)
π
kvm_para.h
(564 B)
π
libc-compat.h
(3.46 KB)
π
limits.h
(874 B)
π
llc.h
(2.77 KB)
π
loop.h
(2.14 KB)
π
lp.h
(3.71 KB)
π
magic.h
(2.24 KB)
π
major.h
(4.55 KB)
π
map_to_7segment.h
(7.02 KB)
π
matroxfb.h
(1.4 KB)
π
mempolicy.h
(2 KB)
π
meye.h
(2.48 KB)
π
mii.h
(7.76 KB)
π
minix_fs.h
(2.01 KB)
π
mman.h
(230 B)
π
mmtimer.h
(2.01 KB)
π
mqueue.h
(2.01 KB)
π
mroute.h
(3.72 KB)
π
mroute6.h
(3.9 KB)
π
msdos_fs.h
(5.7 KB)
π
msg.h
(2.48 KB)
π
mtio.h
(7.89 KB)
π
n_r3964.h
(2.29 KB)
π
nbd.h
(1.91 KB)
π
ncp.h
(4.94 KB)
π
ncp_fs.h
(3.28 KB)
π
ncp_mount.h
(2.06 KB)
π
ncp_no.h
(651 B)
π
neighbour.h
(3.96 KB)
π
net.h
(1.97 KB)
π
net_dropmon.h
(1.07 KB)
π
net_tstamp.h
(3.39 KB)
π
netdevice.h
(1.73 KB)
π
netfilter
π
netfilter.h
(1.51 KB)
π
netfilter_arp
π
netfilter_arp.h
(380 B)
π
netfilter_bridge
π
netfilter_bridge.h
(735 B)
π
netfilter_decnet.h
(1.83 KB)
π
netfilter_ipv4
π
netfilter_ipv4.h
(1.98 KB)
π
netfilter_ipv6
π
netfilter_ipv6.h
(2 KB)
π
netlink.h
(4.85 KB)
π
netrom.h
(719 B)
π
nfs.h
(4.25 KB)
π
nfs2.h
(1.37 KB)
π
nfs3.h
(2.16 KB)
π
nfs4.h
(5.63 KB)
π
nfs4_mount.h
(1.83 KB)
π
nfs_fs.h
(1.52 KB)
π
nfs_idmap.h
(2.19 KB)
π
nfs_mount.h
(3.13 KB)
π
nfsacl.h
(577 B)
π
nfsd
π
nl80211.h
(187.85 KB)
π
nubus.h
(8.17 KB)
π
nvram.h
(470 B)
π
oom.h
(456 B)
π
param.h
(78 B)
π
parport.h
(3.56 KB)
π
patchkey.h
(831 B)
π
pci.h
(1.45 KB)
π
pci_regs.h
(37.08 KB)
π
perf_event.h
(21.34 KB)
π
personality.h
(1.95 KB)
π
pfkeyv2.h
(9.91 KB)
π
pg.h
(2.23 KB)
π
phantom.h
(1.55 KB)
π
phonet.h
(4.25 KB)
π
pkt_cls.h
(9.08 KB)
π
pkt_sched.h
(10.63 KB)
π
pktcdvd.h
(2.56 KB)
π
pmu.h
(5.07 KB)
π
poll.h
(96 B)
π
posix_types.h
(1.24 KB)
π
ppdev.h
(3.07 KB)
π
ppp-comp.h
(6.36 KB)
π
ppp_defs.h
(6.31 KB)
π
pps.h
(3.85 KB)
π
prctl.h
(4.86 KB)
π
ptp_clock.h
(3.41 KB)
π
ptrace.h
(2.24 KB)
π
qnx4_fs.h
(2.21 KB)
π
qnxtypes.h
(561 B)
π
quota.h
(5.59 KB)
π
radeonfb.h
(297 B)
π
raid
π
random.h
(1.06 KB)
π
raw.h
(302 B)
π
reboot.h
(1.25 KB)
π
reiserfs_fs.h
(907 B)
π
reiserfs_xattr.h
(465 B)
π
resource.h
(2.04 KB)
π
rfkill.h
(3.3 KB)
π
romfs_fs.h
(1.1 KB)
π
rose.h
(2.05 KB)
π
route.h
(2.22 KB)
π
rtc.h
(3.61 KB)
π
rtnetlink.h
(14.98 KB)
π
scc.h
(4.44 KB)
π
sched.h
(2.05 KB)
π
screen_info.h
(2.15 KB)
π
sdla.h
(2.77 KB)
π
selinux_netlink.h
(1.11 KB)
π
sem.h
(3.58 KB)
π
serial.h
(6.62 KB)
π
serial_core.h
(3.93 KB)
π
serial_reg.h
(12.93 KB)
π
serio.h
(1.65 KB)
π
shm.h
(2.14 KB)
π
signal.h
(129 B)
π
signalfd.h
(1.07 KB)
π
smb.h
(1.18 KB)
π
smb_fs.h
(535 B)
π
smb_mount.h
(468 B)
π
smbno.h
(14.18 KB)
π
snmp.h
(10.9 KB)
π
socket.h
(738 B)
π
sockios.h
(5.83 KB)
π
som.h
(5.35 KB)
π
sonet.h
(2.16 KB)
π
sonypi.h
(5.02 KB)
π
sound.h
(1.07 KB)
π
soundcard.h
(44.94 KB)
π
spi
π
stat.h
(1005 B)
π
stddef.h
(633 B)
π
string.h
(175 B)
π
sunrpc
π
suspend_ioctls.h
(1.34 KB)
π
swab.h
(6.14 KB)
π
synclink.h
(8.49 KB)
π
sysctl.h
(25.87 KB)
π
taskstats.h
(6.78 KB)
π
tc_act
π
tc_ematch
π
tcp.h
(5.08 KB)
π
telephony.h
(8.84 KB)
π
termios.h
(544 B)
π
time.h
(1.7 KB)
π
times.h
(215 B)
π
timex.h
(6.08 KB)
π
tiocl.h
(1.63 KB)
π
tipc.h
(5.77 KB)
π
tipc_config.h
(15.01 KB)
π
toshiba.h
(1.25 KB)
π
tty.h
(128 B)
π
types.h
(991 B)
π
udf_fs_i.h
(634 B)
π
udp.h
(1.14 KB)
π
uinput.h
(5 KB)
π
uio.h
(648 B)
π
ultrasound.h
(4.39 KB)
π
un.h
(203 B)
π
unistd.h
(157 B)
π
usb
π
usbdevice_fs.h
(5.21 KB)
π
utime.h
(152 B)
π
utsname.h
(606 B)
π
uuid.h
(1.73 KB)
π
version.h
(281 B)
π
veth.h
(474 B)
π
vhost.h
(4.46 KB)
π
videodev.h
(10.27 KB)
π
videodev2.h
(64.52 KB)
π
videotext.h
(4.14 KB)
π
virtio_9p.h
(351 B)
π
virtio_balloon.h
(1.23 KB)
π
virtio_blk.h
(2.91 KB)
π
virtio_config.h
(1.25 KB)
π
virtio_console.h
(1.37 KB)
π
virtio_ids.h
(545 B)
π
virtio_net.h
(6.86 KB)
π
virtio_pci.h
(2.21 KB)
π
virtio_ring.h
(4.38 KB)
π
virtio_rng.h
(265 B)
π
vt.h
(3 KB)
π
wait.h
(580 B)
π
wanrouter.h
(17.42 KB)
π
watchdog.h
(2.34 KB)
π
wimax
π
wimax.h
(8.17 KB)
π
wireless.h
(41.65 KB)
π
x25.h
(3.34 KB)
π
xattr.h
(646 B)
π
xfrm.h
(10.31 KB)
Editing: i2c.h
/* ------------------------------------------------------------------------- */ /* */ /* i2c.h - definitions for the i2c-bus interface */ /* */ /* ------------------------------------------------------------------------- */ /* Copyright (C) 1995-2000 Simon G. Vogl 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 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* ------------------------------------------------------------------------- */ /* With some changes from KyΓΆsti MΓ€lkki <kmalkki@cc.hut.fi> and Frodo Looijaard <frodol@dds.nl> */ #ifndef _LINUX_I2C_H #define _LINUX_I2C_H #include <linux/types.h> /** * struct i2c_msg - an I2C transaction segment beginning with START * @addr: Slave address, either seven or ten bits. When this is a ten * bit address, I2C_M_TEN must be set in @flags and the adapter * must support I2C_FUNC_10BIT_ADDR. * @flags: I2C_M_RD is handled by all adapters. No other flags may be * provided unless the adapter exported the relevant I2C_FUNC_* * flags through i2c_check_functionality(). * @len: Number of data bytes in @buf being read from or written to the * I2C slave address. For read transactions where I2C_M_RECV_LEN * is set, the caller guarantees that this buffer can hold up to * 32 bytes in addition to the initial length byte sent by the * slave (plus, if used, the SMBus PEC); and this value will be * incremented by the number of block data bytes received. * @buf: The buffer into which data is read, or from which it's written. * * An i2c_msg is the low level representation of one segment of an I2C * transaction. It is visible to drivers in the @i2c_transfer() procedure, * to userspace from i2c-dev, and to I2C adapter drivers through the * @i2c_adapter.@master_xfer() method. * * Except when I2C "protocol mangling" is used, all I2C adapters implement * the standard rules for I2C transactions. Each transaction begins with a * START. That is followed by the slave address, and a bit encoding read * versus write. Then follow all the data bytes, possibly including a byte * with SMBus PEC. The transfer terminates with a NAK, or when all those * bytes have been transferred and ACKed. If this is the last message in a * group, it is followed by a STOP. Otherwise it is followed by the next * @i2c_msg transaction segment, beginning with a (repeated) START. * * Alternatively, when the adapter supports I2C_FUNC_PROTOCOL_MANGLING then * passing certain @flags may have changed those standard protocol behaviors. * Those flags are only for use with broken/nonconforming slaves, and with * adapters which are known to support the specific mangling options they * need (one or more of IGNORE_NAK, NO_RD_ACK, NOSTART, and REV_DIR_ADDR). */ struct i2c_msg { __u16 addr; /* slave address */ __u16 flags; #define I2C_M_TEN 0x0010 /* this is a ten bit chip address */ #define I2C_M_RD 0x0001 /* read data, from slave to master */ #define I2C_M_NOSTART 0x4000 /* if I2C_FUNC_PROTOCOL_MANGLING */ #define I2C_M_REV_DIR_ADDR 0x2000 /* if I2C_FUNC_PROTOCOL_MANGLING */ #define I2C_M_IGNORE_NAK 0x1000 /* if I2C_FUNC_PROTOCOL_MANGLING */ #define I2C_M_NO_RD_ACK 0x0800 /* if I2C_FUNC_PROTOCOL_MANGLING */ #define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */ __u16 len; /* msg length */ __u8 *buf; /* pointer to msg data */ }; /* To determine what functionality is present */ #define I2C_FUNC_I2C 0x00000001 #define I2C_FUNC_10BIT_ADDR 0x00000002 #define I2C_FUNC_PROTOCOL_MANGLING 0x00000004 /* I2C_M_NOSTART etc. */ #define I2C_FUNC_SMBUS_PEC 0x00000008 #define I2C_FUNC_SMBUS_BLOCK_PROC_CALL 0x00008000 /* SMBus 2.0 */ #define I2C_FUNC_SMBUS_QUICK 0x00010000 #define I2C_FUNC_SMBUS_READ_BYTE 0x00020000 #define I2C_FUNC_SMBUS_WRITE_BYTE 0x00040000 #define I2C_FUNC_SMBUS_READ_BYTE_DATA 0x00080000 #define I2C_FUNC_SMBUS_WRITE_BYTE_DATA 0x00100000 #define I2C_FUNC_SMBUS_READ_WORD_DATA 0x00200000 #define I2C_FUNC_SMBUS_WRITE_WORD_DATA 0x00400000 #define I2C_FUNC_SMBUS_PROC_CALL 0x00800000 #define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000 #define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000 #define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */ #define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */ #define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \ I2C_FUNC_SMBUS_WRITE_BYTE) #define I2C_FUNC_SMBUS_BYTE_DATA (I2C_FUNC_SMBUS_READ_BYTE_DATA | \ I2C_FUNC_SMBUS_WRITE_BYTE_DATA) #define I2C_FUNC_SMBUS_WORD_DATA (I2C_FUNC_SMBUS_READ_WORD_DATA | \ I2C_FUNC_SMBUS_WRITE_WORD_DATA) #define I2C_FUNC_SMBUS_BLOCK_DATA (I2C_FUNC_SMBUS_READ_BLOCK_DATA | \ I2C_FUNC_SMBUS_WRITE_BLOCK_DATA) #define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \ I2C_FUNC_SMBUS_WRITE_I2C_BLOCK) #define I2C_FUNC_SMBUS_EMUL (I2C_FUNC_SMBUS_QUICK | \ I2C_FUNC_SMBUS_BYTE | \ I2C_FUNC_SMBUS_BYTE_DATA | \ I2C_FUNC_SMBUS_WORD_DATA | \ I2C_FUNC_SMBUS_PROC_CALL | \ I2C_FUNC_SMBUS_WRITE_BLOCK_DATA | \ I2C_FUNC_SMBUS_I2C_BLOCK | \ I2C_FUNC_SMBUS_PEC) /* * Data for SMBus Messages */ #define I2C_SMBUS_BLOCK_MAX 32 /* As specified in SMBus standard */ union i2c_smbus_data { __u8 byte; __u16 word; __u8 block[I2C_SMBUS_BLOCK_MAX + 2]; /* block[0] is used for length */ /* and one more for user-space compatibility */ }; /* i2c_smbus_xfer read or write markers */ #define I2C_SMBUS_READ 1 #define I2C_SMBUS_WRITE 0 /* SMBus transaction types (size parameter in the above functions) Note: these no longer correspond to the (arbitrary) PIIX4 internal codes! */ #define I2C_SMBUS_QUICK 0 #define I2C_SMBUS_BYTE 1 #define I2C_SMBUS_BYTE_DATA 2 #define I2C_SMBUS_WORD_DATA 3 #define I2C_SMBUS_PROC_CALL 4 #define I2C_SMBUS_BLOCK_DATA 5 #define I2C_SMBUS_I2C_BLOCK_BROKEN 6 #define I2C_SMBUS_BLOCK_PROC_CALL 7 /* SMBus 2.0 */ #define I2C_SMBUS_I2C_BLOCK_DATA 8 #endif /* _LINUX_I2C_H */
Upload File
Create Folder