Home
last modified time | relevance | path

Searched refs:omap (Results 1 – 25 of 194) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-omap.c263 static int omap_i2c_xfer_data(struct omap_i2c_dev *omap);
265 static inline void omap_i2c_write_reg(struct omap_i2c_dev *omap, in omap_i2c_write_reg() argument
268 writew_relaxed(val, omap->base + in omap_i2c_write_reg()
269 (omap->regs[reg] << omap->reg_shift)); in omap_i2c_write_reg()
272 static inline u16 omap_i2c_read_reg(struct omap_i2c_dev *omap, int reg) in omap_i2c_read_reg() argument
274 return readw_relaxed(omap->base + in omap_i2c_read_reg()
275 (omap->regs[reg] << omap->reg_shift)); in omap_i2c_read_reg()
278 static void __omap_i2c_init(struct omap_i2c_dev *omap) in __omap_i2c_init() argument
281 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, 0); in __omap_i2c_init()
284 omap_i2c_write_reg(omap, OMAP_I2C_PSC_REG, omap->pscstate); in __omap_i2c_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Ddwc3-omap.c151 static u32 dwc3_omap_read_utmi_ctrl(struct dwc3_omap *omap) in dwc3_omap_read_utmi_ctrl() argument
153 return dwc3_omap_readl(omap->base, USBOTGSS_UTMI_OTG_CTRL + in dwc3_omap_read_utmi_ctrl()
154 omap->utmi_otg_offset); in dwc3_omap_read_utmi_ctrl()
157 static void dwc3_omap_write_utmi_ctrl(struct dwc3_omap *omap, u32 value) in dwc3_omap_write_utmi_ctrl() argument
159 dwc3_omap_writel(omap->base, USBOTGSS_UTMI_OTG_CTRL + in dwc3_omap_write_utmi_ctrl()
160 omap->utmi_otg_offset, value); in dwc3_omap_write_utmi_ctrl()
164 static u32 dwc3_omap_read_irq0_status(struct dwc3_omap *omap) in dwc3_omap_read_irq0_status() argument
166 return dwc3_omap_readl(omap->base, USBOTGSS_IRQSTATUS_RAW_0 - in dwc3_omap_read_irq0_status()
167 omap->irq0_offset); in dwc3_omap_read_irq0_status()
170 static void dwc3_omap_write_irq0_status(struct dwc3_omap *omap, u32 value) in dwc3_omap_write_irq0_status() argument
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/dwc3/
H A Ddwc3-omap.c149 static u32 dwc3_omap_read_utmi_status(struct dwc3_omap *omap) in dwc3_omap_read_utmi_status() argument
151 return dwc3_omap_readl(omap->base, USBOTGSS_UTMI_OTG_STATUS + in dwc3_omap_read_utmi_status()
152 omap->utmi_otg_offset); in dwc3_omap_read_utmi_status()
155 static void dwc3_omap_write_utmi_status(struct dwc3_omap *omap, u32 value) in dwc3_omap_write_utmi_status() argument
157 dwc3_omap_writel(omap->base, USBOTGSS_UTMI_OTG_STATUS + in dwc3_omap_write_utmi_status()
158 omap->utmi_otg_offset, value); in dwc3_omap_write_utmi_status()
162 static u32 dwc3_omap_read_irq0_status(struct dwc3_omap *omap) in dwc3_omap_read_irq0_status() argument
164 return dwc3_omap_readl(omap->base, USBOTGSS_IRQSTATUS_0 - in dwc3_omap_read_irq0_status()
165 omap->irq0_offset); in dwc3_omap_read_irq0_status()
168 static void dwc3_omap_write_irq0_status(struct dwc3_omap *omap, u32 value) in dwc3_omap_write_irq0_status() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-omap-dmtimer.c94 static void pwm_omap_dmtimer_start(struct pwm_omap_dmtimer_chip *omap) in pwm_omap_dmtimer_start() argument
104 omap->pdata->enable(omap->dm_timer); in pwm_omap_dmtimer_start()
105 omap->pdata->write_counter(omap->dm_timer, DM_TIMER_LOAD_MIN); in pwm_omap_dmtimer_start()
106 omap->pdata->disable(omap->dm_timer); in pwm_omap_dmtimer_start()
108 omap->pdata->start(omap->dm_timer); in pwm_omap_dmtimer_start()
117 static bool pwm_omap_dmtimer_is_enabled(struct pwm_omap_dmtimer_chip *omap) in pwm_omap_dmtimer_is_enabled() argument
121 status = omap->pdata->get_pwm_status(omap->dm_timer); in pwm_omap_dmtimer_is_enabled()
132 static int pwm_omap_dmtimer_polarity(struct pwm_omap_dmtimer_chip *omap) in pwm_omap_dmtimer_polarity() argument
136 status = omap->pdata->get_pwm_status(omap->dm_timer); in pwm_omap_dmtimer_polarity()
155 struct pwm_omap_dmtimer_chip *omap = to_pwm_omap_dmtimer_chip(chip); in pwm_omap_dmtimer_config() local
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Domap-usb-host.c280 struct usbhs_hcd_omap *omap = dev_get_drvdata(dev); in usbhs_runtime_resume() local
281 struct usbhs_omap_platform_data *pdata = omap->pdata; in usbhs_runtime_resume()
288 if (!IS_ERR(omap->ehci_logic_fck)) in usbhs_runtime_resume()
289 clk_prepare_enable(omap->ehci_logic_fck); in usbhs_runtime_resume()
291 for (i = 0; i < omap->nports; i++) { in usbhs_runtime_resume()
294 if (!IS_ERR(omap->hsic60m_clk[i])) { in usbhs_runtime_resume()
295 r = clk_prepare_enable(omap->hsic60m_clk[i]); in usbhs_runtime_resume()
303 if (!IS_ERR(omap->hsic480m_clk[i])) { in usbhs_runtime_resume()
304 r = clk_prepare_enable(omap->hsic480m_clk[i]); in usbhs_runtime_resume()
314 if (!IS_ERR(omap->utmi_clk[i])) { in usbhs_runtime_resume()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/ti/
H A DMakefile16 snd-soc-omap-dmic-objs := omap-dmic.o
17 snd-soc-omap-mcbsp-objs := omap-mcbsp.o omap-mcbsp-st.o
18 snd-soc-omap-mcpdm-objs := omap-mcpdm.o
23 obj-$(CONFIG_SND_SOC_OMAP_DMIC) += snd-soc-omap-dmic.o
24 obj-$(CONFIG_SND_SOC_OMAP_MCBSP) += snd-soc-omap-mcbsp.o
25 obj-$(CONFIG_SND_SOC_OMAP_MCPDM) += snd-soc-omap-mcpdm.o
32 snd-soc-omap-twl4030-objs := omap-twl4030.o
33 snd-soc-omap-abe-twl6040-objs := omap-abe-twl6040.o
35 snd-soc-omap-hdmi-objs := omap-hdmi.o
43 obj-$(CONFIG_SND_SOC_OMAP3_TWL4030) += snd-soc-omap-twl4030.o
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dehci-omap.c96 struct omap_hcd *omap; in ehci_hcd_omap_probe() local
148 omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv; in ehci_hcd_omap_probe()
149 omap->nports = pdata->nports; in ehci_hcd_omap_probe()
154 for (i = 0 ; i < omap->nports ; i++) { in ehci_hcd_omap_probe()
172 omap->phy[i] = phy; in ehci_hcd_omap_probe()
175 usb_phy_init(omap->phy[i]); in ehci_hcd_omap_probe()
177 usb_phy_set_suspend(omap->phy[i], 0); in ehci_hcd_omap_probe()
209 for (i = 0; i < omap->nports; i++) { in ehci_hcd_omap_probe()
210 if (!omap->phy[i] || in ehci_hcd_omap_probe()
214 usb_phy_init(omap->phy[i]); in ehci_hcd_omap_probe()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A DMakefile7 -I$(srctree)/arch/arm/plat-omap/include
12 omap_device.o omap-headsmp.o sram.o
17 secure-common = omap-smc.o omap-secure.o
19 obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
20 obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
41 smp-$(CONFIG_SMP) += omap-smp.o
42 smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
43 omap-4-5-common = omap4-common.o omap-wakeupgen.o
44 obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o
45 obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/phy/
H A Domap_usb_phy.c156 static void omap_enable_usb3_phy(struct omap_xhci *omap) in omap_enable_usb3_phy() argument
163 writel(val, &omap->otg_wrapper->sysconfig); in omap_enable_usb3_phy()
166 val = readl(&omap->otg_wrapper->utmi_otg_status); in omap_enable_usb3_phy()
167 writel(val, &omap->otg_wrapper->utmi_otg_status); in omap_enable_usb3_phy()
170 writel(USBOTGSS_COREIRQ_EN, &omap->otg_wrapper->irqenable_set_0); in omap_enable_usb3_phy()
180 writel(val, &omap->otg_wrapper->irqenable_set_1); in omap_enable_usb3_phy()
183 val = readl(&omap->otg_wrapper->irqstatus_1); in omap_enable_usb3_phy()
184 writel(val, &omap->otg_wrapper->irqstatus_1); in omap_enable_usb3_phy()
185 val = readl(&omap->otg_wrapper->irqstatus_0); in omap_enable_usb3_phy()
186 writel(val, &omap->otg_wrapper->irqstatus_0); in omap_enable_usb3_phy()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-omap.c28 static struct omap_xhci omap; variable
30 static int omap_xhci_core_init(struct omap_xhci *omap) in omap_xhci_core_init() argument
35 omap_enable_phy(omap); in omap_xhci_core_init()
37 ret = dwc3_core_init(omap->dwc3_reg); in omap_xhci_core_init()
44 dwc3_set_mode(omap->dwc3_reg, DWC3_GCTL_PRTCAP_HOST); in omap_xhci_core_init()
49 static void omap_xhci_core_exit(struct omap_xhci *omap) in omap_xhci_core_exit() argument
56 struct omap_xhci *ctx = &omap; in xhci_hcd_init()
89 struct omap_xhci *ctx = &omap; in xhci_hcd_stop()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.omap-ulpi-viewport1 Reference code ""drivers/usb/ulpi/omap-ulpi-viewport.c"
4 any ulpi phy port access on omap platform.
6 On omap ehci reg map contains INSNREG05_ULPI
11 omap-ulpi-viewport.c is a low level function
14 To enable and use omap-ulpi-viewport.c
20 omap-ulpi-viewport implementation.
23 omap-ehci driver code requests for ulpi phy reset if
/OK3568_Linux_fs/u-boot/board/nokia/rx51/
H A Drx51.c53 static struct tag_omap omap[] = { variable
106 while (omap[i].hdr.tag) { in init_omap_tags()
107 switch (omap[i].hdr.tag) { in init_omap_tags()
109 boot_reason_ptr = omap[i].u.boot_reason.reason_str; in init_omap_tags()
112 component = omap[i].u.version.component; in init_omap_tags()
113 version = omap[i].u.version.version; in init_omap_tags()
254 for (i = 0; omap[i].hdr.tag; i++) { in setup_board_tags()
258 omap[i].hdr.tag == OMAP_TAG_SERIAL_CONSOLE) in setup_board_tags()
261 size = omap[i].hdr.size + sizeof(struct tag_omap_header); in setup_board_tags()
262 memcpy(t, &omap[i], size); in setup_board_tags()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/
H A DMakefile27 obj-$(CONFIG_CRYPTO_DEV_OMAP) += omap-crypto.o
28 obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes-driver.o
29 omap-aes-driver-objs := omap-aes.o omap-aes-gcm.o
30 obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o
31 obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dehci-omap.txt3 This device is usually the child of the omap-usb-host
4 Documentation/devicetree/bindings/mfd/omap-usb-host.txt
8 - compatible: should be "ti,ehci-omap"
19 Documentation/devicetree/bindings/mfd/omap-usb-host.txt
24 compatible = "ti,ehci-omap";
/OK3568_Linux_fs/kernel/drivers/media/platform/omap/
H A DMakefile7 omap-vout-y += omap_vout.o omap_voutlib.o
8 omap-vout-$(CONFIG_VIDEO_OMAP2_VOUT_VRFB) += omap_vout_vrfb.o
9 obj-$(CONFIG_VIDEO_OMAP2_VOUT) += omap-vout.o
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/drm/
H A Dlibdrm_2.4.110.bb20 PACKAGECONFIG ??= "libkms intel radeon amdgpu nouveau vmwgfx omap freedreno vc4 etnaviv install-tes…
27 PACKAGECONFIG[omap] = "-Domap=true,-Domap=false"
41 PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
45 RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
52 FILES:${PN}-omap = "${libdir}/libdrm_omap.so.*"
/OK3568_Linux_fs/u-boot/drivers/phy/
H A DKconfig127 bool "Support omap's PIPE3 PHY"
130 Support for the omap PIPE3 phy for sata
132 This PHY is found on omap devices supporting SATA such as dra7, am57x
136 bool "Support omap's PIPE3 PHY in SPL"
139 Support for the omap PIPE3 phy for sata in SPL
141 This PHY is found on omap devices supporting SATA such as dra7, am57x
/OK3568_Linux_fs/kernel/arch/arm/mach-omap1/
H A DMakefile23 i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
24 obj-y += $(i2c-omap-m) $(i2c-omap-y)
/OK3568_Linux_fs/buildroot/package/omap-u-boot-utils/
H A DConfig.in.host2 bool "host omap-u-boot-utils"
9 https://github.com/nmenon/omap-u-boot-utils
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/omap/
H A Dcounter.txt4 - compatible: Must be "ti,omap-counter32k" for OMAP controllers
12 compatible = "ti,omap-counter32k";
/OK3568_Linux_fs/kernel/drivers/phy/ti/
H A DMakefile4 obj-$(CONFIG_OMAP_CONTROL_PHY) += phy-omap-control.o
5 obj-$(CONFIG_OMAP_USB2) += phy-omap-usb2.o
/OK3568_Linux_fs/buildroot/package/kmsxx/
H A Dkmsxx.mk26 KMSXX_EXTRA_UTILS = kmsview kmscapture omap-wbcap omap-wbm2m
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/bus/
H A Domap-ocp2scp.txt5 Should be "ti,omap-ocp2scp" for all others
15 compatible = "ti,omap-ocp2scp";
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A DMakefile12 obj-$(CONFIG_ISP1301_OMAP) += phy-isp1301-omap.o
17 obj-$(CONFIG_OMAP_OTG) += phy-omap-otg.o
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pwm/
H A Dpwm-omap-dmtimer.txt4 - compatible: Shall contain "ti,omap-dmtimer-pwm".
19 compatible = "ti,omap-dmtimer-pwm";

12345678