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
41 .init_name = "platform",
47 * @dev: platform device
86 * platform device and get resource
88 * @pdev: platform device to use both for memory resource lookup as well as
110 * devm_platform_ioremap_resource - call devm_ioremap_resource() for a platform
113 * @pdev: platform device to use both for memory resource lookup as well as
129 * a platform device, retrieve the
132 * @pdev: platform device to use both for memory resource lookup as well as
153 * @dev: platform device
156 * Gets an IRQ for a platform device. Device drivers should check the return
241 * @dev: platform device
244 * Gets an IRQ for a platform device and prints an error message if finding the
269 * platform_irq_count - Count the number of IRQs a platform device uses
270 * @dev: platform device
272 * Return: Number of IRQs a platform device uses or EPROBE_DEFER
319 * @dev: platform device pointer
325 * Gets a set of IRQs for a platform device, and updates IRQ afffinty according
411 * @dev: platform device
457 * @dev: platform device
478 * @dev: platform device
494 * platform_add_devices - add a numbers of platform devices
495 * @devs: array of platform devices to add
496 * @num: number of platform devices in array
521 * Set up default DMA mask for platform devices if the they weren't
537 * platform_device_put - destroy a platform device
538 * @pdev: platform device to free
540 * Free all memory associated with a platform device. This function must
564 * platform_device_alloc - create a platform device
568 * Create a platform device object which can have other objects attached
590 * platform_device_add_resources - add resources to a platform device
591 * @pdev: platform device allocated by platform_device_alloc to add resources to
595 * Add a copy of the resources to the platform device. The memory
596 * associated with the resources will be freed when the platform device is
618 * platform_device_add_data - add platform-specific data to a platform device
619 * @pdev: platform device allocated by platform_device_alloc to add resources to
620 * @data: platform specific data for this platform device
621 * @size: size of platform specific data
623 * Add a copy of platform specific data to the platform device's
624 * platform_data pointer. The memory associated with the platform data
625 * will be freed when the platform device is released.
645 * platform_device_add - add a platform device to device hierarchy
646 * @pdev: platform device we're adding
709 pr_debug("Registering platform device '%s'. Parent at %s\n", in platform_device_add()
734 * platform_device_del - remove a platform-level device
735 * @pdev: platform device we're removing
763 * platform_device_register - add a platform-level device
764 * @pdev: platform device we're adding
775 * platform_device_unregister - unregister a platform-level device
776 * @pdev: platform device we're unregistering
790 * platform_device_register_full - add a platform-level device with
791 * resources and platform-specific data
848 * __platform_driver_register - register a driver for platform-level devices
849 * @drv: platform driver structure
863 * platform_driver_unregister - unregister a driver for platform-level devices
864 * @drv: platform driver structure
879 * @drv: platform driver structure
950 * @driver: platform driver structure
954 * @data: platform specific data for this platform device
955 * @size: size of platform specific data
959 * register a single platform device and corresponding platform driver.
1006 * __platform_register_drivers - register an array of platform drivers
1011 * Registers platform drivers specified by an array. On failure to register a
1025 pr_debug("registering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1029 pr_err("failed to register platform driver %ps: %d\n", in __platform_register_drivers()
1039 pr_debug("unregistering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1048 * platform_unregister_drivers - unregister an array of platform drivers
1052 * Unregisters platform drivers specified by an array. This is typically used
1060 pr_debug("unregistering platform driver %ps\n", drivers[count]); in platform_unregister_drivers()
1244 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show()
1330 * platform_match - bind platform device to platform driver.
1334 * Platform device IDs are assumed to be encoded like this:
1475 .name = "platform",
1493 * platform_find_device_by_driver - Find a platform device with a given