search for: bindings_helper

Displaying 5 results from an estimated 5 matches for "bindings_helper".

2024 Jun 18
1
[PATCH v2 3/8] rust: drm: add driver abstractions
...e actual driver to fill in the driver specific data, such as the `DriverInfo`, driver features and IOCTLs. Co-developed-by: Asahi Lina <lina at asahilina.net> Signed-off-by: Asahi Lina <lina at asahilina.net> Signed-off-by: Danilo Krummrich <dakr at redhat.com> --- rust/bindings/bindings_helper.h | 1 + rust/kernel/drm/drv.rs | 141 ++++++++++++++++++++++++++++++++ rust/kernel/drm/mod.rs | 1 + 3 files changed, 143 insertions(+) create mode 100644 rust/kernel/drm/drv.rs diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h index ed25b686748...
2024 Jun 18
1
[PATCH v2 1/8] rust: drm: ioctl: Add DRM ioctl abstraction
...the DRM driver. Note that this macro is not usable until further bits of the abstraction are in place (but it will not fail to compile on its own, if not called). Signed-off-by: Asahi Lina <lina at asahilina.net> Signed-off-by: Danilo Krummrich <dakr at redhat.com> --- rust/bindings/bindings_helper.h | 1 + rust/kernel/drm/ioctl.rs | 153 ++++++++++++++++++++++++++++++++ rust/kernel/drm/mod.rs | 5 ++ rust/kernel/lib.rs | 2 + rust/uapi/uapi_helper.h | 1 + 5 files changed, 162 insertions(+) create mode 100644 rust/kernel/drm/ioctl.rs create mode...
2024 Sep 02
2
[PATCH v2 3/8] rust: drm: add driver abstractions
...er specific data, such as the `DriverInfo`, driver features > and IOCTLs. > > Co-developed-by: Asahi Lina <lina at asahilina.net> > Signed-off-by: Asahi Lina <lina at asahilina.net> > Signed-off-by: Danilo Krummrich <dakr at redhat.com> > --- > rust/bindings/bindings_helper.h | 1 + > rust/kernel/drm/drv.rs | 141 ++++++++++++++++++++++++++++++++ > rust/kernel/drm/mod.rs | 1 + > 3 files changed, 143 insertions(+) > create mode 100644 rust/kernel/drm/drv.rs > > diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindi...
2023 Apr 05
3
[PATCH v2 0/2] rust: virtio: add virtio support
...nes clone of virtio-rng.c that only sends a single request. Changes from v1: - Addressed review comments by Miguel and Bjorn. - Added a scatterlist abstraction - Added a virtio-rng based sample Daniel Almeida (2): rust: add scatterlist support rust: virtio: add virtio support rust/bindings/bindings_helper.h | 3 + rust/helpers.c | 25 +++ rust/kernel/lib.rs | 3 + rust/kernel/scatterlist.rs | 40 +++++ rust/kernel/virtio.rs | 261 ++++++++++++++++++++++++++++++++ rust/kernel/virtio/virtqueue.rs | 126 +++++++++++++++ samples/rust/Kconfig...
2024 Jun 11
0
[RFC PATCH 3/8] rust: drm: Add Device and Driver abstractions
...stem are introduced. > >> > >> Signed-off-by: Asahi Lina <lina at asahilina.net> > >> Co-developed-by: Danilo Krummrich <dakr at redhat.com> > >> Signed-off-by: Danilo Krummrich <dakr at redhat.com> > >> --- > >> rust/bindings/bindings_helper.h | 2 + > >> rust/kernel/drm/device.rs | 87 +++++++++ > >> rust/kernel/drm/drv.rs | 318 ++++++++++++++++++++++++++++++++ > >> rust/kernel/drm/mod.rs | 2 + > >> 4 files changed, 409 insertions(+) > >> create mode 100644 r...