Searched refs:fw_cfg_cmdline_dev (Results 1 – 1 of 1) sorted by relevance
769 static struct platform_device *fw_cfg_cmdline_dev; variable808 if (fw_cfg_cmdline_dev) { in fw_cfg_cmdline_set()810 platform_device_unregister(fw_cfg_cmdline_dev); in fw_cfg_cmdline_set()856 fw_cfg_cmdline_dev = platform_device_register_simple("fw_cfg", in fw_cfg_cmdline_set()859 return PTR_ERR_OR_ZERO(fw_cfg_cmdline_dev); in fw_cfg_cmdline_set()868 if (!fw_cfg_cmdline_dev || in fw_cfg_cmdline_get()870 (fw_cfg_cmdline_dev->resource[0].flags == IORESOURCE_MEM))) in fw_cfg_cmdline_get()873 switch (fw_cfg_cmdline_dev->num_resources) { in fw_cfg_cmdline_get()876 resource_size(&fw_cfg_cmdline_dev->resource[0]), in fw_cfg_cmdline_get()877 fw_cfg_cmdline_dev->resource[0].start); in fw_cfg_cmdline_get()[all …]