Home
last modified time | relevance | path

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

12

/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.c1047 partition_t *partition; in ftl_add_mtd() local
1049 partition = kzalloc(sizeof(partition_t), GFP_KERNEL); in ftl_add_mtd()
1051 if (!partition) { in ftl_add_mtd()
1057 partition->mbd.mtd = mtd; in ftl_add_mtd()
1059 if ((scan_header(partition) == 0) && in ftl_add_mtd()
1060 (build_maps(partition) == 0)) { in ftl_add_mtd()
1062 partition->state = FTL_FORMATTED; in ftl_add_mtd()
1065 le32_to_cpu(partition->header.FormattedSize) >> 10); in ftl_add_mtd()
1067 partition->mbd.size = le32_to_cpu(partition->header.FormattedSize) >> 9; in ftl_add_mtd()
1069 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/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()
487 uint32_t partition; /* The partition handle, if used */ member
545 blocking_notifier_call_chain(&failover_subscribers, dbisr->partition, in fsl_hv_state_change_thread()
564 ret = fh_partition_get_status(dbisr->partition, &status); in fsl_hv_state_change_isr()
876 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
170 In this example, bus 1 corresponds to the s-Par console partition
172 s-Par IO partition (controls network and disk).
249 partition that owns the shared SCSI adapter, using a channel between the
250 guest and the service partition. The disks that appear on the shared bus
[all …]
Dproc-entries.txt23 These entries provide status of the devices shared by a service partition.
91 /proc/visorchipset/partition: This directory contains the guest
92 partition configuration data for each virtual bus, for use during
/drivers/misc/
Dsram.c46 struct sram_partition *partition; member
131 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition()
158 part = &sram->partition[sram->partitions - 1]; in sram_free_partitions()
270 sram->partition = devm_kzalloc(sram->dev, in sram_reserve_regions()
271 exports * sizeof(*sram->partition), in sram_reserve_regions()
273 if (!sram->partition) { in sram_reserve_regions()
/drivers/scsi/osd/
Dosd_initiator.c610 ocdb->h.partition = cpu_to_be64(obj->partition); in _osdv1_req_encode_common()
627 ocdb->h.partition = cpu_to_be64(obj->partition); in _osdv2_req_encode_common()
686 __be16 act, osd_id partition) in _osd_req_encode_partition() argument
689 .partition = partition, in _osd_req_encode_partition()
696 void osd_req_create_partition(struct osd_request *or, osd_id partition) in osd_req_create_partition() argument
698 _osd_req_encode_partition(or, OSD_ACT_CREATE_PARTITION, partition); in osd_req_create_partition()
702 void osd_req_remove_partition(struct osd_request *or, osd_id partition) in osd_req_remove_partition() argument
704 _osd_req_encode_partition(or, OSD_ACT_REMOVE_PARTITION, partition); in osd_req_remove_partition()
739 osd_id partition, osd_id initial_id, struct osd_obj_id_list *list, in osd_req_list_partition_collections() argument
743 .partition = partition, in osd_req_list_partition_collections()
[all …]
/drivers/scsi/
Dst.c688 STps = &(STp->ps[STp->partition]); in write_behind_check()
792 STps = &(STp->ps[STp->partition]); in st_flush_write_buffer()
844 STps = &(STp->ps[STp->partition]); in flush_buffer()
949 STp->partition = find_partition(STp); in reset_state()
950 if (STp->partition < 0) in reset_state()
951 STp->partition = 0; in reset_state()
952 STp->new_partition = STp->partition; in reset_state()
1071 STp->partition = STp->new_partition = 0; in check_tape()
1099 STp->partition = STp->new_partition = 0; in check_tape()
1213 if ((STp->partition = find_partition(STp)) < 0) { in check_tape()
[all …]
Dosst.c555 os_partition_t *par = &aux->partition; in osst_init_aux()
617 os_partition_t * par = &(aux->partition); in osst_verify_frame()
618 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_verify_frame()
911 STp->ps[STp->partition].rw = OS_WRITING_COMPLETE; in osst_flush_drive_buffer()
924 if (minlast >= 0 && STp->ps[STp->partition].rw != ST_READING) in osst_wait_frame()
1087 ntohl(aux->update_frame_cntr), ntohs(aux->partition.wrt_pass_cntr), in osst_read_frame()
1103 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_initiate_read()
1141 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_get_logical_frame()
1269 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_seek_logical_blk()
1385 STp->ps[STp->partition].drv_file, STp->ps[STp->partition].drv_block, in osst_get_sector()
[all …]
Dosst.h44 u8 partition; /* Partition Number */ member
423 os_partition_t partition; member
487 os_partition_t partition[16]; member
561 int partition; member
Dscsicam.c128 struct partition *p = (struct partition *)buf, *largest = NULL; in scsi_partsize()
Dst.h158 int partition; member
/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
/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/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/mtd/ubi/
DKconfig49 partition UBI attaches. This means that if you have, say, a NAND
52 attaching a partition.
/drivers/ide/
Dide-tape.c169 u8 partition; member
755 tape->partition = buf[1]; in ide_tape_read_position()
767 unsigned int block, u8 partition, int skip) in idetape_create_locate_cmd() argument
773 pc->c[8] = partition; in idetape_create_locate_cmd()
801 u8 partition, int skip) in idetape_position_tape() argument
811 idetape_create_locate_cmd(drive, &pc, block, partition, skip); in idetape_position_tape()
1338 mt_count * tape->user_bs_factor, tape->partition, 0); in idetape_mtioctop()
/drivers/block/
Dosdblk.c488 osdev->obj.partition, in class_osdblk_list()
540 if (sscanf(buf, "%llu %llu %s", &osdev->obj.partition, &osdev->obj.id, in class_osdblk_add()
/drivers/mmc/card/
DKconfig24 partition on the disk (plus one for the whole disk).
/drivers/scsi/aacraid/
Dlinit.c346 struct partition *first = (struct partition * )buf; in aac_biosparm()
347 struct partition *entry = first; in aac_biosparm()

12