Lines Matching defs:config
102 /* No FCP Priority config data in flash */
104 "No FCP Priority config data.\n");
160 /* Only set config is allowed if config memory is not allocated */
226 "config data (%x).\n", FCP_PRIO_CFG_SIZE);
593 qla81xx_reset_loopback_mode(scsi_qla_host_t *vha, uint16_t *config,
605 if ((config[0] & INTERNAL_LOOPBACK_MASK) >> 1 ==
607 (config[0] & INTERNAL_LOOPBACK_MASK) >> 1 ==
609 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK;
612 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ;
620 "Set port config failed.\n");
664 qla81xx_set_loopback_mode(scsi_qla_host_t *vha, uint16_t *config,
676 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1);
678 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1);
682 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3);
688 "set port config failed.\n");
751 uint16_t config[4], new_config[4];
843 memset(config, 0, sizeof(config));
846 if (qla81xx_get_port_config(vha, config)) {
848 "Get port config failed.\n");
853 if ((config[0] & INTERNAL_LOOPBACK_MASK) != 0) {
867 config, new_config, elreq.options);
870 config, 1, 0);
872 rval = qla81xx_set_loopback_mode(vha, config,
910 /* Revert back to original port config
1256 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id);
1259 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0);
1262 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1);