Home
last modified time | relevance | path

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

/drivers/staging/lustre/lnet/lnet/
Dpeer.c43 struct lnet_peer_table *ptable; in lnet_peer_tables_create() local
49 sizeof(*ptable)); in lnet_peer_tables_create()
55 cfs_percpt_for_each(ptable, i, the_lnet.ln_peer_tables) { in lnet_peer_tables_create()
56 INIT_LIST_HEAD(&ptable->pt_deathrow); in lnet_peer_tables_create()
68 ptable->pt_hash = hash; /* sign of initialization */ in lnet_peer_tables_create()
77 struct lnet_peer_table *ptable; in lnet_peer_tables_destroy() local
85 cfs_percpt_for_each(ptable, i, the_lnet.ln_peer_tables) { in lnet_peer_tables_destroy()
86 hash = ptable->pt_hash; in lnet_peer_tables_destroy()
90 LASSERT(list_empty(&ptable->pt_deathrow)); in lnet_peer_tables_destroy()
92 ptable->pt_hash = NULL; in lnet_peer_tables_destroy()
[all …]
Drouter_proc.c399 struct lnet_peer_table *ptable; in proc_lnet_peers() local
444 ptable = the_lnet.ln_peer_tables[cpt]; in proc_lnet_peers()
446 ver = LNET_PROC_VERSION(ptable->pt_version); in proc_lnet_peers()
448 if (ver != LNET_PROC_VERSION(ptable->pt_version)) { in proc_lnet_peers()
456 p = ptable->pt_hash[hash].next; in proc_lnet_peers()
458 while (p != &ptable->pt_hash[hash]) { in proc_lnet_peers()
472 &ptable->pt_hash[hash]) { in proc_lnet_peers()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Drv_hwmgr.c76 struct phm_vq_budgeting_table *ptable; in rv_init_vq_budget_table() local
85 ptable = kzalloc(table_size, GFP_KERNEL); in rv_init_vq_budget_table()
86 if (NULL == ptable) in rv_init_vq_budget_table()
89 ptable->numEntries = (uint8_t) num_entries; in rv_init_vq_budget_table()
91 for (i = 0; i < ptable->numEntries; i++) { in rv_init_vq_budget_table()
92 ptable->entries[i].ulCUs = rv_vqtable[i].ulCUs; in rv_init_vq_budget_table()
93 ptable->entries[i].ulSustainableSOCPowerLimitLow = rv_vqtable[i].ulSustainableSOCPowerLimitLow; in rv_init_vq_budget_table()
94 ptable->entries[i].ulSustainableSOCPowerLimitHigh = rv_vqtable[i].ulSustainableSOCPowerLimitHigh; in rv_init_vq_budget_table()
95 ptable->entries[i].ulMinSclkLow = rv_vqtable[i].ulMinSclkLow; in rv_init_vq_budget_table()
96 ptable->entries[i].ulMinSclkHigh = rv_vqtable[i].ulMinSclkHigh; in rv_init_vq_budget_table()
[all …]
Dprocesspptables.c120 const ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *ptable = in get_vce_clock_voltage_limit_table_size() local
123 …table_size = sizeof(uint8_t) + ptable->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Reco… in get_vce_clock_voltage_limit_table_size()
311 struct phm_cac_tdp_table **ptable, in get_cac_tdp_table() argument
333 *ptable = tdp_table; in get_cac_tdp_table()
376 struct phm_clock_voltage_dependency_table **ptable, in get_clock_voltage_dependency_table() argument
401 *ptable = dep_table; in get_clock_voltage_dependency_table()
407 struct phm_clock_array **ptable, in get_valid_clk() argument
423 *ptable = clock_table; in get_valid_clk()
1051 struct phm_uvd_clock_voltage_dependency_table **ptable, in get_uvd_clock_voltage_limit_table() argument
1078 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table()
[all …]
Dcz_hwmgr.c72 struct phm_vce_clock_voltage_dependency_table *ptable = in cz_get_eclk_level() local
78 for (i = 0; i < (int)ptable->count; i++) { in cz_get_eclk_level()
79 if (clock <= ptable->entries[i].ecclk) in cz_get_eclk_level()
86 for (i = ptable->count - 1; i >= 0; i--) { in cz_get_eclk_level()
87 if (clock >= ptable->entries[i].ecclk) in cz_get_eclk_level()
133 struct phm_uvd_clock_voltage_dependency_table *ptable = in cz_get_uvd_level() local
139 for (i = 0; i < (int)ptable->count; i++) { in cz_get_uvd_level()
140 if (clock <= ptable->entries[i].vclk) in cz_get_uvd_level()
147 for (i = ptable->count - 1; i >= 0; i--) { in cz_get_uvd_level()
148 if (clock >= ptable->entries[i].vclk) in cz_get_uvd_level()
[all …]
Dprocess_pptables_v1_0.c504 PPTable_Generic_SubTable_Header const *ptable in get_pcie_table() argument
513 if (ptable->ucRevId < 1) { in get_pcie_table()
514 const ATOM_Tonga_PCIE_Table *atom_pcie_table = (ATOM_Tonga_PCIE_Table *)ptable; in get_pcie_table()
556 const ATOM_Polaris10_PCIE_Table *atom_pcie_table = (ATOM_Polaris10_PCIE_Table *)ptable; in get_pcie_table()
/drivers/net/wireless/ti/wlcore/
Dboot.c200 memcpy(&partition, &wl->ptable[PART_DOWN], sizeof(partition)); in wl1271_boot_upload_firmware_chunk()
208 partition_limit = wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk()
216 wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk()
422 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_upload_nvs()
450 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_boot_run_firmware()
534 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_run_firmware()
Dwlcore.h429 const struct wlcore_partition_set *ptable; member
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()
1015 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl12xx_set_power_on()
6565 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe()
/drivers/soc/qcom/
Dsmem.c577 struct smem_ptable *ptable; in qcom_smem_enumerate_partitions() local
582 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_enumerate_partitions()
583 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_enumerate_partitions()
586 version = le32_to_cpu(ptable->version); in qcom_smem_enumerate_partitions()
593 for (i = 0; i < le32_to_cpu(ptable->num_entries); i++) { in qcom_smem_enumerate_partitions()
594 entry = &ptable->entry[i]; in qcom_smem_enumerate_partitions()
/drivers/net/wireless/ti/wl18xx/
Dmain.c728 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_set_clk()
862 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_boot()
886 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_upload()
912 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
938 &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_pre_upload()
951 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
970 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_set_mac_and_phy()
1361 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_pg_ver()
1397 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_get_pg_ver()
1493 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.c357 const struct partition_table *ptable; in rmi_f34v7_parse_partition_table() local
361 ptable = partition_table + index; in rmi_f34v7_parse_partition_table()
362 partition_length = le16_to_cpu(ptable->partition_length); in rmi_f34v7_parse_partition_table()
363 physical_address = le16_to_cpu(ptable->start_physical_address); in rmi_f34v7_parse_partition_table()
366 __func__, i, sizeof(struct partition_table), ptable); in rmi_f34v7_parse_partition_table()
367 switch (ptable->partition_id & 0x1f) { in rmi_f34v7_parse_partition_table()
471 u8 *ptable; in rmi_f34v7_read_queries() local
562 ptable = f34->v7.read_config_buf; in rmi_f34v7_read_queries()
571 rmi_f34v7_parse_partition_table(f34, ptable, in rmi_f34v7_read_queries()
/drivers/net/wireless/ti/wl12xx/
Dmain.c1119 ret = wlcore_set_partition(wl, &wl->ptable[PART_DRPW]); in wl12xx_pre_boot()
1142 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wl12xx_pre_boot()
1522 ret = wlcore_set_partition(wl, &wl->ptable[PART_DRPW]); in wl12xx_get_fuse_mac()
1539 ret = wlcore_set_partition(wl, &wl->ptable[PART_DOWN]); in wl12xx_get_fuse_mac()
1918 wl->ptable = wl12xx_ptable; in wl12xx_probe()
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c75 struct hlist_head ptable[NR_BKT]; member
369 hash_init(info->ptable); in kvmgt_protect_table_init()
378 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy()
389 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find()
420 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add()
/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c3851 struct action_handler *ptable; in OnAction() local
3860 ptable = &OnAction_tbl[i]; in OnAction()
3861 if (category == ptable->num) in OnAction()
3862 ptable->func(padapter, precv_frame); in OnAction()
4108 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, struct recv_fram… in _mgt_dispatcher() argument
4113 if (ptable->func) { in _mgt_dispatcher()
4118 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
4125 struct mlme_handler *ptable; in mgt_dispatcher() local
4150 ptable = mlme_sta_tbl; in mgt_dispatcher()
4158 ptable += index; in mgt_dispatcher()
[all …]
/drivers/s390/block/
Ddasd_eer.c664 static unsigned int dasd_eer_poll(struct file *filp, poll_table *ptable) in dasd_eer_poll() argument
671 poll_wait(filp, &dasd_eer_read_wait_queue, ptable); in dasd_eer_poll()
/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c520 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, union recv_frame… in _mgt_dispatcher() argument
525 if (ptable->func) { in _mgt_dispatcher()
531 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
538 struct mlme_handler *ptable; in mgt_dispatcher() local
561 ptable = mlme_sta_tbl; in mgt_dispatcher()
569 ptable += index; in mgt_dispatcher()
586 ptable->func = &OnAuth; in mgt_dispatcher()
588 ptable->func = &OnAuthClient; in mgt_dispatcher()
592 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher()
595 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h682 struct lnet_peer *lnet_find_peer_locked(struct lnet_peer_table *ptable,
/drivers/edac/
Dsb_edac.c3357 struct pci_id_table *ptable = (struct pci_id_table *)id->driver_data; in sbridge_probe() local
3360 rc = sbridge_get_all_devices(&num_mc, ptable); in sbridge_probe()
3374 rc = sbridge_register_mci(sbridge_dev, ptable->type); in sbridge_probe()
/drivers/net/ieee802154/
Dca8210.c2651 struct poll_table_struct *ptable in ca8210_test_int_poll() argument
2657 poll_wait(filp, &priv->test.readq, ptable); in ca8210_test_int_poll()