1
0
Fork 0
alistair23-linux/arch/arm/mach-omap2
Kees Cook 6396bb2215 treewide: kzalloc() -> kcalloc()
The kzalloc() function has a 2-factor argument form, kcalloc(). This
patch replaces cases of:

        kzalloc(a * b, gfp)

with:
        kcalloc(a * b, gfp)

as well as handling cases of:

        kzalloc(a * b * c, gfp)

with:

        kzalloc(array3_size(a, b, c), gfp)

as it's slightly less ugly than:

        kzalloc_array(array_size(a, b), c, gfp)

This does, however, attempt to ignore constant size factors like:

        kzalloc(4 * 1024, gfp)

though any constants defined via macros get caught up in the conversion.

Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.

The Coccinelle script used for this was:

// Fix redundant parens around sizeof().
@@
type TYPE;
expression THING, E;
@@

(
  kzalloc(
-	(sizeof(TYPE)) * E
+	sizeof(TYPE) * E
  , ...)
|
  kzalloc(
-	(sizeof(THING)) * E
+	sizeof(THING) * E
  , ...)
)

// Drop single-byte sizes and redundant parens.
@@
expression COUNT;
typedef u8;
typedef __u8;
@@

(
  kzalloc(
-	sizeof(u8) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(__u8) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(char) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(unsigned char) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(u8) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(__u8) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(char) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(unsigned char) * COUNT
+	COUNT
  , ...)
)

// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@

(
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (COUNT_ID)
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * COUNT_ID
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (COUNT_CONST)
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * COUNT_CONST
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (COUNT_ID)
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * COUNT_ID
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (COUNT_CONST)
+	COUNT_CONST, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * COUNT_CONST
+	COUNT_CONST, sizeof(THING)
  , ...)
)

// 2-factor product, only identifiers.
@@
identifier SIZE, COUNT;
@@

- kzalloc
+ kcalloc
  (
-	SIZE * COUNT
+	COUNT, SIZE
  , ...)

// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@

