Lines Matching refs:mem_space

255 	volatile uint16 data = *(volatile uint16 *)(sd->mem_space + reg);  in sdstd_rreg16()
264 *(volatile uint16 *)(sd->mem_space + reg) = (uint16) data; in sdstd_wreg16()
271 volatile uint16 data = *(volatile uint16 *)(sd->mem_space + reg); in sdstd_or_reg16()
274 *(volatile uint16 *)(sd->mem_space + reg) = (uint16)data; in sdstd_or_reg16()
281 volatile uint16 data = *(volatile uint16 *)(sd->mem_space + reg); in sdstd_mod_reg16()
285 *(volatile uint16 *)(sd->mem_space + reg) = (uint16)data; in sdstd_mod_reg16()
292 volatile uint32 data = *(volatile uint32 *)(sd->mem_space + reg); in sdstd_rreg()
299 *(volatile uint32 *)(sd->mem_space + reg) = (uint32)data; in sdstd_wreg()
308 *(volatile uint8 *)(sd->mem_space + reg) = (uint8)data; in sdstd_wreg8()
314 volatile uint8 data = *(volatile uint8 *)(sd->mem_space + reg); in sdstd_rreg8()
346 sd->mem_space = (volatile char *)sdstd_reg_map(osh, (ulong)bar0, SDIOH_REG_WINSZ); in sdioh_attach()
349 if (sd->mem_space == NULL) { in sdioh_attach()
355 sd_info(("%s:sd->mem_space = %p\n", __FUNCTION__, sd->mem_space)); in sdioh_attach()
377 if (sd->mem_space) { in sdioh_attach()
378 sdstd_reg_unmap(osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdioh_attach()
379 sd->mem_space = NULL; in sdioh_attach()
395 if (sd->mem_space) { in sdioh_attach()
396 sdstd_reg_unmap(osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdioh_attach()
397 sd->mem_space = NULL; in sdioh_attach()
425 if (sd->mem_space) { in sdioh_detach()
426 sdstd_reg_unmap(osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdioh_detach()
427 sd->mem_space = NULL; in sdioh_detach()
1928 if (sd->mem_space) { in sdstd_host_init()
1929 sdstd_reg_unmap(sd->osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdstd_host_init()
1930 sd->mem_space = NULL; in sdstd_host_init()
1941 sd->mem_space = (volatile char *)sdstd_reg_map(sd->osh, in sdstd_host_init()
1960 if (sd->mem_space) { in sdstd_host_init()
1961 sdstd_reg_unmap(sd->osh, (ulong)sd->mem_space, SDIOH_REG_WINSZ); in sdstd_host_init()
1962 sd->mem_space = NULL; in sdstd_host_init()
1976 sd->mem_space = (volatile char *)sdstd_reg_map(sd->osh, (uintptr)bar, SDIOH_REG_WINSZ); in sdstd_host_init()
1984 sd->mem_space)); in sdstd_host_init()
1990 sd->mem_space)); in sdstd_host_init()