Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0001.c119 static void cfi_tell_features(struct cfi_pri_intelext *extp) in cfi_tell_features() argument
122 printk(" Extended Query version %c.%c\n", extp->MajorVersion, extp->MinorVersion); in cfi_tell_features()
123 printk(" Feature/Command Support: %4.4X\n", extp->FeatureSupport); in cfi_tell_features()
124 printk(" - Chip Erase: %s\n", extp->FeatureSupport&1?"supported":"unsupported"); in cfi_tell_features()
125 printk(" - Suspend Erase: %s\n", extp->FeatureSupport&2?"supported":"unsupported"); in cfi_tell_features()
126 printk(" - Suspend Program: %s\n", extp->FeatureSupport&4?"supported":"unsupported"); in cfi_tell_features()
127 printk(" - Legacy Lock/Unlock: %s\n", extp->FeatureSupport&8?"supported":"unsupported"); in cfi_tell_features()
128 printk(" - Queued Erase: %s\n", extp->FeatureSupport&16?"supported":"unsupported"); in cfi_tell_features()
129 printk(" - Instant block lock: %s\n", extp->FeatureSupport&32?"supported":"unsupported"); in cfi_tell_features()
130 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-v4.19/fs/xfs/
Dxfs_trans_extfree.c66 struct xfs_extent *extp; in xfs_trans_free_extent() local
85 extp = &(efdp->efd_format.efd_extents[next_extent]); in xfs_trans_free_extent()
86 extp->ext_start = start_block; in xfs_trans_free_extent()
87 extp->ext_len = ext_len; in xfs_trans_free_extent()
141 struct xfs_extent *extp; in xfs_extent_free_log_item() local
155 extp = &efip->efi_format.efi_extents[next_extent]; in xfs_extent_free_log_item()
156 extp->ext_start = free->xefi_startblock; in xfs_extent_free_log_item()
157 extp->ext_len = free->xefi_blockcount; in xfs_extent_free_log_item()
235 struct xfs_extent *extp; in xfs_agfl_free_finish_item() local
266 extp = &(efdp->efd_format.efd_extents[next_extent]); in xfs_agfl_free_finish_item()
[all …]
Dxfs_extfree_item.c495 xfs_extent_t *extp; in xfs_efi_recover() local
507 extp = &efip->efi_format.efi_extents[i]; in xfs_efi_recover()
509 XFS_FSB_TO_DADDR(mp, extp->ext_start)); in xfs_efi_recover()
511 extp->ext_len == 0 || in xfs_efi_recover()
513 extp->ext_len >= mp->m_sb.sb_agblocks) { in xfs_efi_recover()
531 extp = &efip->efi_format.efi_extents[i]; in xfs_efi_recover()
532 error = xfs_trans_free_extent(tp, efdp, extp->ext_start, in xfs_efi_recover()
533 extp->ext_len, &oinfo, false); in xfs_efi_recover()