/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | beaglebone.c | 319 if (plat->pins[pin].capabilites.pwm != 1) { in mraa_beaglebone_pwm_init_replace() 532 b->pins[0].capabilites = (mraa_pincapabilities_t){ 0, 0, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 535 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 538 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 542 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 545 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 553 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 556 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 564 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() 567 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_beaglebone() [all …]
|
D | banana.c | 308 b->pins[0].capabilites = (mraa_pincapabilities_t){ 0, 0, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 311 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 314 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 318 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_banana() 321 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 326 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 330 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_banana() 333 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 338 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_banana() 347 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_banana() [all …]
|
D | raspberry_pi.c | 295 b->pins[0].capabilites = (mraa_pincapabilities_t){ 0, 0, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() 298 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() 301 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() 304 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_raspberry_pi() 311 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() 314 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_raspberry_pi() 321 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() 324 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() 329 b->pins[8].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 1 }; in mraa_raspberry_pi() 336 b->pins[9].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_raspberry_pi() [all …]
|
D | 96boards.c | 120 b->pins[pin].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_96boards()
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_nuc5.c | 61 b->pins[0].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 64 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 66 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 68 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 70 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 72 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 74 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 76 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 78 b->pins[8].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() 80 b->pins[9].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_nuc5() [all …]
|
D | intel_de3815.c | 67 b->pins[0].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 70 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 72 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 74 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 76 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 78 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 80 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 82 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 84 b->pins[8].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() 86 b->pins[9].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_de3815() [all …]
|
D | intel_sofia_3gr.c | 59 b->pins[0].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 64 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 69 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 74 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 79 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 84 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 89 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr() 94 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 1, 0, 0 }; in mraa_intel_sofia_3gr()
|
D | intel_edison_fab_c.c | 379 if (!plat->pins[pin].capabilites.pwm) { in mraa_intel_edison_pwm_init_pre() 813 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 822 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 825 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 828 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 832 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 838 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 0, 0, 0, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 842 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_intel_edison_miniboard() 850 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_intel_edison_miniboard() 858 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 1, 0, 0 }; in mraa_intel_edison_miniboard() [all …]
|
D | intel_galileo_rev_d.c | 178 b->pins[0].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 1 }; in mraa_intel_galileo_rev_d() 191 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 1 }; in mraa_intel_galileo_rev_d() 203 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 1, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 219 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 1, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 241 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 246 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 255 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 262 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 267 b->pins[8].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() 272 b->pins[9].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_rev_d() [all …]
|
D | intel_galileo_rev_g.c | 357 b->pins[0].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 1, 0, 0, 0, 1 }; in mraa_intel_galileo_gen2() 377 b->pins[1].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 1, 0, 0, 0, 1 }; in mraa_intel_galileo_gen2() 403 b->pins[2].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 1, 0, 0, 0 }; in mraa_intel_galileo_gen2() 425 b->pins[3].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 1, 0, 0, 0 }; in mraa_intel_galileo_gen2() 460 b->pins[4].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_gen2() 469 b->pins[5].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0 }; in mraa_intel_galileo_gen2() 487 b->pins[6].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0 }; in mraa_intel_galileo_gen2() 505 b->pins[7].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_gen2() 513 b->pins[8].capabilites = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0 }; in mraa_intel_galileo_gen2() 521 b->pins[9].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0 }; in mraa_intel_galileo_gen2() [all …]
|
D | intel_minnow_byt_compatible.c | 48 pin_info->capabilites = caps; in mraa_set_pininfo()
|
/hardware/bsp/intel/peripheral/libmraa/src/ |
D | mraa.c | 365 if (current_plat->pins[pin].capabilites.valid == 1) in mraa_pin_mode_test() 369 if (current_plat->pins[pin].capabilites.gpio == 1) in mraa_pin_mode_test() 373 if (current_plat->pins[pin].capabilites.pwm == 1) in mraa_pin_mode_test() 377 if (current_plat->pins[pin].capabilites.fast_gpio == 1) in mraa_pin_mode_test() 381 if (current_plat->pins[pin].capabilites.spi == 1) in mraa_pin_mode_test() 385 if (current_plat->pins[pin].capabilites.i2c == 1) in mraa_pin_mode_test() 389 if (current_plat->pins[pin].capabilites.aio == 1) in mraa_pin_mode_test() 393 if (current_plat->pins[pin].capabilites.uart == 1) in mraa_pin_mode_test()
|
/hardware/bsp/intel/peripheral/libmraa/src/usb/ |
D | ftdi_ft4222.c | 692 sub_plat->pins[pinIndex].capabilites = pinCapsI2cGpio; in mraa_ftdi_ft4222() 699 sub_plat->pins[pinIndex].capabilites = pinCapsI2cGpio; in mraa_ftdi_ft4222() 708 sub_plat->pins[pinIndex].capabilites = pinCapsGpio; in mraa_ftdi_ft4222() 713 sub_plat->pins[pinIndex].capabilites = pinCapsGpio; in mraa_ftdi_ft4222() 722 sub_plat->pins[pinIndex].capabilites = pinCapsGpio; in mraa_ftdi_ft4222() 733 sub_plat->pins[pinIndex].capabilites = pinCapsI2c; in mraa_ftdi_ft4222() 737 sub_plat->pins[pinIndex].capabilites = pinCapsI2c; in mraa_ftdi_ft4222()
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 212 mraa_pincapabilities_t capabilites; /**< Pin Capabiliites */ member
|
/hardware/bsp/intel/peripheral/libmraa/src/aio/ |
D | aio.c | 105 if (plat->pins[pin].capabilites.aio != 1) { in mraa_aio_init()
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
D | pwm.c | 189 if (plat->pins[pin].capabilites.pwm != 1) { in mraa_pwm_init() 202 if (plat->pins[pin].capabilites.gpio == 1) { in mraa_pwm_init()
|
/hardware/bsp/intel/peripheral/libmraa/src/gpio/ |
D | gpio.c | 152 if (board->pins[pin].capabilites.gpio != 1) { in mraa_gpio_init()
|