Lines Matching refs:new_config
598 uint16_t new_config[4];
604 memset(new_config, 0 , sizeof(new_config));
609 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK;
610 ql_dbg(ql_dbg_user, vha, 0x70bf, "new_config[0]=%02x\n",
611 (new_config[0] & INTERNAL_LOOPBACK_MASK));
612 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ;
617 ret = qla81xx_set_port_config(vha, new_config);
665 uint16_t *new_config, uint16_t mode)
676 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1);
678 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1);
680 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK));
682 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3);
685 ret = qla81xx_set_port_config(vha, new_config);
710 ret = qla81xx_reset_loopback_mode(vha, new_config, 0, 0);
751 uint16_t config[4], new_config[4];
844 memset(new_config, 0, sizeof(new_config));
867 config, new_config, elreq.options);
873 new_config, elreq.options);
907 if (new_config[0]) {
914 new_config, 0, 1);