Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 25 of 51) sorted by relevance

123

/drivers/mtd/maps/
Dvmu-flash.c27 int partition; member
46 int partition; member
59 struct mtd_info *mtd, int partition) in ofs_to_block() argument
71 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block()
75 if (num > card->parts[partition].numblocks) in ofs_to_block()
117 int partition, error = 0, x, wait; in maple_vmu_read_block() local
124 partition = mpart->partition; in maple_vmu_read_block()
126 pcache = card->parts[partition].pcache; in maple_vmu_read_block()
147 sendbuf = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_read_block()
234 int partition, error, locking, x, phaselen, wait; in maple_vmu_write_block() local
[all …]
/drivers/mtd/
Drfd_ftl.c70 struct partition { struct
92 static int build_block_map(struct partition *part, int block_no) in build_block_map() argument
150 static int scan_header(struct partition *part) in scan_header()
243 struct partition *part = (struct partition*)dev; in rfd_ftl_readsect()
271 struct partition *part; in erase_callback()
276 part = (struct partition*)erase->priv; in erase_callback()
326 static int erase_block(struct partition *part, int block) in erase_block()
357 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents()
445 static int reclaim_block(struct partition *part, u_long *old_sector) in reclaim_block()
517 static int find_free_block(struct partition *part) in find_free_block()
[all …]
DKconfig27 tristate "RedBoot partition table parsing"
31 blocks on the device, similar to a partition table, which gives
47 int "Location of RedBoot partition table"
55 partition table. A zero or positive value gives an absolute
66 'partition', enable this option.
77 tristate "Command line partition table parsing"
80 Allow generic configuration of the MTD partition tables via the kernel
100 allowed in the partition definition, including mtd id's and partition
105 1 flash resource (mtd-id "sa1100"), with 1 single writable partition:
114 tristate "ARM Firmware Suite partition parsing"
[all …]
Dftl.c1043 partition_t *partition; in ftl_add_mtd() local
1045 partition = kzalloc(sizeof(partition_t), GFP_KERNEL); in ftl_add_mtd()
1047 if (!partition) { in ftl_add_mtd()
1053 partition->mbd.mtd = mtd; in ftl_add_mtd()
1055 if ((scan_header(partition) == 0) && in ftl_add_mtd()
1056 (build_maps(partition) == 0)) { in ftl_add_mtd()
1058 partition->state = FTL_FORMATTED; in ftl_add_mtd()
1061 le32_to_cpu(partition->header.FormattedSize) >> 10); in ftl_add_mtd()
1063 partition->mbd.size = le32_to_cpu(partition->header.FormattedSize) >> 9; in ftl_add_mtd()
1065 partition->mbd.tr = tr; in ftl_add_mtd()
[all …]
/drivers/net/wireless/ti/wl1251/
Dio.c138 struct wl1251_partition partition[2]; in wl1251_set_partition() local
181 partition[0].start = mem_start; in wl1251_set_partition()
182 partition[0].size = mem_size; in wl1251_set_partition()
183 partition[1].start = reg_start; in wl1251_set_partition()
184 partition[1].size = reg_size; in wl1251_set_partition()
192 wl->if_ops->write(wl, HW_ACCESS_PART0_SIZE_ADDR, partition, in wl1251_set_partition()
193 sizeof(partition)); in wl1251_set_partition()
/drivers/media/platform/vsp1/
Dvsp1_uds.c280 struct vsp1_partition *partition = pipe->partition; in uds_configure() local
285 (partition->uds_sink.width in uds_configure()
290 (partition->uds_source.width in uds_configure()
361 struct vsp1_partition *partition, in uds_partition() argument
370 partition->uds_sink = *window; in uds_partition()
371 partition->uds_source = *window; in uds_partition()
378 partition->uds_sink.width = window->width * input->width in uds_partition()
380 partition->uds_sink.left = window->left * input->width in uds_partition()
383 *window = partition->uds_sink; in uds_partition()
389 .partition = uds_partition,
Dvsp1_wpf.c294 width = pipe->partition->wpf.width; in wpf_configure()
323 offset = format->width - pipe->partition->wpf.left in wpf_configure()
324 - pipe->partition->wpf.width; in wpf_configure()
326 offset = format->height - pipe->partition->wpf.left in wpf_configure()
327 - pipe->partition->wpf.width; in wpf_configure()
329 offset = pipe->partition->wpf.left; in wpf_configure()
351 height = pipe->partition->wpf.width; in wpf_configure()
478 struct vsp1_partition *partition, in wpf_partition() argument
482 partition->wpf = *window; in wpf_partition()
489 .partition = wpf_partition,
Dvsp1_rpf.c100 crop.width = pipe->partition->rpf.width; in rpf_configure()
101 crop.left += pipe->partition->rpf.left; in rpf_configure()
252 struct vsp1_partition *partition, in rpf_partition() argument
256 partition->rpf = *window; in rpf_partition()
261 .partition = rpf_partition,
Dvsp1_video.c194 struct vsp1_partition *partition, in vsp1_video_calculate_partition() argument
215 vsp1_pipeline_propagate_partition(pipe, partition, index, in vsp1_video_calculate_partition()
256 vsp1_pipeline_propagate_partition(pipe, partition, index, &window); in vsp1_video_calculate_partition()
383 unsigned int partition) in vsp1_video_pipeline_run_partition() argument
387 pipe->partition = &pipe->part_table[partition]; in vsp1_video_pipeline_run_partition()
400 unsigned int partition; in vsp1_video_pipeline_run() local
420 for (partition = 1; partition < pipe->partitions; ++partition) { in vsp1_video_pipeline_run()
435 vsp1_video_pipeline_run_partition(pipe, dl, partition); in vsp1_video_pipeline_run()
Dvsp1_pipe.h149 struct vsp1_partition *partition; member
167 struct vsp1_partition *partition,
Dvsp1_pipe.c395 struct vsp1_partition *partition, in vsp1_pipeline_propagate_partition() argument
402 if (entity->ops->partition) in vsp1_pipeline_propagate_partition()
403 entity->ops->partition(entity, pipe, partition, index, in vsp1_pipeline_propagate_partition()
/drivers/virt/
DKconfig27 3) An interrupt handler for shutting down the partition upon
28 receiving the shutdown doorbell from a manager partition.
31 partition shuts down.
Dfsl_hypervisor.c63 param.ret = fh_partition_restart(param.partition); in ioctl_restart()
85 param.ret = fh_partition_get_status(param.partition, &status); in ioctl_status()
108 param.ret = fh_partition_start(param.partition, param.entry_point, in ioctl_start()
130 param.ret = fh_partition_stop(param.partition); in ioctl_stop()
484 uint32_t partition; /* The partition handle, if used */ member
542 blocking_notifier_call_chain(&failover_subscribers, dbisr->partition, in fsl_hv_state_change_thread()
561 ret = fh_partition_get_status(dbisr->partition, &status); in fsl_hv_state_change_isr()
873 dbisr->partition = ret = get_parent_handle(np); in fsl_hypervisor_init()
/drivers/net/wireless/ti/wlcore/
Dboot.c177 struct wlcore_partition_set partition; in wl1271_boot_upload_firmware_chunk() local
200 memcpy(&partition, &wl->ptable[PART_DOWN], sizeof(partition)); in wl1271_boot_upload_firmware_chunk()
201 partition.mem.start = dest; in wl1271_boot_upload_firmware_chunk()
202 ret = wlcore_set_partition(wl, &partition); in wl1271_boot_upload_firmware_chunk()
217 partition.mem.start = addr; in wl1271_boot_upload_firmware_chunk()
218 ret = wlcore_set_partition(wl, &partition); in wl1271_boot_upload_firmware_chunk()
/drivers/staging/unisys/Documentation/
Doverview.txt26 single-purpose service partition in the s-Par firmware, which communicates
27 with each guest partition sharing that device through an area of shared memory
29 as the "service partition", "IO partition" (for virtual network and scsi disk
30 devices), or "console partition" (for virtual keyboard and mouse devices).
86 special control channel called the "controlvm channel" (each guest partition
133 example of when this is needed is when the service partition implementing
164 In this example, bus 1 corresponds to the s-Par console partition
166 s-Par IO partition (controls network and disk).
230 partition that owns the shared SCSI adapter, using a channel between the
231 guest and the service partition. The disks that appear on the shared bus
[all …]
/drivers/input/rmi4/
Drmi_f34v7.c216 u8 partition; in rmi_f34v7_write_partition_id() local
222 partition = CORE_CODE_PARTITION; in rmi_f34v7_write_partition_id()
227 partition = CORE_CONFIG_PARTITION; in rmi_f34v7_write_partition_id()
229 partition = DISPLAY_CONFIG_PARTITION; in rmi_f34v7_write_partition_id()
231 partition = GUEST_SERIALIZATION_PARTITION; in rmi_f34v7_write_partition_id()
233 partition = GLOBAL_PARAMETERS_PARTITION; in rmi_f34v7_write_partition_id()
235 partition = FLASH_CONFIG_PARTITION; in rmi_f34v7_write_partition_id()
238 partition = GUEST_CODE_PARTITION; in rmi_f34v7_write_partition_id()
241 partition = CORE_CODE_PARTITION; in rmi_f34v7_write_partition_id()
244 partition = GLOBAL_PARAMETERS_PARTITION; in rmi_f34v7_write_partition_id()
[all …]
/drivers/scsi/osd/
Dosd_initiator.c615 ocdb->h.partition = cpu_to_be64(obj->partition); in _osdv1_req_encode_common()
632 ocdb->h.partition = cpu_to_be64(obj->partition); in _osdv2_req_encode_common()
691 __be16 act, osd_id partition) in _osd_req_encode_partition() argument
694 .partition = partition, in _osd_req_encode_partition()
701 void osd_req_create_partition(struct osd_request *or, osd_id partition) in osd_req_create_partition() argument
703 _osd_req_encode_partition(or, OSD_ACT_CREATE_PARTITION, partition); in osd_req_create_partition()
707 void osd_req_remove_partition(struct osd_request *or, osd_id partition) in osd_req_remove_partition() argument
709 _osd_req_encode_partition(or, OSD_ACT_REMOVE_PARTITION, partition); in osd_req_remove_partition()
744 osd_id partition, osd_id initial_id, struct osd_obj_id_list *list, in osd_req_list_partition_collections() argument
748 .partition = partition, in osd_req_list_partition_collections()
[all …]
/drivers/scsi/
Dst.c689 STps = &(STp->ps[STp->partition]); in write_behind_check()
793 STps = &(STp->ps[STp->partition]); in st_flush_write_buffer()
845 STps = &(STp->ps[STp->partition]); in flush_buffer()
950 STp->partition = find_partition(STp); in reset_state()
951 if (STp->partition < 0) in reset_state()
952 STp->partition = 0; in reset_state()
953 STp->new_partition = STp->partition; in reset_state()
1072 STp->partition = STp->new_partition = 0; in check_tape()
1100 STp->partition = STp->new_partition = 0; in check_tape()
1214 if ((STp->partition = find_partition(STp)) < 0) { in check_tape()
[all …]
Dosst.c558 os_partition_t *par = &aux->partition; in osst_init_aux()
620 os_partition_t * par = &(aux->partition); in osst_verify_frame()
621 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_verify_frame()
914 STp->ps[STp->partition].rw = OS_WRITING_COMPLETE; in osst_flush_drive_buffer()
927 if (minlast >= 0 && STp->ps[STp->partition].rw != ST_READING) in osst_wait_frame()
1090 ntohl(aux->update_frame_cntr), ntohs(aux->partition.wrt_pass_cntr), in osst_read_frame()
1106 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_initiate_read()
1144 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_get_logical_frame()
1272 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_seek_logical_blk()
1388 STp->ps[STp->partition].drv_file, STp->ps[STp->partition].drv_block, in osst_get_sector()
[all …]
Dosst.h45 u8 partition; /* Partition Number */ member
424 os_partition_t partition; member
488 os_partition_t partition[16]; member
562 int partition; member
Dscsicam.c129 struct partition *p = (struct partition *)buf, *largest = NULL; in scsi_partsize()
/drivers/tty/hvc/
DKconfig21 console. This driver allows each pSeries partition to have a console
105 firmware virtual consoles from one Linux partition by
106 another Linux partition. This driver allows console data
108 interfaces in the device tree of a Linux partition running
/drivers/misc/
Dsram.c110 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition()
149 part = &sram->partition[sram->partitions - 1]; in sram_free_partitions()
267 sram->partition = devm_kzalloc(sram->dev, in sram_reserve_regions()
268 exports * sizeof(*sram->partition), in sram_reserve_regions()
270 if (!sram->partition) { in sram_reserve_regions()
/drivers/misc/genwqe/
Dcard_sysfs.c196 int partition; in next_bitstream_store() local
199 if (kstrtoint(buf, 0, &partition) < 0) in next_bitstream_store()
202 switch (partition) { in next_bitstream_store()
/drivers/firmware/broadcom/
DKconfig5 Broadcom home routers contain flash partition called "nvram" with all
7 NVRAM partition contains a text-like data representing name=value

123