mod_firmware_load(9)

NAME

mod_firmware_load - load sound driver firmware

SYNOPSIS

int mod_firmware_load (const char *fn, char **fp);

ARGUMENTS

fn filename

fp return for the buffer.

DESCRIPTION

Load the firmware for a sound module (up to 128K) into a
buffer. The buffer is returned in *fp. It is allocated
with vmalloc so is virtually linear and not DMAable. The
caller should free it with vfree when finished.

The length of the buffer is returned on a successful load,
the value zero on a failure.

CAUTION

This API is not recommended. Firmware should be loaded
via an ioctl call and a setup application. This function
may disappear in future.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout