Home
last modified time | relevance | path

Searched refs:part_num (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/u-boot/disk/
H A Dpart_iso.c48 int part_get_info_iso_verb(struct blk_desc *dev_desc, int part_num, in part_get_info_iso_verb() argument
70 dev_desc->devnum, part_num); in part_get_info_iso_verb()
76 ppr->stand_ident, dev_desc->devnum, part_num); in part_get_info_iso_verb()
92 dev_desc->devnum, part_num); in part_get_info_iso_verb()
100 pbr->ident_str, dev_desc->devnum, part_num); in part_get_info_iso_verb()
108 bootaddr, dev_desc->devnum, part_num); in part_get_info_iso_verb()
118 dev_desc->devnum, part_num); in part_get_info_iso_verb()
124 dev_desc->devnum, part_num); in part_get_info_iso_verb()
131 dev_desc->devnum, part_num); in part_get_info_iso_verb()
139 part_set_generic_name(dev_desc, part_num, (char *)info->name); in part_get_info_iso_verb()
[all …]
H A Dpart_dos.c54 int part_num, unsigned int disksig) in print_one_part() argument
61 part_num, lba_start, lba_size, disksig, part_num, p->sys_ind, in print_one_part()
127 int part_num, unsigned int disksig) in print_partition_extended() argument
134 if (part_num > MAX_EXT_PARTS) in print_partition_extended()
166 print_one_part(pt, ext_part_sector, part_num, disksig); in print_partition_extended()
172 part_num++; in print_partition_extended()
185 part_num, disksig); in print_partition_extended()
197 int part_num, int which_part, in part_get_info_extended() argument
206 if (part_num > MAX_EXT_PARTS) in part_get_info_extended()
239 (part_num == which_part) && in part_get_info_extended()
[all …]
H A Dpart.c679 int part_num, char *name) in part_set_generic_name() argument
707 sprintf(name, "%s%c%d", devtype, 'a' + dev_desc->devnum, part_num); in part_set_generic_name()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_nvm.c486 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num, u32 part_num_size) in igb_read_part_string() argument
494 if (part_num == NULL) { in igb_read_part_string()
526 part_num[0] = (nvm_data >> 12) & 0xF; in igb_read_part_string()
527 part_num[1] = (nvm_data >> 8) & 0xF; in igb_read_part_string()
528 part_num[2] = (nvm_data >> 4) & 0xF; in igb_read_part_string()
529 part_num[3] = nvm_data & 0xF; in igb_read_part_string()
530 part_num[4] = (pointer >> 12) & 0xF; in igb_read_part_string()
531 part_num[5] = (pointer >> 8) & 0xF; in igb_read_part_string()
532 part_num[6] = '-'; in igb_read_part_string()
533 part_num[7] = 0; in igb_read_part_string()
[all …]
H A De1000_nvm.h10 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
11 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num,
/openbmc/u-boot/cmd/
H A Dmtdparts.c154 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num);
1252 int part_num; local
1257 part_num = 0;
1277 part_num, part->name, part->size,
1289 part_num, part->name, part->size,
1292 part_num++;
1348 u8 *part_num, struct part_info **part) argument
1357 *part_num = 0;
1363 (*part_num)++;
1370 *part_num = 0;
[all …]
H A Djffs2.c425 static struct part_info* jffs2_part_info(struct mtd_device *dev, unsigned int part_num) in jffs2_part_info() argument
435 part_num, MTD_DEV_TYPE(dev->id->type), in jffs2_part_info()
438 if (part_num >= dev->num_parts) { in jffs2_part_info()
440 part_num, MTD_DEV_TYPE(dev->id->type), in jffs2_part_info()
450 if (part_num == num++) { in jffs2_part_info()
H A Dmmc.c761 u8 ack, part_num, access; in do_mmc_partconf() local
781 part_num = simple_strtoul(argv[3], NULL, 10); in do_mmc_partconf()
785 return mmc_set_part_conf(mmc, ack, part_num, access); in do_mmc_partconf()
/openbmc/linux/arch/mips/include/asm/xtalk/
H A Dxwidget.h260 xwidget_part_num_t part_num; member
272 (((hwid1)->part_num == (hwid2)->part_num) && \
/openbmc/linux/drivers/rtc/
H A Drtc-nct3018y.c46 int part_num; member
195 if (nct3018y->part_num == NCT3018Y_REG_PART_NCT3018Y && !(flags & NCT3018Y_BIT_TWO)) { in nct3018y_rtc_set_time()
239 if (nct3018y->part_num == NCT3018Y_REG_PART_NCT3018Y) in nct3018y_rtc_set_time()
516 nct3018y->part_num = i2c_smbus_read_byte_data(client, NCT3018Y_REG_PART); in nct3018y_probe()
517 if (nct3018y->part_num < 0) { in nct3018y_probe()
519 return nct3018y->part_num; in nct3018y_probe()
520 } else if (nct3018y->part_num == NCT3018Y_REG_PART_NCT3018Y) { in nct3018y_probe()
/openbmc/u-boot/drivers/mmc/
H A Dmmc_boot.c100 int mmc_set_part_conf(struct mmc *mmc, u8 ack, u8 part_num, u8 access) in mmc_set_part_conf() argument
106 EXT_CSD_BOOT_PART_NUM(part_num) | in mmc_set_part_conf()
H A Dmmc.c880 static int mmc_set_capacity(struct mmc *mmc, int part_num) in mmc_set_capacity() argument
882 switch (part_num) { in mmc_set_capacity()
897 mmc->capacity = mmc->capacity_gp[part_num - 4]; in mmc_set_capacity()
909 static int mmc_boot_part_access_chk(struct mmc *mmc, unsigned int part_num) in mmc_boot_part_access_chk() argument
914 if (part_num & PART_ACCESS_MASK) in mmc_boot_part_access_chk()
919 mmc_mode_name(mmc->selected_mode), part_num); in mmc_boot_part_access_chk()
934 unsigned int part_num) in mmc_boot_part_access_chk() argument
940 int mmc_switch_part(struct mmc *mmc, unsigned int part_num) in mmc_switch_part() argument
944 ret = mmc_boot_part_access_chk(mmc, part_num); in mmc_switch_part()
950 | (part_num & PART_ACCESS_MASK)); in mmc_switch_part()
[all …]
H A Dmmc_private.h124 int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c165 memcpy(buf, cdev->hwfns[0].hw_info.part_num, sizeof(cdev->hwfns[0].hw_info.part_num)); in qed_devlink_info_get()
166 buf[sizeof(cdev->hwfns[0].hw_info.part_num)] = 0; in qed_devlink_info_get()
/openbmc/u-boot/test/py/tests/
H A Dtest_ums.py114 part_num = env__block_devs[0]['writable_fs_partition']
115 host_ums_part_node = '%s-part%d' % (host_ums_dev_node, part_num)
/openbmc/linux/arch/arm/mach-tegra/
H A Dsleep.h81 .macro check_cpu_part_num part_num, tmp1, tmp2
84 mov32 \tmp2, \part_num
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_disc.c659 dc->part_num = 0; in esas2r_disc_raid_grp_info_cb()
697 esas2r_trace("part_num: %d", dc->part_num); in esas2r_disc_part_info()
699 if (dc->part_num >= VDA_MAX_PARTITIONS) { in esas2r_disc_part_info()
722 partinfo->part_no = dc->part_num; in esas2r_disc_part_info()
758 dc->part_num = partinfo->part_no; in esas2r_disc_part_info_cb()
764 dc->part_num++; in esas2r_disc_part_info_cb()
/openbmc/u-boot/drivers/dfu/
H A Ddfu_nand.c207 u8 part_num; in dfu_fill_entity_nand() local
221 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand()
/openbmc/u-boot/arch/arm/mach-mediatek/mt7623/
H A Dpreloader.h79 u8 part_num; member
/openbmc/u-boot/include/jffs2/
H A Dload_kernel.h67 u8 *part_num, struct part_info **part);
/openbmc/u-boot/cmd/mvebu/
H A Dbubt.c138 if (mmc->part_num != CONFIG_SYS_MMC_ENV_PART) { in mmc_burn_image()
179 if (mmc->part_num != CONFIG_SYS_MMC_ENV_PART) in mmc_burn_image()
180 mmc_switch_part(mmc_dev_num, mmc->part_num); in mmc_burn_image()
/openbmc/linux/drivers/net/ieee802154/
H A Datusb.c810 u8 man_id_0, man_id_1, part_num, version_num; in atusb_get_and_conf_chip() local
826 0, RG_PART_NUM, &part_num, 1, 1000, GFP_KERNEL); in atusb_get_and_conf_chip()
858 switch (part_num) { in atusb_get_and_conf_chip()
892 part_num, version_num); in atusb_get_and_conf_chip()
/openbmc/u-boot/include/
H A Dpart.h216 int part_num, char *name);
H A Dmmc.h741 int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
757 int mmc_set_part_conf(struct mmc *mmc, u8 ack, u8 part_num, u8 access);
/openbmc/u-boot/common/
H A Dfdt_support.c792 int part_num, ret; in fdt_node_set_part_info() local
807 part_num = 0; in fdt_node_set_part_info()
814 part_num, part->name, part->size, in fdt_node_set_part_info()
871 part_num++; in fdt_node_set_part_info()

12