Lines Matching refs:controller_ops
166 return nor->controller_ops->read_reg(nor, opcode, buf, len);
175 return nor->controller_ops->write_reg(nor, opcode, buf, len);
183 return nor->controller_ops->erase(nor, offs);
247 return nor->controller_ops->read(nor, from, len, buf);
307 return nor->controller_ops->write(nor, to, len, buf);
435 ret = nor->controller_ops->read_reg(nor, SPINOR_OP_RDID, id,
1187 if (nor->controller_ops && nor->controller_ops->prepare)
1188 ret = nor->controller_ops->prepare(nor);
1195 if (nor->controller_ops && nor->controller_ops->unprepare)
1196 nor->controller_ops->unprepare(nor);
1491 } else if (nor->controller_ops->erase) {
2165 (!nor->spimem && !nor->controller_ops) ||
2166 (!nor->spimem && nor->controller_ops &&
2167 (!nor->controller_ops->read ||
2168 !nor->controller_ops->write ||
2169 !nor->controller_ops->read_reg ||
2170 !nor->controller_ops->write_reg))) {
2175 if (nor->spimem && nor->controller_ops) {
2176 dev_err(nor->dev, "nor->spimem and nor->controller_ops are mutually exclusive, please set just one of them.\n");
2827 !nor->controller_ops)