Home
last modified time | relevance | path

Searched refs:advance_func (Results 1 – 8 of 8) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/i2c/
Di2c.c72 mraa_i2c_init_internal(mraa_adv_func_t* advance_func, unsigned int bus) in mraa_i2c_init_internal() argument
76 if (advance_func == NULL) in mraa_i2c_init_internal()
85 dev->advance_func = advance_func; in mraa_i2c_init_internal()
89 status = advance_func->i2c_init_pre(bus); in mraa_i2c_init_internal()
95 status = dev->advance_func->i2c_init_bus_replace(dev); in mraa_i2c_init_internal()
114 status = dev->advance_func->i2c_init_post(dev); in mraa_i2c_init_internal()
197 return dev->advance_func->i2c_set_frequency_replace(dev, mode); in mraa_i2c_frequency()
207 bytes_read = dev->advance_func->i2c_read_replace(dev, data, length); in mraa_i2c_read()
223 return dev->advance_func->i2c_read_byte_replace(dev); in mraa_i2c_read_byte()
236 return dev->advance_func->i2c_read_byte_data_replace(dev, command); in mraa_i2c_read_byte_data()
[all …]
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal_types.h62 mraa_adv_func_t* advance_func; /**< override function table */ member
76 mraa_adv_func_t* advance_func; /**< override function table */ member
90 mraa_adv_func_t* advance_func; /**< override function table */ member
104 mraa_adv_func_t* advance_func; /**< override function table */ member
116 mraa_adv_func_t* advance_func; /**< override function table */ member
128 mraa_adv_func_t* advance_func; /**< override function table */ member
Dmraa_adv_func.h32 #define IS_FUNC_DEFINED(dev, func) (dev != NULL && dev->advance_func != NULL && dev->advance_func
/hardware/bsp/intel/peripheral/libmraa/src/gpio/
Dgpio.c71 dev->advance_func = func_table; in mraa_gpio_init_internal()
75 status = dev->advance_func->gpio_init_internal_replace(dev, pin); in mraa_gpio_init_internal()
83 status = dev->advance_func->gpio_init_pre(pin); in mraa_gpio_init_internal()
172 mraa_result_t ret = r->advance_func->gpio_init_post(r); in mraa_gpio_init()
272 return dev->advance_func->gpio_interrupt_handler_replace(dev); in mraa_gpio_interrupt_handler()
412 return dev->advance_func->gpio_edge_mode_replace(dev, mode); in mraa_gpio_edge_mode()
534 return dev->advance_func->gpio_mode_replace(dev, mode); in mraa_gpio_mode()
537 mraa_result_t pre_ret = (dev->advance_func->gpio_mode_pre(dev, mode)); in mraa_gpio_mode()
583 return dev->advance_func->gpio_mode_post(dev, mode); in mraa_gpio_mode()
591 return dev->advance_func->gpio_dir_replace(dev, dir); in mraa_gpio_dir()
[all …]
/hardware/bsp/intel/peripheral/libmraa/src/aio/
Daio.c41 return dev->advance_func->aio_get_valid_fp(dev); in aio_get_valid_fp()
65 dev->advance_func = func_table; in mraa_aio_init_internal()
93 mraa_result_t pre_ret = (dev->advance_func->aio_init_pre(aio)); in mraa_aio_init()
127 mraa_result_t ret = dev->advance_func->aio_init_post(dev); in mraa_aio_init()
/hardware/bsp/intel/peripheral/libmraa/src/spi/
Dspi.c47 dev->advance_func = func_table; in mraa_spi_init_internal()
219 return dev->advance_func->spi_lsbmode_replace(dev, lsb); in mraa_spi_lsbmode()
/hardware/bsp/intel/peripheral/libmraa/src/uart/
Duart.c120 dev->advance_func = func_table; in mraa_uart_init_internal()
184 mraa_result_t ret = dev->advance_func->uart_init_post(dev); in mraa_uart_init()
/hardware/bsp/intel/peripheral/libmraa/src/pwm/
Dpwm.c54 mraa_result_t result = dev->advance_func->pwm_period_replace(dev, period); in mraa_pwm_write_period()
173 dev->advance_func = func_table; in mraa_pwm_init_internal()