Lines Matching full:platform
3 * platform.c - platform 'pseudo' bus for legacy devices
8 * Please see Documentation/driver-model/platform.txt for more
39 .init_name = "platform",
45 * @pdev: platform device
64 * @dev: platform device
85 * @dev: platform device
137 * platform_irq_count - Count the number of IRQs a platform device uses
138 * @dev: platform device
140 * Return: Number of IRQs a platform device uses or EPROBE_DEFER
158 * @dev: platform device
183 * @dev: platform device
204 * platform_add_devices - add a numbers of platform devices
205 * @devs: array of platform devices to add
206 * @num: number of platform devices in array
231 * platform_device_put - destroy a platform device
232 * @pdev: platform device to free
234 * Free all memory associated with a platform device. This function must
258 * platform_device_alloc - create a platform device
262 * Create a platform device object which can have other objects attached
284 * platform_device_add_resources - add resources to a platform device
285 * @pdev: platform device allocated by platform_device_alloc to add resources to
289 * Add a copy of the resources to the platform device. The memory
290 * associated with the resources will be freed when the platform device is
312 * platform_device_add_data - add platform-specific data to a platform device
313 * @pdev: platform device allocated by platform_device_alloc to add resources to
314 * @data: platform specific data for this platform device
315 * @size: size of platform specific data
317 * Add a copy of platform specific data to the platform device's
318 * platform_data pointer. The memory associated with the platform data
319 * will be freed when the platform device is released.
339 * platform_device_add_properties - add built-in properties to a platform device
340 * @pdev: platform device to add properties to
344 * platform device. The memory associated with properties will be freed when the
345 * platform device is released.
355 * platform_device_add - add a platform device to device hierarchy
356 * @pdev: platform device we're adding
417 pr_debug("Registering platform device '%s'. Parent at %s\n", in platform_device_add()
442 * platform_device_del - remove a platform-level device
443 * @pdev: platform device we're removing
472 * platform_device_register - add a platform-level device
473 * @pdev: platform device we're adding
484 * platform_device_unregister - unregister a platform-level device
485 * @pdev: platform device we're unregistering
499 * platform_device_register_full - add a platform-level device with
500 * resources and platform-specific data
626 * __platform_driver_register - register a driver for platform-level devices
627 * @drv: platform driver structure
644 * platform_driver_unregister - unregister a driver for platform-level devices
645 * @drv: platform driver structure
655 * @drv: platform driver structure
727 * @driver: platform driver structure
731 * @data: platform specific data for this platform device
732 * @size: size of platform specific data
736 * register a single platform device and corresponding platform driver.
783 * __platform_register_drivers - register an array of platform drivers
788 * Registers platform drivers specified by an array. On failure to register a
802 pr_debug("registering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
806 pr_err("failed to register platform driver %ps: %d\n", in __platform_register_drivers()
816 pr_debug("unregistering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
825 * platform_unregister_drivers - unregister an array of platform drivers
829 * Unegisters platform drivers specified by an array. This is typically used
837 pr_debug("unregistering platform driver %ps\n", drivers[count]); in platform_unregister_drivers()
863 len = snprintf(buf, PAGE_SIZE, "platform:%s\n", pdev->name); in modalias_show()
958 * platform_match - bind platform device to platform driver.
962 * Platform device IDs are assumed to be encoded like this:
1162 .name = "platform",
1215 * early_platform_driver_register - register early platform driver
1271 * early_platform_add_devices - adds a number of early platform devices
1272 * @devs: array of early platform devices to add
1273 * @num: number of early platform devices in array
1275 * Used by early architecture code to register early platform devices and
1276 * their platform data.
1297 * early_platform_driver_register_all - register early platform drivers
1298 * @class_str: string to identify early platform driver class
1300 * Used by architecture code to register all early platform drivers
1301 * for a certain class. If omitted then only early platform drivers
1310 * Since we register our early platform drivers using early_param() in early_platform_driver_register_all()
1324 * early_platform_match - find early platform device matching driver
1325 * @epdrv: early platform driver structure
1342 * early_platform_left - check if early platform driver has matching devices
1343 * @epdrv: early platform driver structure
1361 * @class_str: string to identify early platform driver class
1363 * @nr_probe: number of platform devices to successfully probe before exiting
1451 * @class_str: string to identify early platform driver class
1452 * @nr_probe: number of platform devices to successfully probe before exiting
1453 * @user_only: only probe user specified early platform devices
1455 * Used by architecture code to probe registered early platform drivers
1456 * within a certain class. For probe to happen a registered early platform
1457 * device matching a registered early platform driver is needed.
1482 * early_platform_cleanup - clean up early platform code