Home
last modified time | relevance | path

Searched refs:iosize (Results 1 – 14 of 14) sorted by relevance

/drivers/comedi/drivers/
Ddas08_isa.c47 .iosize = 16, /* unchecked */
58 .iosize = 16, /* unchecked */
68 .iosize = 16, /* unchecked */
78 .iosize = 16, /* unchecked */
90 .iosize = 16, /* unchecked */
102 .iosize = 16, /* unchecked */
114 .iosize = 16, /* unchecked */
125 .iosize = 16, /* unchecked */
137 .iosize = 16, /* unchecked */
146 .iosize = 16, /* unchecked */
[all …]
Dcomedi_8254.c124 unsigned int reg_offset = (reg * i8254->iosize) << i8254->regshift; in __i8254_read()
127 switch (i8254->iosize) { in __i8254_read()
154 unsigned int reg_offset = (reg * i8254->iosize) << i8254->regshift; in __i8254_write()
156 switch (i8254->iosize) { in __i8254_write()
577 unsigned int iosize, in __i8254_init() argument
584 if (!(iosize == I8254_IO8 || iosize == I8254_IO16 || in __i8254_init()
585 iosize == I8254_IO32)) in __i8254_init()
594 i8254->iosize = iosize; in __i8254_init()
617 unsigned int iosize, in comedi_8254_init() argument
620 return __i8254_init(iobase, NULL, osc_base, iosize, regshift); in comedi_8254_init()
[all …]
Ddas08.h35 unsigned int iosize; /* number of ioports used */ member
Ddas08_pci.c39 .iosize = 8,
Ddas08_cs.c45 .iosize = 16,
/drivers/net/mdio/
Dmdio-mux-mmioreg.c21 unsigned int iosize; member
48 void __iomem *p = ioremap(s->phys, s->iosize); in mdio_mux_mmioreg_switch_fn()
52 switch (s->iosize) { in mdio_mux_mmioreg_switch_fn()
119 s->iosize = resource_size(&res); in mdio_mux_mmioreg_probe()
120 if (s->iosize != sizeof(uint8_t) && in mdio_mux_mmioreg_probe()
121 s->iosize != sizeof(uint16_t) && in mdio_mux_mmioreg_probe()
122 s->iosize != sizeof(uint32_t)) { in mdio_mux_mmioreg_probe()
132 if (be32_to_cpup(iprop) >= BIT(s->iosize * 8)) { in mdio_mux_mmioreg_probe()
/drivers/net/can/sja1000/
Dsja1000_isa.c121 int iosize = SJA1000_IOSIZE; in sja1000_isa_probe() local
129 if (!request_mem_region(mem[idx], iosize, DRV_NAME)) { in sja1000_isa_probe()
133 base = ioremap(mem[idx], iosize); in sja1000_isa_probe()
141 iosize = SJA1000_IOSIZE_INDIRECT; in sja1000_isa_probe()
142 if (!request_region(port[idx], iosize, DRV_NAME)) { in sja1000_isa_probe()
166 if (iosize == SJA1000_IOSIZE_INDIRECT) { in sja1000_isa_probe()
219 release_mem_region(mem[idx], iosize); in sja1000_isa_probe()
221 release_region(port[idx], iosize); in sja1000_isa_probe()
/drivers/net/can/cc770/
Dcc770_isa.c166 int iosize = CC770_IOSIZE; in cc770_isa_probe() local
174 if (!request_mem_region(mem[idx], iosize, KBUILD_MODNAME)) { in cc770_isa_probe()
178 base = ioremap(mem[idx], iosize); in cc770_isa_probe()
186 iosize = CC770_IOSIZE_INDIRECT; in cc770_isa_probe()
187 if (!request_region(port[idx], iosize, KBUILD_MODNAME)) { in cc770_isa_probe()
211 if (iosize == CC770_IOSIZE_INDIRECT) { in cc770_isa_probe()
281 release_mem_region(mem[idx], iosize); in cc770_isa_probe()
283 release_region(port[idx], iosize); in cc770_isa_probe()
/drivers/gpu/drm/tiny/
Dbochs.c215 unsigned long addr, size, mem, ioaddr, iosize; in bochs_hw_init() local
225 iosize = pci_resource_len(pdev, 2); in bochs_hw_init()
226 bochs->mmio = ioremap(ioaddr, iosize); in bochs_hw_init()
233 iosize = 2; in bochs_hw_init()
234 if (!request_region(ioaddr, iosize, "bochs-drm")) { in bochs_hw_init()
280 if (bochs->qext_size < 4 || bochs->qext_size > iosize) { in bochs_hw_init()
/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_drv.c214 resource_size_t ioaddr, iosize; in hibmc_hw_map() local
217 iosize = pci_resource_len(pdev, 1); in hibmc_hw_map()
218 priv->mmio = devm_ioremap(dev->dev, ioaddr, iosize); in hibmc_hw_map()
/drivers/net/ethernet/davicom/
Ddm9000.c1420 int iosize; in dm9000_probe() local
1535 iosize = resource_size(db->addr_res); in dm9000_probe()
1536 db->addr_req = request_mem_region(db->addr_res->start, iosize, in dm9000_probe()
1545 db->io_addr = ioremap(db->addr_res->start, iosize); in dm9000_probe()
1553 iosize = resource_size(db->data_res); in dm9000_probe()
1554 db->data_req = request_mem_region(db->data_res->start, iosize, in dm9000_probe()
1563 db->io_data = ioremap(db->data_res->start, iosize); in dm9000_probe()
1575 dm9000_set_io(db, iosize); in dm9000_probe()
/drivers/net/ethernet/natsemi/
Dnatsemi.c591 unsigned int iosize; member
809 unsigned long iosize; in natsemi_probe1() local
839 iosize = pci_resource_len(pdev, pcibar); in natsemi_probe1()
853 ioaddr = ioremap(iostart, iosize); in natsemi_probe1()
877 np->iosize = iosize; in natsemi_probe1()
/drivers/i2c/busses/
Di2c-pxa.c254 unsigned long iosize; member
1486 i2c->iosize = resource_size(res); in i2c_pxa_probe()
/drivers/md/
Dmd-bitmap.c153 u32 iosize = roundup(size, bdev_logical_block_size(rdev->bdev)); in read_sb_page() local
160 if (sync_page_io(rdev, sector, iosize, page, REQ_OP_READ, true)) in read_sb_page()