Searched refs:i2c_bus (Results 1 – 18 of 18) sorted by relevance
128 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()
134 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()
182 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()
258 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 …]
418 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()
734 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()
200 getI2cBusId(unsigned int i2c_bus) in getI2cBusId() argument202 return mraa_get_i2c_bus_id(i2c_bus); in getI2cBusId()
219 int mraa_get_i2c_bus_id(unsigned int i2c_bus);
92 b->i2c_bus[0].bus_id = 0; in mraa_96boards()93 b->i2c_bus[1].bus_id= 1; in mraa_96boards()
471 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()
540 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()
278 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()
35 int i2c_bus, i, i2c_adapter; in main() local
87 int id = board->i2c_bus[i].bus_id; in print_bus()
160 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()
687 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()
505 mraa_get_i2c_bus_id(unsigned i2c_bus) in mraa_get_i2c_bus_id() argument511 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()
272 mraa_i2c_bus_t i2c_bus[12]; /**< Array of i2c */ member