icu_data 62 drivers/irqchip/irq-mmp.c static struct icu_chip_data icu_data[MAX_ICU_NR]; icu_data 75 drivers/irqchip/irq-mmp.c if (data == &icu_data[0]) { icu_data 99 drivers/irqchip/irq-mmp.c if (data == &icu_data[0]) { icu_data 128 drivers/irqchip/irq-mmp.c if (data == &icu_data[0]) { icu_data 158 drivers/irqchip/irq-mmp.c if (irq == icu_data[i].cascade_irq) { icu_data 159 drivers/irqchip/irq-mmp.c domain = icu_data[i].domain; icu_data 175 drivers/irqchip/irq-mmp.c generic_handle_irq(icu_data[i].virq_base + n); icu_data 233 drivers/irqchip/irq-mmp.c handle_domain_irq(icu_data[0].domain, hwirq, regs); icu_data 244 drivers/irqchip/irq-mmp.c handle_domain_irq(icu_data[0].domain, hwirq, regs); icu_data 254 drivers/irqchip/irq-mmp.c icu_data[0].conf_enable = mmp_conf.conf_enable; icu_data 255 drivers/irqchip/irq-mmp.c icu_data[0].conf_disable = mmp_conf.conf_disable; icu_data 256 drivers/irqchip/irq-mmp.c icu_data[0].conf_mask = mmp_conf.conf_mask; icu_data 257 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs = 64; icu_data 258 drivers/irqchip/irq-mmp.c icu_data[0].virq_base = 0; icu_data 259 drivers/irqchip/irq-mmp.c icu_data[0].domain = irq_domain_add_legacy(NULL, 64, 0, 0, icu_data 261 drivers/irqchip/irq-mmp.c &icu_data[0]); icu_data 266 drivers/irqchip/irq-mmp.c irq_set_default_host(icu_data[0].domain); icu_data 277 drivers/irqchip/irq-mmp.c icu_data[0].conf_enable = mmp2_conf.conf_enable; icu_data 278 drivers/irqchip/irq-mmp.c icu_data[0].conf_disable = mmp2_conf.conf_disable; icu_data 279 drivers/irqchip/irq-mmp.c icu_data[0].conf_mask = mmp2_conf.conf_mask; icu_data 280 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs = 64; icu_data 281 drivers/irqchip/irq-mmp.c icu_data[0].virq_base = 0; icu_data 282 drivers/irqchip/irq-mmp.c icu_data[0].domain = irq_domain_add_legacy(NULL, 64, 0, 0, icu_data 284 drivers/irqchip/irq-mmp.c &icu_data[0]); icu_data 285 drivers/irqchip/irq-mmp.c icu_data[1].reg_status = mmp_icu_base + 0x150; icu_data 286 drivers/irqchip/irq-mmp.c icu_data[1].reg_mask = mmp_icu_base + 0x168; icu_data 287 drivers/irqchip/irq-mmp.c icu_data[1].clr_mfp_irq_base = icu_data[0].virq_base + icu_data 288 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs; icu_data 289 drivers/irqchip/irq-mmp.c icu_data[1].clr_mfp_hwirq = 1; /* offset to IRQ_MMP2_PMIC_BASE */ icu_data 290 drivers/irqchip/irq-mmp.c icu_data[1].nr_irqs = 2; icu_data 291 drivers/irqchip/irq-mmp.c icu_data[1].cascade_irq = 4; icu_data 292 drivers/irqchip/irq-mmp.c icu_data[1].virq_base = icu_data[0].virq_base + icu_data[0].nr_irqs; icu_data 293 drivers/irqchip/irq-mmp.c icu_data[1].domain = irq_domain_add_legacy(NULL, icu_data[1].nr_irqs, icu_data 294 drivers/irqchip/irq-mmp.c icu_data[1].virq_base, 0, icu_data 296 drivers/irqchip/irq-mmp.c &icu_data[1]); icu_data 297 drivers/irqchip/irq-mmp.c icu_data[2].reg_status = mmp_icu_base + 0x154; icu_data 298 drivers/irqchip/irq-mmp.c icu_data[2].reg_mask = mmp_icu_base + 0x16c; icu_data 299 drivers/irqchip/irq-mmp.c icu_data[2].nr_irqs = 2; icu_data 300 drivers/irqchip/irq-mmp.c icu_data[2].cascade_irq = 5; icu_data 301 drivers/irqchip/irq-mmp.c icu_data[2].virq_base = icu_data[1].virq_base + icu_data[1].nr_irqs; icu_data 302 drivers/irqchip/irq-mmp.c icu_data[2].domain = irq_domain_add_legacy(NULL, icu_data[2].nr_irqs, icu_data 303 drivers/irqchip/irq-mmp.c icu_data[2].virq_base, 0, icu_data 305 drivers/irqchip/irq-mmp.c &icu_data[2]); icu_data 306 drivers/irqchip/irq-mmp.c icu_data[3].reg_status = mmp_icu_base + 0x180; icu_data 307 drivers/irqchip/irq-mmp.c icu_data[3].reg_mask = mmp_icu_base + 0x17c; icu_data 308 drivers/irqchip/irq-mmp.c icu_data[3].nr_irqs = 3; icu_data 309 drivers/irqchip/irq-mmp.c icu_data[3].cascade_irq = 9; icu_data 310 drivers/irqchip/irq-mmp.c icu_data[3].virq_base = icu_data[2].virq_base + icu_data[2].nr_irqs; icu_data 311 drivers/irqchip/irq-mmp.c icu_data[3].domain = irq_domain_add_legacy(NULL, icu_data[3].nr_irqs, icu_data 312 drivers/irqchip/irq-mmp.c icu_data[3].virq_base, 0, icu_data 314 drivers/irqchip/irq-mmp.c &icu_data[3]); icu_data 315 drivers/irqchip/irq-mmp.c icu_data[4].reg_status = mmp_icu_base + 0x158; icu_data 316 drivers/irqchip/irq-mmp.c icu_data[4].reg_mask = mmp_icu_base + 0x170; icu_data 317 drivers/irqchip/irq-mmp.c icu_data[4].nr_irqs = 5; icu_data 318 drivers/irqchip/irq-mmp.c icu_data[4].cascade_irq = 17; icu_data 319 drivers/irqchip/irq-mmp.c icu_data[4].virq_base = icu_data[3].virq_base + icu_data[3].nr_irqs; icu_data 320 drivers/irqchip/irq-mmp.c icu_data[4].domain = irq_domain_add_legacy(NULL, icu_data[4].nr_irqs, icu_data 321 drivers/irqchip/irq-mmp.c icu_data[4].virq_base, 0, icu_data 323 drivers/irqchip/irq-mmp.c &icu_data[4]); icu_data 324 drivers/irqchip/irq-mmp.c icu_data[5].reg_status = mmp_icu_base + 0x15c; icu_data 325 drivers/irqchip/irq-mmp.c icu_data[5].reg_mask = mmp_icu_base + 0x174; icu_data 326 drivers/irqchip/irq-mmp.c icu_data[5].nr_irqs = 15; icu_data 327 drivers/irqchip/irq-mmp.c icu_data[5].cascade_irq = 35; icu_data 328 drivers/irqchip/irq-mmp.c icu_data[5].virq_base = icu_data[4].virq_base + icu_data[4].nr_irqs; icu_data 329 drivers/irqchip/irq-mmp.c icu_data[5].domain = irq_domain_add_legacy(NULL, icu_data[5].nr_irqs, icu_data 330 drivers/irqchip/irq-mmp.c icu_data[5].virq_base, 0, icu_data 332 drivers/irqchip/irq-mmp.c &icu_data[5]); icu_data 333 drivers/irqchip/irq-mmp.c icu_data[6].reg_status = mmp_icu_base + 0x160; icu_data 334 drivers/irqchip/irq-mmp.c icu_data[6].reg_mask = mmp_icu_base + 0x178; icu_data 335 drivers/irqchip/irq-mmp.c icu_data[6].nr_irqs = 2; icu_data 336 drivers/irqchip/irq-mmp.c icu_data[6].cascade_irq = 51; icu_data 337 drivers/irqchip/irq-mmp.c icu_data[6].virq_base = icu_data[5].virq_base + icu_data[5].nr_irqs; icu_data 338 drivers/irqchip/irq-mmp.c icu_data[6].domain = irq_domain_add_legacy(NULL, icu_data[6].nr_irqs, icu_data 339 drivers/irqchip/irq-mmp.c icu_data[6].virq_base, 0, icu_data 341 drivers/irqchip/irq-mmp.c &icu_data[6]); icu_data 342 drivers/irqchip/irq-mmp.c icu_data[7].reg_status = mmp_icu_base + 0x188; icu_data 343 drivers/irqchip/irq-mmp.c icu_data[7].reg_mask = mmp_icu_base + 0x184; icu_data 344 drivers/irqchip/irq-mmp.c icu_data[7].nr_irqs = 2; icu_data 345 drivers/irqchip/irq-mmp.c icu_data[7].cascade_irq = 55; icu_data 346 drivers/irqchip/irq-mmp.c icu_data[7].virq_base = icu_data[6].virq_base + icu_data[6].nr_irqs; icu_data 347 drivers/irqchip/irq-mmp.c icu_data[7].domain = irq_domain_add_legacy(NULL, icu_data[7].nr_irqs, icu_data 348 drivers/irqchip/irq-mmp.c icu_data[7].virq_base, 0, icu_data 350 drivers/irqchip/irq-mmp.c &icu_data[7]); icu_data 351 drivers/irqchip/irq-mmp.c end = icu_data[7].virq_base + icu_data[7].nr_irqs; icu_data 354 drivers/irqchip/irq-mmp.c if (irq == icu_data[1].cascade_irq || icu_data 355 drivers/irqchip/irq-mmp.c irq == icu_data[2].cascade_irq || icu_data 356 drivers/irqchip/irq-mmp.c irq == icu_data[3].cascade_irq || icu_data 357 drivers/irqchip/irq-mmp.c irq == icu_data[4].cascade_irq || icu_data 358 drivers/irqchip/irq-mmp.c irq == icu_data[5].cascade_irq || icu_data 359 drivers/irqchip/irq-mmp.c irq == icu_data[6].cascade_irq || icu_data 360 drivers/irqchip/irq-mmp.c irq == icu_data[7].cascade_irq) { icu_data 368 drivers/irqchip/irq-mmp.c irq_set_default_host(icu_data[0].domain); icu_data 389 drivers/irqchip/irq-mmp.c icu_data[0].virq_base = 0; icu_data 390 drivers/irqchip/irq-mmp.c icu_data[0].domain = irq_domain_add_linear(node, nr_irqs, icu_data 392 drivers/irqchip/irq-mmp.c &icu_data[0]); icu_data 394 drivers/irqchip/irq-mmp.c ret = irq_create_mapping(icu_data[0].domain, irq); icu_data 400 drivers/irqchip/irq-mmp.c icu_data[0].virq_base = ret; icu_data 402 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs = nr_irqs; icu_data 405 drivers/irqchip/irq-mmp.c if (icu_data[0].virq_base) { icu_data 407 drivers/irqchip/irq-mmp.c irq_dispose_mapping(icu_data[0].virq_base + i); icu_data 409 drivers/irqchip/irq-mmp.c irq_domain_remove(icu_data[0].domain); icu_data 423 drivers/irqchip/irq-mmp.c icu_data[0].conf_enable = mmp_conf.conf_enable; icu_data 424 drivers/irqchip/irq-mmp.c icu_data[0].conf_disable = mmp_conf.conf_disable; icu_data 425 drivers/irqchip/irq-mmp.c icu_data[0].conf_mask = mmp_conf.conf_mask; icu_data 441 drivers/irqchip/irq-mmp.c icu_data[0].conf_enable = mmp2_conf.conf_enable; icu_data 442 drivers/irqchip/irq-mmp.c icu_data[0].conf_disable = mmp2_conf.conf_disable; icu_data 443 drivers/irqchip/irq-mmp.c icu_data[0].conf_mask = mmp2_conf.conf_mask; icu_data 467 drivers/irqchip/irq-mmp.c icu_data[0].conf_enable = mmp3_conf.conf_enable; icu_data 468 drivers/irqchip/irq-mmp.c icu_data[0].conf_disable = mmp3_conf.conf_disable; icu_data 469 drivers/irqchip/irq-mmp.c icu_data[0].conf_mask = mmp3_conf.conf_mask; icu_data 470 drivers/irqchip/irq-mmp.c icu_data[0].conf2_mask = mmp3_conf.conf2_mask; icu_data 513 drivers/irqchip/irq-mmp.c icu_data[i].reg_status = mmp_icu_base + reg[0]; icu_data 514 drivers/irqchip/irq-mmp.c icu_data[i].reg_mask = mmp_icu_base + reg[2]; icu_data 515 drivers/irqchip/irq-mmp.c icu_data[i].cascade_irq = irq_of_parse_and_map(node, 0); icu_data 516 drivers/irqchip/irq-mmp.c if (!icu_data[i].cascade_irq) icu_data 519 drivers/irqchip/irq-mmp.c icu_data[i].virq_base = 0; icu_data 520 drivers/irqchip/irq-mmp.c icu_data[i].domain = irq_domain_add_linear(node, nr_irqs, icu_data 522 drivers/irqchip/irq-mmp.c &icu_data[i]); icu_data 524 drivers/irqchip/irq-mmp.c ret = irq_create_mapping(icu_data[i].domain, irq); icu_data 530 drivers/irqchip/irq-mmp.c icu_data[i].virq_base = ret; icu_data 532 drivers/irqchip/irq-mmp.c icu_data[i].nr_irqs = nr_irqs; icu_data 535 drivers/irqchip/irq-mmp.c icu_data[i].clr_mfp_irq_base = icu_data[i].virq_base; icu_data 536 drivers/irqchip/irq-mmp.c icu_data[i].clr_mfp_hwirq = mfp_irq; icu_data 538 drivers/irqchip/irq-mmp.c irq_set_chained_handler(icu_data[i].cascade_irq, icu_data 543 drivers/irqchip/irq-mmp.c if (icu_data[i].virq_base) { icu_data 545 drivers/irqchip/irq-mmp.c irq_dispose_mapping(icu_data[i].virq_base + j); icu_data 547 drivers/irqchip/irq-mmp.c irq_domain_remove(icu_data[i].domain);