003 File Manager
Current Path:
/usr/src/sys/compat/linuxkpi/common/include/linux
usr
/
src
/
sys
/
compat
/
linuxkpi
/
common
/
include
/
linux
/
π
..
π
acpi.h
(1.72 KB)
π
atomic.h
(1.5 KB)
π
backlight.h
(2.88 KB)
π
bitfield.h
(3.2 KB)
π
bitmap.h
(8.2 KB)
π
bitops.h
(9.41 KB)
π
bottom_half.h
(1.49 KB)
π
cache.h
(1.61 KB)
π
cdev.h
(3.77 KB)
π
clocksource.h
(1.63 KB)
π
compat.h
(2.07 KB)
π
compiler.h
(3.56 KB)
π
completion.h
(2.68 KB)
π
dcache.h
(1.64 KB)
π
debugfs.h
(1.96 KB)
π
delay.h
(2.25 KB)
π
device.h
(15.33 KB)
π
dma-attrs.h
(2.12 KB)
π
dma-mapping.h
(8.88 KB)
π
dmapool.h
(2.77 KB)
π
dmi.h
(2 KB)
π
err.h
(2.23 KB)
π
errno.h
(2.18 KB)
π
etherdevice.h
(2.91 KB)
π
export.h
(1.44 KB)
π
file.h
(4.46 KB)
π
firmware.h
(3.27 KB)
π
fs.h
(8.19 KB)
π
gcd.h
(1.7 KB)
π
gfp.h
(4.7 KB)
π
hardirq.h
(1.7 KB)
π
hrtimer.h
(3.04 KB)
π
idr.h
(4.61 KB)
π
if_arp.h
(1.62 KB)
π
if_ether.h
(2.12 KB)
π
if_vlan.h
(1.96 KB)
π
in.h
(1.87 KB)
π
in6.h
(1.54 KB)
π
inetdevice.h
(2.79 KB)
π
interrupt.h
(5.63 KB)
π
io-mapping.h
(3.05 KB)
π
io.h
(10.36 KB)
π
ioctl.h
(1.59 KB)
π
irq_work.h
(2.21 KB)
π
irqreturn.h
(1.56 KB)
π
jhash.h
(3.2 KB)
π
jiffies.h
(4.36 KB)
π
kdev_t.h
(1.76 KB)
π
kernel.h
(16.91 KB)
π
kmod.h
(1.89 KB)
π
kobject.h
(4.23 KB)
π
kref.h
(3.16 KB)
π
kthread.h
(2.84 KB)
π
ktime.h
(5.12 KB)
π
list.h
(12.2 KB)
π
llist.h
(2.25 KB)
π
lockdep.h
(2.99 KB)
π
log2.h
(3.96 KB)
π
math64.h
(2.7 KB)
π
miscdevice.h
(2.42 KB)
π
mm.h
(6.73 KB)
π
mm_types.h
(2.33 KB)
π
mod_devicetable.h
(2.25 KB)
π
module.h
(3.22 KB)
π
moduleparam.h
(5.26 KB)
π
mutex.h
(4.6 KB)
π
net.h
(2.42 KB)
π
net_dim.h
(9.87 KB)
π
netdevice.h
(3.85 KB)
π
notifier.h
(1.97 KB)
π
numa.h
(1.52 KB)
π
overflow.h
(2.13 KB)
π
page.h
(3.28 KB)
π
pagemap.h
(1.63 KB)
π
pci.h
(29.63 KB)
π
pfn.h
(1.75 KB)
π
pfn_t.h
(1.9 KB)
π
pid.h
(2.17 KB)
π
pm.h
(2.01 KB)
π
poll.h
(1.86 KB)
π
power_supply.h
(1.66 KB)
π
preempt.h
(1.69 KB)
π
prefetch.h
(1.55 KB)
π
printk.h
(4.08 KB)
π
radix-tree.h
(3.13 KB)
π
random.h
(2.04 KB)
π
rbtree.h
(3.37 KB)
π
rculist.h
(4.11 KB)
π
rcupdate.h
(3.66 KB)
π
refcount.h
(2.3 KB)
π
rwlock.h
(2.55 KB)
π
rwsem.h
(3.06 KB)
π
scatterlist.h
(12.58 KB)
π
sched.h
(5.91 KB)
π
semaphore.h
(2.36 KB)
π
seq_file.h
(3.03 KB)
π
shmem_fs.h
(2.26 KB)
π
shrinker.h
(2.04 KB)
π
sizes.h
(1.92 KB)
π
slab.h
(6.19 KB)
π
smp.h
(1.57 KB)
π
socket.h
(2.17 KB)
π
spinlock.h
(4.29 KB)
π
srcu.h
(2.02 KB)
π
string.h
(3.83 KB)
π
swap.h
(1.68 KB)
π
sysfs.h
(7.54 KB)
π
time.h
(3.17 KB)
π
timer.h
(3.21 KB)
π
types.h
(2.82 KB)
π
uaccess.h
(3.26 KB)
π
usb.h
(11.33 KB)
π
vmalloc.h
(1.72 KB)
π
wait.h
(9.41 KB)
π
wait_bit.h
(2.03 KB)
π
workqueue.h
(7.58 KB)
π
ww_mutex.h
(3.74 KB)
π
xarray.h
(3.33 KB)
Editing: firmware.h
/*- * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2020-2021 The FreeBSD Foundation * * This software was developed by BjΓΆrn Zeeb under sponsorship from * the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $FreeBSD$ */ #ifndef _LINUXKPI_LINUX_FIRMWARE_H #define _LINUXKPI_LINUX_FIRMWARE_H #include <sys/types.h> #include <linux/types.h> #include <linux/device.h> struct firmware; struct linuxkpi_firmware { size_t size; const uint8_t *data; /* XXX Does Linux expose anything else? */ /* This is LinuxKPI implementation private. */ const struct firmware *fbdfw; }; int linuxkpi_request_firmware_nowait(struct module *, bool, const char *, struct device *, gfp_t, void *, void(*cont)(const struct linuxkpi_firmware *, void *)); int linuxkpi_request_firmware(const struct linuxkpi_firmware **, const char *, struct device *); int linuxkpi_firmware_request_nowarn(const struct linuxkpi_firmware **, const char *, struct device *); void linuxkpi_release_firmware(const struct linuxkpi_firmware *); static __inline int request_firmware_nowait(struct module *mod, bool _t, const char *fw_name, struct device *dev, gfp_t gfp, void *drv, void(*cont)(const struct linuxkpi_firmware *, void *)) { return (linuxkpi_request_firmware_nowait(mod, _t, fw_name, dev, gfp, drv, cont)); } static __inline int request_firmware(const struct linuxkpi_firmware **fw, const char *fw_name, struct device *dev) { return (linuxkpi_request_firmware(fw, fw_name, dev)); } static __inline int request_firmware_direct(const struct linuxkpi_firmware **fw, const char *fw_name, struct device *dev) { return (linuxkpi_request_firmware(fw, fw_name, dev)); } static __inline int firmware_request_nowarn(const struct linuxkpi_firmware **fw, const char *fw_name, struct device *dev) { return (linuxkpi_firmware_request_nowarn(fw, fw_name, dev)); } static __inline void release_firmware(const struct linuxkpi_firmware *fw) { linuxkpi_release_firmware(fw); } #define firmware linuxkpi_firmware #endif /* _LINUXKPI_LINUX_FIRMWARE_H */
Upload File
Create Folder