Lines Matching refs:spinand
67 static int w25m02gv_select_target(struct spinand_device *spinand, in w25m02gv_select_target() argument
74 spinand->scratchbuf, in w25m02gv_select_target()
77 *spinand->scratchbuf = target; in w25m02gv_select_target()
78 return spi_mem_exec_op(spinand->slave, &op); in w25m02gv_select_target()
106 static int winbond_spinand_detect(struct spinand_device *spinand) in winbond_spinand_detect() argument
108 u8 *id = spinand->id.data; in winbond_spinand_detect()
118 ret = spinand_match_and_init(spinand, winbond_spinand_table, in winbond_spinand_detect()
126 static int winbond_spinand_init(struct spinand_device *spinand) in winbond_spinand_init() argument
128 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
136 spinand_select_target(spinand, i); in winbond_spinand_init()
137 spinand_upd_cfg(spinand, WINBOND_CFG_BUF_READ, in winbond_spinand_init()