Searched hist:"5 eaed880282480a5a0a2b555c5f98a11252ed94e" (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | device-remove.c | 5eaed880282480a5a0a2b555c5f98a11252ed94e Wed Apr 15 11:07:18 UTC 2015 Przemyslaw Marczak <p.marczak@samsung.com> dm: core: Extend struct udevice by '.uclass_platdata' field.
This commit adds 'uclass_platdata' field to 'struct udevice', which can be automatically allocated at bind. The allocation size is defined in 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.
New device's flag is added: DM_FLAG_ALLOC_UCLASS_PDATA, which is used for memory freeing at device unbind method.
As for other udevice's fields, a complementary function is added: - dev_get_uclass_platdata()
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
|
| H A D | device.c | 5eaed880282480a5a0a2b555c5f98a11252ed94e Wed Apr 15 11:07:18 UTC 2015 Przemyslaw Marczak <p.marczak@samsung.com> dm: core: Extend struct udevice by '.uclass_platdata' field.
This commit adds 'uclass_platdata' field to 'struct udevice', which can be automatically allocated at bind. The allocation size is defined in 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.
New device's flag is added: DM_FLAG_ALLOC_UCLASS_PDATA, which is used for memory freeing at device unbind method.
As for other udevice's fields, a complementary function is added: - dev_get_uclass_platdata()
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
|
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | uclass.h | 5eaed880282480a5a0a2b555c5f98a11252ed94e Wed Apr 15 11:07:18 UTC 2015 Przemyslaw Marczak <p.marczak@samsung.com> dm: core: Extend struct udevice by '.uclass_platdata' field.
This commit adds 'uclass_platdata' field to 'struct udevice', which can be automatically allocated at bind. The allocation size is defined in 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.
New device's flag is added: DM_FLAG_ALLOC_UCLASS_PDATA, which is used for memory freeing at device unbind method.
As for other udevice's fields, a complementary function is added: - dev_get_uclass_platdata()
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
|
| H A D | device.h | 5eaed880282480a5a0a2b555c5f98a11252ed94e Wed Apr 15 11:07:18 UTC 2015 Przemyslaw Marczak <p.marczak@samsung.com> dm: core: Extend struct udevice by '.uclass_platdata' field.
This commit adds 'uclass_platdata' field to 'struct udevice', which can be automatically allocated at bind. The allocation size is defined in 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.
New device's flag is added: DM_FLAG_ALLOC_UCLASS_PDATA, which is used for memory freeing at device unbind method.
As for other udevice's fields, a complementary function is added: - dev_get_uclass_platdata()
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
|