Searched refs:cm_ops (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/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() 365 * managers are expected to call this and then fill in @cm_ops 438 if (WARN_ON(!tb->cm_ops)) in tb_domain_add() 448 if (tb->cm_ops 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() 688 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in usb4_switch_nvm_authenticate_status() local 693 if (cm_ops->usb4_switch_nvm_authenticate_status) { in usb4_switch_nvm_authenticate_status() 694 ret = cm_ops->usb4_switch_nvm_authenticate_status(sw, status); in usb4_switch_nvm_authenticate_status()
|
H A D | switch.c | 2159 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_suspend() local 2161 if (cm_ops->runtime_suspend_switch) in tb_switch_runtime_suspend() 2162 return cm_ops->runtime_suspend_switch(sw); in tb_switch_runtime_suspend() 2170 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_resume() local 2172 if (cm_ops->runtime_resume_switch) in tb_switch_runtime_resume() 2173 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 | 2448 tb->cm_ops = &tb_cm_ops; in tb_probe()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | domain.c | 141 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show() 222 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store() 283 tb->cm_ops->get_boot_acl && in domain_attr_is_visible() 284 tb->cm_ops->set_boot_acl) in domain_attr_is_visible() 332 * managers are expected to call this and then fill in @cm_ops 389 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb() 400 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb() 421 if (WARN_ON(!tb->cm_ops)) in tb_domain_add() 438 if (tb->cm_ops->driver_ready) { in tb_domain_add() 439 ret = tb->cm_ops in tb_domain_add() [all...] |
H A D | switch.c | 1781 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_suspend() local 1783 if (cm_ops->runtime_suspend_switch) in tb_switch_runtime_suspend() 1784 return cm_ops->runtime_suspend_switch(sw); in tb_switch_runtime_suspend() 1792 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in tb_switch_runtime_resume() local 1794 if (cm_ops->runtime_resume_switch) in tb_switch_runtime_resume() 1795 return cm_ops->runtime_resume_switch(sw); in tb_switch_runtime_resume()
|
H A D | icm.c | 2232 tb->cm_ops = &icm_fr_ops; in icm_probe() 2258 tb->cm_ops = &icm_ar_ops; in icm_probe() 2273 tb->cm_ops = &icm_tr_ops; in icm_probe() 2286 tb->cm_ops = &icm_icl_ops; in icm_probe() 2301 tb->cm_ops = &icm_icl_ops; in icm_probe() 2313 tb->cm_ops = &icm_tr_ops; in icm_probe()
|
H A D | tb.c | 1534 tb->cm_ops = &tb_cm_ops; in tb_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | thunderbolt.h | 66 * @cm_ops: Connection manager specific operations vector 79 const struct tb_cm_ops *cm_ops; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | thunderbolt.h | 69 * @cm_ops: Connection manager specific operations vector 82 const struct tb_cm_ops *cm_ops; member
|
Completed in 24 milliseconds