Lines Matching +full:write +full:- +full:protect
4 * SPDX-License-Identifier: Apache-2.0
78 return -EIO; in mb85rs64v_read_id()
82 return -EIO; in mb85rs64v_read_id()
86 return -EIO; in mb85rs64v_read_id()
90 return -EIO; in mb85rs64v_read_id()
94 return -EIO; in mb85rs64v_read_id()
105 /* disable write protect */ in write_bytes()
109 printk("unable to disable write protect\n"); in write_bytes()
110 return -EIO; in write_bytes()
113 /* write cmd */ in write_bytes()
117 printk("Error during SPI write\n"); in write_bytes()
118 return -EIO; in write_bytes()
134 return -EIO; in read_bytes()
150 printk("SPI device %s is not ready\n", spi->name); in main()
164 /* Do one-byte read/write */ in main()
201 /* Do multi-byte read/write */ in main()
208 /* write them to the FRAM */ in main()
231 err = -EIO; in main()