Lines Matching defs:fn
15 unsafe extern "C" fn(
23 fn request() -> Self {
27 fn request_nowarn() -> Self {
49 /// # fn no_run() -> Result<(), Error> {
62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> {
80 pub fn request(name: &CStr, dev: &Device) -> Result<Self> {
86 pub fn request_nowarn(name: &CStr, dev: &Device) -> Result<Self> {
90 fn as_raw(&self) -> *mut bindings::firmware {
95 pub fn size(&self) -> usize {
101 pub fn data(&self) -> &[u8] {
110 fn drop(&mut self) {
135 /// `const fn create(module_name: &'static CStr) -> ModInfoBuilder`
153 /// # fn init(_module: &'static ThisModule) -> Result<Self> {
165 /// const fn create(module_name: &'static kernel::str::CStr) -> firmware::ModInfoBuilder<N> {
234 pub const fn new(module_name: &'static CStr) -> Self {
242 const fn push_internal(mut self, bytes: &[u8]) -> Self {
271 /// # const fn no_run<const N: usize>(builder: ModInfoBuilder<N>) {
280 pub const fn push(self, s: &str) -> Self {
289 const fn push_module_name(self) -> Self {
313 pub const fn new_entry(self) -> Self {
320 pub const fn build(self) -> [u8; N] {
334 pub const fn build_length(self) -> usize {