Home
last modified time | relevance | path

Searched refs:num_regions (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/md/
Ddm-io.c345 static void dispatch_io(int rw, unsigned int num_regions, in dispatch_io() argument
352 BUG_ON(num_regions > DM_IO_MAX_REGIONS); in dispatch_io()
361 for (i = 0; i < num_regions; i++) { in dispatch_io()
374 static int sync_io(struct dm_io_client *client, unsigned int num_regions, in sync_io() argument
387 if (num_regions > 1 && (rw & RW_MASK) != WRITE) { in sync_io()
397 dispatch_io(rw, num_regions, where, dp, io, 1); in sync_io()
415 static int async_io(struct dm_io_client *client, unsigned int num_regions, in async_io() argument
421 if (num_regions > 1 && (rw & RW_MASK) != WRITE) { in async_io()
435 dispatch_io(rw, num_regions, where, dp, io, 0); in async_io()
474 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() argument
[all …]
/linux-2.6.39/drivers/media/video/omap3isp/
Disphist.c111 if (c < conf->num_regions) { in hist_setup_regs()
294 return OMAP3ISP_HIST_MEM_SIZE_BINS(conf->hist_bins) * conf->num_regions; in hist_get_buf_size()
314 if ((user_cfg->num_regions < OMAP3ISP_HIST_MIN_REGIONS) || in hist_validate_params()
315 (user_cfg->num_regions > OMAP3ISP_HIST_MAX_REGIONS)) in hist_validate_params()
319 for (c = 0; c < user_cfg->num_regions; c++) { in hist_validate_params()
334 switch (user_cfg->num_regions) { in hist_validate_params()
381 if (cur_cfg->num_regions != user_cfg->num_regions) in hist_comp_params()
385 for (c = 0; c < user_cfg->num_regions; c++) { in hist_comp_params()
/linux-2.6.39/Documentation/device-mapper/
Ddm-io.txt29 int dm_io_sync(unsigned int num_regions, struct io_region *where, int rw,
32 int dm_io_async(unsigned int num_regions, struct io_region *where, int rw,
40 int dm_io_sync_bvec(unsigned int num_regions, struct io_region *where,
43 int dm_io_async_bvec(unsigned int num_regions, struct io_region *where,
52 int dm_io_sync_vm(unsigned int num_regions, struct io_region *where, int rw,
54 int dm_io_async_vm(unsigned int num_regions, struct io_region *where, int rw,
/linux-2.6.39/arch/powerpc/platforms/ps3/
Ddevice-init.c338 unsigned int num_regions, i; in ps3_setup_storage_dev() local
345 &num_regions); in ps3_setup_storage_dev()
355 num_regions); in ps3_setup_storage_dev()
358 num_regions * sizeof(struct ps3_storage_region), in ps3_setup_storage_dev()
371 p->num_regions = num_regions; in ps3_setup_storage_dev()
383 for (i = 0; i < num_regions; i++) { in ps3_setup_storage_dev()
Drepository.c615 unsigned int dev_index, unsigned int *num_regions) in ps3_repository_read_stor_dev_num_regions() argument
625 *num_regions = v1; in ps3_repository_read_stor_dev_num_regions()
670 u64 *num_blocks, unsigned int *num_regions) in ps3_repository_read_stor_dev_info() argument
689 num_regions); in ps3_repository_read_stor_dev_info()
1063 unsigned int num_regions, region_index; in dump_stor_dev_info() local
1070 repo->dev_index, &port, &blk_size, &num_blocks, &num_regions); in dump_stor_dev_info()
1081 blk_size, num_blocks, num_regions); in dump_stor_dev_info()
1083 for (region_index = 0; region_index < num_regions; region_index++) { in dump_stor_dev_info()
Dplatform.h166 unsigned int dev_index, unsigned int *num_regions);
176 u64 *num_blocks, unsigned int *num_regions);
/linux-2.6.39/include/linux/
Ddm-io.h81 int dm_io(struct dm_io_request *io_req, unsigned num_regions,
Domap3isp.h227 __u8 num_regions; /* number of regions to be configured */ member
/linux-2.6.39/arch/powerpc/include/asm/
Dps3stor.h51 unsigned int num_regions; member
/linux-2.6.39/drivers/ps3/
Dps3stor_lib.c99 for (i = 0; i < dev->num_regions; i++) { in ps3stor_probe_access()