Searched refs:cpd (Results 1 – 2 of 2) sorted by relevance
167 struct conn_param_data *cpd = conn_param_data_get(conn); in smp_notify_finished() local169 if (cpd != NULL) { in smp_notify_finished()170 k_sem_give(&cpd->smp_notify_sem); in smp_notify_finished()178 struct conn_param_data *cpd = conn_param_data_get(conn); in conn_param_set() local180 if (cpd != NULL) { in conn_param_set()184 (void)k_work_reschedule(&cpd->ework, K_MSEC(RETRY_TIME)); in conn_param_set()186 (void)k_work_cancel_delayable(&cpd->ework); in conn_param_set()194 struct conn_param_data *cpd = CONTAINER_OF(work, struct conn_param_data, dwork); in conn_param_on_pref_restore() local196 if (cpd != NULL) { in conn_param_on_pref_restore()197 conn_param_set(cpd->conn, CONN_PARAM_PREF); in conn_param_on_pref_restore()[all …]
45 def test_canopen_program_create(cpd, test_case, runner_config): argument67 mock = cpd.return_value79 cpd.assert_called_once()81 assert cpd.call_args == call(node_id=node_id,89 assert cpd.call_args == call(node_id=node_id,