Home
last modified time | relevance | path

Searched refs:tb_nvm (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/thunderbolt/
H A Dnvm.c38 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()
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()
[all …]
H A Dtb.h51 struct tb_nvm { struct
191 struct tb_nvm *nvm;
331 struct tb_nvm *nvm;
768 struct tb_nvm *tb_nvm_alloc(struct device *dev);
769 int tb_nvm_read_version(struct tb_nvm *nvm);
770 int tb_nvm_validate(struct tb_nvm *nvm);
771 int tb_nvm_write_headers(struct tb_nvm *nvm);
772 int tb_nvm_add_active(struct tb_nvm *nvm, nvmem_reg_read_t reg_read);
773 int tb_nvm_write_buf(struct tb_nvm *nvm, unsigned int offset, void *val,
775 int tb_nvm_add_non_active(struct tb_nvm *nvm, nvmem_reg_write_t reg_write);
[all …]
H A Dretimer.c37 struct tb_nvm *nvm = priv; in nvm_read()
60 struct tb_nvm *nvm = priv; in nvm_write()
75 struct tb_nvm *nvm; in tb_retimer_nvm_add()
H A Dswitch.c306 struct tb_nvm *nvm = priv; in nvm_read()
329 struct tb_nvm *nvm = priv; in nvm_write()
350 struct tb_nvm *nvm; in tb_switch_nvm_add()
397 struct tb_nvm *nvm; in tb_switch_nvm_remove()