/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | 96boards.c | 100 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_96boards() 101 if (b->adv_func == NULL) { in mraa_96boards() 108 free(b->adv_func); in mraa_96boards()
|
D | raspberry_pi.c | 277 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_raspberry_pi() 278 if (b->adv_func == NULL) { in mraa_raspberry_pi() 285 free(b->adv_func); in mraa_raspberry_pi() 290 b->adv_func->spi_init_pre = &mraa_raspberry_pi_spi_init_pre; in mraa_raspberry_pi() 291 b->adv_func->i2c_init_pre = &mraa_raspberry_pi_i2c_init_pre; in mraa_raspberry_pi() 292 b->adv_func->gpio_mmap_setup = &mraa_raspberry_pi_mmap_setup; in mraa_raspberry_pi()
|
D | banana.c | 290 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_banana() 291 if (b->adv_func == NULL) { in mraa_banana() 298 free(b->adv_func); in mraa_banana() 303 b->adv_func->spi_init_pre = &mraa_banana_spi_init_pre; in mraa_banana() 304 b->adv_func->i2c_init_pre = &mraa_banana_i2c_init_pre; in mraa_banana() 305 b->adv_func->gpio_mmap_setup = &mraa_banana_mmap_setup; in mraa_banana()
|
D | beaglebone.c | 520 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_beaglebone() 521 if (b->adv_func == NULL) { in mraa_beaglebone() 526 b->adv_func->uart_init_pre = &mraa_beaglebone_uart_init_pre; in mraa_beaglebone() 527 b->adv_func->spi_init_pre = &mraa_beaglebone_spi_init_pre; in mraa_beaglebone() 528 b->adv_func->i2c_init_pre = &mraa_beaglebone_i2c_init_pre; in mraa_beaglebone() 529 b->adv_func->pwm_init_replace = &mraa_beaglebone_pwm_init_replace; in mraa_beaglebone()
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_sofia_3gr.c | 47 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_sofia_3gr() 48 if (b->adv_func == NULL) { in mraa_intel_sofia_3gr() 54 free(b->adv_func); in mraa_intel_sofia_3gr()
|
D | intel_edison_fab_c.c | 797 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_edison_miniboard() 798 if (b->adv_func == NULL) { in mraa_intel_edison_miniboard() 802 b->adv_func->gpio_init_post = &mraa_intel_edison_gpio_init_post; in mraa_intel_edison_miniboard() 803 b->adv_func->pwm_init_pre = &mraa_intel_edison_pwm_init_pre; in mraa_intel_edison_miniboard() 804 b->adv_func->i2c_init_pre = &mraa_intel_edison_i2c_init_pre; in mraa_intel_edison_miniboard() 805 b->adv_func->i2c_set_frequency_replace = &mraa_intel_edison_i2c_freq; in mraa_intel_edison_miniboard() 806 b->adv_func->spi_init_pre = &mraa_intel_edison_spi_init_pre; in mraa_intel_edison_miniboard() 807 b->adv_func->gpio_mode_replace = &mraa_intel_edsion_mb_gpio_mode; in mraa_intel_edison_miniboard() 808 b->adv_func->uart_init_pre = &mraa_intel_edison_uart_init_pre; in mraa_intel_edison_miniboard() 809 b->adv_func->gpio_mmap_setup = &mraa_intel_edison_mmap_setup; in mraa_intel_edison_miniboard() [all …]
|
D | intel_nuc5.c | 49 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_nuc5() 50 if (b->adv_func == NULL) { in mraa_intel_nuc5() 56 free(b->adv_func); in mraa_intel_nuc5()
|
D | intel_minnow_byt_compatible.c | 112 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_minnowboard_byt_compatible() 113 if (b->adv_func == NULL) { in mraa_intel_minnowboard_byt_compatible() 120 free(b->adv_func); in mraa_intel_minnowboard_byt_compatible()
|
D | intel_galileo_rev_g.c | 338 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_galileo_gen2() 339 if (b->adv_func == NULL) { in mraa_intel_galileo_gen2() 342 b->adv_func->gpio_close_pre = &mraa_intel_galileo_gen2_gpio_close_pre; in mraa_intel_galileo_gen2() 343 b->adv_func->gpio_dir_pre = &mraa_intel_galileo_gen2_dir_pre; in mraa_intel_galileo_gen2() 344 b->adv_func->i2c_init_pre = &mraa_intel_galileo_gen2_i2c_init_pre; in mraa_intel_galileo_gen2() 345 b->adv_func->pwm_period_replace = &mraa_intel_galileo_gen2_pwm_period_replace; in mraa_intel_galileo_gen2() 346 b->adv_func->gpio_mode_replace = &mraa_intel_galileo_gen2_gpio_mode_replace; in mraa_intel_galileo_gen2() 347 b->adv_func->uart_init_pre = &mraa_intel_galileo_gen2_uart_init_pre; in mraa_intel_galileo_gen2() 348 b->adv_func->gpio_mmap_setup = &mraa_intel_galileo_g2_mmap_setup; in mraa_intel_galileo_gen2() 352 free(b->adv_func); in mraa_intel_galileo_gen2()
|
D | intel_de3815.c | 60 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_de3815() 61 if (b->adv_func == NULL) { in mraa_intel_de3815()
|
D | intel_galileo_rev_d.c | 163 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_galileo_rev_d() 164 if (b->adv_func == NULL) { in mraa_intel_galileo_rev_d() 167 b->adv_func->gpio_mmap_setup = &mraa_intel_galileo_g1_mmap_setup; in mraa_intel_galileo_rev_d() 168 b->adv_func->spi_lsbmode_replace = &mraa_intel_galileo_g1_spi_lsbmode_replace; in mraa_intel_galileo_rev_d() 172 free(b->adv_func); in mraa_intel_galileo_rev_d()
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
D | pwm.c | 194 if (plat->adv_func->pwm_init_replace != NULL) { in mraa_pwm_init() 195 return plat->adv_func->pwm_init_replace(pin); in mraa_pwm_init() 197 if (plat->adv_func->pwm_init_pre != NULL) { in mraa_pwm_init() 198 if (plat->adv_func->pwm_init_pre(pin) != MRAA_SUCCESS) in mraa_pwm_init() 234 if (plat->adv_func->pwm_init_post != NULL) { in mraa_pwm_init() 236 mraa_result_t ret = plat->adv_func->pwm_init_post(pret); in mraa_pwm_init() 249 … mraa_pwm_context dev = mraa_pwm_init_internal(plat == NULL ? NULL : plat->adv_func , chipin, pin); in mraa_pwm_init_raw()
|
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 74 if (plat->adv_func->spi_init_pre != NULL) { in mraa_spi_init() 75 if (plat->adv_func->spi_init_pre(bus) != MRAA_SUCCESS) { in mraa_spi_init() 115 if (plat->adv_func->spi_init_post != NULL) { in mraa_spi_init() 116 mraa_result_t ret = plat->adv_func->spi_init_post(dev); in mraa_spi_init() 129 mraa_spi_context dev = mraa_spi_init_internal(plat == NULL ? NULL : plat->adv_func); in mraa_spi_init_raw()
|
/hardware/bsp/intel/peripheral/libmraa/src/uart/ |
D | uart.c | 138 if (plat->adv_func->uart_init_pre != NULL) { in mraa_uart_init() 139 if (plat->adv_func->uart_init_pre(index) != MRAA_SUCCESS) { in mraa_uart_init() 197 mraa_uart_context dev = mraa_uart_init_internal(plat == NULL ? NULL : plat->adv_func); in mraa_uart_init_raw()
|
/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
D | i2c.c | 182 return mraa_i2c_init_internal(board->adv_func, (unsigned int) board->i2c_bus[bus].bus_id); in mraa_i2c_init() 189 return mraa_i2c_init_internal(plat == NULL ? NULL : plat->adv_func, bus); in mraa_i2c_init_raw()
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 290 mraa_adv_func_t* adv_func; /**< Pointer to advanced function disptach table */ member
|
/hardware/bsp/intel/peripheral/libmraa/src/aio/ |
D | aio.c | 83 mraa_aio_context dev = mraa_aio_init_internal(plat->adv_func); in mraa_aio_init()
|
/hardware/bsp/intel/peripheral/libmraa/src/gpio/ |
D | gpio.c | 163 mraa_gpio_context r = mraa_gpio_init_internal(board->adv_func, board->pins[pin].gpio.pinmap); in mraa_gpio_init() 184 return mraa_gpio_init_internal(plat == NULL ? NULL : plat->adv_func , pin); in mraa_gpio_init_raw()
|
/hardware/bsp/intel/peripheral/libmraa/src/usb/ |
D | ftdi_ft4222.c | 752 sub_plat->adv_func = func_table; in mraa_ftdi_ft4222()
|