Home
last modified time | relevance | path

Searched refs:ptable (Results 1 – 16 of 16) 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.c397 struct lnet_peer_table *ptable; in proc_lnet_peers() local
442 ptable = the_lnet.ln_peer_tables[cpt]; in proc_lnet_peers()
444 ver = LNET_PROC_VERSION(ptable->pt_version); in proc_lnet_peers()
446 if (ver != LNET_PROC_VERSION(ptable->pt_version)) { in proc_lnet_peers()
454 p = ptable->pt_hash[hash].next; in proc_lnet_peers()
456 while (p != &ptable->pt_hash[hash]) { in proc_lnet_peers()
468 &ptable->pt_hash[hash]) { in proc_lnet_peers()
/drivers/gpu/drm/amd/powerplay/hwmgr/
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()
1047 struct phm_uvd_clock_voltage_dependency_table **ptable, in get_uvd_clock_voltage_limit_table() argument
1074 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table()
[all …]
Dcz_hwmgr.c73 struct phm_vce_clock_voltage_dependency_table *ptable = in cz_get_eclk_level() local
79 for (i = 0; i < (int)ptable->count; i++) { in cz_get_eclk_level()
80 if (clock <= ptable->entries[i].ecclk) in cz_get_eclk_level()
87 for (i = ptable->count - 1; i >= 0; i--) { in cz_get_eclk_level()
88 if (clock >= ptable->entries[i].ecclk) in cz_get_eclk_level()
134 struct phm_uvd_clock_voltage_dependency_table *ptable = in cz_get_uvd_level() local
140 for (i = 0; i < (int)ptable->count; i++) { in cz_get_uvd_level()
141 if (clock <= ptable->entries[i].vclk) in cz_get_uvd_level()
148 for (i = ptable->count - 1; i >= 0; i--) { in cz_get_uvd_level()
149 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.h426 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()
6522 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()
860 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_boot()
884 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_upload()
910 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
936 &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_pre_upload()
949 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
968 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_set_mac_and_phy()
1359 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_pg_ver()
1395 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_get_pg_ver()
1491 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/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/s390/block/
Ddasd_eer.c650 static unsigned int dasd_eer_poll(struct file *filp, poll_table *ptable) in dasd_eer_poll() argument
657 poll_wait(filp, &dasd_eer_read_wait_queue, ptable); in dasd_eer_poll()
/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c3861 struct action_handler *ptable; in OnAction() local
3870 ptable = &OnAction_tbl[i]; in OnAction()
3871 if (category == ptable->num) in OnAction()
3872 ptable->func(padapter, precv_frame); in OnAction()
4117 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, struct recv_fram… in _mgt_dispatcher() argument
4122 if (ptable->func) { in _mgt_dispatcher()
4127 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
4134 struct mlme_handler *ptable; in mgt_dispatcher() local
4159 ptable = mlme_sta_tbl; in mgt_dispatcher()
4167 ptable += index; in mgt_dispatcher()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h675 lnet_peer_t *lnet_find_peer_locked(struct lnet_peer_table *ptable,
/drivers/edac/
Dsb_edac.c3392 struct pci_id_table *ptable = (struct pci_id_table *)id->driver_data; in sbridge_probe() local
3395 rc = sbridge_get_all_devices(&num_mc, ptable); in sbridge_probe()
3409 rc = sbridge_register_mci(sbridge_dev, ptable->type); in sbridge_probe()