Lines Matching refs:spimem

29 	ret = spi_mem_exec_op(spinand->spimem, &op);  in spinand_read_reg_op()
43 return spi_mem_exec_op(spinand->spimem, &op); in spinand_write_reg_op()
168 struct device *dev = &spinand->spimem->spi->dev; in spinand_init_cfg_cache()
346 return spi_mem_exec_op(spinand->spimem, &op); in spinand_write_enable_op()
356 return spi_mem_exec_op(spinand->spimem, &op); in spinand_load_page_op()
480 return spi_mem_exec_op(spinand->spimem, &op); in spinand_program_op()
490 return spi_mem_exec_op(spinand->spimem, &op); in spinand_erase_op()
503 ret = spi_mem_poll_status(spinand->spimem, &op, STATUS_BUSY, 0, in spinand_wait()
536 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_read_id_op()
548 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_reset_op()
853 desc = devm_spi_mem_dirmap_create(&spinand->spimem->spi->dev, in spinand_create_dirmap()
854 spinand->spimem, &info); in spinand_create_dirmap()
861 desc = devm_spi_mem_dirmap_create(&spinand->spimem->spi->dev, in spinand_create_dirmap()
862 spinand->spimem, &info); in spinand_create_dirmap()
876 spinand->dirmaps = devm_kzalloc(&spinand->spimem->spi->dev, in spinand_create_dirmaps()
995 ret = spi_mem_adjust_op_size(spinand->spimem, &op); in spinand_select_op_variant()
999 if (!spi_mem_supports_op(spinand->spimem, &op)) in spinand_select_op_variant()
1079 struct device *dev = &spinand->spimem->spi->dev; in spinand_detect()
1100 dev_info(&spinand->spimem->spi->dev, in spinand_detect()
1102 dev_info(&spinand->spimem->spi->dev, in spinand_detect()
1112 struct device *dev = &spinand->spimem->spi->dev; in spinand_init_flash()
1171 struct device *dev = &spinand->spimem->spi->dev; in spinand_init()
1291 spinand->spimem = mem; in spinand_probe()