/linux/arch/mips/txx9/generic/ |
A D | pci.c | 112 unsigned long io_base, unsigned long io_size) in txx9_alloc_pci_controller() argument 172 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 176 if (!io_size) in txx9_alloc_pci_controller() 178 io_size = 0x01000000; /* io:16M(max) */ in txx9_alloc_pci_controller() 180 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller() 183 io_size, 0, 0x20000000, in txx9_alloc_pci_controller() 184 io_size, NULL, NULL) == 0) in txx9_alloc_pci_controller() 187 if (io_size < min_size) in txx9_alloc_pci_controller() 207 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
|
/linux/fs/hfsplus/ |
A D | wrapper.c | 53 u64 io_size; in hfsplus_submit_bio() local 62 io_size = hfsplus_min_io_size(sb); in hfsplus_submit_bio() 64 offset = start & (io_size - 1); in hfsplus_submit_bio() 65 sector &= ~((io_size >> HFSPLUS_SECTOR_SHIFT) - 1); in hfsplus_submit_bio() 75 while (io_size > 0) { in hfsplus_submit_bio() 78 io_size); in hfsplus_submit_bio() 85 io_size -= len; in hfsplus_submit_bio()
|
/linux/drivers/gpio/ |
A D | gpio-it87.c | 65 u16 io_size; member 294 it87_gpio->io_size = 8; /* it8613 only needs 6, use 8 for alignment */ in it87_gpio_init() 303 it87_gpio->io_size = 11; in it87_gpio_init() 314 it87_gpio->io_size = 8; in it87_gpio_init() 322 it87_gpio->io_size = 4; in it87_gpio_init() 351 if (!request_region(it87_gpio->io_base, it87_gpio->io_size, in it87_gpio_init() 393 release_region(it87_gpio->io_base, it87_gpio->io_size); in it87_gpio_init() 402 release_region(it87_gpio->io_base, it87_gpio->io_size); in it87_gpio_exit()
|
/linux/drivers/char/ipmi/ |
A D | ipmi_si_mem_io.c | 72 mem_region_cleanup(io, io->io_size); in mem_cleanup() 119 for (idx = 0; idx < io->io_size; idx++) { in ipmi_si_mem_setup() 135 mapsize = ((io->io_size * io->regspacing) in ipmi_si_mem_setup() 139 mem_region_cleanup(io, io->io_size); in ipmi_si_mem_setup()
|
A D | ipmi_si_port_io.c | 57 for (idx = 0; idx < io->io_size; idx++) in port_cleanup() 100 for (idx = 0; idx < io->io_size; idx++) { in ipmi_si_port_setup()
|
A D | ipmi_si.h | 59 unsigned int io_size; member
|
/linux/drivers/scsi/qedf/ |
A D | drv_fcoe_fw_funcs.c | 31 u32 io_size, val; in init_initiator_rw_fcoe_task() local 38 io_size = (task_params->task_type == FCOE_TASK_TYPE_WRITE_INITIATOR ? in init_initiator_rw_fcoe_task() 43 y_st_ctx->data_2_trns_rem = cpu_to_le32(io_size); in init_initiator_rw_fcoe_task() 57 t_st_ctx->read_only.fcp_cmd_trns_size = cpu_to_le32(io_size); in init_initiator_rw_fcoe_task() 99 m_st_ctx->data_2_trns_rem = cpu_to_le32(io_size); in init_initiator_rw_fcoe_task()
|
/linux/drivers/pcmcia/ |
A D | electra_cf.c | 42 unsigned int io_size; member 206 cf->io_size = PAGE_ALIGN(resource_size(&io)); in electra_cf_probe() 207 cf->io_virt = ioremap_phb(io.start, cf->io_size); in electra_cf_probe() 263 if (!request_region(cf->io_base, cf->io_size, driver_name)) { in electra_cf_probe() 291 release_region(cf->io_base, cf->io_size); in electra_cf_probe() 326 release_region(cf->io_base, cf->io_size); in electra_cf_remove()
|
/linux/drivers/watchdog/ |
A D | ni903x_wdt.c | 134 u16 io_size; in ni903x_resources() local 144 io_size = res->data.io.address_length; in ni903x_resources() 146 if (io_size < NIWD_IO_SIZE) { in ni903x_resources() 151 if (!devm_request_region(wdt->dev, wdt->io_base, io_size, in ni903x_resources()
|
/linux/drivers/scsi/mpt3sas/ |
A D | mpt3sas_warpdrive.c | 259 sector_t v_lba, p_lba, stripe_off, column, io_size; in mpt3sas_setup_direct_io() local 273 io_size = scsi_bufflen(scmd) >> raid_device->block_exponent; in mpt3sas_setup_direct_io() 275 if (v_lba + io_size - 1 > raid_device->max_lba) in mpt3sas_setup_direct_io() 283 if (stripe_off + io_size > stripe_sz) in mpt3sas_setup_direct_io()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_nvmetcp_fw_funcs.c | 51 u32 io_size; in calc_rw_task_size() local 54 io_size = task_params->tx_io_size; in calc_rw_task_size() 56 io_size = task_params->rx_io_size; in calc_rw_task_size() 58 if (unlikely(!io_size)) in calc_rw_task_size() 61 return io_size; in calc_rw_task_size()
|
/linux/drivers/input/keyboard/ |
A D | tca6416-keypad.c | 47 int io_size; member 58 error = chip->io_size > 8 ? in tca6416_write_reg() 75 retval = chip->io_size > 8 ? in tca6416_read_reg() 228 chip->io_size = id->driver_data; in tca6416_keypad_probe()
|
/linux/fs/xfs/ |
A D | xfs_aops.c | 38 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append() 87 size_t size = ioend->io_size; in xfs_end_ioend() 133 error = xfs_setfilesize(ip, ioend->io_offset, ioend->io_size); in xfs_end_ioend() 416 ioend->io_offset, ioend->io_size); in xfs_prepare_ioend()
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-designware-host.c | 330 pp->io_size = resource_size(win->res); in dw_pcie_host_init() 480 pp->io_bus_addr, pp->io_size); in dw_pcie_rd_other_conf() 496 pp->io_bus_addr, pp->io_size); in dw_pcie_wr_other_conf() 606 if (pp->io_size) { in dw_pcie_setup_rc() 610 pp->io_bus_addr, pp->io_size); in dw_pcie_setup_rc()
|
/linux/arch/mips/pci/ |
A D | ops-tx3927.c | 135 unsigned long io_size = in tx3927_pcic_setup() local 161 tx3927_pcicptr->iomas = ~(io_size - 1); in tx3927_pcic_setup()
|
/linux/drivers/scsi/qedi/ |
A D | qedi_fw_api.c | 57 u32 io_size; in calc_rw_task_size() local 61 io_size = task_params->tx_io_size; in calc_rw_task_size() 63 io_size = task_params->rx_io_size; in calc_rw_task_size() 65 if (!io_size) in calc_rw_task_size() 69 return io_size; in calc_rw_task_size() 72 io_size : sgl_task_params->total_buffer_size; in calc_rw_task_size()
|
/linux/drivers/md/ |
A D | dm-verity-fec.c | 68 block = div64_u64_rem(position, v->fec->io_size, &rem); in fec_read_parity() 157 if (offset >= v->fec->io_size) { in fec_decode_bufs() 746 f->io_size = 1 << v->data_dev_block_bits; in verity_fec_ctr() 748 f->io_size = v->fec->roots << SECTOR_SHIFT; in verity_fec_ctr() 751 f->io_size, in verity_fec_ctr()
|
A D | dm-verity-fec.h | 39 size_t io_size; /* IO size for roots */ member
|
/linux/arch/mips/include/asm/txx9/ |
A D | pci.h | 15 unsigned long io_base, unsigned long io_size);
|
/linux/fs/iomap/ |
A D | buffered-io.c | 1099 if (ioend->io_offset + ioend->io_size != next->io_offset) in iomap_ioend_can_merge() 1116 ioend->io_size += next->io_size; in iomap_ioend_try_merge() 1201 ioend->io_size = 0; in iomap_alloc_ioend() 1240 if (offset != wpc->ioend->io_offset + wpc->ioend->io_size) in iomap_can_add_to_ioend() 1273 wpc->ioend->io_size += len; in iomap_add_to_ioend()
|
/linux/fs/btrfs/ |
A D | ordered-data.c | 459 u64 file_offset, u64 io_size) in btrfs_dec_test_ordered_pending() argument 482 if (io_size > entry->bytes_left) in btrfs_dec_test_ordered_pending() 485 entry->bytes_left, io_size); in btrfs_dec_test_ordered_pending() 487 entry->bytes_left -= io_size; in btrfs_dec_test_ordered_pending()
|
A D | ordered-data.h | 180 u64 file_offset, u64 io_size);
|
/linux/drivers/net/hamradio/ |
A D | dmascc.c | 173 int io_size; member 285 hw[info->priv[0].type].io_size); in dmascc_exit() 341 (base[i], hw[h].io_size, "dmascc")) in dmascc_init() 404 hw[h].io_size); in dmascc_init()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci.h | 152 unsigned int io_size; member
|
/linux/drivers/usb/host/ |
A D | uhci-hcd.c | 811 unsigned io_size = (unsigned) hcd->rsrc_len; in uhci_count_ports() local 822 for (port = 0; port < (io_size - USBPORTSC1) / 2; port++) { in uhci_count_ports()
|