Home
last modified time | relevance | path

Searched refs:extp (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/mtd/chips/
Dcfi_cmdset_0001.c118 static void cfi_tell_features(struct cfi_pri_intelext *extp) in cfi_tell_features() argument
121 printk(" Extended Query version %c.%c\n", extp->MajorVersion, extp->MinorVersion); in cfi_tell_features()
122 printk(" Feature/Command Support: %4.4X\n", extp->FeatureSupport); in cfi_tell_features()
123 printk(" - Chip Erase: %s\n", extp->FeatureSupport&1?"supported":"unsupported"); in cfi_tell_features()
124 printk(" - Suspend Erase: %s\n", extp->FeatureSupport&2?"supported":"unsupported"); in cfi_tell_features()
125 printk(" - Suspend Program: %s\n", extp->FeatureSupport&4?"supported":"unsupported"); in cfi_tell_features()
126 printk(" - Legacy Lock/Unlock: %s\n", extp->FeatureSupport&8?"supported":"unsupported"); in cfi_tell_features()
127 printk(" - Queued Erase: %s\n", extp->FeatureSupport&16?"supported":"unsupported"); in cfi_tell_features()
128 printk(" - Instant block lock: %s\n", extp->FeatureSupport&32?"supported":"unsupported"); in cfi_tell_features()
129 printk(" - Protection Bits: %s\n", extp->FeatureSupport&64?"supported":"unsupported"); in cfi_tell_features()
[all …]
Dcfi_cmdset_0020.c65 static void cfi_tell_features(struct cfi_pri_intelext *extp) in cfi_tell_features() argument
68 printk(" Feature/Command Support: %4.4X\n", extp->FeatureSupport); in cfi_tell_features()
69 printk(" - Chip Erase: %s\n", extp->FeatureSupport&1?"supported":"unsupported"); in cfi_tell_features()
70 printk(" - Suspend Erase: %s\n", extp->FeatureSupport&2?"supported":"unsupported"); in cfi_tell_features()
71 printk(" - Suspend Program: %s\n", extp->FeatureSupport&4?"supported":"unsupported"); in cfi_tell_features()
72 printk(" - Legacy Lock/Unlock: %s\n", extp->FeatureSupport&8?"supported":"unsupported"); in cfi_tell_features()
73 printk(" - Queued Erase: %s\n", extp->FeatureSupport&16?"supported":"unsupported"); in cfi_tell_features()
74 printk(" - Instant block lock: %s\n", extp->FeatureSupport&32?"supported":"unsupported"); in cfi_tell_features()
75 printk(" - Protection Bits: %s\n", extp->FeatureSupport&64?"supported":"unsupported"); in cfi_tell_features()
76 printk(" - Page-mode read: %s\n", extp->FeatureSupport&128?"supported":"unsupported"); in cfi_tell_features()
[all …]
Dcfi_cmdset_0002.c105 static void cfi_tell_features(struct cfi_pri_amdstd *extp) in cfi_tell_features() argument
116 printk(" Silicon revision: %d\n", extp->SiliconRevision >> 1); in cfi_tell_features()
118 (extp->SiliconRevision & 1) ? "Not required" : "Required"); in cfi_tell_features()
120 if (extp->EraseSuspend < ARRAY_SIZE(erase_suspend)) in cfi_tell_features()
121 printk(" Erase Suspend: %s\n", erase_suspend[extp->EraseSuspend]); in cfi_tell_features()
123 printk(" Erase Suspend: Unknown value %d\n", extp->EraseSuspend); in cfi_tell_features()
125 if (extp->BlkProt == 0) in cfi_tell_features()
128 printk(" Block protection: %d sectors per group\n", extp->BlkProt); in cfi_tell_features()
132 extp->TmpBlkUnprotect ? "Supported" : "Not supported"); in cfi_tell_features()
133 printk(" Block protect/unprotect scheme: %d\n", extp->BlkProtUnprot); in cfi_tell_features()
[all …]
Dcfi_util.c299 struct cfi_extquery *extp = NULL; in cfi_read_pri() local
306 extp = kmalloc(size, GFP_KERNEL); in cfi_read_pri()
307 if (!extp) in cfi_read_pri()
318 ((unsigned char *)extp)[i] = in cfi_read_pri()
331 out: return extp; in cfi_read_pri()
/linux-4.4.14/fs/xfs/
Dxfs_trans_extfree.c67 xfs_extent_t *extp; in xfs_trans_log_efi_extent() local
79 extp = &(efip->efi_format.efi_extents[next_extent]); in xfs_trans_log_efi_extent()
80 extp->ext_start = start_block; in xfs_trans_log_efi_extent()
81 extp->ext_len = ext_len; in xfs_trans_log_efi_extent()
124 struct xfs_extent *extp; in xfs_trans_free_extent() local
141 extp = &(efdp->efd_format.efd_extents[next_extent]); in xfs_trans_free_extent()
142 extp->ext_start = start_block; in xfs_trans_free_extent()
143 extp->ext_len = ext_len; in xfs_trans_free_extent()
Dxfs_log_recover.c3792 xfs_extent_t *extp; in xlog_recover_process_efi() local
3803 extp = &(efip->efi_format.efi_extents[i]); in xlog_recover_process_efi()
3805 XFS_FSB_TO_DADDR(mp, extp->ext_start)); in xlog_recover_process_efi()
3807 (extp->ext_len == 0) || in xlog_recover_process_efi()
3809 (extp->ext_len >= mp->m_sb.sb_agblocks)) { in xlog_recover_process_efi()
3827 extp = &(efip->efi_format.efi_extents[i]); in xlog_recover_process_efi()
3828 error = xfs_trans_free_extent(tp, efdp, extp->ext_start, in xlog_recover_process_efi()
3829 extp->ext_len); in xlog_recover_process_efi()