Searched refs:init_func (Results 1 – 11 of 11) sorted by relevance
| /linux/rust/kernel/ |
| H A D | types.rs | 362 pub fn ffi_init(init_func: impl FnOnce(*mut T)) -> impl PinInit<Self> { 363 // SAFETY: We contain a `MaybeUninit`, so it is OK for the `init_func` to not fully 367 init_func(Self::cast_into(slot)); in ffi_init() 382 init_func: impl FnOnce(*mut T) -> Result<(), E>, 384 // SAFETY: We contain a `MaybeUninit`, so it is OK for the `init_func` to not fully in try_ffi_init() 387 pin_init::pin_init_from_closure::<_, E>(move |slot| init_func(Self::cast_into(slot))) in try_ffi_init()
|
| /linux/drivers/phy/broadcom/ |
| H A D | phy-brcm-usb.c | 38 void (*init_func)(struct brcm_usb_init_params *params); member 287 .init_func = &brcm_usb_dvr_init_74110, 297 .init_func = &brcm_usb_dvr_init_4908, 306 .init_func = &brcm_usb_dvr_init_7216, 316 .init_func = &brcm_usb_dvr_init_7211b0, 329 .init_func = &brcm_usb_dvr_init_7445, 504 info->init_func(&priv->ini); in brcm_usb_phy_probe()
|
| /linux/drivers/clk/hisilicon/ |
| H A D | clk-hi3660.c | 614 void (*init_func)(struct device_node *np); in hi3660_clk_probe() local 616 init_func = of_device_get_match_data(dev); in hi3660_clk_probe() 617 if (!init_func) in hi3660_clk_probe() 620 init_func(np); in hi3660_clk_probe()
|
| H A D | clk-hi3670.c | 993 void (*init_func)(struct device_node *np); in hi3670_clk_probe() local 995 init_func = of_device_get_match_data(dev); in hi3670_clk_probe() 996 if (!init_func) in hi3670_clk_probe() 999 init_func(np); in hi3670_clk_probe()
|
| /linux/drivers/mfd/ |
| H A D | lp8788.c | 160 return (pdata && pdata->init_func) ? pdata->init_func(lp) : 0; in lp8788_platform_init()
|
| /linux/drivers/base/ |
| H A D | arch_numa.c | 230 static int __init numa_init(int (*init_func)(void)) in numa_init() 238 ret = numa_memblks_init(init_func, /* memblock_force_top_down */ false); in numa_init()
|
| /linux/arch/x86/mm/ |
| H A D | numa.c | 174 static int __init numa_init(int (*init_func)(void)) in numa_init() 182 ret = numa_memblks_init(init_func, /* memblock_force_top_down */ true); in numa_init()
|
| /linux/include/linux/ |
| H A D | numa_memblks.h | 30 int __init numa_memblks_init(int (*init_func)(void),
|
| /linux/mm/ |
| H A D | numa_memblks.c | 445 int __init numa_memblks_init(int (*init_func)(void), in numa_memblks_init() 462 ret = init_func(); in numa_memblks_init()
|
| /linux/drivers/clk/socfpga/ |
| H A D | clk-agilex5.c | 535 int (*probe_func)(struct platform_device *init_func); in agilex5_clkmgr_probe()
|
| H A D | clk-agilex.c | 537 int (*probe_func)(struct platform_device *init_func); in agilex_clkmgr_probe()
|