Home
last modified time | relevance | path

Searched refs:io_size (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.15/arch/mips/txx9/generic/
Dpci.c112 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-v5.15/fs/hfsplus/
Dwrapper.c53 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-v5.15/drivers/gpio/
Dgpio-it87.c65 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-v5.15/drivers/char/ipmi/
Dipmi_si_mem_io.c72 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()
Dipmi_si_port_io.c57 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()
Dipmi_si.h59 unsigned int io_size; member
/Linux-v5.15/drivers/scsi/qedf/
Ddrv_fcoe_fw_funcs.c31 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-v5.15/drivers/pcmcia/
Delectra_cf.c42 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-v5.15/drivers/watchdog/
Dni903x_wdt.c134 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-v5.15/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c259 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-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp_fw_funcs.c51 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-v5.15/drivers/input/keyboard/
Dtca6416-keypad.c47 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-v5.15/fs/xfs/
Dxfs_aops.c38 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append()
86 size_t size = ioend->io_size; in xfs_end_ioend()
124 error = xfs_setfilesize(ip, ioend->io_offset, ioend->io_size); in xfs_end_ioend()
407 ioend->io_offset, ioend->io_size); in xfs_prepare_ioend()
/Linux-v5.15/arch/mips/pci/
Dops-tx3927.c135 unsigned long io_size = in tx3927_pcic_setup() local
161 tx3927_pcicptr->iomas = ~(io_size - 1); in tx3927_pcic_setup()
/Linux-v5.15/drivers/pci/controller/dwc/
Dpcie-designware-host.c330 pp->io_size = resource_size(win->res); in dw_pcie_host_init()
479 pp->io_bus_addr, pp->io_size); in dw_pcie_rd_other_conf()
495 pp->io_bus_addr, pp->io_size); in dw_pcie_wr_other_conf()
605 if (pp->io_size) { in dw_pcie_setup_rc()
609 pp->io_bus_addr, pp->io_size); in dw_pcie_setup_rc()
/Linux-v5.15/arch/mips/include/asm/txx9/
Dpci.h15 unsigned long io_base, unsigned long io_size);
/Linux-v5.15/drivers/scsi/qedi/
Dqedi_fw_api.c57 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-v5.15/drivers/md/
Ddm-verity-fec.c68 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()
Ddm-verity-fec.h39 size_t io_size; /* IO size for roots */ member
/Linux-v5.15/fs/iomap/
Dbuffered-io.c1093 if (ioend->io_offset + ioend->io_size != next->io_offset) in iomap_ioend_can_merge()
1110 ioend->io_size += next->io_size; in iomap_ioend_try_merge()
1195 ioend->io_size = 0; in iomap_alloc_ioend()
1234 if (offset != wpc->ioend->io_offset + wpc->ioend->io_size) in iomap_can_add_to_ioend()
1267 wpc->ioend->io_size += len; in iomap_add_to_ioend()
/Linux-v5.15/fs/btrfs/
Dordered-data.h180 u64 file_offset, u64 io_size);
Dordered-data.c459 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()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dpci.h152 unsigned int io_size; member
/Linux-v5.15/include/linux/
Diomap.h261 size_t io_size; /* size of the extent */ member
/Linux-v5.15/drivers/usb/host/
Duhci-hcd.c811 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()

12