Lines Matching refs:flash_writeb
52 static inline void flash_writeb(const AspeedSMCTestData *data, uint64_t offset, in flash_writeb() function
148 flash_writeb(data, 0, RESET_ENABLE); in flash_reset()
149 flash_writeb(data, 0, RESET_MEMORY); in flash_reset()
150 flash_writeb(data, 0, WREN); in flash_reset()
151 flash_writeb(data, 0, BULK_ERASE); in flash_reset()
152 flash_writeb(data, 0, WRDI); in flash_reset()
165 flash_writeb(data, 0, EN_4BYTE_ADDR); in read_page()
166 flash_writeb(data, 0, READ); in read_page()
217 flash_writeb(test_data, 0, JEDEC_READ); in aspeed_smc_test_read_jedec()
247 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_erase_sector()
248 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_erase_sector()
249 flash_writeb(test_data, 0, PP); in aspeed_smc_test_erase_sector()
265 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_erase_sector()
266 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_erase_sector()
267 flash_writeb(test_data, 0, ERASE_SECTOR); in aspeed_smc_test_erase_sector()
299 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_erase_all()
300 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_erase_all()
301 flash_writeb(test_data, 0, PP); in aspeed_smc_test_erase_all()
317 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_erase_all()
318 flash_writeb(test_data, 0, BULK_ERASE); in aspeed_smc_test_erase_all()
341 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_write_page()
342 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_page()
343 flash_writeb(test_data, 0, PP); in aspeed_smc_test_write_page()
383 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_read_page_mem()
384 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_read_page_mem()
385 flash_writeb(test_data, 0, PP); in aspeed_smc_test_read_page_mem()
425 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_write_page_mem()
426 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_page_mem()
454 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_read_status_reg()
463 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_read_status_reg()
464 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_read_status_reg()
473 flash_writeb(test_data, 0, WRDI); in aspeed_smc_test_read_status_reg()
474 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_read_status_reg()
494 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_status_reg_write_protection()
496 flash_writeb(test_data, 0, WRSR); in aspeed_smc_test_status_reg_write_protection()
497 flash_writeb(test_data, 0, SRWD); in aspeed_smc_test_status_reg_write_protection()
498 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_status_reg_write_protection()
505 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_status_reg_write_protection()
507 flash_writeb(test_data, 0, WRSR); in aspeed_smc_test_status_reg_write_protection()
508 flash_writeb(test_data, 0, 0); in aspeed_smc_test_status_reg_write_protection()
509 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_status_reg_write_protection()
517 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_status_reg_write_protection()
519 flash_writeb(test_data, 0, WRSR); in aspeed_smc_test_status_reg_write_protection()
520 flash_writeb(test_data, 0, SRWD); in aspeed_smc_test_status_reg_write_protection()
521 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_status_reg_write_protection()
528 flash_writeb(test_data, 0 , WREN); in aspeed_smc_test_status_reg_write_protection()
530 flash_writeb(test_data, 0, WRSR); in aspeed_smc_test_status_reg_write_protection()
531 flash_writeb(test_data, 0, 0); in aspeed_smc_test_status_reg_write_protection()
532 flash_writeb(test_data, 0, RDSR); in aspeed_smc_test_status_reg_write_protection()
557 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_block_protect()
558 flash_writeb(test_data, 0, BULK_ERASE); in aspeed_smc_test_write_block_protect()
559 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_block_protect()
560 flash_writeb(test_data, 0, WRSR); in aspeed_smc_test_write_block_protect()
561 flash_writeb(test_data, 0, bp_bits); in aspeed_smc_test_write_block_protect()
562 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_write_block_protect()
563 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_block_protect()
603 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_block_protect_bottom_bit()
604 flash_writeb(test_data, 0, BULK_ERASE); in aspeed_smc_test_write_block_protect_bottom_bit()
605 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_block_protect_bottom_bit()
606 flash_writeb(test_data, 0, WRSR); in aspeed_smc_test_write_block_protect_bottom_bit()
607 flash_writeb(test_data, 0, bp_bits); in aspeed_smc_test_write_block_protect_bottom_bit()
608 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_write_block_protect_bottom_bit()
609 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_block_protect_bottom_bit()
647 flash_writeb(test_data, 0, EN_4BYTE_ADDR); in aspeed_smc_test_write_page_qpi()
648 flash_writeb(test_data, 0, WREN); in aspeed_smc_test_write_page_qpi()
649 flash_writeb(test_data, 0, PP); in aspeed_smc_test_write_page_qpi()