| /linux/drivers/mtd/parsers/ |
| H A D | qcomsmempart.c | 64 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 …]
|
| /linux/drivers/soc/qcom/ |
| H A D | smem.c | 283 struct smem_ptable *ptable; member 880 struct smem_ptable *ptable; in qcom_smem_get_ptable() local 883 ptable = smem->ptable; in qcom_smem_get_ptable() 884 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_get_ptable() 887 version = le32_to_cpu(ptable->version); in qcom_smem_get_ptable() 893 return ptable; in qcom_smem_get_ptable() 898 struct smem_ptable *ptable; in qcom_smem_get_item_count() local 901 ptable = qcom_smem_get_ptable(smem); in qcom_smem_get_item_count() 902 if (IS_ERR_OR_NULL(ptable)) in qcom_smem_get_item_count() 905 info = (struct smem_info *)&ptable->entry[le32_to_cpu(ptable->num_entries)]; in qcom_smem_get_item_count() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | processpptables.c | 122 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() 1205 struct phm_uvd_clock_voltage_dependency_table **ptable, in get_uvd_clock_voltage_limit_table() argument 1229 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table() [all …]
|
| H A D | smu8_hwmgr.c | 72 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 D | process_pptables_v1_0.c | 478 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/arch/m68k/mm/ |
| H A D | motorola.c | 107 #define PD_PTDESC(ptable) (list_entry(ptable, struct ptdesc, pt_list)) argument 122 unsigned long ptable = (unsigned long)table; in init_pointer_table() local 123 unsigned long pt_addr = ptable & PAGE_MASK; in init_pointer_table() 124 unsigned int mask = 1U << ((ptable - pt_addr)/ptable_size(type)); in init_pointer_table() 133 pr_debug("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp)); in init_pointer_table() 203 unsigned long ptable = (unsigned long)table; in free_pointer_table() local 204 unsigned long pt_addr = ptable & PAGE_MASK; in free_pointer_table() 205 unsigned int mask = 1U << ((ptable - pt_addr)/ptable_size(type)); in free_pointer_table()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | boot.c | 186 memcpy(&partition, &wl->ptable[PART_DOWN], sizeof(partition)); in wl1271_boot_upload_firmware_chunk() 194 partition_limit = wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk() 202 wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk() 408 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_upload_nvs() 436 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_boot_run_firmware() 520 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_run_firmware()
|
| H A D | wlcore.h | 416 const struct wlcore_partition_set *ptable; member
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f34v7.c | 376 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/drivers/s390/block/ |
| H A D | dasd_eer.c | 660 static __poll_t dasd_eer_poll(struct file *filp, poll_table *ptable) in dasd_eer_poll() argument 667 poll_wait(filp, &dasd_eer_read_wait_queue, ptable); in dasd_eer_poll()
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_mlme_ext.c | 420 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, union recv_frame… in _mgt_dispatcher() argument 424 if (ptable->func) { in _mgt_dispatcher() 430 ptable->func(padapter, precv_frame); in _mgt_dispatcher() 437 struct mlme_handler *ptable; in mgt_dispatcher() local 453 ptable = mlme_sta_tbl; in mgt_dispatcher() 460 ptable += index; in mgt_dispatcher() 476 ptable->func = &OnAuth; in mgt_dispatcher() 478 ptable->func = &OnAuthClient; in mgt_dispatcher() 482 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher() 485 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher() [all …]
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | kvmgt.c | 334 hash_init(info->ptable); in kvmgt_protect_table_init() 343 hash_for_each_safe(info->ptable, i, tmp, p, hnode) { in kvmgt_protect_table_destroy() 356 hash_for_each_possible(info->ptable, p, hnode, gfn) { in __kvmgt_protect_table_find() 386 hash_add(info->ptable, &p->hnode, gfn); in kvmgt_protect_table_add()
|
| /linux/drivers/net/ieee802154/ |
| H A D | ca8210.c | 2609 struct poll_table_struct *ptable in ca8210_test_int_poll() argument 2615 poll_wait(filp, &priv->test.readq, ptable); in ca8210_test_int_poll()
|
| /linux/drivers/edac/ |
| H A D | sb_edac.c | 3574 struct pci_id_table *ptable = (struct pci_id_table *)id->driver_data; in sbridge_probe() local 3577 rc = sbridge_get_all_devices(&num_mc, ptable); in sbridge_probe() 3591 rc = sbridge_register_mci(sbridge_dev, ptable->type); in sbridge_probe()
|