Lines Matching defs:extack

93 		  struct netlink_ext_ack *extack)
99 ret = ops->mode_get(dpll, dpll_priv(dpll), &mode, extack);
110 struct netlink_ext_ack *extack)
120 ret = ops->mode_get(dpll, dpll_priv(dpll), &mode, extack);
131 struct netlink_ext_ack *extack)
139 &status_error, extack);
155 struct netlink_ext_ack *extack)
163 ret = ops->temp_get(dpll, dpll_priv(dpll), &temp, extack);
175 struct netlink_ext_ack *extack)
185 dpll_priv(dpll), &prio, extack);
197 struct netlink_ext_ack *extack)
207 dpll, dpll_priv(dpll), &state, extack);
219 struct netlink_ext_ack *extack)
227 dpll_priv(dpll), &direction, extack);
239 struct netlink_ext_ack *extack)
250 &phase_adjust, extack);
262 struct netlink_ext_ack *extack)
273 extack);
285 struct netlink_ext_ack *extack)
295 dpll, dpll_priv(dpll), &ffo, extack);
306 struct dpll_pin_ref *ref, struct netlink_ext_ack *extack)
317 dpll_priv(dpll), &freq, extack);
359 struct netlink_ext_ack *extack)
376 ppin, parent_priv, &state, extack);
401 struct netlink_ext_ack *extack)
415 ret = dpll_msg_add_pin_on_dpll_state(msg, pin, ref, extack);
418 ret = dpll_msg_add_pin_prio(msg, pin, ref, extack);
421 ret = dpll_msg_add_pin_direction(msg, pin, ref, extack);
424 ret = dpll_msg_add_phase_offset(msg, pin, ref, extack);
439 struct netlink_ext_ack *extack)
471 ret = dpll_msg_add_pin_freq(msg, pin, ref, extack);
480 ret = dpll_msg_add_pin_phase_adjust(msg, pin, ref, extack);
483 ret = dpll_msg_add_ffo(msg, pin, ref, extack);
487 ret = dpll_msg_add_pin_dplls(msg, pin, extack);
489 ret = dpll_msg_add_pin_parents(msg, pin, ref, extack);
496 struct netlink_ext_ack *extack)
508 ret = dpll_msg_add_temp(msg, dpll, extack);
511 ret = dpll_msg_add_lock_status(msg, dpll, extack);
514 ret = dpll_msg_add_mode(msg, dpll, extack);
517 ret = dpll_msg_add_mode_supported(msg, dpll, extack);
679 struct netlink_ext_ack *extack)
689 NL_SET_ERR_MSG_ATTR(extack, a, "frequency is not supported by the device");
696 NL_SET_ERR_MSG(extack, "frequency set not supported by the device");
704 dpll_priv(dpll), &old_freq, extack);
706 NL_SET_ERR_MSG(extack, "unable to get old frequency value");
716 dpll, dpll_priv(dpll), freq, extack);
719 NL_SET_ERR_MSG_FMT(extack, "frequency set failed for dpll_id:%u",
735 dpll, dpll_priv(dpll), old_freq, extack))
736 NL_SET_ERR_MSG(extack, "set frequency rollback failed");
744 struct netlink_ext_ack *extack)
756 NL_SET_ERR_MSG(extack, "state changing is not allowed");
772 state, extack);
784 struct netlink_ext_ack *extack)
792 NL_SET_ERR_MSG(extack, "state changing is not allowed");
801 dpll, dpll_priv(dpll), state, extack);
811 u32 prio, struct netlink_ext_ack *extack)
819 NL_SET_ERR_MSG(extack, "prio changing is not allowed");
828 dpll_priv(dpll), prio, extack);
839 struct netlink_ext_ack *extack)
847 NL_SET_ERR_MSG(extack, "direction changing is not allowed");
856 dpll, dpll_priv(dpll), direction, extack);
866 struct netlink_ext_ack *extack)
878 NL_SET_ERR_MSG_ATTR(extack, phase_adj_attr,
886 NL_SET_ERR_MSG(extack, "phase adjust not supported");
895 extack);
897 NL_SET_ERR_MSG(extack, "unable to get old phase adjust value");
909 extack);
912 NL_SET_ERR_MSG_FMT(extack,
930 extack))
931 NL_SET_ERR_MSG(extack, "set phase adjust rollback failed");
938 struct netlink_ext_ack *extack)
949 dpll_pin_parent_device_nl_policy, extack);
951 NL_SET_ERR_MSG(extack, "device parent id expected");
957 NL_SET_ERR_MSG(extack, "parent device not found");
962 NL_SET_ERR_MSG(extack, "pin not connected to given parent device");
967 ret = dpll_pin_state_set(dpll, pin, state, extack);
973 ret = dpll_pin_prio_set(dpll, pin, prio, extack);
979 ret = dpll_pin_direction_set(pin, dpll, direction, extack);
988 struct netlink_ext_ack *extack)
995 dpll_pin_parent_pin_nl_policy, extack);
997 NL_SET_ERR_MSG(extack, "device parent id expected");
1005 ret = dpll_pin_on_pin_state_set(pin, ppin_idx, state, extack);
1023 ret = dpll_pin_freq_set(pin, a, info->extack);
1028 ret = dpll_pin_phase_adj_set(pin, a, info->extack);
1033 ret = dpll_pin_parent_device_set(pin, a, info->extack);
1038 ret = dpll_pin_parent_pin_set(pin, a, info->extack);
1052 struct netlink_ext_ack *extack)
1079 NL_SET_ERR_MSG(extack, "multiple matches");
1086 NL_SET_ERR_MSG(extack, "not found");
1139 NL_SET_ERR_MSG(info->extack, "missing attributes");
1144 info->extack);
1146 NL_SET_ERR_MSG(info->extack, "duplicated attribute");
1201 ret = dpll_cmd_pin_get_one(msg, pin, info->extack);
1232 ret = dpll_cmd_pin_get_one(skb, pin, cb->extack);
1257 enum dpll_type type, struct netlink_ext_ack *extack)
1271 NL_SET_ERR_MSG(extack, "multiple matches");
1278 NL_SET_ERR_MSG(extack, "not found");
1316 NL_SET_ERR_MSG(info->extack, "missing attributes");
1319 return dpll_device_find(clock_id, mod_name_attr, type, info->extack);
1321 NL_SET_ERR_MSG(info->extack, "duplicated attribute");
1372 ret = dpll_device_get_one(dpll, msg, info->extack);
1406 ret = dpll_device_get_one(dpll, skb, cb->extack);
1434 NL_SET_ERR_MSG(info->extack, "device not found");
1479 NL_SET_ERR_MSG(info->extack, "pin not found");