Lines Matching refs:t

92 	pcc_socket_t *t = &socket[sock];  in pcc_iorw()  local
112 addr = t->mapaddr + port - t->ioaddr + KSEG1; /* XXX */ in pcc_iorw()
117 if (t->current_space != as_io || t->last_iodbex != need_ex) { in pcc_iorw()
129 cbsz = (t->flags & MAP_16BIT) ? 0 : PCMOD_CBSZ; in pcc_iorw()
140 map_changed = (t->current_space == as_attr && size == 2); /* XXX */ in pcc_iorw()
145 t->current_space = as_io; in pcc_iorw()
223 t->last_iosize = size; in pcc_iorw()
224 t->last_iodbex = need_ex; in pcc_iorw()
302 pcc_socket_t *t = &socket[pcc_sockets]; in add_pcc_socket() local
305 t->ioaddr = ioaddr; in add_pcc_socket()
306 t->mapaddr = mapaddr; in add_pcc_socket()
307 t->base = base; in add_pcc_socket()
309 t->flags = MAP_16BIT; in add_pcc_socket()
311 t->flags = 0; in add_pcc_socket()
314 t->flags |= IS_ALIVE; in add_pcc_socket()
317 if (t->base > 0) { in add_pcc_socket()
318 request_region(t->base, 0x20, "m32r-pcc"); in add_pcc_socket()
322 printk("pcc at 0x%08lx\n", t->base); in add_pcc_socket()
325 t->socket.features |= (SS_CAP_PCCARD | SS_CAP_STATIC_MAP); in add_pcc_socket()
326 t->socket.map_size = M32R_PCC_MAPSIZE; in add_pcc_socket()
327 t->socket.io_offset = ioaddr; /* use for io access offset */ in add_pcc_socket()
328 t->socket.irq_mask = 0; in add_pcc_socket()
329 t->socket.pci_irq = 2 + pcc_sockets; /* XXX */ in add_pcc_socket()
496 pcc_socket_t *t = &socket[sock]; local
499 pcc_as_t last = t->current_space;
519 t->current_space = as_none;
533 t->current_space = as_attr;
536 t->current_space = as_comm;
543 addr = t->mapaddr + (mem->card_start & M32R_PCC_MAPMASK);