Home
last modified time | relevance | path

Searched refs:cm_ops (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/thunderbolt/
H A Ddomain.c139 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show()
218 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store()
247 deauthorization = !!tb->cm_ops->disapprove_switch; in deauthorization_show()
292 tb->cm_ops->get_boot_acl && in domain_attr_is_visible()
293 tb->cm_ops->set_boot_acl) in domain_attr_is_visible()
340 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb()
353 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb()
440 if (WARN_ON(!tb->cm_ops)) in tb_domain_add()
450 if (tb->cm_ops->driver_ready) { in tb_domain_add()
451 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add()
[all …]
H A Dusb4.c113 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in __usb4_switch_op() local
123 if (cm_ops->usb4_switch_op) { in __usb4_switch_op()
126 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op()
711 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in usb4_switch_nvm_authenticate_status() local
716 if (cm_ops->usb4_switch_nvm_authenticate_status) { in usb4_switch_nvm_authenticate_status()
717 ret = cm_ops->usb4_switch_nvm_authenticate_status(sw, status); in usb4_switch_nvm_authenticate_status()
H A Dswitch.c2355 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_suspend() local
2357 if (cm_ops->runtime_suspend_switch) in tb_switch_runtime_suspend()
2358 return cm_ops->runtime_suspend_switch(sw); in tb_switch_runtime_suspend()
2366 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_resume() local
2368 if (cm_ops->runtime_resume_switch) in tb_switch_runtime_resume()
2369 return cm_ops->runtime_resume_switch(sw); in tb_switch_runtime_resume()
H A Dicm.c2488 tb->cm_ops = &icm_fr_ops; in icm_probe()
2514 tb->cm_ops = &icm_ar_ops; in icm_probe()
2529 tb->cm_ops = &icm_tr_ops; in icm_probe()
2542 tb->cm_ops = &icm_icl_ops; in icm_probe()
2564 tb->cm_ops = &icm_icl_ops; in icm_probe()
2577 tb->cm_ops = &icm_tr_ops; in icm_probe()
H A Dtb.c3380 tb->cm_ops = &tb_cm_ops; in tb_probe()