Home
last modified time | relevance | path

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

/linux-6.1.9/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,
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/comedi/
Dcomedi_8254.h81 unsigned int iosize; member
127 unsigned int iosize,
131 unsigned int iosize,
/linux-6.1.9/fs/nfs/
Dinternal.h736 unsigned long nfs_io_size(unsigned long iosize, enum xprt_transports proto) in nfs_io_size() argument
738 if (iosize < NFS_MIN_FILE_IO_SIZE) in nfs_io_size()
739 iosize = NFS_DEF_FILE_IO_SIZE; in nfs_io_size()
740 else if (iosize >= NFS_MAX_FILE_IO_SIZE) in nfs_io_size()
741 iosize = NFS_MAX_FILE_IO_SIZE; in nfs_io_size()
743 if (proto == XPRT_TRANSPORT_UDP || iosize < PAGE_SIZE) in nfs_io_size()
744 return nfs_block_bits(iosize, NULL); in nfs_io_size()
745 return iosize & PAGE_MASK; in nfs_io_size()
/linux-6.1.9/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()
/linux-6.1.9/fs/btrfs/
Dextent_io.c1755 size_t iosize; in btrfs_do_readpage() local
1771 iosize = PAGE_SIZE - zero_offset; in btrfs_do_readpage()
1772 memzero_page(page, zero_offset, iosize); in btrfs_do_readpage()
1786 iosize = PAGE_SIZE - pg_offset; in btrfs_do_readpage()
1787 memzero_page(page, pg_offset, iosize); in btrfs_do_readpage()
1788 set_extent_uptodate(tree, cur, cur + iosize - 1, in btrfs_do_readpage()
1790 unlock_extent(tree, cur, cur + iosize - 1, &cached); in btrfs_do_readpage()
1791 end_page_read(page, true, cur, iosize); in btrfs_do_readpage()
1809 iosize = min(extent_map_end(em) - cur, end - cur + 1); in btrfs_do_readpage()
1810 iosize = ALIGN(iosize, blocksize); in btrfs_do_readpage()
[all …]
/linux-6.1.9/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_drv.c215 resource_size_t addr, size, ioaddr, iosize; in hibmc_hw_map() local
218 iosize = pci_resource_len(pdev, 1); in hibmc_hw_map()
219 priv->mmio = devm_ioremap(dev->dev, ioaddr, iosize); in hibmc_hw_map()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/i2c/busses/
Di2c-pxa.c254 unsigned long iosize; member
1430 i2c->iosize = resource_size(res); in i2c_pxa_probe()