Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.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 = ioremap(sm750_dev->vidreg_start, in hw_sm750_map()
54 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.h78 struct sm750_dev { struct
179 struct sm750_dev *dev;
190 int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
191 int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
192 void hw_sm750_initAccel(struct sm750_dev *sm750_dev);