Lines Matching +full:0 +full:x444

23 	TIR_DEN		= 0x004, /* Detection Enable Register */
24 TIR_MSK = 0x084, /* Mask Level Register */
25 TIR_EDC = 0x0c0, /* Edge Detection Clear Register */
26 TIR_PNDA = 0x100, /* Pending Register A */
27 TIR_PNDB = 0x104, /* Pending Register B */
28 TIR_CS = 0x144, /* Current Status Register */
29 TIR_LCSA = 0x150, /* Level Current Status Register A */
30 TIR_LCSB = 0x154, /* Level Current Status Register B */
31 TIR_LCSC = 0x158, /* Level Current Status Register C */
32 TIR_LCSD = 0x15c, /* Level Current Status Register D */
33 TIR_CFGA = 0x200, /* Setting Register A0 */
34 TIR_CFGB = 0x204, /* Setting Register B0 */
35 /* 0x208 ... 0x3ff Setting Register An/Bn */
36 TIR_PPNDA = 0x400, /* Packet Pending Register A */
37 TIR_PPNDB = 0x404, /* Packet Pending Register B */
38 TIR_PIERA = 0x408, /* Packet Output Error Register A */
39 TIR_PIERB = 0x40c, /* Packet Output Error Register B */
40 TIR_PIEN = 0x444, /* Packet Output Enable Register */
41 TIR_PIPND = 0x454, /* Packet Output Pending Register */
42 TIRDID = 0x484, /* Spider Device ID Register */
43 REISTIM = 0x500, /* Reissue Command Timeout Time Setting */
44 REISTIMEN = 0x504, /* Reissue Command Timeout Setting */
45 REISWAITEN = 0x508, /* Reissue Wait Control*/
75 out_be32(cfg, in_be32(cfg) | 0x30000000u); in spider_unmask_irq()
83 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_mask_irq()
101 out_be32(pic->regs + TIR_EDC, 0x100 | (src & 0xf)); in spider_ack_irq()
121 ic = 0x3; in spider_set_irq_type()
124 ic = 0x2; in spider_set_irq_type()
127 ic = 0x0; in spider_set_irq_type()
131 ic = 0x1; in spider_set_irq_type()
143 old_mask = in_be32(cfg) & 0x30000000u; in spider_set_irq_type()
144 out_be32(cfg, old_mask | (ic << 24) | (0x7 << 16) | in spider_set_irq_type()
145 (pic->node_id << 4) | 0xe); in spider_set_irq_type()
146 out_be32(cfg + 4, (0x2 << 16) | (hw & 0xff)); in spider_set_irq_type()
148 return 0; in spider_set_irq_type()
168 return 0; in spider_host_map()
180 *out_hwirq = intspec[0] & 0x3f; in spider_host_xlate()
182 return 0; in spider_host_xlate()
224 virq = irq_of_parse_and_map(of_node, 0); in spider_find_cascade_and_node()
231 return 0; in spider_find_cascade_and_node()
235 return 0; in spider_find_cascade_and_node()
238 return 0; in spider_find_cascade_and_node()
243 return 0; in spider_find_cascade_and_node()
252 return 0; in spider_find_cascade_and_node()
280 pic->regs = ioremap(addr, 0x1000); in spider_init_one()
291 for (i = 0; i < SPIDER_SRC_COUNT; i++) { in spider_init_one()
293 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_init_one()
297 out_be32(pic->regs + TIR_MSK, 0x0); in spider_init_one()
300 out_be32(pic->regs + TIR_PIEN, in_be32(pic->regs + TIR_PIEN) | 0x1); in spider_init_one()
309 printk(KERN_INFO "spider_pic: node %d, addr: 0x%lx %pOF\n", in spider_init_one()
313 out_be32(pic->regs + TIR_DEN, in_be32(pic->regs + TIR_DEN) | 0x1); in spider_init_one()
320 int chip = 0; in spider_init_IRQ()
331 if (of_address_to_resource(dn, 0, &r)) { in spider_init_IRQ()
338 { 0x24000008000ul, 0x34000008000ul}; in spider_init_IRQ()