Lines Matching refs:tb_nvm
38 int (*read_version)(struct tb_nvm *nvm);
39 int (*validate)(struct tb_nvm *nvm);
40 int (*write_headers)(struct tb_nvm *nvm);
56 static int intel_switch_nvm_version(struct tb_nvm *nvm) in intel_switch_nvm_version()
89 static int intel_switch_nvm_validate(struct tb_nvm *nvm) in intel_switch_nvm_validate()
136 static int intel_switch_nvm_write_headers(struct tb_nvm *nvm) in intel_switch_nvm_write_headers()
160 static int asmedia_switch_nvm_version(struct tb_nvm *nvm) in asmedia_switch_nvm_version()
199 static int intel_retimer_nvm_version(struct tb_nvm *nvm) in intel_retimer_nvm_version()
223 static int intel_retimer_nvm_validate(struct tb_nvm *nvm) in intel_retimer_nvm_validate()
285 struct tb_nvm *tb_nvm_alloc(struct device *dev) in tb_nvm_alloc()
288 struct tb_nvm *nvm; in tb_nvm_alloc()
354 int tb_nvm_read_version(struct tb_nvm *nvm) in tb_nvm_read_version()
375 int tb_nvm_validate(struct tb_nvm *nvm) in tb_nvm_validate()
410 int tb_nvm_write_headers(struct tb_nvm *nvm) in tb_nvm_write_headers()
428 int tb_nvm_add_active(struct tb_nvm *nvm, nvmem_reg_read_t reg_read) in tb_nvm_add_active()
465 int tb_nvm_write_buf(struct tb_nvm *nvm, unsigned int offset, void *val, in tb_nvm_write_buf()
493 int tb_nvm_add_non_active(struct tb_nvm *nvm, nvmem_reg_write_t reg_write) in tb_nvm_add_non_active()
525 void tb_nvm_free(struct tb_nvm *nvm) in tb_nvm_free()