Lines Matching +full:data +full:- +full:valid +full:- +full:time

5  * SPDX-License-Identifier: Apache-2.0
29 /* Data structure */
67 /* The 8-bit command. 1 x I/O read command. */
73 /* The 8-bit mode byte. This value is 0xFFFFFFFF when there is no mode present. */
79 /* The width of the data transfer. */
92 * https://iot-webserver.aus.cypress.com/projects/iot_release/
93 * ASSETS/repo/mtb-pdl-cat1/develop/Latest/deploy/docs/
127 /* Specifies the command to read the QE-containing status register. */
129 /* Specifies the command to read the WIP-containing status register. */
133 /* Specifies the command to write into the QE-containing status register. */
139 /* The max time for the erase type-1 cycle-time in ms. */
141 /* The max time for the chip-erase cycle-time in ms. */
143 /* The max time for the page-program cycle-time in us. */
158 /* Specifies data for memory with hybrid sectors */
160 /* Specifies the command to read the OE-containing status register. */
162 /* Specifies the command to write the OE-containing status register. */
178 /* The data-line selection options for a slave device. */
181 * Valid when the memory-mapped mode is enabled.
185 * The size is allocated from the base address. Valid when the memory mapped mode is
190 * Valid when the memory mapped mode is enabled.
205 struct ifx_cat1_flash_data *data = dev->data; in flash_ifx_sem_take() local
207 k_sem_take(&data->sem, K_FOREVER); in flash_ifx_sem_take()
212 struct ifx_cat1_flash_data *data = dev->data; in flash_ifx_sem_give() local
214 k_sem_give(&data->sem); in flash_ifx_sem_give()
217 static int ifx_cat1_flash_read(const struct device *dev, off_t offset, void *data, size_t data_len) in ifx_cat1_flash_read() argument
228 rslt = cy_serial_flash_qspi_read(offset, data_len, data); in ifx_cat1_flash_read()
231 ret = -EIO; in ifx_cat1_flash_read()
238 static int ifx_cat1_flash_write(const struct device *dev, off_t offset, const void *data, in ifx_cat1_flash_write() argument
249 return -EINVAL; in ifx_cat1_flash_write()
254 rslt = cy_serial_flash_qspi_write(offset, data_len, data); in ifx_cat1_flash_write()
257 ret = -EIO; in ifx_cat1_flash_write()
270 return -EINVAL; in ifx_cat1_flash_erase()
278 ret = -EIO; in ifx_cat1_flash_erase()
315 struct ifx_cat1_flash_data *data = dev->data; in ifx_cat1_flash_init() local
324 k_sem_init(&data->sem, 1, 1); in ifx_cat1_flash_init()