Home
last modified time | relevance | path

Searched refs:ptable (Results 1 – 25 of 50) sorted by relevance

12

/openbmc/linux/drivers/mtd/parsers/
H A Dqcomsmempart.c64 struct smem_flash_ptable *ptable; in parse_qcomsmem_part() local
76 ptable = qcom_smem_get(SMEM_APPS, SMEM_AARM_PARTITION_TABLE, &len); in parse_qcomsmem_part()
77 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
78 if (PTR_ERR(ptable) != -EPROBE_DEFER) in parse_qcomsmem_part()
80 return PTR_ERR(ptable); in parse_qcomsmem_part()
84 if (le32_to_cpu(ptable->magic1) != SMEM_FLASH_PART_MAGIC1 || in parse_qcomsmem_part()
85 le32_to_cpu(ptable->magic2) != SMEM_FLASH_PART_MAGIC2) { in parse_qcomsmem_part()
91 tmpparts = le32_to_cpu(ptable->numparts); in parse_qcomsmem_part()
98 if (le32_to_cpu(ptable->version) <= SMEM_FLASH_PTABLE_V3) { in parse_qcomsmem_part()
101 } else if (le32_to_cpu(ptable->version) == SMEM_FLASH_PTABLE_V4) { in parse_qcomsmem_part()
[all …]
/openbmc/u-boot/drivers/smem/
H A Dmsm_smem.c627 struct smem_ptable *ptable; in qcom_smem_get_ptable() local
630 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_get_ptable()
631 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_get_ptable()
634 version = le32_to_cpu(ptable->version); in qcom_smem_get_ptable()
640 return ptable; in qcom_smem_get_ptable()
645 struct smem_ptable *ptable; in qcom_smem_get_item_count() local
648 ptable = qcom_smem_get_ptable(smem); in qcom_smem_get_item_count()
649 if (IS_ERR_OR_NULL(ptable)) in qcom_smem_get_item_count()
652 info = (struct smem_info *)&ptable->entry[ptable->num_entries]; in qcom_smem_get_item_count()
663 struct smem_ptable *ptable; in qcom_smem_set_global_partition() local
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dsmem.c283 struct smem_ptable *ptable; member
848 struct smem_ptable *ptable; in qcom_smem_get_ptable() local
851 ptable = smem->ptable; in qcom_smem_get_ptable()
852 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_get_ptable()
855 version = le32_to_cpu(ptable->version); in qcom_smem_get_ptable()
861 return ptable; in qcom_smem_get_ptable()
866 struct smem_ptable *ptable; in qcom_smem_get_item_count() local
869 ptable = qcom_smem_get_ptable(smem); in qcom_smem_get_item_count()
870 if (IS_ERR_OR_NULL(ptable)) in qcom_smem_get_item_count()
873 info = (struct smem_info *)&ptable->entry[ptable->num_entries]; in qcom_smem_get_item_count()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocesspptables.c122 const ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *ptable = in get_vce_clock_voltage_limit_table_size() local
125 …table_size = sizeof(uint8_t) + ptable->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Reco… in get_vce_clock_voltage_limit_table_size()
313 struct phm_cac_tdp_table **ptable, in get_cac_tdp_table() argument
335 *ptable = tdp_table; in get_cac_tdp_table()
378 struct phm_clock_voltage_dependency_table **ptable, in get_clock_voltage_dependency_table() argument
400 *ptable = dep_table; in get_clock_voltage_dependency_table()
406 struct phm_clock_array **ptable, in get_valid_clk() argument
421 *ptable = clock_table; in get_valid_clk()
1207 struct phm_uvd_clock_voltage_dependency_table **ptable, in get_uvd_clock_voltage_limit_table() argument
1231 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table()
[all …]
H A Dsmu8_hwmgr.c72 struct phm_vce_clock_voltage_dependency_table *ptable = in smu8_get_eclk_level() local
78 for (i = 0; i < (int)ptable->count; i++) { in smu8_get_eclk_level()
79 if (clock <= ptable->entries[i].ecclk) in smu8_get_eclk_level()
86 for (i = ptable->count - 1; i >= 0; i--) { in smu8_get_eclk_level()
87 if (clock >= ptable->entries[i].ecclk) in smu8_get_eclk_level()
133 struct phm_uvd_clock_voltage_dependency_table *ptable = in smu8_get_uvd_level() local
139 for (i = 0; i < (int)ptable->count; i++) { in smu8_get_uvd_level()
140 if (clock <= ptable->entries[i].vclk) in smu8_get_uvd_level()
147 for (i = ptable->count - 1; i >= 0; i--) { in smu8_get_uvd_level()
148 if (clock >= ptable->entries[i].vclk) in smu8_get_uvd_level()
[all …]
H A Dsmu10_hwmgr.c474 struct smu10_voltage_dependency_table *ptable; in smu10_get_clock_voltage_dependency_table() local
476 ptable = kzalloc(struct_size(ptable, entries, num_entry), GFP_KERNEL); in smu10_get_clock_voltage_dependency_table()
477 if (NULL == ptable) in smu10_get_clock_voltage_dependency_table()
480 ptable->count = num_entry; in smu10_get_clock_voltage_dependency_table()
482 for (i = 0; i < ptable->count; i++) { in smu10_get_clock_voltage_dependency_table()
483 ptable->entries[i].clk = pclk_dependency_table->Freq * 100; in smu10_get_clock_voltage_dependency_table()
484 ptable->entries[i].vol = pclk_dependency_table->Vol; in smu10_get_clock_voltage_dependency_table()
488 *pptable = ptable; in smu10_get_clock_voltage_dependency_table()
/openbmc/linux/arch/m68k/mm/
H A Dmotorola.c106 #define PD_PAGE(ptable) (list_entry(ptable, struct page, lru)) argument
120 unsigned long ptable = (unsigned long)table; in init_pointer_table() local
121 unsigned long page = ptable & PAGE_MASK; in init_pointer_table()
122 unsigned int mask = 1U << ((ptable - page)/ptable_size(type)); in init_pointer_table()
131 pr_debug("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp)); in init_pointer_table()
189 unsigned long ptable = (unsigned long)table; in free_pointer_table() local
190 unsigned long page = ptable & PAGE_MASK; in free_pointer_table()
191 unsigned int mask = 1U << ((ptable - page)/ptable_size(type)); in free_pointer_table()
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dboot.c189 memcpy(&partition, &wl->ptable[PART_DOWN], sizeof(partition)); in wl1271_boot_upload_firmware_chunk()
197 partition_limit = wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk()
205 wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk()
411 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_upload_nvs()
439 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_boot_run_firmware()
523 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_run_firmware()
/openbmc/u-boot/arch/x86/include/asm/
H A Dsfi.h32 #define SFI_GET_NUM_ENTRIES(ptable, entry_type) \ argument
33 ((ptable->header.len - sizeof(struct sfi_table_header)) / \
/openbmc/linux/drivers/net/wireless/ti/wl18xx/
H A Dmain.c715 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_set_clk()
849 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_boot()
873 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_upload()
899 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
925 &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_pre_upload()
938 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
957 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_set_mac_and_phy()
1348 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_pg_ver()
1384 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_get_pg_ver()
1480 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_mac()
[all …]
/openbmc/qemu/hw/usb/
H A Dccid-card-emulated.c493 const EnumTable *ptable; in emulated_realize() local
515 for (ptable = backend_enum_table; ptable->name != NULL; ++ptable) { in emulated_realize()
516 error_append_hint(errp, "%s\n", ptable->name); in emulated_realize()
/openbmc/linux/drivers/input/rmi4/
H A Drmi_f34v7.c376 const struct partition_table *ptable; in rmi_f34v7_parse_partition_table() local
380 ptable = partition_table + index; in rmi_f34v7_parse_partition_table()
381 partition_length = le16_to_cpu(ptable->partition_length); in rmi_f34v7_parse_partition_table()
382 physical_address = le16_to_cpu(ptable->start_physical_address); in rmi_f34v7_parse_partition_table()
385 __func__, i, sizeof(struct partition_table), ptable); in rmi_f34v7_parse_partition_table()
386 switch (ptable->partition_id & 0x1f) { in rmi_f34v7_parse_partition_table()
490 u8 *ptable; in rmi_f34v7_read_queries() local
574 ptable = f34->v7.read_config_buf; in rmi_f34v7_read_queries()
583 rmi_f34v7_parse_partition_table(f34, ptable, in rmi_f34v7_read_queries()
/openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/
H A Dovmf-shell-image.wks4 bootloader --ptable gpt --timeout=5
/openbmc/openbmc/poky/scripts/lib/wic/canned-wks/
H A Defi-bootdisk.wks.in1 bootloader --ptable gpt
H A Defi-uki-bootdisk.wks.in1 bootloader --ptable gpt --timeout=5
H A Ddirectdisk-gpt.wks9 bootloader --ptable gpt --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 con…
H A Dmkefidisk.wks11 bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=${KERNEL_CONSOLE} console=tty…
/openbmc/openbmc/meta-arm/meta-arm/wic/
H A Dqemuarm.wks1 bootloader --ptable gpt --configfile="qemuarm.cfg"
H A Dqemuarm64.wks1 bootloader --ptable gpt --configfile="qemuarm64.cfg"
H A Dqemu-efi-disk.wks.in11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 ip=dhcp"
H A Defi-disk.wks.in11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=${KERNEL_CONSOLE}"
/openbmc/openbmc/poky/meta-selftest/wic/
H A Doverlayfs_etc.wks.in4 bootloader --ptable gpt --timeout=1 --append="rootfstype=${OVERLAYFS_ROOTFS_TYPE} console=ttyS0,115…
H A Dtest_gpt_partition_name.wks7 bootloader --ptable gpt
/openbmc/openbmc/poky/meta-yocto-bsp/wic/
H A Dgenericx86.wks.in7 bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"
H A Dgenericarm64.wks.in11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4"

12