Lines Matching refs:part
52 struct mtd_part *part = PART(mtd); in part_read() local
57 return part->master->read (part->master, from + part->offset, in part_read()
64 struct mtd_part *part = PART(mtd); in part_point() local
69 return part->master->point (part->master, from + part->offset, in part_point()
74 struct mtd_part *part = PART(mtd); in part_unpoint() local
76 part->master->unpoint (part->master, addr, from + part->offset, len); in part_unpoint()
83 struct mtd_part *part = PART(mtd); in part_read_ecc() local
88 return part->master->read_ecc (part->master, from + part->offset, in part_read_ecc()
95 struct mtd_part *part = PART(mtd); in part_read_oob() local
100 return part->master->read_oob (part->master, from + part->offset, in part_read_oob()
107 struct mtd_part *part = PART(mtd); in part_read_user_prot_reg() local
108 return part->master->read_user_prot_reg (part->master, from, in part_read_user_prot_reg()
115 struct mtd_part *part = PART(mtd); in part_read_fact_prot_reg() local
116 return part->master->read_user_prot_reg (part->master, from, in part_read_fact_prot_reg()
123 struct mtd_part *part = PART(mtd); in part_write() local
130 return part->master->write (part->master, to + part->offset, in part_write()
138 struct mtd_part *part = PART(mtd); in part_write_ecc() local
145 return part->master->write_ecc (part->master, to + part->offset, in part_write_ecc()
152 struct mtd_part *part = PART(mtd); in part_write_oob() local
159 return part->master->write_oob (part->master, to + part->offset, in part_write_oob()
166 struct mtd_part *part = PART(mtd); in part_write_user_prot_reg() local
167 return part->master->write_user_prot_reg (part->master, from, in part_write_user_prot_reg()
174 struct mtd_part *part = PART(mtd); in part_writev() local
177 return part->master->writev (part->master, vecs, count, in part_writev()
178 to + part->offset, retlen); in part_writev()
184 struct mtd_part *part = PART(mtd); in part_readv() local
185 return part->master->readv (part->master, vecs, count, in part_readv()
186 from + part->offset, retlen); in part_readv()
193 struct mtd_part *part = PART(mtd); in part_writev_ecc() local
196 return part->master->writev_ecc (part->master, vecs, count, in part_writev_ecc()
197 to + part->offset, retlen, in part_writev_ecc()
205 struct mtd_part *part = PART(mtd); in part_readv_ecc() local
206 return part->master->readv_ecc (part->master, vecs, count, in part_readv_ecc()
207 from + part->offset, retlen, in part_readv_ecc()
213 struct mtd_part *part = PART(mtd); in part_erase() local
218 instr->addr += part->offset; in part_erase()
219 return part->master->erase(part->master, instr); in part_erase()
224 struct mtd_part *part = PART(mtd); in part_lock() local
227 return part->master->lock(part->master, ofs + part->offset, len); in part_lock()
232 struct mtd_part *part = PART(mtd); in part_unlock() local
235 return part->master->unlock(part->master, ofs + part->offset, len); in part_unlock()
240 struct mtd_part *part = PART(mtd); in part_sync() local
241 part->master->sync(part->master); in part_sync()
246 struct mtd_part *part = PART(mtd); in part_suspend() local
247 return part->master->suspend(part->master); in part_suspend()
252 struct mtd_part *part = PART(mtd); in part_resume() local
253 part->master->resume(part->master); in part_resume()