Lines Matching defs:config
266 * ensuring that the static config upload procedure was successful.
308 struct sja1105_static_config *config = &priv->static_config;
314 valid = sja1105_static_config_check_valid(config);
321 /* Write Device ID and config tables to config_buf */
322 sja1105_static_config_pack(config_buf, config);
343 struct sja1105_static_config *config = &priv->static_config;
351 buf_len = sja1105_static_config_get_length(config);
358 dev_err(dev, "Invalid config, cannot upload\n");
386 /* Upload the static config to the device */
387 rc = sja1105_xfer_buf(priv, SPI_WRITE, regs->config,
390 dev_err(dev, "Failed to upload config, retrying...\n");
393 /* Check that SJA1105 responded well to the config upload */
399 dev_err(dev, "Mismatch between hardware and static config "
401 config->device_id, priv->info->device_id);
406 "the uploaded config, retrying...\n");
411 "the uploaded config, retrying...\n");
425 dev_err(dev, "Failed to upload config to device, giving up\n");
442 .config = 0x020000,
476 .config = 0x020000,