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
245 * @dev: platform device
248 * Gets an IRQ for a platform device and prints an error message if finding the
274 * platform_irq_count - Count the number of IRQs a platform device uses
275 * @dev: platform device
277 * Return: Number of IRQs a platform device uses or EPROBE_DEFER
324 * @dev: platform device pointer
330 * Gets a set of IRQs for a platform device, and updates IRQ afffinty according
416 * @dev: platform device
461 * @dev: platform device
482 * @dev: platform device
498 * platform_add_devices - add a numbers of platform devices
499 * @devs: array of platform devices to add
500 * @num: number of platform devices in array
527 * Set up default DMA mask for platform devices if the they weren't
543 * platform_device_put - destroy a platform device
544 * @pdev: platform device to free
546 * Free all memory associated with a platform device. This function must
570 * platform_device_alloc - create a platform device
574 * Create a platform device object which can have other objects attached
596 * platform_device_add_resources - add resources to a platform device
597 * @pdev: platform device allocated by platform_device_alloc to add resources to
601 * Add a copy of the resources to the platform device. The memory
602 * associated with the resources will be freed when the platform device is
624 * platform_device_add_data - add platform-specific data to a platform device
625 * @pdev: platform device allocated by platform_device_alloc to add resources to
626 * @data: platform specific data for this platform device
627 * @size: size of platform specific data
629 * Add a copy of platform specific data to the platform device's
630 * platform_data pointer. The memory associated with the platform data
631 * will be freed when the platform device is released.
651 * platform_device_add - add a platform device to device hierarchy
652 * @pdev: platform device we're adding
713 pr_debug("Registering platform device '%s'. Parent at %s\n", dev_name(dev), 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
895 * @drv: platform driver structure
949 /* Walk all platform devices and see if any actually bound to this driver. in __platform_driver_probe()
963 * @driver: platform driver structure
967 * @data: platform specific data for this platform device
968 * @size: size of platform specific data
972 * register a single platform device and corresponding platform driver.
1019 * __platform_register_drivers - register an array of platform drivers
1024 * Registers platform drivers specified by an array. On failure to register a
1038 pr_debug("registering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1042 pr_err("failed to register platform driver %ps: %d\n", in __platform_register_drivers()
1052 pr_debug("unregistering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1061 * platform_unregister_drivers - unregister an array of platform drivers
1065 * Unregisters platform drivers specified by an array. This is typically used
1073 pr_debug("unregistering platform driver %ps\n", drivers[count]); in platform_unregister_drivers()
1257 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show()
1323 * platform_match - bind platform device to platform driver.
1327 * Platform device IDs are assumed to be encoded like this:
1478 .name = "platform",
1497 * platform_find_device_by_driver - Find a platform device with a given