Lines Matching refs:config
233 u32 config; in sb1250pc_get_status() local
238 config = sb1250pc_read_config(); in sb1250pc_get_status()
255 DPRINTK(" [config(0x%4.4x) status(0x%4.4x)]", config, status); in sb1250pc_get_status()
287 static uint32_t sibyte_set_power(uint32_t config, int vcc) in sibyte_set_power() argument
289 config &= ~(M_PCMCIA_CFG_3VEN | M_PCMCIA_CFG_5VEN); in sibyte_set_power()
291 config |= M_PCMCIA_CFG_3VEN; in sibyte_set_power()
293 config |= M_PCMCIA_CFG_5VEN; in sibyte_set_power()
296 sb1250pc_write_config(config); in sibyte_set_power()
297 return config; in sibyte_set_power()
302 uint32_t config; in sb1250pc_set_socket() local
308 config = sb1250pc_read_config(); in sb1250pc_set_socket()
310 config = sibyte_set_power(config, state->Vcc); in sb1250pc_set_socket()
319 config &= ~M_PCMCIA_CFG_CDMASK; in sb1250pc_set_socket()
321 config |= M_PCMCIA_CFG_CDMASK; in sb1250pc_set_socket()
323 config &= ~M_PCMCIA_CFG_RESET; in sb1250pc_set_socket()
326 config |= M_PCMCIA_CFG_RESET; in sb1250pc_set_socket()
328 sb1250pc_write_config(config); in sb1250pc_set_socket()
351 u32 config; in sb1250pc_set_io_map() local
367 config = sb1250pc_read_config(); in sb1250pc_set_io_map()
371 config |= M_PCMCIA_CFG_ATTRMEM; in sb1250pc_set_io_map()
374 config &= ~M_PCMCIA_CFG_ATTRMEM; in sb1250pc_set_io_map()
376 sb1250pc_write_config(config); in sb1250pc_set_io_map()
466 u32 status, config; in sb1250pc_proc_status() local
469 config = sb1250pc_read_config(); in sb1250pc_proc_status()
471 p += sprintf(p, "config(0x%4.4x) status(0x%4.4x)\n", config, status); in sb1250pc_proc_status()
503 u32 config, status; in sb1250pc_init() local
515 config = sb1250pc_read_config(); in sb1250pc_init()
516 config = M_PCMCIA_CFG_CDMASK | M_PCMCIA_CFG_WPMASK | M_PCMCIA_CFG_RDYMASK; in sb1250pc_init()
517 sb1250pc_write_config(config); in sb1250pc_init()
542 DPRINTK(PFX " config(0x%4.4x) status(0x%4.4x)\n", config, status); in sb1250pc_init()