Lines Matching refs:vops
49 const struct tb_nvm_vendor_ops *vops; member
283 const struct tb_nvm_vendor_ops *vops = NULL; in tb_nvm_alloc() local
294 vops = v->vops; in tb_nvm_alloc()
299 if (!vops) { in tb_nvm_alloc()
311 vops = v->vops; in tb_nvm_alloc()
316 if (!vops) { in tb_nvm_alloc()
337 nvm->vops = vops; in tb_nvm_alloc()
352 const struct tb_nvm_vendor_ops *vops = nvm->vops; in tb_nvm_read_version() local
354 if (vops && vops->read_version) in tb_nvm_read_version()
355 return vops->read_version(nvm); in tb_nvm_read_version()
373 const struct tb_nvm_vendor_ops *vops = nvm->vops; in tb_nvm_validate() local
379 if (!vops) in tb_nvm_validate()
393 return vops->validate ? vops->validate(nvm) : 0; in tb_nvm_validate()
408 const struct tb_nvm_vendor_ops *vops = nvm->vops; in tb_nvm_write_headers() local
410 return vops->write_headers ? vops->write_headers(nvm) : 0; in tb_nvm_write_headers()