PA_DWR = (PA_DWR & ~pa_dwr_mask) | pa_dwr_set; 
sa1111_set_io(SA1111_DEV(skt->dev), pa_dwr_mask, pa_dwr_set); 
jornada720_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state){  unsigned int pa_dwr_mask, pa_dwr_set;  int ret;printk("%s(): config socket %d vcc %d vpp %d\n", __FUNCTION__,	skt->nr, state->Vcc, state->Vpp);  switch (skt->nr) {  case 0:    pa_dwr_mask = SOCKET0_POWER | SOCKET0_3V;    switch (state->Vcc) {    default:    case 0:	pa_dwr_set = 0;					break;    case 33:	pa_dwr_set = SOCKET0_POWER | SOCKET0_3V;	break;    case 50:	pa_dwr_set = SOCKET0_POWER;			break;    }    break;  case 1:    pa_dwr_mask = SOCKET1_POWER;    switch (state->Vcc) {    default:    case 0:	pa_dwr_set = 0;					break;    case 33:	pa_dwr_set = SOCKET1_POWER;			break;    case 50:	pa_dwr_set = SOCKET1_POWER;			break;    }    break;  default:    return -1;  }  if (state->Vpp != state->Vcc && state->Vpp != 0) {    printk(KERN_ERR "%s(): slot cannot support VPP %u\n",	   __FUNCTION__, state->Vpp);    return -1;  }  ret = sa1111_pcmcia_configure_socket(skt, state);  if (ret == 0) {    unsigned long flags;    local_irq_save(flags);    PA_DWR = (PA_DWR & ~pa_dwr_mask) | pa_dwr_set;    local_irq_restore(flags);  }  return ret;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/821ca478867433502fc614b4be83e0362cd7e67e/sa1100_jornada720.c/buggy/drivers/pcmcia/sa1100_jornada720.c