/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 148 mem->io_size)) in region_lmem_init() 209 resource_size_t io_size; in setup_lmem() local 254 io_size = min(pci_resource_len(pdev, GEN12_LMEM_BAR), lmem_size); in setup_lmem() 255 if (!io_size) in setup_lmem() 265 io_size, in setup_lmem() 280 &mem->io_size); in setup_lmem() 284 if (io_size < lmem_size) in setup_lmem() 286 (u64)io_size >> 20); in setup_lmem()
|
/Linux-v6.6/arch/mips/txx9/generic/ |
D | pci.c | 113 unsigned long io_base, unsigned long io_size) in txx9_alloc_pci_controller() argument 173 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 177 if (!io_size) in txx9_alloc_pci_controller() 179 io_size = 0x01000000; /* io:16M(max) */ in txx9_alloc_pci_controller() 181 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller() 184 io_size, 0, 0x20000000, in txx9_alloc_pci_controller() 185 io_size, NULL, NULL) == 0) in txx9_alloc_pci_controller() 188 if (io_size < min_size) in txx9_alloc_pci_controller() 208 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
|
/Linux-v6.6/fs/hfsplus/ |
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-v6.6/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()
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | intel_region_ttm.c | 90 mem->io_size, in intel_region_ttm_init() 222 } else if (mem->io_size && mem->io_size < mem->total) { in intel_region_ttm_resource_alloc() 227 if (WARN_ON(overflows_type(mem->io_size >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc() 231 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,
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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);
|
/Linux-v6.6/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 523 mem->io_size = min(mem->io_size, resource_size(&mem->region)); in i915_gem_init_stolen() 734 if (mem->type == INTEL_MEMORY_STOLEN_LOCAL && !mem->io_size && in _i915_gem_object_stolen_init() 820 if (mem->io_size && in init_stolen_lmem() 821 !io_mapping_init_wc(&mem->iomap, mem->io_start, mem->io_size)) in init_stolen_lmem() 837 if (mem->io_size) in release_stolen_lmem() 880 resource_size_t io_start, io_size; in i915_gem_stolen_lmem_setup() local 928 io_size = 0; in i915_gem_stolen_lmem_setup() 931 io_size = dsm_size; in i915_gem_stolen_lmem_setup() 939 io_start, io_size, in i915_gem_stolen_lmem_setup()
|
/Linux-v6.6/drivers/input/keyboard/ |
D | tca6416-keypad.c | 48 int io_size; member 59 error = chip->io_size > 8 ? in tca6416_write_reg() 76 retval = chip->io_size > 8 ? in tca6416_read_reg() 217 chip->io_size = id->driver_data; in tca6416_keypad_probe()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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 …]
|
/Linux-v6.6/fs/xfs/ |
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-v6.6/arch/mips/include/asm/txx9/ |
D | pci.h | 15 unsigned long io_base, unsigned long io_size);
|
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 435 pp->io_size = resource_size(win->res); in dw_pcie_host_init() 593 pp->io_size); in dw_pcie_rd_other_conf() 615 pp->io_size); in dw_pcie_wr_other_conf() 688 if (pp->io_size) { in dw_pcie_iatu_setup() 693 pp->io_size); in dw_pcie_iatu_setup()
|
/Linux-v6.6/drivers/md/ |
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()
|