Home
last modified time | relevance | path

Searched refs:soc (Results 1 – 25 of 631) sorted by relevance

12345678910>>...26

/arch/powerpc/boot/
Dcuboot-52xx.c26 void *soc, *reg; in platform_fixups() local
39 soc = find_node_by_devtype(NULL, "soc"); in platform_fixups()
40 if (!soc) in platform_fixups()
41 soc = find_node_by_compatible(NULL, "fsl,mpc5200-immr"); in platform_fixups()
42 if (!soc) in platform_fixups()
43 soc = find_node_by_compatible(NULL, "fsl,mpc5200b-immr"); in platform_fixups()
44 if (soc) { in platform_fixups()
45 setprop(soc, "bus-frequency", &bd.bi_ipbfreq, in platform_fixups()
48 if (!dt_xlate_reg(soc, 0, (void*)&reg, NULL)) in platform_fixups()
52 setprop(soc, "system-frequency", &sysfreq, sizeof(sysfreq)); in platform_fixups()
Dfsl-soc.c22 void *soc; in fsl_get_immr() local
25 soc = find_node_by_devtype(NULL, "soc"); in fsl_get_immr()
26 if (soc) { in fsl_get_immr()
30 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
39 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); in fsl_get_immr()
48 if (!dt_xlate_addr(soc, prop_buf + naddr, 8, &ret)) in fsl_get_immr()
Dcuboot-824x.c23 void *soc; in platform_fixups() local
29 soc = find_node_by_devtype(NULL, "soc"); in platform_fixups()
30 if (soc) { in platform_fixups()
33 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
37 if (get_parent(serial) != soc) in platform_fixups()
Dcuboot-83xx.c24 void *soc; in platform_fixups() local
35 soc = find_node_by_devtype(NULL, "soc"); in platform_fixups()
36 if (soc) { in platform_fixups()
39 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
43 if (get_parent(serial) != soc) in platform_fixups()
Dcuboot-85xx.c25 void *soc; in platform_fixups() local
38 soc = find_node_by_devtype(NULL, "soc"); in platform_fixups()
39 if (soc) { in platform_fixups()
42 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups()
46 if (get_parent(serial) != soc) in platform_fixups()
/arch/powerpc/sysdev/
Dfsl_soc.c52 struct device_node *soc; in get_immrbase() local
57 soc = of_find_node_by_type(NULL, "soc"); in get_immrbase()
58 if (soc) { in get_immrbase()
61 const __be32 *prop = of_get_property(soc, "#address-cells", &size); in get_immrbase()
68 prop = of_get_property(soc, "ranges", &size); in get_immrbase()
70 immrbase = of_translate_address(soc, prop + naddr); in get_immrbase()
72 of_node_put(soc); in get_immrbase()
83 struct device_node *soc; in fsl_get_sys_freq() local
88 soc = of_find_node_by_type(NULL, "soc"); in fsl_get_sys_freq()
89 if (!soc) in fsl_get_sys_freq()
[all …]
/arch/arm/mach-imx/devices/
Dplatform-mx2-camera.c12 #define imx_mx2_camera_data_entry_single(soc, _devid) \ argument
15 .iobasecsi = soc ## _CSI_BASE_ADDR, \
17 .irqcsi = soc ## _INT_CSI, \
19 #define imx_mx2_camera_data_entry_single_emma(soc, _devid) \ argument
22 .iobasecsi = soc ## _CSI_BASE_ADDR, \
24 .irqcsi = soc ## _INT_CSI, \
25 .iobaseemmaprp = soc ## _EMMAPRP_BASE_ADDR, \
27 .irqemmaprp = soc ## _INT_EMMAPRP, \
Dplatform-mxc_nand.c14 #define imx_mxc_nand_data_entry_single(soc, _devid, _size) \ argument
17 .iobase = soc ## _NFC_BASE_ADDR, \
19 .irq = soc ## _INT_NFC \
22 #define imx_mxc_nandv3_data_entry_single(soc, _devid, _size) \ argument
26 .iobase = soc ## _NFC_BASE_ADDR, \
28 .axibase = soc ## _NFC_AXI_BASE_ADDR, \
29 .irq = soc ## _INT_NFC \
Dplatform-imx-uart.c12 #define imx_imx_uart_3irq_data_entry(soc, _id, _hwid, _size) \ argument
15 .iobase = soc ## _UART ## _hwid ## _BASE_ADDR, \
17 .irqrx = soc ## _INT_UART ## _hwid ## RX, \
18 .irqtx = soc ## _INT_UART ## _hwid ## TX, \
19 .irqrts = soc ## _INT_UART ## _hwid ## RTS, \
22 #define imx_imx_uart_1irq_data_entry(soc, _id, _hwid, _size) \ argument
25 .iobase = soc ## _UART ## _hwid ## _BASE_ADDR, \
27 .irq = soc ## _INT_UART ## _hwid, \
Dplatform-flexcan.c11 #define imx_flexcan_data_entry_single(soc, _id, _hwid, _size) \ argument
14 .iobase = soc ## _CAN ## _hwid ## _BASE_ADDR, \
16 .irq = soc ## _INT_CAN ## _hwid, \
19 #define imx_flexcan_data_entry(soc, _id, _hwid, _size) \ argument
20 [_id] = imx_flexcan_data_entry_single(soc, _id, _hwid, _size)
Dplatform-imx-ssi.c12 #define imx_imx_ssi_data_entry(soc, _id, _hwid, _size) \ argument
15 .iobase = soc ## _SSI ## _hwid ## _BASE_ADDR, \
17 .irq = soc ## _INT_SSI ## _hwid, \
18 .dmatx0 = soc ## _DMA_REQ_SSI ## _hwid ## _TX0, \
19 .dmarx0 = soc ## _DMA_REQ_SSI ## _hwid ## _RX0, \
20 .dmatx1 = soc ## _DMA_REQ_SSI ## _hwid ## _TX1, \
21 .dmarx1 = soc ## _DMA_REQ_SSI ## _hwid ## _RX1, \
Dplatform-mxc-mmc.c14 #define imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size) \ argument
18 .iobase = soc ## _SDHC ## _hwid ## _BASE_ADDR, \
20 .irq = soc ## _INT_SDHC ## _hwid, \
21 .dmareq = soc ## _DMA_REQ_SDHC ## _hwid, \
23 #define imx_mxc_mmc_data_entry(soc, _devid, _id, _hwid, _size) \ argument
24 [_id] = imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size)
Dplatform-sdhci-esdhc-imx.c14 #define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid) \ argument
18 .iobase = soc ## _ESDHC ## hwid ## _BASE_ADDR, \
19 .irq = soc ## _INT_ESDHC ## hwid, \
22 #define imx_sdhci_esdhc_imx_data_entry(soc, devid, id, hwid) \ argument
23 [id] = imx_sdhci_esdhc_imx_data_entry_single(soc, devid, id, hwid)
Dplatform-imx-i2c.c12 #define imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size) \ argument
16 .iobase = soc ## _I2C ## _hwid ## _BASE_ADDR, \
18 .irq = soc ## _INT_I2C ## _hwid, \
21 #define imx_imx_i2c_data_entry(soc, _devid, _id, _hwid, _size) \ argument
22 [_id] = imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size)
Dplatform-imx2-wdt.c14 #define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \ argument
17 .iobase = soc ## _WDOG ## _hwid ## _BASE_ADDR, \
20 #define imx_imx2_wdt_data_entry(soc, _id, _hwid, _size) \ argument
21 [_id] = imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)
Dplatform-spi_imx.c12 #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ argument
16 .iobase = soc ## _ ## type ## hwid ## _BASE_ADDR, \
18 .irq = soc ## _INT_ ## type ## hwid, \
21 #define imx_spi_imx_data_entry(soc, type, devid, id, hwid, size) \ argument
22 [id] = imx_spi_imx_data_entry_single(soc, type, devid, id, hwid, size)
Dplatform-mx2-emma.c12 #define imx_mx2_emmaprp_data_entry_single(soc) \ argument
14 .iobase = soc ## _EMMAPRP_BASE_ADDR, \
16 .irq = soc ## _INT_EMMAPRP, \
Dplatform-imx21-hcd.c12 #define imx_imx21_hcd_data_entry_single(soc) \ argument
14 .iobase = soc ## _USBOTG_BASE_ADDR, \
15 .irq = soc ## _INT_USBHOST, \
Dplatform-mxc_rtc.c12 #define imx_mxc_rtc_data_entry_single(soc, _devid) \ argument
15 .iobase = soc ## _RTC_BASE_ADDR, \
16 .irq = soc ## _INT_RTC, \
Dplatform-fec.c15 #define imx_fec_data_entry_single(soc, _devid) \ argument
18 .iobase = soc ## _FEC_BASE_ADDR, \
19 .irq = soc ## _INT_FEC, \
Dplatform-pata_imx.c9 #define imx_pata_imx_data_entry_single(soc, _size) \ argument
11 .iobase = soc ## _ATA_BASE_ADDR, \
13 .irq = soc ## _INT_ATA, \
Dplatform-fsl-usb2-udc.c14 #define imx_fsl_usb2_udc_data_entry_single(soc, _devid) \ argument
17 .iobase = soc ## _USB_OTG_BASE_ADDR, \
18 .irq = soc ## _INT_USB_OTG, \
Dplatform-imx-fb.c14 #define imx_imx_fb_data_entry_single(soc, _devid, _size) \ argument
17 .iobase = soc ## _LCDC_BASE_ADDR, \
19 .irq = soc ## _INT_LCDC, \
/arch/arm/mach-davinci/
Dmux.h18 #define MUX_CFG(soc, desc, muxreg, mode_offset, mode_mask, mux_mode, dbg)\ argument
19 [soc##_##desc] = { \
29 #define INT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg) \ argument
30 [soc##_##desc] = { \
40 #define EVT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg) \ argument
41 [soc##_##desc] = { \
/arch/arm/mach-imx/
Dhardware.h116 #define imx_map_entry(soc, name, _type) { \ argument
117 .virtual = soc ## _IO_P2V(soc ## _ ## name ## _BASE_ADDR), \
118 .pfn = __phys_to_pfn(soc ## _ ## name ## _BASE_ADDR), \
119 .length = soc ## _ ## name ## _SIZE, \

12345678910>>...26