/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_region_lmem.c | 137 mem->io_size)) in region_lmem_init() 198 resource_size_t io_size; in setup_lmem() local 243 io_size = min(pci_resource_len(pdev, GEN12_LMEM_BAR), lmem_size); in setup_lmem() 244 if (!io_size) in setup_lmem() 254 io_size, in setup_lmem() 269 &mem->io_size); in setup_lmem() 273 if (io_size < lmem_size) in setup_lmem() 275 (u64)io_size >> 20); in setup_lmem()
|
/linux-6.3-rc2/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() 73 while (io_size > 0) { in hfsplus_submit_bio() 76 io_size); in hfsplus_submit_bio() 83 io_size -= len; in hfsplus_submit_bio()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/i915/ |
A D | intel_region_ttm.c | 90 mem->io_size, in intel_region_ttm_init() 221 } else if (mem->io_size && mem->io_size < mem->total) { in intel_region_ttm_resource_alloc() 226 if (WARN_ON(overflows_type(mem->io_size >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc() 230 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
|
A D | intel_memory_region.c | 105 if (mem->io_size < PAGE_SIZE) in iomemtest() 108 last = mem->io_size - PAGE_SIZE; in iomemtest() 225 resource_size_t io_size, in intel_memory_region_create() argument 240 mem->io_size = io_size; in intel_memory_region_create()
|
A D | intel_memory_region.h | 75 resource_size_t io_size; member 105 resource_size_t io_size,
|
/linux-6.3-rc2/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()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_stolen.c | 523 mem->io_size = min(mem->io_size, resource_size(&mem->region)); in i915_gem_init_stolen() 724 if (mem->type == INTEL_MEMORY_STOLEN_LOCAL && !mem->io_size && in _i915_gem_object_stolen_init() 810 if (mem->io_size && in init_stolen_lmem() 811 !io_mapping_init_wc(&mem->iomap, mem->io_start, mem->io_size)) in init_stolen_lmem() 827 if (mem->io_size) in release_stolen_lmem() 870 resource_size_t io_start, io_size; in i915_gem_stolen_lmem_setup() local 915 io_size = dsm_size; in i915_gem_stolen_lmem_setup() 920 io_size = 0; in i915_gem_stolen_lmem_setup() 930 io_start, io_size, in i915_gem_stolen_lmem_setup()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/i915/selftests/ |
A D | intel_memory_region.c | 547 if (start < mr->io_size) in igt_object_mappable_total() 548 total += min_t(u64, end, mr->io_size) - start; in igt_object_mappable_total() 560 u64 io_size; in igt_mock_io_size() local 578 io_size = round_down(io_size, ps); in igt_mock_io_size() 579 io_size = max_t(u64, io_size, SZ_256M); /* 256M seems to be the common lower limit */ in igt_mock_io_size() 582 __func__, ps, io_size, total); in igt_mock_io_size() 584 mr = mock_region_create(i915, 0, total, ps, 0, io_size); in igt_mock_io_size() 591 rem = total - io_size; in igt_mock_io_size() 613 (u64)io_size >> 20, in igt_mock_io_size() 620 obj = igt_object_create(mr, &objects, io_size, in igt_mock_io_size() [all …]
|
A D | mock_region.c | 111 resource_size_t io_size) in mock_region_create() argument 121 io_start, io_size, in mock_region_create()
|
A D | mock_region.h | 20 resource_size_t io_size);
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/i915/gem/selftests/ |
A D | i915_gem_mman.c | 1055 size = mr->io_size; in igt_fill_mappable() 1322 if (!mr->io_size) in igt_mmap_migrate() 1329 saved_io_size = mr->io_size; in igt_mmap_migrate() 1330 if (mr->io_size == mr->total) { in igt_mmap_migrate() 1331 resource_size_t io_size = mr->io_size; in igt_mmap_migrate() local 1333 io_size = rounddown_pow_of_two(io_size >> 1); in igt_mmap_migrate() 1334 if (io_size < PAGE_SIZE) in igt_mmap_migrate() 1337 mr->io_size = io_size; in igt_mmap_migrate() 1339 io_size >> PAGE_SHIFT); in igt_mmap_migrate() 1397 mr->io_size = saved_io_size; in igt_mmap_migrate() [all …]
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_aops.c | 40 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append() 89 size_t size = ioend->io_size; in xfs_end_ioend() 134 error = xfs_setfilesize(ip, ioend->io_offset, ioend->io_size); in xfs_end_ioend() 439 ioend->io_offset, ioend->io_size); in xfs_prepare_ioend()
|
/linux-6.3-rc2/arch/mips/include/asm/txx9/ |
A D | pci.h | 15 unsigned long io_base, unsigned long io_size);
|
/linux-6.3-rc2/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-6.3-rc2/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()
|
/linux-6.3-rc2/drivers/pci/controller/dwc/ |
A D | pcie-designware-host.c | 433 pp->io_size = resource_size(win->res); in dw_pcie_host_init() 591 pp->io_size); in dw_pcie_rd_other_conf() 613 pp->io_size); in dw_pcie_wr_other_conf() 686 if (pp->io_size) { in dw_pcie_iatu_setup() 691 pp->io_size); in dw_pcie_iatu_setup()
|