Home
last modified time | relevance | path

Searched refs:i2c (Results 1 – 6 of 6) sorted by relevance

/external/syslinux/gpxe/src/include/gpxe/
Di2c.h68 int ( * read ) ( struct i2c_interface *i2c, struct i2c_device *i2cdev,
81 int ( * write ) ( struct i2c_interface *i2c, struct i2c_device *i2cdev,
93 struct i2c_interface i2c; member
135 static inline int i2c_check_presence ( struct i2c_interface *i2c, in i2c_check_presence() argument
137 return i2c->write ( i2c, i2cdev, 0, NULL, 0 ); in i2c_check_presence()
/external/syslinux/gpxe/src/drivers/bitbash/
Di2c_bit.c276 static int i2c_bit_read ( struct i2c_interface *i2c, in i2c_bit_read() argument
280 = container_of ( i2c, struct i2c_bit_basher, i2c ); in i2c_bit_read()
330 static int i2c_bit_write ( struct i2c_interface *i2c, in i2c_bit_write() argument
334 = container_of ( i2c, struct i2c_bit_basher, i2c ); in i2c_bit_write()
382 i2cbit->i2c.read = i2c_bit_read; in init_i2c_bit_basher()
383 i2cbit->i2c.write = i2c_bit_write; in init_i2c_bit_basher()
/external/syslinux/gpxe/src/drivers/net/
Detherfabric.c2849 struct i2c_interface *i2c = &efab->i2c_bb.i2c; in sfe4001_init() local
2870 rc = i2c->write ( i2c, &i2c_max6647, WLHO, &cfg, EFAB_BYTE ); in sfe4001_init()
2875 rc = i2c->read ( i2c, &i2c_max6647, RLHN, &in, EFAB_BYTE ); in sfe4001_init()
2887 rc = i2c->read ( i2c, &i2c_max6647, RSL, &in, EFAB_BYTE ); in sfe4001_init()
2893 rc = i2c->write ( i2c, &i2c_pca9539, P0_CONFIG, &cfg, EFAB_BYTE ); in sfe4001_init()
2897 rc = i2c->write ( i2c, &i2c_pca9539, P1_CONFIG, &cfg, EFAB_BYTE ); in sfe4001_init()
2906 rc = i2c->write ( i2c, &i2c_pca9539, P0_OUT, &out, EFAB_BYTE ); in sfe4001_init()
2918 rc = i2c->write ( i2c, &i2c_pca9539, P0_OUT, &out, EFAB_BYTE ); in sfe4001_init()
2926 rc = i2c->write ( i2c, &i2c_pca9539, P0_OUT, &out, EFAB_BYTE ); in sfe4001_init()
2934 rc = i2c->read ( i2c, &i2c_pca9539, P1_IN, &in, EFAB_BYTE ); in sfe4001_init()
[all …]
/external/syslinux/gpxe/src/drivers/infiniband/
Dlinda.c96 struct i2c_bit_basher i2c; member
1528 container_of ( basher, struct linda, i2c.basher ); in linda_i2c_read_bit()
1552 container_of ( basher, struct linda, i2c.basher ); in linda_i2c_write_bit()
1604 if ( ( rc = init_i2c_bit_basher ( &linda->i2c, in linda_init_i2c()
1615 if ( ( rc = i2c_check_presence ( &linda->i2c.i2c, in linda_init_i2c()
1636 struct i2c_interface *i2c = &linda->i2c.i2c; in linda_read_eeprom() local
1640 if ( ( rc = i2c->read ( i2c, &linda->eeprom, LINDA_EEPROM_GUID_OFFSET, in linda_read_eeprom()
1656 if ( ( rc = i2c->read ( i2c, &linda->eeprom, in linda_read_eeprom()
/external/syslinux/com32/hdt/
Dhdt-dump-dmi.c254 char i2c[16]={0}; in dump_ipmi() local
260 snprintf(i2c,sizeof(i2c),"0x%02x", hardware->dmi.ipmi.I2C_slave_address); in dump_ipmi()
/external/autotest/client/site_tests/security_AccountsBaseline/
Dbaseline.group93 i2c:!:404:power