Lines Matching refs:IMXGPIOState
69 static void imx_gpio_update_int(IMXGPIOState *s) in imx_gpio_update_int()
79 static void imx_gpio_set_int_line(IMXGPIOState *s, int line, IMXGPIOLevel level) in imx_gpio_set_int_line()
111 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_set()
122 static void imx_gpio_set_all_int_lines(IMXGPIOState *s) in imx_gpio_set_all_int_lines()
134 static inline void imx_gpio_set_all_output_lines(IMXGPIOState *s) in imx_gpio_set_all_output_lines()
151 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_read()
211 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_write()
281 VMSTATE_UINT32(dr, IMXGPIOState),
282 VMSTATE_UINT32(gdir, IMXGPIOState),
283 VMSTATE_UINT32(psr, IMXGPIOState),
284 VMSTATE_UINT64(icr, IMXGPIOState),
285 VMSTATE_UINT32(imr, IMXGPIOState),
286 VMSTATE_UINT32(isr, IMXGPIOState),
287 VMSTATE_BOOL(has_edge_sel, IMXGPIOState),
288 VMSTATE_UINT32(edge_sel, IMXGPIOState),
294 DEFINE_PROP_BOOL("has-edge-sel", IMXGPIOState, has_edge_sel, true),
295 DEFINE_PROP_BOOL("has-upper-pin-irq", IMXGPIOState, has_upper_pin_irq,
302 IMXGPIOState *s = IMX_GPIO(dev); in imx_gpio_reset()
318 IMXGPIOState *s = IMX_GPIO(dev); in imx_gpio_realize()
345 .instance_size = sizeof(IMXGPIOState),