Lines Matching refs:rvalue

148                 const char *rvalue,  in config_parse_can_bitrate()  argument
158 assert(rvalue); in config_parse_can_bitrate()
161 r = parse_size(rvalue, 1000, &sz); in config_parse_can_bitrate()
164 "Failed to parse can bitrate '%s', ignoring: %m", rvalue); in config_parse_can_bitrate()
188 const char *rvalue, in config_parse_can_time_quanta() argument
197 assert(rvalue); in config_parse_can_time_quanta()
200 r = parse_nsec(rvalue, &val); in config_parse_can_time_quanta()
203 "Failed to parse can time quanta '%s', ignoring: %m", rvalue); in config_parse_can_time_quanta()
226 const char *rvalue, in config_parse_can_restart_usec() argument
235 assert(rvalue); in config_parse_can_restart_usec()
238 r = parse_sec(rvalue, &usec); in config_parse_can_restart_usec()
241 "Failed to parse CAN restart sec '%s', ignoring: %m", rvalue); in config_parse_can_restart_usec()
248 … "CAN RestartSec= must be in the range 0...%"PRIu32"ms, ignoring: %s", UINT32_MAX, rvalue); in config_parse_can_restart_usec()
264 const char *rvalue, in config_parse_can_control_mode() argument
274 assert(rvalue); in config_parse_can_control_mode()
278 if (isempty(rvalue)) { in config_parse_can_control_mode()
284 r = parse_boolean(rvalue); in config_parse_can_control_mode()
287 "Failed to parse CAN control mode '%s', ignoring: %s", lvalue, rvalue); in config_parse_can_control_mode()
304 const char *rvalue, in config_parse_can_termination() argument
313 assert(rvalue); in config_parse_can_termination()
316 if (isempty(rvalue)) { in config_parse_can_termination()
326 r = safe_atou16(rvalue, &network->can_termination); in config_parse_can_termination()
328 r = parse_boolean(rvalue); in config_parse_can_termination()
331 "Failed to parse CAN termination value, ignoring: %s", rvalue); in config_parse_can_termination()