Lines Matching full:const

42 	const struct device *dev;
48 static int gpio_cat1_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_cat1_configure()
52 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_configure()
53 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_configure()
99 static int gpio_cat1_port_get_raw(const struct device *dev, in gpio_cat1_port_get_raw()
102 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_port_get_raw()
103 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_port_get_raw()
110 static int gpio_cat1_port_set_masked_raw(const struct device *dev, in gpio_cat1_port_set_masked_raw()
113 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_port_set_masked_raw()
114 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_port_set_masked_raw()
121 static int gpio_cat1_port_set_bits_raw(const struct device *dev, in gpio_cat1_port_set_bits_raw()
124 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_port_set_bits_raw()
125 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_port_set_bits_raw()
132 static int gpio_cat1_port_clear_bits_raw(const struct device *dev, in gpio_cat1_port_clear_bits_raw()
135 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_port_clear_bits_raw()
136 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_port_clear_bits_raw()
143 static int gpio_cat1_port_toggle_bits(const struct device *dev, in gpio_cat1_port_toggle_bits()
146 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_port_toggle_bits()
147 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_port_toggle_bits()
154 static uint32_t gpio_cat1_get_pending_int(const struct device *dev) in gpio_cat1_get_pending_int()
156 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_get_pending_int()
157 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_get_pending_int()
162 static void gpio_isr_handler(const struct device *dev) in gpio_isr_handler()
164 const struct gpio_cat1_config *const cfg = dev->config; in gpio_isr_handler()
165 GPIO_PRT_Type *const base = cfg->regs; in gpio_isr_handler()
173 gpio_fire_callbacks(&((struct gpio_cat1_data *const)(dev)->data)->callbacks, dev, in gpio_isr_handler()
180 static int gpio_cat1_pin_interrupt_configure(const struct device *dev, gpio_pin_t pin, in gpio_cat1_pin_interrupt_configure()
184 const struct gpio_cat1_config *const cfg = dev->config; in gpio_cat1_pin_interrupt_configure()
185 GPIO_PRT_Type *const base = cfg->regs; in gpio_cat1_pin_interrupt_configure()
216 static int gpio_cat1_manage_callback(const struct device *port, in gpio_cat1_manage_callback()
220 return gpio_manage_callback(&((struct gpio_cat1_data *const)(port)->data)->callbacks, in gpio_cat1_manage_callback()
237 static int gpio_cat1##n##_init(const struct device *dev) \
248 static const struct gpio_cat1_config _cat1_gpio##n##_config = { \