Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/sm750fb/
Dsm750.c164 struct sm750_dev *sm750_dev; in lynxfb_ops_fillrect() local
172 sm750_dev = par->dev; in lynxfb_ops_fillrect()
192 spin_lock(&sm750_dev->slock); in lynxfb_ops_fillrect()
194 sm750_dev->accel.de_fillrect(&sm750_dev->accel, in lynxfb_ops_fillrect()
199 spin_unlock(&sm750_dev->slock); in lynxfb_ops_fillrect()
206 struct sm750_dev *sm750_dev; in lynxfb_ops_copyarea() local
210 sm750_dev = par->dev; in lynxfb_ops_copyarea()
226 spin_lock(&sm750_dev->slock); in lynxfb_ops_copyarea()
228 sm750_dev->accel.de_copyarea(&sm750_dev->accel, in lynxfb_ops_copyarea()
233 spin_unlock(&sm750_dev->slock); in lynxfb_ops_copyarea()
[all …]
Dsm750_hw.c28 int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev) in hw_sm750_map() argument
34 sm750_dev->vidreg_start = pci_resource_start(pdev, 1); in hw_sm750_map()
35 sm750_dev->vidreg_size = SZ_2M; in hw_sm750_map()
37 pr_info("mmio phyAddr = %lx\n", sm750_dev->vidreg_start); in hw_sm750_map()
52 sm750_dev->pvReg = in hw_sm750_map()
53 ioremap(sm750_dev->vidreg_start, sm750_dev->vidreg_size); in hw_sm750_map()
54 if (!sm750_dev->pvReg) { in hw_sm750_map()
59 pr_info("mmio virtual addr = %p\n", sm750_dev->pvReg); in hw_sm750_map()
62 sm750_dev->accel.dprBase = sm750_dev->pvReg + DE_BASE_ADDR_TYPE1; in hw_sm750_map()
63 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);