Searched defs:dedic_gpio_platform_t (Results 1 – 1 of 1) sorted by relevance
51 typedef struct dedic_gpio_platform_t dedic_gpio_platform_t; typedef59 struct dedic_gpio_platform_t { struct60 …MUX_TYPE spinlock; // Spinlock, stop GPIO channels from accessing common resource concurrently61 uint32_t out_occupied_mask; // mask of output channels that already occupied62 uint32_t in_occupied_mask; // mask of input channels that already occupied64 intr_handle_t intr_hdl; // interrupt handle65 …r_callback_t cbs[SOC_DEDIC_GPIO_IN_CHANNELS_NUM]; // array of callback function for input channel66 …SOC_DEDIC_GPIO_IN_CHANNELS_NUM]; // array of callback arguments for input channel67 …_bundle_t *in_bundles[SOC_DEDIC_GPIO_IN_CHANNELS_NUM]; // which bundle belongs to for input channel91 s_platform[core_id] = calloc(1, sizeof(dedic_gpio_platform_t)); in dedic_gpio_build_platform() argument