Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mtd/parsers/
A Dqcomsmempart.c64 struct smem_flash_ptable *ptable; in parse_qcomsmem_part() local
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()
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()
115 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
117 return PTR_ERR(ptable); in parse_qcomsmem_part()
121 pentry = &ptable->pentry[i]; in parse_qcomsmem_part()
131 pentry = &ptable->pentry[i]; in parse_qcomsmem_part()
[all …]
/linux-6.3-rc2/drivers/soc/qcom/
A Dsmem.c282 struct smem_ptable *ptable; member
788 struct smem_ptable *ptable; in qcom_smem_get_ptable() local
791 ptable = smem->ptable; in qcom_smem_get_ptable()
792 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_get_ptable()
801 return ptable; in qcom_smem_get_ptable()
806 struct smem_ptable *ptable; in qcom_smem_get_item_count() local
813 info = (struct smem_info *)&ptable->entry[ptable->num_entries]; in qcom_smem_get_item_count()
885 if (IS_ERR(ptable)) in qcom_smem_set_global_partition()
886 return PTR_ERR(ptable); in qcom_smem_set_global_partition()
934 if (IS_ERR(ptable)) in qcom_smem_enumerate_partitions()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dprocesspptables.c313 struct phm_cac_tdp_table **ptable, in get_cac_tdp_table() argument
335 *ptable = tdp_table; in get_cac_tdp_table()
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()
1229 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table()
1258 *ptable = vce_table; in get_vce_clock_voltage_limit_table()
1283 *ptable = samu_table; in get_samu_clock_voltage_limit_table()
1308 *ptable = acp_table; in get_acp_clock_voltage_limit_table()
1487 if (!hwmgr || !table || !ptable) in get_cac_leakage_table()
[all …]
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()
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()
1290 ptable->entries[ptable->count - 1].ecclk; in smu8_dpm_update_vce_dpm()
[all …]
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()
A Dprocess_pptables_v1_0.c478 PPTable_Generic_SubTable_Header const *ptable in get_pcie_table() argument
487 if (ptable->ucRevId < 1) { in get_pcie_table()
488 const ATOM_Tonga_PCIE_Table *atom_pcie_table = (ATOM_Tonga_PCIE_Table *)ptable; in get_pcie_table()
525 const ATOM_Polaris10_PCIE_Table *atom_pcie_table = (ATOM_Polaris10_PCIE_Table *)ptable; in get_pcie_table()
/linux-6.3-rc2/arch/m68k/mm/
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()
/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/
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()
A Dwlcore.h416 const struct wlcore_partition_set *ptable; member
A Dmain.c898 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_print_recovery()
913 wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_print_recovery()
1025 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl12xx_set_power_on()
6710 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe()
/linux-6.3-rc2/drivers/net/wireless/ti/wl18xx/
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()
1507 ret = wlcore_set_partition(wl, &wl->ptable[PART_DOWN]); in wl18xx_get_mac()
[all …]
/linux-6.3-rc2/drivers/input/rmi4/
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()
/linux-6.3-rc2/drivers/net/wireless/ti/wl12xx/
A Dmain.c1103 ret = wlcore_set_partition(wl, &wl->ptable[PART_DRPW]); in wl12xx_pre_boot()
1126 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wl12xx_pre_boot()
1513 ret = wlcore_set_partition(wl, &wl->ptable[PART_DRPW]); in wl12xx_get_fuse_mac()
1530 ret = wlcore_set_partition(wl, &wl->ptable[PART_DOWN]); in wl12xx_get_fuse_mac()
1909 wl->ptable = wl12xx_ptable; in wl12xx_probe()
/linux-6.3-rc2/drivers/s390/block/
A Ddasd_eer.c665 static __poll_t dasd_eer_poll(struct file *filp, poll_table *ptable) in dasd_eer_poll() argument
672 poll_wait(filp, &dasd_eer_read_wait_queue, ptable); in dasd_eer_poll()
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_mlme_ext.c427 if (ptable->func) { in _mgt_dispatcher()
433 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
440 struct mlme_handler *ptable; in mgt_dispatcher() local
457 ptable = mlme_sta_tbl; in mgt_dispatcher()
464 ptable += index; in mgt_dispatcher()
480 ptable->func = &OnAuth; in mgt_dispatcher()
482 ptable->func = &OnAuthClient; in mgt_dispatcher()
1889 struct action_handler *ptable; in OnAction() local
1898 ptable = &OnAction_tbl[i]; in OnAction()
1900 if (category == ptable->num) in OnAction()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dkvmgt.c335 hash_init(info->ptable); in kvmgt_protect_table_init()
344 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy()
355 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find()
385 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add()
A Dgvt.h237 struct hlist_head ptable[NR_BKT]; member
/linux-6.3-rc2/drivers/net/ieee802154/
A Dca8210.c2612 struct poll_table_struct *ptable in ca8210_test_int_poll() argument
2618 poll_wait(filp, &priv->test.readq, ptable); in ca8210_test_int_poll()
/linux-6.3-rc2/drivers/edac/
A Dsb_edac.c3573 struct pci_id_table *ptable = (struct pci_id_table *)id->driver_data; in sbridge_probe() local
3576 rc = sbridge_get_all_devices(&num_mc, ptable); in sbridge_probe()
3590 rc = sbridge_register_mci(sbridge_dev, ptable->type); in sbridge_probe()

Completed in 77 milliseconds