Lines Matching full:platform
3 * platform.c - platform 'pseudo' bus for legacy devices
8 * Please see Documentation/driver-api/driver-model/platform.rst for more
43 .init_name = "platform",
49 * @dev: platform device
88 * platform device and get resource
90 * @pdev: platform device to use both for memory resource lookup as well as
112 * devm_platform_ioremap_resource - call devm_ioremap_resource() for a platform
115 * @pdev: platform device to use both for memory resource lookup as well as
131 * a platform device, retrieve the
134 * @pdev: platform device to use both for memory resource lookup as well as
155 * @dev: platform device
158 * Gets an IRQ for a platform device. Device drivers should check the return
244 * @dev: platform device
247 * Gets an IRQ for a platform device and prints an error message if finding the
273 * platform_irq_count - Count the number of IRQs a platform device uses
274 * @dev: platform device
276 * Return: Number of IRQs a platform device uses or EPROBE_DEFER
323 * @dev: platform device pointer
329 * Gets a set of IRQs for a platform device, and updates IRQ afffinty according
415 * @dev: platform device
462 * @dev: platform device
483 * @dev: platform device
499 * platform_add_devices - add a numbers of platform devices
500 * @devs: array of platform devices to add
501 * @num: number of platform devices in array
526 * Set up default DMA mask for platform devices if the they weren't
542 * platform_device_put - destroy a platform device
543 * @pdev: platform device to free
545 * Free all memory associated with a platform device. This function must
569 * platform_device_alloc - create a platform device
573 * Create a platform device object which can have other objects attached
595 * platform_device_add_resources - add resources to a platform device
596 * @pdev: platform device allocated by platform_device_alloc to add resources to
600 * Add a copy of the resources to the platform device. The memory
601 * associated with the resources will be freed when the platform device is
623 * platform_device_add_data - add platform-specific data to a platform device
624 * @pdev: platform device allocated by platform_device_alloc to add resources to
625 * @data: platform specific data for this platform device
626 * @size: size of platform specific data
628 * Add a copy of platform specific data to the platform device's
629 * platform_data pointer. The memory associated with the platform data
630 * will be freed when the platform device is released.
650 * platform_device_add - add a platform device to device hierarchy
651 * @pdev: platform device we're adding
714 pr_debug("Registering platform device '%s'. Parent at %s\n", in platform_device_add()
739 * platform_device_del - remove a platform-level device
740 * @pdev: platform device we're removing
768 * platform_device_register - add a platform-level device
769 * @pdev: platform device we're adding
784 * platform_device_unregister - unregister a platform-level device
785 * @pdev: platform device we're unregistering
799 * platform_device_register_full - add a platform-level device with
800 * resources and platform-specific data
857 * __platform_driver_register - register a driver for platform-level devices
858 * @drv: platform driver structure
872 * platform_driver_unregister - unregister a driver for platform-level devices
873 * @drv: platform driver structure
888 * @drv: platform driver structure
959 * @driver: platform driver structure
963 * @data: platform specific data for this platform device
964 * @size: size of platform specific data
968 * register a single platform device and corresponding platform driver.
1015 * __platform_register_drivers - register an array of platform drivers
1020 * Registers platform drivers specified by an array. On failure to register a
1034 pr_debug("registering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1038 pr_err("failed to register platform driver %ps: %d\n", in __platform_register_drivers()
1048 pr_debug("unregistering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1057 * platform_unregister_drivers - unregister an array of platform drivers
1061 * Unregisters platform drivers specified by an array. This is typically used
1069 pr_debug("unregistering platform driver %ps\n", drivers[count]); in platform_unregister_drivers()
1253 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show()
1319 * platform_match - bind platform device to platform driver.
1323 * Platform device IDs are assumed to be encoded like this:
1477 .name = "platform",
1496 * platform_find_device_by_driver - Find a platform device with a given