Searched refs:cpd (Results 1 – 2 of 2) sorted by relevance
180 struct conn_param_data *cpd = conn_param_data_get(conn); in smp_notify_finished() local182 if (cpd != NULL) { in smp_notify_finished()183 k_sem_give(&cpd->smp_notify_sem); in smp_notify_finished()191 struct conn_param_data *cpd = conn_param_data_get(conn); in conn_param_set() local193 if (cpd != NULL) { in conn_param_set()197 (void)k_work_reschedule(&cpd->ework, K_MSEC(RETRY_TIME)); in conn_param_set()199 (void)k_work_cancel_delayable(&cpd->ework); in conn_param_set()208 struct conn_param_data *cpd = CONTAINER_OF(dwork, struct conn_param_data, dwork); in conn_param_on_pref_restore() local210 if (cpd != NULL) { in conn_param_on_pref_restore()211 conn_param_set(cpd->conn, CONN_PARAM_PREF); in conn_param_on_pref_restore()[all …]
46 def test_canopen_program_create(cpd, test_case, runner_config): argument70 mock = cpd.return_value82 cpd.assert_called_once()84 assert cpd.call_args == call(node_id=node_id,93 assert cpd.call_args == call(node_id=node_id,