Searched refs:cm_ops (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/thunderbolt/ |
H A D | domain.c | 138 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show() 217 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store() 246 deauthorization = !!tb->cm_ops->disapprove_switch; in deauthorization_show() 291 tb->cm_ops->get_boot_acl && in domain_attr_is_visible() 292 tb->cm_ops->set_boot_acl) in domain_attr_is_visible() 339 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb() 352 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb() 439 if (WARN_ON(!tb->cm_ops)) in tb_domain_add() 449 if (tb->cm_ops->driver_ready) { in tb_domain_add() 450 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add() [all …]
|
H A D | usb4.c | 114 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in __usb4_switch_op() local 124 if (cm_ops->usb4_switch_op) { in __usb4_switch_op() 127 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op() 689 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in usb4_switch_nvm_authenticate_status() local 694 if (cm_ops->usb4_switch_nvm_authenticate_status) { in usb4_switch_nvm_authenticate_status() 695 ret = cm_ops->usb4_switch_nvm_authenticate_status(sw, status); in usb4_switch_nvm_authenticate_status()
|
H A D | switch.c | 2325 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_suspend() local 2327 if (cm_ops->runtime_suspend_switch) in tb_switch_runtime_suspend() 2328 return cm_ops->runtime_suspend_switch(sw); in tb_switch_runtime_suspend() 2336 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_resume() local 2338 if (cm_ops->runtime_resume_switch) in tb_switch_runtime_resume() 2339 return cm_ops->runtime_resume_switch(sw); in tb_switch_runtime_resume()
|
H A D | icm.c | 2454 tb->cm_ops = &icm_fr_ops; in icm_probe() 2480 tb->cm_ops = &icm_ar_ops; in icm_probe() 2495 tb->cm_ops = &icm_tr_ops; in icm_probe() 2508 tb->cm_ops = &icm_icl_ops; in icm_probe() 2530 tb->cm_ops = &icm_icl_ops; in icm_probe() 2542 tb->cm_ops = &icm_tr_ops; in icm_probe()
|
H A D | tb.c | 3046 tb->cm_ops = &tb_cm_ops; in tb_probe()
|
/openbmc/linux/include/linux/ |
H A D | thunderbolt.h | 82 const struct tb_cm_ops *cm_ops; member
|