Lines Matching defs:config
240 * ensuring that the static config upload procedure was successful.
282 struct sja1105_static_config *config = &priv->static_config;
288 valid = sja1105_static_config_check_valid(config,
296 /* Write Device ID and config tables to config_buf */
297 sja1105_static_config_pack(config_buf, config);
317 struct sja1105_static_config *config = &priv->static_config;
326 buf_len = sja1105_static_config_get_length(config);
333 dev_err(dev, "Invalid config, cannot upload\n");
361 /* Upload the static config to the device */
362 rc = sja1105_xfer_buf(priv, SPI_WRITE, regs->config,
365 dev_err(dev, "Failed to upload config, retrying...\n");
368 /* Check that SJA1105 responded well to the config upload */
374 dev_err(dev, "Mismatch between hardware and static config "
376 config->device_id, priv->info->device_id);
381 "the uploaded config, retrying...\n");
386 "the uploaded config, retrying...\n");
400 dev_err(dev, "Failed to upload config to device, giving up\n");
417 .config = 0x020000,
453 .config = 0x020000,
492 .config = 0x020000,