Home
last modified time | relevance | path

Searched refs:sm750_dev (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/sm750fb/
Dsm750.c165 struct sm750_dev *sm750_dev; in lynxfb_ops_fillrect() local
173 sm750_dev = par->dev; in lynxfb_ops_fillrect()
193 spin_lock(&sm750_dev->slock); in lynxfb_ops_fillrect()
195 sm750_dev->accel.de_fillrect(&sm750_dev->accel, in lynxfb_ops_fillrect()
200 spin_unlock(&sm750_dev->slock); in lynxfb_ops_fillrect()
207 struct sm750_dev *sm750_dev; in lynxfb_ops_copyarea() local
211 sm750_dev = par->dev; in lynxfb_ops_copyarea()
227 spin_lock(&sm750_dev->slock); in lynxfb_ops_copyarea()
229 sm750_dev->accel.de_copyarea(&sm750_dev->accel, in lynxfb_ops_copyarea()
234 spin_unlock(&sm750_dev->slock); in lynxfb_ops_copyarea()
[all …]
Dsm750_hw.c29 int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev) in hw_sm750_map() argument
35 sm750_dev->vidreg_start = pci_resource_start(pdev, 1); in hw_sm750_map()
36 sm750_dev->vidreg_size = SZ_2M; in hw_sm750_map()
38 pr_info("mmio phyAddr = %lx\n", sm750_dev->vidreg_start); in hw_sm750_map()
53 sm750_dev->pvReg = in hw_sm750_map()
54 ioremap(sm750_dev->vidreg_start, sm750_dev->vidreg_size); in hw_sm750_map()
55 if (!sm750_dev->pvReg) { in hw_sm750_map()
60 pr_info("mmio virtual addr = %p\n", sm750_dev->pvReg); in hw_sm750_map()
63 sm750_dev->accel.dprBase = sm750_dev->pvReg + DE_BASE_ADDR_TYPE1; in hw_sm750_map()
64 sm750_dev->accel.dpPortBase = sm750_dev->pvReg + DE_PORT_ADDR_TYPE1; in hw_sm750_map()
[all …]
Dsm750.h82 struct sm750_dev { struct
183 struct sm750_dev *dev;
194 int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
195 int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
196 void hw_sm750_initAccel(struct sm750_dev *sm750_dev);