(
  kzalloc(
-	sizeof(TYPE) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(THING) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
)

// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@

(
  kzalloc(
-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kzalloc(
-	sizeof(THING1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(THING1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
)

// 3-factor product, only identifiers, with redundant parens removed.
@@
identifier STRIDE, SIZE, COUNT;
@@

(
  kzalloc(
-	(COUNT) * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
)

// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression E1, E2, E3;
constant C1, C2, C3;
@@

(
  kzalloc(C1 * C2 * C3, ...)
|
  kzalloc(
-	(E1) * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	(E1) * (E2) * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	(E1) * (E2) * (E3)
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	E1 * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
)

// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@

(
  kzalloc(sizeof(THING) * C2, ...)
|
  kzalloc(sizeof(TYPE) * C2, ...)
|
  kzalloc(C1 * C2 * C3, ...)
|
  kzalloc(C1 * C2, ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (E2)
+	E2, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * E2
+	E2, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (E2)
+	E2, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * E2
+	E2, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	(E1) * E2
+	E1, E2
  , ...)
|
- kzalloc
+ kcalloc
  (
-	(E1) * (E2)
+	E1, E2
  , ...)
|
- kzalloc
+ kcalloc
  (
-	E1 * E2
+	E1, E2
  , ...)
)

Signed-off-by: Kees Cook <keescook@chromium.org>
2018-06-12 16:19:22 -07:00
..
include/mach ARM: omap2: restore OMAP4 barrier behaviour 2015-07-25 15:28:16 +01:00
Kconfig ARM: OMAP2+: pm33xx-core: Add platform code needed for PM 2018-02-27 08:53:37 -08:00
Makefile ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
am33xx-restart.c ARM: OMAP2+: PRM: provide generic API for system reset 2014-10-27 08:39:26 -07:00
am33xx.h
board-generic.c ARM/arm64: SoC platform updates for v4.14 2017-09-10 20:35:46 -07:00
board-n8x0.c bus: ti-sysc: Add support for platform data callbacks 2018-02-26 14:16:11 -08:00
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clkt2xxx_virt_prcm_set.c ARM: omap2: use clkdev_create() 2015-05-06 11:58:58 +01:00
clock.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clock.h clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clock2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock3xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomain.c ARM: OMAP2+: clockdomain: remove the obsolete clkdm_xlate_address API 2017-12-04 11:35:21 +02:00
clockdomain.h ARM: OMAP2+: clockdomain: remove the obsolete clkdm_xlate_address API 2017-12-04 11:35:21 +02:00
clockdomains2xxx_3xxx_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomains3xxx_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomains7xx_data.c ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP 2017-04-28 10:23:20 -05:00
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains81xx_data.c ARM: OMAP2+: dm81xx: Add clkdm and hwmod for SATA 2017-03-28 14:10:03 -07:00
clockdomains2420_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomains2430_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cm-regbits-7xx.h
cm-regbits-24xx.h ARM: OMAP2+: Drop unused legacy data for prcm_reg_id and module_bit 2017-12-14 08:23:33 -08:00
cm-regbits-33xx.h
cm-regbits-34xx.h ARM: OMAP2+: Drop unused legacy data for prcm_reg_id and module_bit 2017-12-14 08:23:33 -08:00
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h Merge branch '4.15-rc1-clkctrl-mach-omap2' of https://github.com/t-kristo/linux-pm into omap-for-v4.16/soc 2017-12-11 07:46:40 -08:00
cm1_7xx.h ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions 2014-10-27 08:39:25 -07:00
cm1_44xx.h ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions 2014-10-27 08:39:25 -07:00
cm1_54xx.h ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions 2014-10-27 08:39:25 -07:00
cm2_7xx.h ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions 2014-10-27 08:39:25 -07:00
cm2_44xx.h ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions 2014-10-27 08:39:25 -07:00
cm2_54xx.h ARM: OMAP4+: CM: remove omap4_cm1/cm2_* functions 2014-10-27 08:39:25 -07:00
cm2xxx.c ARM: OMAP2+: CM: make cm_ll_data structures as const 2017-12-11 07:40:38 -08:00
cm2xxx.h ARM: OMAP2+: CM: move SoC specific init calls within a generic API 2015-03-31 21:26:50 +03:00
cm2xxx_3xxx.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
cm3xxx.c ARM: OMAP2+: CM: make cm_ll_data structures as const 2017-12-11 07:40:38 -08:00
cm3xxx.h ARM: OMAP2+: CM: move SoC specific init calls within a generic API 2015-03-31 21:26:50 +03:00
cm33xx.c Merge branch '4.15-rc1-clkctrl-mach-omap2' of https://github.com/t-kristo/linux-pm into omap-for-v4.16/soc 2017-12-11 07:46:40 -08:00
cm33xx.h ARM: OMAP2+: CM: move SoC specific init calls within a generic API 2015-03-31 21:26:50 +03:00
cm44xx.h ARM: OMAP2+: CM: move SoC specific init calls within a generic API 2015-03-31 21:26:50 +03:00
cm81xx.h ARM: OMAP2+: dm81xx: Add clkdm and hwmod for SATA 2017-03-28 14:10:03 -07:00
cm_common.c Clock related dts changes for omaps for v4.16 merge window 2017-12-21 17:19:38 +01:00
cminst44xx.c Merge branch '4.15-rc1-clkctrl-mach-omap2' of https://github.com/t-kristo/linux-pm into omap-for-v4.16/soc 2017-12-11 07:46:40 -08:00
common-board-devices.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common.c Revert "ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688" 2015-07-25 15:28:14 +01:00
common.h ARM: OMAP2+: pm33xx-core: Add platform code needed for PM 2018-02-27 08:53:37 -08:00
control.c ARM: OMAP5: control: add support for control module wkup pad config 2018-03-20 08:06:18 -07:00
control.h ARM: OMAP3: Add support for configuring MMC pins as GPIO pins 2015-05-20 09:23:43 -07:00
cpuidle34xx.c ARM: OMAP3: Add cpuidle parameters table for omap3430 2016-02-19 10:35:39 -08:00
cpuidle44xx.c ARM: OMAP5: Add basic cpuidle MPU CSWR support 2016-11-07 16:52:14 -07:00
ctrl_module_wkup_44xx.h
devices.c ARM: OMAP2+: Remove unused gpio header file references 2018-02-14 10:28:13 -08:00
display.c ARM: OMAP2+: fix missing variable declaration 2017-08-24 15:17:25 +03:00
display.h ARM: OMAP2+: Remove unused omapdrm platform device 2017-08-16 15:38:51 +03:00
dma.c ARM: OMAP2+: make omap_dma_dev_info __initdata 2017-10-02 12:48:53 -07:00
fb.c ARM: OMAP2+: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:42:35 -07:00
gpmc.h ARM: OMAP2+: Prepare to move GPMC to drivers by platform data header 2014-11-20 12:11:25 -08:00
hdq1w.c ARM: OMAP2+: Drop unused omap_init_hdq 2017-09-19 11:04:56 -07:00
hdq1w.h
hsmmc.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
hsmmc.h ARM: OMAP2+: hsmmc.c: Remove dead code 2017-07-17 15:04:47 +02:00
i2c.c ARM: OMAP2+: Remove legacy i2c.c platform init code 2016-11-10 08:53:30 -07:00
i2c.h ARM: OMAP: Move plat/i2c.h into mach-omap1 folder 2018-02-14 10:28:13 -08:00
id.c ARM: OMAP2+: dra762: Add support for device package identification 2017-12-21 07:04:10 -08:00
id.h
io.c ARM: OMAP2+: pm33xx-core: Add platform code needed for PM 2018-02-27 08:53:37 -08:00
iomap.h ARM: DRA7: Provide proper IO map table 2015-07-16 00:06:05 -07:00
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
mcbsp.c ARM: OMAP2+: Remove unused legacy code for McBSP 2017-06-08 04:15:10 -07:00
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
msdi.c ARM: OMAP2+: Remove unused gpio header file references 2018-02-14 10:28:13 -08:00
omap-headsmp.S ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build 2017-02-16 13:12:15 -08:00
omap-hotplug.c ARM: omap2+: Revert omap-smp.c changes resetting CPU1 during boot 2017-03-27 10:10:42 -07:00
omap-mpuss-lowpower.c ARM: omap2+: make omap4_get_cpu1_ns_pa_addr declaration usable 2017-05-09 21:13:25 +02:00
omap-pm-noop.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-pm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-secure.c ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds 2017-12-07 15:52:21 +01:00
omap-secure.h ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
omap-smc.S ARM: omap2+: Revert omap-smp.c changes resetting CPU1 during boot 2017-03-27 10:10:42 -07:00
omap-smp.c ARM: dra762: Enable SMP for dra762 2017-08-14 10:33:13 -07:00
omap-wakeupgen.c ARM: OMAP2+: Fix sar_base inititalization for HS omaps 2018-02-14 08:35:14 -08:00
omap-wakeupgen.h ARM: omap: convert wakeupgen to stacked domains 2015-03-15 00:56:13 +00:00
omap2-restart.c ARM: OMAP2+: Change core_initcall levels to postcore_initcall 2015-12-03 11:38:09 -08:00
omap3-restart.c ARM: OMAP2+: sparse: add missing function declarations 2015-07-15 23:43:41 -06:00
omap4-common.c ARM: OMAP2+: Drop omap_hwmod_irq_info 2017-10-10 14:27:19 -07:00
omap4-restart.c ARM: OMAP2+: sparse: add missing function declarations 2015-07-15 23:43:41 -06:00
omap4-sar-layout.h ARM: OMAP2+: Fix typo for wakeup_ns_pa_addr 2018-02-28 14:47:13 -08:00
omap24xx.h
omap34xx.h [media] omap3isp: Replace many MMIO regions by two 2015-04-02 16:45:07 -03:00
omap44xx.h
omap54xx.h ARM: DRA7: Provide proper IO map table 2015-07-16 00:06:05 -07:00
omap_device.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
omap_device.h ARM: OMAP2+: Populate legacy resources for dma and smartreflex 2017-10-10 14:23:35 -07:00
omap_hwmod.c Driver changes for ti-sysc for v4.17 2018-03-07 16:26:43 +01:00
omap_hwmod.h ARM: OMAP2+: Add functions to allocate module data from device tree 2018-02-28 16:32:09 -08:00
omap_hwmod_2xxx_3xxx_ipblock_data.c ARM: OMAP2+: Drop omap_hwmod_irq_info 2017-10-10 14:27:19 -07:00
omap_hwmod_2xxx_interconnect_data.c ARM: OMAP2+: Remove legacy data from hwmod for omap3 2016-11-10 14:03:19 -07:00
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_3xxx_data.c ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data 2018-02-14 10:28:13 -08:00
omap_hwmod_7xx_data.c ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data 2018-02-14 10:28:13 -08:00
omap_hwmod_33xx_43xx_common_data.h ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_33xx_43xx_interconnect_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_33xx_43xx_ipblock_data.c ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_33xx_data.c ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_43xx_data.c ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_44xx_data.c ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data 2018-02-14 10:28:13 -08:00
omap_hwmod_54xx_data.c ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data 2018-02-14 10:28:13 -08:00
omap_hwmod_81xx_data.c ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_2420_data.c ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data 2018-02-14 10:28:12 -08:00
omap_hwmod_2430_data.c ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data 2018-02-14 10:28:13 -08:00
omap_hwmod_common_data.c bus: ti-sysc: Make omap_hwmod_sysc_fields into sysc_regbits platform data 2017-12-21 07:28:54 -08:00
omap_hwmod_common_data.h ARM: OMAP2+: Cleanup omap_gpio_dev_attr usage 2018-02-14 10:28:12 -08:00
omap_hwmod_common_ipblock_data.c ARM: AM43xx: hwmod: add DSS hwmod data 2014-07-05 17:44:57 -06:00
omap_hwmod_reset.c ARM: OMAP2+: hwmod: RTC: Add lock and unlock functions 2016-04-10 13:20:10 -06:00
omap_opp_data.h
omap_phy_internal.c ARM: OMAP2+: Remove unused ti81xx platform init code 2015-01-14 17:21:00 -08:00
omap_twl.c mfd: twl: Move header file out of I2C realm 2017-09-04 14:41:02 +01:00
opp2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
opp3xxx_data.c ARM: OMAP2+: Remove unused legacy code for opp 2017-06-08 02:57:16 -07:00
opp4xxx_data.c ARM: OMAP2+: Remove unused legacy code for opp 2017-06-08 02:57:16 -07:00
opp2420_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
opp2430_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pdata-quirks.c Driver changes for ti-sysc for v4.17 2018-03-07 16:26:43 +01:00
pm-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
pm-debug.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/clock.h> 2017-03-02 08:42:27 +01:00
pm.c ARM: OMAP3: Fix prm wake interrupt for resume 2018-02-14 08:34:28 -08:00
pm.h ARM: OMAP2+: pm33xx-core: Add platform code needed for PM 2018-02-27 08:53:37 -08:00
pm24xx.c ARM: OMAP2+: Include clk.h 2015-07-20 10:52:36 -07:00
pm33xx-core.c ARM: OMAP2+: pm33xx-core: Add platform code needed for PM 2018-02-27 08:53:37 -08:00
pm34xx.c ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
pm44xx.c ARM: OMAP5: Add basic cpuidle MPU CSWR support 2016-11-07 16:52:14 -07:00
powerdomain-common.c ARM: OMAP4: PRCM: remove references to cm-regbits-44xx.h from PRCM core files 2014-05-15 22:35:10 -06:00
powerdomain.c ARM: OMAP2+: powerdomain: use raw_smp_processor_id() for trace 2018-05-01 07:49:31 -07:00
powerdomain.h ARM: OMAP2+: powerdomain.c: Remove some unused functions 2015-01-07 09:53:51 -08:00
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c ARM: OMAP2+: Update 81xx clock and power domains for default, active and sgx 2015-12-22 16:23:08 -08:00
powerdomains7xx_data.c ARM: OMAP: dra7: powerdomain data: Register SoC specific powerdomains 2017-08-14 10:33:29 -07:00
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c ARM: OMAP5: powerdomain data: fix powerdomain powerstate 2014-09-08 11:22:40 -05:00
prcm-common.h Merge branch 'omap-for-v4.14/fixes' into omap-for-v4.15/fixes-v2 2017-11-28 08:22:57 -08:00
prcm43xx.h ARM: AMx3xx: hwmod: Add data for RNG 2016-11-09 15:39:41 -07:00
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prcm_mpu44xx.h ARM: OMAP2+: PRCM: cleanup some header includes 2014-05-15 22:34:48 -06:00
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h ARM: OMAP2+: Fix omap off idle power consumption creeping up 2015-05-04 08:54:41 -07:00
prm-regbits-44xx.h ARM: OMAP2+: Fix omap off idle power consumption creeping up 2015-05-04 08:54:41 -07:00
prm.h ARM: OMAP4: Remove legacy IRQ for PRM 2017-10-10 14:27:13 -07:00
prm2xxx.c ARM: OMAP2+: PRM: move SoC specific init calls within a generic API 2015-03-31 21:26:36 +03:00
prm2xxx.h ARM: OMAP2+: PRM: move SoC specific init calls within a generic API 2015-03-31 21:26:36 +03:00
prm2xxx_3xxx.c ARM: OMAP2+: PRM: add generic API for checking hardreset status 2014-10-27 08:39:25 -07:00
prm2xxx_3xxx.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prm3xxx.c ARM: OMAP3: Remove legacy IRQ for PRM 2017-10-10 14:27:06 -07:00
prm3xxx.h ARM: OMAP2+: PRM: move SoC specific init calls within a generic API 2015-03-31 21:26:36 +03:00
prm7xx.h ARM: DRA7: hwmod: Add reset data for PCIe 2016-02-09 02:18:52 -07:00
prm33xx.c ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function 2017-11-28 07:03:26 -08:00
prm33xx.h ARM: dts: am43xx: Remove wrongly defined RSTST offset for PER Domain 2016-06-22 03:33:25 -07:00
prm44xx.c ARM: OMAP4: Remove legacy IRQ for PRM 2017-10-10 14:27:13 -07:00
prm44xx.h ARM: OMAP2+: PRM: move SoC specific init calls within a generic API 2015-03-31 21:26:36 +03:00
prm44xx_54xx.h ARM: OMAP2+: PRM: move SoC specific init calls within a generic API 2015-03-31 21:26:36 +03:00
prm54xx.h ARM: OMAP2+: PRM: move SoC specific init calls within a generic API 2015-03-31 21:26:36 +03:00
prm_common.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
prminst44xx.c ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prminst44xx.h ARM: OMAP4+: PRM: determine prm_device_inst based on DT compatibility 2015-03-31 21:26:44 +03:00
scrm44xx.h
scrm54xx.h
sdrc.c
sdrc.h ARM: OMAP2+: Fix typo in sdrc.h 2016-06-10 04:17:07 -07:00
sdrc2xxx.c ARM: Show proper respect for Heinrich Hertz by using the correct unit for frequency 2015-05-14 16:22:05 +01:00
serial.h
sleep24xx.S
sleep33xx.S ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
sleep34xx.S ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
sleep43xx.S ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
sleep44xx.S ARM: OMAP2+: Use v7_invalidate_l1 in omap4_finish_suspend 2018-02-28 14:46:53 -08:00
smartreflex-class3.c arm: mach-omap2: Convert pr_warning to pr_warn 2014-09-18 09:53:57 -07:00
soc.h ARM: OMAP2+: dra762: Add support for device package identification 2017-12-21 07:04:10 -08:00
sr_device.c ARM: OMAP2+: Enable ti-sysc to use device tree data for smartreflex 2018-02-28 20:03:21 -08:00
sram.c ARM: OMAP3: clock: remove un-used core dpll re-program code 2015-10-14 12:35:27 -07:00
sram.h ARM: OMAP3: clock: remove un-used core dpll re-program code 2015-10-14 12:35:27 -07:00
sram242x.S ARM: Show proper respect for Heinrich Hertz by using the correct unit for frequency 2015-05-14 16:22:05 +01:00
sram243x.S ARM: Show proper respect for Heinrich Hertz by using the correct unit for frequency 2015-05-14 16:22:05 +01:00
ti81xx-restart.c ARM: OMAP2+: Fix reboot for 81xx 2015-01-14 17:37:16 -08:00
ti81xx.h
timer.c ARM: OMAP: Move dmtimer.h out of plat-omap 2018-02-22 10:53:06 -08:00
usb-tusb6010.c ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.c 2016-11-10 12:42:15 -07:00
usb.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vc.c ARM: remove duplicate 'const' annotations' 2017-05-19 10:12:55 +02:00
vc.h ARM: OMAP2+: Fix omap off idle power consumption creeping up 2015-05-04 08:54:41 -07:00
vc3xxx_data.c ARM: OMAP2+: Fix omap off idle power consumption creeping up 2015-05-04 08:54:41 -07:00
vc44xx_data.c ARM: OMAP2+: Fix omap off idle power consumption creeping up 2015-05-04 08:54:41 -07:00
voltage.c ARM: OMAP2+: avoid NULL pointer dereference 2016-11-07 16:24:53 -07:00
voltage.h ARM: OMAP2+: voltage: Remove some unused functions 2015-01-07 09:53:51 -08:00
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
voltagedomains44xx_data.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
voltagedomains54xx_data.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
vp.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vp.h ARM: OMAP3+: PRM: add common APIs for prm_vp_check/clear_txdone 2015-03-25 11:03:39 +02:00
vp3xxx_data.c ARM: OMAP3+: PRM: add common APIs for prm_vp_check/clear_txdone 2015-03-25 11:03:39 +02:00
vp44xx_data.c ARM: OMAP3+: PRM: add common APIs for prm_vp_check/clear_txdone 2015-03-25 11:03:39 +02:00
wd_timer.c ARM: OMAP2+: Remove unused legacy code for watchdog 2017-06-08 04:15:10 -07:00
wd_timer.h