Home
last modified time | relevance | path

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

/drivers/soc/qcom/
Dsmem.c687 struct smem_ptable *ptable; in qcom_smem_get_ptable() local
690 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_get_ptable()
691 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_get_ptable()
694 version = le32_to_cpu(ptable->version); in qcom_smem_get_ptable()
700 return ptable; in qcom_smem_get_ptable()
705 struct smem_ptable *ptable; in qcom_smem_get_item_count() local
708 ptable = qcom_smem_get_ptable(smem); in qcom_smem_get_item_count()
709 if (IS_ERR_OR_NULL(ptable)) in qcom_smem_get_item_count()
712 info = (struct smem_info *)&ptable->entry[ptable->num_entries]; in qcom_smem_get_item_count()
771 struct smem_ptable *ptable; in qcom_smem_set_global_partition() local
[all …]
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
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
403 *ptable = dep_table; in get_clock_voltage_dependency_table()
409 struct phm_clock_array **ptable, in get_valid_clk() argument
425 *ptable = clock_table; in get_valid_clk()
1209 struct phm_uvd_clock_voltage_dependency_table **ptable, in get_uvd_clock_voltage_limit_table() argument
1236 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table()
[all …]
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 …]
Dsmu10_hwmgr.c439 struct smu10_voltage_dependency_table *ptable; in smu10_get_clock_voltage_dependency_table() local
441 ptable = kzalloc(struct_size(ptable, entries, num_entry), GFP_KERNEL); in smu10_get_clock_voltage_dependency_table()
442 if (NULL == ptable) in smu10_get_clock_voltage_dependency_table()
445 ptable->count = num_entry; in smu10_get_clock_voltage_dependency_table()
447 for (i = 0; i < ptable->count; i++) { in smu10_get_clock_voltage_dependency_table()
448 ptable->entries[i].clk = pclk_dependency_table->Freq * 100; in smu10_get_clock_voltage_dependency_table()
449 ptable->entries[i].vol = pclk_dependency_table->Vol; in smu10_get_clock_voltage_dependency_table()
453 *pptable = ptable; in smu10_get_clock_voltage_dependency_table()
Dprocess_pptables_v1_0.c494 PPTable_Generic_SubTable_Header const *ptable in get_pcie_table() argument
503 if (ptable->ucRevId < 1) { in get_pcie_table()
504 const ATOM_Tonga_PCIE_Table *atom_pcie_table = (ATOM_Tonga_PCIE_Table *)ptable; in get_pcie_table()
543 const ATOM_Polaris10_PCIE_Table *atom_pcie_table = (ATOM_Polaris10_PCIE_Table *)ptable; in get_pcie_table()
/drivers/net/wireless/ti/wlcore/
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()
Dwlcore.h416 const struct wlcore_partition_set *ptable; member
Dmain.c908 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_print_recovery()
923 wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_print_recovery()
1037 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl12xx_set_power_on()
6778 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe()
/drivers/net/wireless/ti/wl18xx/
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 …]
/drivers/sfi/
Dsfi_acpi.c76 #define XSDT_GET_NUM_ENTRIES(ptable, entry_type) \ argument
77 ((ptable->header.length - sizeof(struct acpi_table_header)) / \
/drivers/input/rmi4/
Drmi_f34v7.c354 const struct partition_table *ptable; in rmi_f34v7_parse_partition_table() local
358 ptable = partition_table + index; in rmi_f34v7_parse_partition_table()
359 partition_length = le16_to_cpu(ptable->partition_length); in rmi_f34v7_parse_partition_table()
360 physical_address = le16_to_cpu(ptable->start_physical_address); in rmi_f34v7_parse_partition_table()
363 __func__, i, sizeof(struct partition_table), ptable); in rmi_f34v7_parse_partition_table()
364 switch (ptable->partition_id & 0x1f) { in rmi_f34v7_parse_partition_table()
468 u8 *ptable; in rmi_f34v7_read_queries() local
559 ptable = f34->v7.read_config_buf; in rmi_f34v7_read_queries()
568 rmi_f34v7_parse_partition_table(f34, ptable, in rmi_f34v7_read_queries()
/drivers/net/wireless/ti/wl12xx/
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()
/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c3802 struct action_handler *ptable; in OnAction() local
3811 ptable = &OnAction_tbl[i]; in OnAction()
3812 if (category == ptable->num) in OnAction()
3813 ptable->func(padapter, precv_frame); in OnAction()
4056 struct mlme_handler *ptable, in _mgt_dispatcher() argument
4062 if (ptable->func) { in _mgt_dispatcher()
4067 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
4074 struct mlme_handler *ptable; in mgt_dispatcher() local
4099 ptable = mlme_sta_tbl; in mgt_dispatcher()
4107 ptable += index; in mgt_dispatcher()
[all …]
/drivers/s390/block/
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()
/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c503 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, union recv_frame… in _mgt_dispatcher() argument
508 if (ptable->func) { in _mgt_dispatcher()
514 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
521 struct mlme_handler *ptable; in mgt_dispatcher() local
544 ptable = mlme_sta_tbl; in mgt_dispatcher()
552 ptable += index; in mgt_dispatcher()
569 ptable->func = &OnAuth; in mgt_dispatcher()
571 ptable->func = &OnAuthClient; in mgt_dispatcher()
575 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher()
578 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher()
[all …]
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c96 struct hlist_head ptable[NR_BKT]; member
383 hash_init(info->ptable); in kvmgt_protect_table_init()
392 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy()
403 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find()
434 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add()
/drivers/edac/
Dsb_edac.c3445 struct pci_id_table *ptable = (struct pci_id_table *)id->driver_data; in sbridge_probe() local
3448 rc = sbridge_get_all_devices(&num_mc, ptable); in sbridge_probe()
3462 rc = sbridge_register_mci(sbridge_dev, ptable->type); in sbridge_probe()
/drivers/net/ieee802154/
Dca8210.c2654 struct poll_table_struct *ptable in ca8210_test_int_poll() argument
2660 poll_wait(filp, &priv->test.readq, ptable); in ca8210_test_int_poll()