Home
last modified time | relevance | path

Searched refs:i2c_bus (Results 1 – 18 of 18) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_nuc5.c128 b->i2c_bus[i].bus_id = i2c_num; in mraa_intel_nuc5()
129 b->i2c_bus[i].sda = 12 + i; in mraa_intel_nuc5()
130 b->i2c_bus[i].scl = 13 + i; in mraa_intel_nuc5()
134 b->def_i2c_bus = b->i2c_bus[0].bus_id; in mraa_intel_nuc5()
Dintel_de3815.c134 b->i2c_bus[i].bus_id = i2c_num; in mraa_intel_de3815()
135 b->i2c_bus[i].sda = 12 + i; in mraa_intel_de3815()
136 b->i2c_bus[i].scl = 13 + i; in mraa_intel_de3815()
140 b->def_i2c_bus = b->i2c_bus[0].bus_id; in mraa_intel_de3815()
Dintel_minnow_byt_compatible.c182 b->i2c_bus[0].bus_id = b->def_i2c_bus; in mraa_intel_minnowboard_byt_compatible()
183 b->i2c_bus[0].sda = pin_index_sda; in mraa_intel_minnowboard_byt_compatible()
184 b->i2c_bus[0].scl = pin_index_scl; in mraa_intel_minnowboard_byt_compatible()
Dintel_edison_fab_c.c258 int scl = plat->pins[plat->i2c_bus[bus].scl].gpio.pinmap; in mraa_intel_edison_i2c_init_pre()
259 int sda = plat->pins[plat->i2c_bus[bus].sda].gpio.pinmap; in mraa_intel_edison_i2c_init_pre()
1126 b->i2c_bus[ici].bus_id = -1; in mraa_intel_edison_miniboard()
1128 b->i2c_bus[1].bus_id = 1; in mraa_intel_edison_miniboard()
1129 b->i2c_bus[1].sda = 7; in mraa_intel_edison_miniboard()
1130 b->i2c_bus[1].scl = 19; in mraa_intel_edison_miniboard()
1132 b->i2c_bus[6].bus_id = 6; in mraa_intel_edison_miniboard()
1133 b->i2c_bus[6].sda = 8; in mraa_intel_edison_miniboard()
1134 b->i2c_bus[6].scl = 6; in mraa_intel_edison_miniboard()
1430 b->i2c_bus[ici].bus_id = -1; in mraa_intel_edison_fab_c()
[all …]
Dintel_galileo_rev_d.c418 b->i2c_bus[0].bus_id = 0; in mraa_intel_galileo_rev_d()
419 b->i2c_bus[0].sda = 18; in mraa_intel_galileo_rev_d()
420 b->i2c_bus[0].scl = 19; in mraa_intel_galileo_rev_d()
Dintel_galileo_rev_g.c734 b->i2c_bus[0].bus_id = 0; in mraa_intel_galileo_gen2()
735 b->i2c_bus[0].sda = 18; in mraa_intel_galileo_gen2()
736 b->i2c_bus[0].scl = 19; in mraa_intel_galileo_gen2()
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dcommon.hpp200 getI2cBusId(unsigned int i2c_bus) in getI2cBusId() argument
202 return mraa_get_i2c_bus_id(i2c_bus); in getI2cBusId()
Dcommon.h219 int mraa_get_i2c_bus_id(unsigned int i2c_bus);
/hardware/bsp/intel/peripheral/libmraa/src/arm/
D96boards.c92 b->i2c_bus[0].bus_id = 0; in mraa_96boards()
93 b->i2c_bus[1].bus_id= 1; in mraa_96boards()
Draspberry_pi.c471 b->i2c_bus[0].bus_id = 0; in mraa_raspberry_pi()
473 b->i2c_bus[0].bus_id = 1; in mraa_raspberry_pi()
474 b->i2c_bus[0].sda = 3; in mraa_raspberry_pi()
475 b->i2c_bus[0].scl = 5; in mraa_raspberry_pi()
Dbanana.c540 b->i2c_bus[b->i2c_bus_count].bus_id = i2c2; in mraa_banana()
541 b->i2c_bus[b->i2c_bus_count].sda = 3; in mraa_banana()
542 b->i2c_bus[b->i2c_bus_count].scl = 5; in mraa_banana()
Dbeaglebone.c278 sprintf(devpath, "/dev/i2c-%u", plat->i2c_bus[bus].bus_id); in mraa_beaglebone_i2c_init_pre()
1379 b->i2c_bus[0].bus_id = 0; in mraa_beaglebone()
1380 b->i2c_bus[0].sda = 46 + 18; in mraa_beaglebone()
1381 b->i2c_bus[0].scl = 46 + 17; in mraa_beaglebone()
1383 b->i2c_bus[1].bus_id = 1; in mraa_beaglebone()
1384 b->i2c_bus[1].sda = 46 + 20; in mraa_beaglebone()
1385 b->i2c_bus[1].scl = 46 + 19; in mraa_beaglebone()
/hardware/bsp/intel/peripheral/libmraa/examples/
Dhellomraa.c35 int i2c_bus, i, i2c_adapter; in main() local
Dmraa-i2c.c87 int id = board->i2c_bus[i].bus_id; in print_bus()
/hardware/bsp/intel/peripheral/libmraa/src/i2c/
Di2c.c160 if (board->i2c_bus[bus].bus_id == -1) { in mraa_i2c_init()
165 int pos = board->i2c_bus[bus].sda; in mraa_i2c_init()
173 pos = board->i2c_bus[bus].scl; in mraa_i2c_init()
182 return mraa_i2c_init_internal(board->adv_func, (unsigned int) board->i2c_bus[bus].bus_id); in mraa_i2c_init()
/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c687 sub_plat->i2c_bus[bus].bus_id = bus; in mraa_ftdi_ft4222()
696 sub_plat->i2c_bus[bus].scl = pinIndex; in mraa_ftdi_ft4222()
703 sub_plat->i2c_bus[bus].sda = pinIndex; in mraa_ftdi_ft4222()
730 sub_plat->i2c_bus[bus].bus_id = bus; in mraa_ftdi_ft4222()
734 sub_plat->i2c_bus[bus].sda = pinIndex; in mraa_ftdi_ft4222()
739 sub_plat->i2c_bus[bus].scl = pinIndex; in mraa_ftdi_ft4222()
/hardware/bsp/intel/peripheral/libmraa/src/
Dmraa.c505 mraa_get_i2c_bus_id(unsigned i2c_bus) in mraa_get_i2c_bus_id() argument
511 if (i2c_bus >= plat->i2c_bus_count) { in mraa_get_i2c_bus_id()
515 return plat->i2c_bus[i2c_bus].bus_id; in mraa_get_i2c_bus_id()
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal_types.h272 mraa_i2c_bus_t i2c_bus[12]; /**< Array of i2c */ member