Lines Matching refs:transfer

262 	flexspi_transfer_t transfer;  in flash_flexspi_hyperflash_wait_bus_busy()  local
267 transfer.deviceAddress = 0; in flash_flexspi_hyperflash_wait_bus_busy()
268 transfer.port = data->port; in flash_flexspi_hyperflash_wait_bus_busy()
269 transfer.cmdType = kFLEXSPI_Read; in flash_flexspi_hyperflash_wait_bus_busy()
270 transfer.SeqNumber = 2; in flash_flexspi_hyperflash_wait_bus_busy()
271 transfer.seqIndex = READ_STATUS; in flash_flexspi_hyperflash_wait_bus_busy()
272 transfer.data = &read_value; in flash_flexspi_hyperflash_wait_bus_busy()
273 transfer.dataSize = 2; in flash_flexspi_hyperflash_wait_bus_busy()
276 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_wait_bus_busy()
295 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_write_enable() local
298 transfer.deviceAddress = address; in flash_flexspi_hyperflash_write_enable()
299 transfer.port = data->port; in flash_flexspi_hyperflash_write_enable()
300 transfer.cmdType = kFLEXSPI_Command; in flash_flexspi_hyperflash_write_enable()
301 transfer.SeqNumber = 2; in flash_flexspi_hyperflash_write_enable()
302 transfer.seqIndex = WRITE_ENABLE; in flash_flexspi_hyperflash_write_enable()
304 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_write_enable()
315 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_check_vendor_id() local
317 transfer.deviceAddress = (0x555 * 2); in flash_flexspi_hyperflash_check_vendor_id()
318 transfer.port = data->port; in flash_flexspi_hyperflash_check_vendor_id()
319 transfer.cmdType = kFLEXSPI_Write; in flash_flexspi_hyperflash_check_vendor_id()
320 transfer.SeqNumber = 1; in flash_flexspi_hyperflash_check_vendor_id()
321 transfer.seqIndex = WRITE_DATA; in flash_flexspi_hyperflash_check_vendor_id()
322 transfer.data = (uint32_t *)writebuf; in flash_flexspi_hyperflash_check_vendor_id()
323 transfer.dataSize = 2; in flash_flexspi_hyperflash_check_vendor_id()
327 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_check_vendor_id()
333 transfer.deviceAddress = (0x10 * 2); in flash_flexspi_hyperflash_check_vendor_id()
334 transfer.port = data->port; in flash_flexspi_hyperflash_check_vendor_id()
335 transfer.cmdType = kFLEXSPI_Read; in flash_flexspi_hyperflash_check_vendor_id()
336 transfer.SeqNumber = 1; in flash_flexspi_hyperflash_check_vendor_id()
337 transfer.seqIndex = READ_DATA; in flash_flexspi_hyperflash_check_vendor_id()
338 transfer.data = buffer; in flash_flexspi_hyperflash_check_vendor_id()
339 transfer.dataSize = 8; in flash_flexspi_hyperflash_check_vendor_id()
341 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_check_vendor_id()
354 transfer.deviceAddress = 0; in flash_flexspi_hyperflash_check_vendor_id()
355 transfer.port = data->port; in flash_flexspi_hyperflash_check_vendor_id()
356 transfer.cmdType = kFLEXSPI_Write; in flash_flexspi_hyperflash_check_vendor_id()
357 transfer.SeqNumber = 1; in flash_flexspi_hyperflash_check_vendor_id()
358 transfer.seqIndex = WRITE_DATA; in flash_flexspi_hyperflash_check_vendor_id()
359 transfer.data = (uint32_t *)writebuf; in flash_flexspi_hyperflash_check_vendor_id()
360 transfer.dataSize = 2; in flash_flexspi_hyperflash_check_vendor_id()
362 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_check_vendor_id()
378 flexspi_transfer_t transfer = { in flash_flexspi_hyperflash_page_program() local
390 return memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_page_program()
500 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_erase() local
541 transfer.deviceAddress = offset; in flash_flexspi_hyperflash_erase()
542 transfer.port = data->port; in flash_flexspi_hyperflash_erase()
543 transfer.cmdType = kFLEXSPI_Command; in flash_flexspi_hyperflash_erase()
544 transfer.SeqNumber = 4; in flash_flexspi_hyperflash_erase()
545 transfer.seqIndex = ERASE_SECTOR; in flash_flexspi_hyperflash_erase()
547 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_erase()