Searched refs:xram (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/fc4/ |
D | socal.c | 63 static void socal_copy_from_xram(void *d, unsigned long xram, long size) in socal_copy_from_xram() argument 67 *dp++ = sbus_readl(xram); in socal_copy_from_xram() 68 xram += sizeof(u32); in socal_copy_from_xram() 73 static void socal_copy_to_xram(unsigned long xram, void *s, long size) in socal_copy_to_xram() argument 78 sbus_writel(val, xram); in socal_copy_to_xram() 79 xram += sizeof(u32); in socal_copy_to_xram() 85 static void socal_bzero(unsigned long xram, int size) in socal_bzero() argument 88 sbus_writel(0, xram); in socal_bzero() 89 xram += sizeof(u32); in socal_bzero() 161 u = (u32 *)s->xram; in socal_solicited() [all …]
|
D | soc.c | 119 (s->xram + xram_get_32low ((xram_p)&sw_cq->hw_cq->address)); in soc_solicited() 198 (s->xram + (xram_get_32low ((xram_p)&sw_cq->hw_cq->address))); in soc_unsolicited() 522 xram_copy_to (s->xram, soc_ucode, sizeof(soc_ucode)); in soc_download_fw() 523 xram_bzero (s->xram + sizeof(soc_ucode), 32768 - sizeof(soc_ucode)); in soc_download_fw() 618 s->xram = sbus_ioremap(&sdev->resource[0], 0, in soc_init() 624 s->xram = sbus_ioremap(&sdev->resource[1], 0, in soc_init() 671 s->req[0].hw_cq = (soc_hw_cq *)(s->xram + SOC_CQ_REQ_OFFSET); in soc_init() 672 s->req[1].hw_cq = (soc_hw_cq *)(s->xram + SOC_CQ_REQ_OFFSET + sizeof(soc_hw_cq)); in soc_init() 673 s->rsp[0].hw_cq = (soc_hw_cq *)(s->xram + SOC_CQ_RSP_OFFSET); in soc_init() 674 s->rsp[1].hw_cq = (soc_hw_cq *)(s->xram + SOC_CQ_RSP_OFFSET + sizeof(soc_hw_cq)); in soc_init() [all …]
|
D | soc.h | 275 xram_p xram; member
|
D | socal.h | 298 unsigned long xram; member
|