Searched refs:fw_cfg_cmdline_dev (Results 1 – 1 of 1) sorted by relevance
771 static struct platform_device *fw_cfg_cmdline_dev; variable810 if (fw_cfg_cmdline_dev) { in fw_cfg_cmdline_set()812 platform_device_unregister(fw_cfg_cmdline_dev); in fw_cfg_cmdline_set()858 fw_cfg_cmdline_dev = platform_device_register_simple("fw_cfg", in fw_cfg_cmdline_set()861 return PTR_ERR_OR_ZERO(fw_cfg_cmdline_dev); in fw_cfg_cmdline_set()870 if (!fw_cfg_cmdline_dev || in fw_cfg_cmdline_get()872 (fw_cfg_cmdline_dev->resource[0].flags == IORESOURCE_MEM))) in fw_cfg_cmdline_get()875 switch (fw_cfg_cmdline_dev->num_resources) { in fw_cfg_cmdline_get()878 resource_size(&fw_cfg_cmdline_dev->resource[0]), in fw_cfg_cmdline_get()879 fw_cfg_cmdline_dev->resource[0].start); in fw_cfg_cmdline_get()[all …]