smpt 31 drivers/misc/mic/host/mic_debugfs.c if (mdev->smpt) { smpt 32 drivers/misc/mic/host/mic_debugfs.c struct mic_smpt_info *smpt_info = mdev->smpt; smpt 74 drivers/misc/mic/host/mic_device.h struct mic_smpt_info *smpt; smpt 17 drivers/misc/mic/host/mic_smpt.c return (1ULL << mdev->smpt->info.page_shift) - 1ULL; smpt 22 drivers/misc/mic/host/mic_smpt.c return (pa - mdev->smpt->info.base) >> mdev->smpt->info.page_shift; smpt 27 drivers/misc/mic/host/mic_smpt.c return mdev->smpt->info.base + (index * mdev->smpt->info.page_size); smpt 38 drivers/misc/mic/host/mic_smpt.c mdev->smpt->info.page_size); smpt 43 drivers/misc/mic/host/mic_smpt.c return ALIGN(pa, mdev->smpt->info.page_size); smpt 49 drivers/misc/mic/host/mic_smpt.c return mdev->smpt->info.num_reg * mdev->smpt->info.page_size; smpt 55 drivers/misc/mic/host/mic_smpt.c return mdev->smpt->info.base + mic_max_system_memory(mdev) - 1ULL; smpt 62 drivers/misc/mic/host/mic_smpt.c return pa >= mdev->smpt->info.base && pa <= mic_max_system_addr(mdev); smpt 69 drivers/misc/mic/host/mic_smpt.c struct mic_smpt_info *smpt_info = mdev->smpt; smpt 96 drivers/misc/mic/host/mic_smpt.c struct mic_smpt_info *smpt_info = mdev->smpt; smpt 167 drivers/misc/mic/host/mic_smpt.c struct mic_smpt_info *smpt_info = mdev->smpt; smpt 204 drivers/misc/mic/host/mic_smpt.c ref = kmalloc_array(mdev->smpt->info.num_reg, sizeof(s64), GFP_ATOMIC); smpt 244 drivers/misc/mic/host/mic_smpt.c struct mic_smpt_info *smpt_info = mdev->smpt; smpt 261 drivers/misc/mic/host/mic_smpt.c ref = kmalloc_array(mdev->smpt->info.num_reg, sizeof(s64), GFP_ATOMIC); smpt 348 drivers/misc/mic/host/mic_smpt.c mdev->smpt = kmalloc(sizeof(*mdev->smpt), GFP_KERNEL); smpt 349 drivers/misc/mic/host/mic_smpt.c if (!mdev->smpt) smpt 352 drivers/misc/mic/host/mic_smpt.c smpt_info = mdev->smpt; smpt 385 drivers/misc/mic/host/mic_smpt.c struct mic_smpt_info *smpt_info = mdev->smpt; smpt 423 drivers/misc/mic/host/mic_smpt.c for (i = 0; i < mdev->smpt->info.num_reg; i++) { smpt 424 drivers/misc/mic/host/mic_smpt.c dma_addr = mdev->smpt->entry[i].dma_addr; smpt 515 drivers/misc/mic/host/mic_x100.c dma_addr >> mdev->smpt->info.page_shift); smpt 529 drivers/misc/mic/host/mic_x100.c struct mic_smpt_hw_info *info = &mdev->smpt->info; smpt 3609 drivers/mtd/spi-nor/spi-nor.c static const u32 *spi_nor_get_map_in_use(struct spi_nor *nor, const u32 *smpt, smpt 3632 drivers/mtd/spi-nor/spi-nor.c if (smpt[i] & SMPT_DESC_TYPE_MAP) smpt 3635 drivers/mtd/spi-nor/spi-nor.c read_data_mask = SMPT_CMD_READ_DATA(smpt[i]); smpt 3636 drivers/mtd/spi-nor/spi-nor.c nor->addr_width = spi_nor_smpt_addr_width(nor, smpt[i]); smpt 3637 drivers/mtd/spi-nor/spi-nor.c nor->read_dummy = spi_nor_smpt_read_dummy(nor, smpt[i]); smpt 3638 drivers/mtd/spi-nor/spi-nor.c nor->read_opcode = SMPT_CMD_OPCODE(smpt[i]); smpt 3639 drivers/mtd/spi-nor/spi-nor.c addr = smpt[i + 1]; smpt 3663 drivers/mtd/spi-nor/spi-nor.c if (SMPT_MAP_ID(smpt[i]) == map_id) { smpt 3664 drivers/mtd/spi-nor/spi-nor.c ret = smpt + i; smpt 3673 drivers/mtd/spi-nor/spi-nor.c if (smpt[i] & SMPT_DESC_END) smpt 3677 drivers/mtd/spi-nor/spi-nor.c i += SMPT_MAP_REGION_COUNT(smpt[i]) + 1; smpt 3724 drivers/mtd/spi-nor/spi-nor.c const u32 *smpt) smpt 3735 drivers/mtd/spi-nor/spi-nor.c region_count = SMPT_MAP_REGION_COUNT(*smpt); smpt 3752 drivers/mtd/spi-nor/spi-nor.c region[i].size = SMPT_MAP_REGION_SIZE(smpt[j]); smpt 3753 drivers/mtd/spi-nor/spi-nor.c erase_type = SMPT_MAP_REGION_ERASE_TYPE(smpt[j]); smpt 3819 drivers/mtd/spi-nor/spi-nor.c u32 *smpt; smpt 3825 drivers/mtd/spi-nor/spi-nor.c len = smpt_header->length * sizeof(*smpt); smpt 3826 drivers/mtd/spi-nor/spi-nor.c smpt = kmalloc(len, GFP_KERNEL); smpt 3827 drivers/mtd/spi-nor/spi-nor.c if (!smpt) smpt 3831 drivers/mtd/spi-nor/spi-nor.c ret = spi_nor_read_sfdp(nor, addr, len, smpt); smpt 3837 drivers/mtd/spi-nor/spi-nor.c smpt[i] = le32_to_cpu(smpt[i]); smpt 3839 drivers/mtd/spi-nor/spi-nor.c sector_map = spi_nor_get_map_in_use(nor, smpt, smpt_header->length); smpt 3852 drivers/mtd/spi-nor/spi-nor.c kfree(smpt);