Lines Matching refs:atmel_pri
170 struct cfi_pri_atmel atmel_pri;
178 memcpy(&atmel_pri, extp, sizeof(atmel_pri));
181 printk(KERN_ERR "atmel Features: %02x\n", atmel_pri.Features);
183 if (atmel_pri.Features & 0x01) /* chip erase supported */
185 if (atmel_pri.Features & 0x02) /* erase suspend supported */
187 if (atmel_pri.Features & 0x04) /* program suspend supported */
189 if (atmel_pri.Features & 0x08) /* simultaneous operations supported */
191 if (atmel_pri.Features & 0x20) /* page mode read supported */
193 if (atmel_pri.Features & 0x40) /* queued erase supported */
195 if (atmel_pri.Features & 0x80) /* Protection bits supported */