void qdev_init_gpio_out_named(DeviceState *dev, qemu_irq *pins,
                              const char *name, int n)
{
    NamedGPIOList *gpio_list = qdev_get_named_gpio_list(dev, name);
    assert(gpio_list->num_in == 0 || !name);
    assert(gpio_list->num_out == 0);
    gpio_list->num_out = n;
    gpio_list->out = pins;
void qdev_init_gpio_out_named(DeviceState *dev, qemu_irq *pins,
                              const char *name, int n)
{
    NamedGPIOList *gpio_list = qdev_get_named_gpio_list(dev, name);
    assert(gpio_list->num_in == 0 || !name);
    assert(gpio_list->num_out == 0);
    gpio_list->num_out = n;
    gpio_list->out = pins;
void FUNC_0(DeviceState *VAR_0, qemu_irq *VAR_1,
                              const char *VAR_2, int VAR_3)
{
    NamedGPIOList *gpio_list = qdev_get_named_gpio_list(VAR_0, VAR_2);
    assert(gpio_list->num_in == 0 || !VAR_2);
    assert(gpio_list->num_out == 0);
    gpio_list->num_out = VAR_3;
    gpio_list->out = VAR_1;
void FUNC_0(DeviceState *VAR_0, qemu_irq *VAR_1,
const char *VAR_2, int VAR_3)
{ NamedGPIOList *gpio_list = qdev_get_named_gpio_list(VAR_0, VAR_2); assert(gpio_list->num_in == 0 || !VAR_2); assert(gpio_list->num_out == 0); gpio_list->num_out = VAR_3; gpio_list->out = VAR_1;