Searched refs:sysnode (Results 1 – 1 of 1) sorted by relevance
739 int sysnode = -1; in mraa_intel_edison_i2c_freq() local743 sysnode = open("/sys/devices/pci0000:00/0000:00:08.0/i2c_dw_sysnode/mode", O_RDWR); in mraa_intel_edison_i2c_freq()746 sysnode = open("/sys/devices/pci0000:00/0000:00:09.1/i2c_dw_sysnode/mode", O_RDWR); in mraa_intel_edison_i2c_freq()752 if (sysnode == -1) { in mraa_intel_edison_i2c_freq()770 close(sysnode); in mraa_intel_edison_i2c_freq()773 if (write(sysnode, bu, length * sizeof(char)) == -1) { in mraa_intel_edison_i2c_freq()774 close(sysnode); in mraa_intel_edison_i2c_freq()777 close(sysnode); in mraa_intel_edison_i2c_freq()