/drivers/gpu/drm/i915/gt/ |
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()
|
/drivers/gpio/ |
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()
|
/drivers/char/ipmi/ |
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()
|
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()
|
D | ipmi_si.h | 59 unsigned int io_size; member
|
/drivers/scsi/qedf/ |
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()
|
/drivers/pcmcia/ |
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()
|
/drivers/gpu/drm/i915/ |
D | intel_region_ttm.c | 91 mem->io_size, in intel_region_ttm_init() 214 } else if (mem->io_size && mem->io_size < mem->total) { in intel_region_ttm_resource_alloc() 219 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
|
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()
|
D | intel_memory_region.h | 75 resource_size_t io_size; member 105 resource_size_t io_size,
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 483 mem->io_size = min(mem->io_size, resource_size(&mem->region)); in i915_gem_init_stolen() 689 if (mem->type == INTEL_MEMORY_STOLEN_LOCAL && !mem->io_size && in _i915_gem_object_stolen_init() 771 if (mem->io_size && !io_mapping_init_wc(&mem->iomap, in init_stolen_lmem() 773 mem->io_size)) { in init_stolen_lmem() 787 if (mem->io_size) in release_stolen_lmem() 807 resource_size_t io_start, io_size; in i915_gem_stolen_lmem_setup() local 833 io_size = 0; in i915_gem_stolen_lmem_setup() 836 io_size = dsm_size; in i915_gem_stolen_lmem_setup() 844 io_start, io_size, in i915_gem_stolen_lmem_setup()
|
D | i915_gem_ttm.c | 145 } else if (mr->io_size && mr->io_size < mr->total) { in i915_ttm_place_from_region() 150 place->lpfn = mr->io_size >> PAGE_SHIFT; in i915_ttm_place_from_region() 1018 if (!mr->io_size && mr->type != INTEL_MEMORY_SYSTEM) in vm_fault_ttm()
|
D | i915_gem_region.c | 132 offset + size > mem->io_size && in i915_gem_object_create_region_at()
|
/drivers/watchdog/ |
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()
|
/drivers/gpu/drm/i915/selftests/ |
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 577 div64_u64_rem(i915_prandom_u64_state(&prng), total - ps, &io_size); in igt_mock_io_size() 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() [all …]
|
D | mock_region.c | 111 resource_size_t io_size) in mock_region_create() argument 121 io_start, io_size, in mock_region_create()
|
D | mock_region.h | 20 resource_size_t io_size);
|
/drivers/scsi/mpt3sas/ |
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()
|
/drivers/net/ethernet/qlogic/qed/ |
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()
|
/drivers/input/keyboard/ |
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()
|
/drivers/gpu/drm/i915/gem/selftests/ |
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 …]
|
/drivers/scsi/qedi/ |
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()
|
/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 443 pp->io_size = resource_size(win->res); in dw_pcie_host_init() 597 pp->io_size); in dw_pcie_rd_other_conf() 619 pp->io_size); in dw_pcie_wr_other_conf() 689 if (pp->io_size) { in dw_pcie_iatu_setup() 694 pp->io_size); in dw_pcie_iatu_setup()
|
/drivers/md/ |
D | dm-verity-fec.c | 69 block = div64_u64_rem(position, v->fec->io_size, &rem); in fec_read_parity() 158 if (offset >= v->fec->io_size) { in fec_decode_bufs() 747 f->io_size = 1 << v->data_dev_block_bits; in verity_fec_ctr() 749 f->io_size = v->fec->roots << SECTOR_SHIFT; in verity_fec_ctr() 752 f->io_size, in verity_fec_ctr()
|
D | dm-verity-fec.h | 39 size_t io_size; /* IO size for roots */ member
|