Lines Matching refs:new_config
579 uint16_t new_config[4];
585 memset(new_config, 0 , sizeof(new_config));
590 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK;
591 ql_dbg(ql_dbg_user, vha, 0x70bf, "new_config[0]=%02x\n",
592 (new_config[0] & INTERNAL_LOOPBACK_MASK));
593 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ;
598 ret = qla81xx_set_port_config(vha, new_config);
646 uint16_t *new_config, uint16_t mode)
657 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1);
659 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1);
661 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK));
663 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3);
666 ret = qla81xx_set_port_config(vha, new_config);
691 ret = qla81xx_reset_loopback_mode(vha, new_config, 0, 0);
732 uint16_t config[4], new_config[4];
825 memset(new_config, 0, sizeof(new_config));
848 config, new_config, elreq.options);
854 new_config, elreq.options);
888 if (new_config[0]) {
895 new_config, 0, 1);