Searched refs:gpio_device (Results 1 – 9 of 9) sorted by relevance
309 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_open() local323 if (NULL == gpio_device) { in native_onewire_gpio_open()328 ret = aos_hal_gpio_init(gpio_device); in native_onewire_gpio_open()351 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_close() local359 if (NULL == gpio_device) { in native_onewire_gpio_close()379 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_reset() local388 if (NULL == gpio_device) { in native_onewire_gpio_reset()404 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_readbyte() local412 if (NULL == gpio_device) { in native_onewire_gpio_readbyte()429 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_writebyte() local[all …]
318 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_open() local336 if (NULL == gpio_device) { in native_onewire_gpio_open()341 ret = aos_hal_gpio_init(gpio_device); in native_onewire_gpio_open()371 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_close() local380 if (NULL == gpio_device) { in native_onewire_gpio_close()400 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_reset() local409 if (NULL == gpio_device) { in native_onewire_gpio_reset()426 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_readbyte() local435 if (NULL == gpio_device) { in native_onewire_gpio_readbyte()452 gpio_dev_t *gpio_device = NULL; in native_onewire_gpio_writebyte() local[all …]
27 gpio_dev_t *gpio_device = NULL; in native_gpio_open() local41 if (NULL == gpio_device) { in native_gpio_open()72 gpio_dev_t *gpio_device = NULL; in native_gpio_close() local80 if (NULL == gpio_device) { in native_gpio_close()100 gpio_dev_t *gpio_device = NULL; in native_gpio_toggle() local108 if (NULL == gpio_device) { in native_gpio_toggle()126 gpio_dev_t *gpio_device = NULL; in native_gpio_write() local134 if (NULL == gpio_device) { in native_gpio_write()166 if (NULL == gpio_device) { in native_gpio_read()251 if (NULL == gpio_device) { in native_gpio_on()[all …]
33 gpio_dev_t *gpio_device = NULL; in native_gpio_open() local49 if (NULL == gpio_device) { in native_gpio_open()88 gpio_dev_t *gpio_device = NULL; in native_gpio_close() local98 if (NULL == gpio_device) { in native_gpio_close()124 gpio_dev_t *gpio_device = NULL; in native_gpio_toggle() local132 if (NULL == gpio_device) { in native_gpio_toggle()150 gpio_dev_t *gpio_device = NULL; in native_gpio_write() local159 if (NULL == gpio_device) { in native_gpio_write()183 gpio_dev_t *gpio_device = NULL; in native_gpio_read() local192 if (NULL == gpio_device) { in native_gpio_read()[all …]
32 gpio_dev_t *gpio_device; member61 driver_obj->gpio_device = NULL; in gpio_obj_make_new()79 if (driver_obj->gpio_device != NULL) { in obj_open()85 gpio_dev_t *gpio_device = NULL; in obj_open() local105 if (NULL == gpio_device) { in obj_open()108 gpio_device = NULL; in obj_open()111 driver_obj->gpio_device = gpio_device; in obj_open()114 ret = aos_hal_gpio_init(gpio_device); in obj_open()136 if (NULL == driver_obj->gpio_device) { in obj_close()147 driver_obj->gpio_device = NULL; in obj_close()[all …]
70 static void board_set_gpio_default(gpio_dev_t *gpio_device) in board_set_gpio_default() argument72 gpio_params_t *priv = (gpio_params_t *)gpio_device->priv; in board_set_gpio_default()73 if (NULL == gpio_device || NULL == priv) { in board_set_gpio_default()77 gpio_device->port = -1; in board_set_gpio_default()78 gpio_device->config = OUTPUT_PUSH_PULL; in board_set_gpio_default()79 gpio_device->gpioc = NULL; in board_set_gpio_default()80 gpio_device->gpioc_index = 0; in board_set_gpio_default()81 gpio_device->pin_index = 0; in board_set_gpio_default()
210 if (NULL == gpio_device) { in native_ir_open()219 gpio_device->priv = NULL; in native_ir_open()231 if (NULL == gpio_device) { in native_ir_open()240 gpio_device->priv = NULL; in native_ir_open()253 if (NULL == gpio_device) { in native_ir_open()262 gpio_device->priv = NULL; in native_ir_open()306 if (NULL == gpio_device) { in native_ir_close()311 gpio_device->priv = NULL; in native_ir_close()316 if (NULL == gpio_device) { in native_ir_close()321 gpio_device->priv = NULL; in native_ir_close()[all …]
174 gpio_dev_t *gpio_device = NULL; in native_ir_open() local188 if (NULL == gpio_device) { in native_ir_open()192 ret = aos_hal_gpio_init(gpio_device); in native_ir_open()197 gpio_device->priv = NULL; in native_ir_open()212 gpio_dev_t *gpio_device = NULL; in native_ir_close() local220 if (NULL == gpio_device) { in native_ir_close()224 aos_hal_gpio_disable_irq(gpio_device); in native_ir_close()225 gpio_device->priv = NULL; in native_ir_close()290 gpio_dev_t *gpio_device = NULL; in native_ir_on() local298 if (NULL == gpio_device) { in native_ir_on()[all …]
77 static void board_set_gpio_default(gpio_dev_t *gpio_device) in board_set_gpio_default() argument79 gpio_params_t *priv = (gpio_params_t *)gpio_device->priv; in board_set_gpio_default()80 if (NULL == gpio_device || NULL == priv) in board_set_gpio_default()85 gpio_device->port = -1; in board_set_gpio_default()86 gpio_device->config = OUTPUT_PUSH_PULL; in board_set_gpio_default()87 gpio_device->gpioc = NULL; in board_set_gpio_default()88 gpio_device->gpioc_index = 0; in board_set_gpio_default()89 gpio_device->pin_index = 0; in board_set_gpio_default()
Completed in 23 milliseconds