Lines Matching refs:mem_space

275 	volatile uint16 data = *(volatile uint16 *)(sd->mem_space + reg);  in sdstd_rreg16()
285 *(volatile uint16 *)(sd->mem_space + reg) = (uint16) data; in sdstd_wreg16()
292 volatile uint16 data = *(volatile uint16 *)(sd->mem_space + reg); in sdstd_or_reg16()
295 *(volatile uint16 *)(sd->mem_space + reg) = (uint16)data; in sdstd_or_reg16()
302 volatile uint16 data = *(volatile uint16 *)(sd->mem_space + reg); in sdstd_mod_reg16()
306 *(volatile uint16 *)(sd->mem_space + reg) = (uint16)data; in sdstd_mod_reg16()
313 volatile uint32 data = *(volatile uint32 *)(sd->mem_space + reg); in sdstd_rreg()
320 *(volatile uint32 *)(sd->mem_space + reg) = (uint32)data; in sdstd_wreg()
329 volatile uint32 data = *(volatile uint32 *)(sd->mem_space + reg); in sdstd_or_reg()
331 *(volatile uint32 *)(sd->mem_space + reg) = (volatile uint32)data; in sdstd_or_reg()
336 volatile uint32 data = *(volatile uint32 *)(sd->mem_space + reg); in sdstd_mod_reg()
339 *(volatile uint32 *)(sd->mem_space + reg) = (volatile uint32)data; in sdstd_mod_reg()
348 *(volatile uint8 *)(sd->mem_space + reg) = (uint8)data; in sdstd_wreg8()
354 volatile uint8 data = *(volatile uint8 *)(sd->mem_space + reg); in sdstd_rreg8()
386 sd->mem_space = (volatile char *)sdstd_reg_map(osh, (ulong)bar0, SDIOH_REG_WINSZ); in sdioh_attach()
389 if (sd->mem_space == NULL) { in sdioh_attach()
395 sd_info(("%s:sd->mem_space = %p\n", __FUNCTION__, sd->mem_space)); in sdioh_attach()
418 if (sd->mem_space) { in sdioh_attach()
419 sdstd_reg_unmap(osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdioh_attach()
420 sd->mem_space = NULL; in sdioh_attach()
439 if (sd->mem_space) { in sdioh_attach()
440 sdstd_reg_unmap(osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdioh_attach()
441 sd->mem_space = NULL; in sdioh_attach()
469 if (sd->mem_space) { in sdioh_detach()
470 sdstd_reg_unmap(osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdioh_detach()
471 sd->mem_space = NULL; in sdioh_detach()
2033 if (sd->mem_space) { in sdstd_host_init()
2034 sdstd_reg_unmap(sd->osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdstd_host_init()
2035 sd->mem_space = NULL; in sdstd_host_init()
2046 sd->mem_space = (volatile char *)sdstd_reg_map(sd->osh, in sdstd_host_init()
2050 sd->mem_space = (volatile char *)sdstd_reg_map(sd->osh, in sdstd_host_init()
2070 if (sd->mem_space) { in sdstd_host_init()
2071 sdstd_reg_unmap(sd->osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdstd_host_init()
2072 sd->mem_space = NULL; in sdstd_host_init()
2085 sd->mem_space = (volatile char *)sdstd_reg_map(sd->osh, (int32)&bar, SDIOH_REG_WINSZ); in sdstd_host_init()
2088 sd->mem_space = (volatile char *)sdstd_reg_map(sd->osh, (uintptr)bar, SDIOH_REG_WINSZ); in sdstd_host_init()
2095 sd->mem_space)); in sdstd_host_init()