• Home
  • Raw
  • Download

Lines Matching +full:platform +full:- +full:data

2  * platform_device.h - generic, centralized driver model
4 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
8 * See Documentation/driver-model/ for more information.
16 #define PLATFORM_DEVID_NONE (-1)
17 #define PLATFORM_DEVID_AUTO (-2)
41 #define platform_get_device_id(pdev) ((pdev)->id_entry)
72 const void *data; member
82 * platform_device_register_resndata - add a platform-level device with
83 * resources and platform-specific data
90 * @data: platform specific data for this platform device
91 * @size: size of platform specific data
98 const void *data, size_t size) { in platform_device_register_resndata() argument
106 .data = data, in platform_device_register_resndata()
115 * platform_device_register_simple - add a platform-level device and its resources
121 * This function creates a simple platform device that requires minimal
145 * platform_device_register_data - add a platform-level device with platform-specific data
149 * @data: platform specific data for this platform device
150 * @size: size of platform specific data
152 * This function creates a simple platform device that requires minimal
162 const void *data, size_t size) in platform_device_register_data() argument
165 NULL, 0, data, size); in platform_device_register_data()
173 const void *data, size_t size);
203 /* non-hotpluggable platform devices may use this so that probe() and
213 return dev_get_drvdata(&pdev->dev); in platform_get_drvdata()
217 void *data) in platform_set_drvdata() argument
219 dev_set_drvdata(&pdev->dev, data); in platform_set_drvdata()
222 /* module_platform_driver() - Helper macro for drivers that don't do
231 /* builtin_platform_driver() - Helper macro for builtin drivers that
240 /* module_platform_driver_probe() - Helper macro for drivers that don't do
258 /* builtin_platform_driver_probe() - Helper macro for drivers that don't do
272 #define platform_create_bundle(driver, probe, res, n_res, data, size) \ argument
273 __platform_create_bundle(driver, probe, res, n_res, data, size, THIS_MODULE)
277 const void *data, size_t size, struct module *module);
287 /* early platform driver interface */
297 #define EARLY_PLATFORM_ID_UNSET -2
298 #define EARLY_PLATFORM_ID_ERROR -3
306 return !pdev->dev.driver; in is_early_platform_device()