summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-intel/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2017-01-14Intel Joule: updated to kernel 4.4.36 and fixed a build failureKien Dinh1-3/+3
due to the move to Yocto 2.2 Change-Id: I9302ecde21f3cd33c903a5391f47d574d57308ec Signed-off-by: Kien Dinh <kien.t.dinh@intel.com>
2017-01-10fix intel build for linux-firmwareRonan1-11/+0
Change-Id: I565bdf1ac23b19bbdc65401cd0843f8a8de1b2b7 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-24meta-intel: Fix for the sdk build failure for Intel platformsKien Dinh1-3/+2
Removed linux-firmware-ibt since it is only necessary for the Joule platform. Change-Id: Ia4916fbc777299df4a094874ad1585a43a46d39b Signed-off-by: Kien Dinh <kien.t.dinh@intel.com>
2016-12-20Enabling build for Intel's Joule boardktdinh4-1/+41
This adds neccessary firmware to support the Joule board, including wifi and bluetooth. Change-Id: Ia6973415113119aaf60fff0dbb494027fba96fd5 Signed-off-by: Kien Dinh <kien.t.dinh@intel.com>
2016-12-16bbappend to add Intel extra driversDominig ar Foll (Intel Open Source)1-0/+13
Change-Id: I11b245aea28b76f17cba3cdc8c964129bbaf906b Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
2016-12-09Adding more drivers as modules for USB devices on IntelDominig ar Foll3-0/+174
Change-Id: Ie854777d28f455082bafdee07f36ab21c025dc68 Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
ter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/*
 * Based on virtio-gpio.h of QEMU project
 *
 * Copyright (c) 2023-2024 Virtual Open Systems SAS.
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or
 * (at your option) any later version.  See the COPYING file in the
 * top-level directory.
 */

#ifndef VHOST_USER_GPIO
#define VHOST_USER_GPIO

#include "vhost_loopback.h"
#include "vhost_user_loopback.h"
#include "virtio_loopback.h"

#define VIRTIO_GPIO_F_IRQ 0

struct virtio_gpio_config {
    uint16_t ngpio;
    uint8_t padding[2];
    uint32_t gpio_names_size;
};

struct VHostUserGPIO {
    VirtIODevice *parent;
    struct virtio_gpio_config config;
    struct vhost_virtqueue *vhost_vqs;
    struct vhost_dev *vhost_dev;
    uint16_t num_queues;
    uint32_t queue_size;
};

void vu_gpio_device_realize(struct adapter_dev *adev);

#endif /* VHOST_USER_GPIO */