Lines Matching refs:vops
53 const struct tb_nvm_vendor_ops *vops; member
287 const struct tb_nvm_vendor_ops *vops = NULL; in tb_nvm_alloc() local
298 vops = v->vops; in tb_nvm_alloc()
303 if (!vops) { in tb_nvm_alloc()
315 vops = v->vops; in tb_nvm_alloc()
320 if (!vops) { in tb_nvm_alloc()
341 nvm->vops = vops; in tb_nvm_alloc()
356 const struct tb_nvm_vendor_ops *vops = nvm->vops; in tb_nvm_read_version() local
358 if (vops && vops->read_version) in tb_nvm_read_version()
359 return vops->read_version(nvm); in tb_nvm_read_version()
377 const struct tb_nvm_vendor_ops *vops = nvm->vops; in tb_nvm_validate() local
383 if (!vops) in tb_nvm_validate()
397 return vops->validate ? vops->validate(nvm) : 0; in tb_nvm_validate()
412 const struct tb_nvm_vendor_ops *vops = nvm->vops; in tb_nvm_write_headers() local
414 return vops->write_headers ? vops->write_headers(nvm) : 0; in tb_nvm_write_headers()