Home
last modified time | relevance | path

Searched refs:lmmio (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/media/pci/tw68/
Dtw68.h145 u32 __iomem *lmmio; member
167 #define tw_readl(reg) readl(dev->lmmio + ((reg) >> 2))
169 #define tw_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2))
173 writel((readl(dev->lmmio+((reg)>>2)) & ~(mask)) |\
174 ((value) & (mask)), dev->lmmio+((reg)>>2))
181 writel((readl(dev->lmmio + ((reg) >> 2)) & ~(bit)), \
182 dev->lmmio + ((reg) >> 2))
Dtw68-core.c286 dev->lmmio = ioremap(pci_resource_start(pci_dev, 0), in tw68_initdev()
288 dev->bmmio = (__u8 __iomem *)dev->lmmio; in tw68_initdev()
289 if (NULL == dev->lmmio) { in tw68_initdev()
331 iounmap(dev->lmmio); in tw68_initdev()
355 iounmap(dev->lmmio); in tw68_finidev()
/linux-6.1.9/drivers/media/pci/smipcie/
Dsmipcie.h281 u32 __iomem *lmmio; member
294 #define smi_read(reg) readl(dev->lmmio + ((reg)>>2))
295 #define smi_write(reg, value) writel((value), dev->lmmio + ((reg)>>2))
298 writel((readl(dev->lmmio+((reg)>>2)) & ~(mask)) |\
299 ((value) & (mask)), dev->lmmio+((reg)>>2))
Dsmipcie-main.c962 dev->lmmio = ioremap(pci_resource_start(dev->pci_dev, 0), in smi_probe()
964 if (!dev->lmmio) { in smi_probe()
1026 iounmap(dev->lmmio); in smi_probe()
1051 iounmap(dev->lmmio); in smi_remove()
/linux-6.1.9/drivers/media/pci/cx25821/
Dcx25821.h228 u32 __iomem *lmmio; member
350 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2))
351 #define cx_write(reg, value) writel((value), dev->lmmio + ((reg)>>2))
354 writel((readl(dev->lmmio+((reg)>>2)) & ~(mask)) |\
355 ((value) & (mask)), dev->lmmio+((reg)>>2))
Dcx25821-core.c837 if (dev->lmmio != NULL) { in cx25821_iounmap()
838 iounmap(dev->lmmio); in cx25821_iounmap()
839 dev->lmmio = NULL; in cx25821_iounmap()
907 dev->lmmio = ioremap(dev->base_io_addr, pci_resource_len(dev->pci, 0)); in cx25821_dev_setup()
909 if (!dev->lmmio) { in cx25821_dev_setup()
915 dev->bmmio = (u8 __iomem *) dev->lmmio; in cx25821_dev_setup()
/linux-6.1.9/drivers/media/pci/cx88/
Dcx88.h344 u32 __iomem *lmmio; member
584 #define cx_read(reg) readl(core->lmmio + ((reg) >> 2))
585 #define cx_write(reg, value) writel((value), core->lmmio + ((reg) >> 2))
589 writel((readl(core->lmmio + ((reg) >> 2)) & ~(mask)) |\
590 ((value) & (mask)), core->lmmio + ((reg) >> 2))
600 writel(core->shadow[sreg], core->lmmio + ((reg) >> 2)))
605 core->lmmio + ((reg) >> 2)))
Dcx88-cards.c3759 core->lmmio = ioremap(pci_resource_start(pci, 0), in cx88_core_create()
3761 core->bmmio = (u8 __iomem *)core->lmmio; in cx88_core_create()
3763 if (!core->lmmio) { in cx88_core_create()
Dcx88-core.c1091 iounmap(core->lmmio); in cx88_core_put()
/linux-6.1.9/drivers/media/pci/cx23885/
Dcx23885.h361 u32 __iomem *lmmio; member
496 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2))
497 #define cx_write(reg, value) writel((value), dev->lmmio + ((reg)>>2))
500 writel((readl(dev->lmmio+((reg)>>2)) & ~(mask)) |\
501 ((value) & (mask)), dev->lmmio+((reg)>>2))
Dcx23885-core.c993 dev->lmmio = ioremap(pci_resource_start(dev->pci, 0), in cx23885_dev_setup()
996 dev->bmmio = (u8 __iomem *)dev->lmmio; in cx23885_dev_setup()
1128 iounmap(dev->lmmio); in cx23885_dev_unregister()
/linux-6.1.9/drivers/media/pci/saa7134/
Dsaa7134.h573 __u32 __iomem *lmmio; member
691 #define saa_readl(reg) readl(dev->lmmio + (reg))
692 #define saa_writel(reg,value) writel((value), dev->lmmio + (reg));
694 writel((readl(dev->lmmio+(reg)) & ~(mask)) |\
695 ((value) & (mask)), dev->lmmio+(reg))
Dsaa7134-core.c1135 dev->lmmio = ioremap(pci_resource_start(pci_dev, 0), in saa7134_initdev()
1137 dev->bmmio = (__u8 __iomem *)dev->lmmio; in saa7134_initdev()
1138 if (NULL == dev->lmmio) { in saa7134_initdev()
1296 iounmap(dev->lmmio); in saa7134_initdev()
1363 iounmap(dev->lmmio); in saa7134_finidev()
/linux-6.1.9/drivers/media/pci/saa7164/
Dsaa7164.h430 u32 __iomem *lmmio; member
618 #define saa7164_readl(reg) readl(dev->lmmio + ((reg) >> 2))
619 #define saa7164_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2))
Dsaa7164-buffer.c235 dprintk(DBGLVL_BUF, " lmmio 0x%p\n", dev->lmmio); in saa7164_buffer_cfg_port()
Dsaa7164-core.c1001 dev->lmmio = ioremap(pci_resource_start(dev->pci, 0), in saa7164_dev_setup()
1007 dev->bmmio = (u8 __iomem *)dev->lmmio; in saa7164_dev_setup()
1039 iounmap(dev->lmmio); in saa7164_dev_unregister()
/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx.h711 u32 __iomem *lmmio; member