ics 88 arch/powerpc/include/asm/xics.h int (*map)(struct ics *ics, unsigned int virq); ics 89 arch/powerpc/include/asm/xics.h void (*mask_unknown)(struct ics *ics, unsigned long vec); ics 90 arch/powerpc/include/asm/xics.h long (*get_server)(struct ics *ics, unsigned long vec); ics 91 arch/powerpc/include/asm/xics.h int (*host_match)(struct ics *ics, struct device_node *node); ics 159 arch/powerpc/include/asm/xics.h extern void xics_register_ics(struct ics *ics); ics 39 arch/powerpc/kvm/book3s_hv_rm_xics.c struct kvmppc_ics *ics, struct kvmppc_icp *icp) ics 44 arch/powerpc/kvm/book3s_hv_rm_xics.c struct ics_irq_state *state = &ics->irq_state[i]; ics 236 arch/powerpc/kvm/book3s_hv_rm_xics.c struct kvmppc_ics *ics = xics->ics[icsid]; ics 240 arch/powerpc/kvm/book3s_hv_rm_xics.c if (!ics) ics 242 arch/powerpc/kvm/book3s_hv_rm_xics.c ics_rm_check_resend(xics, ics, icp); ics 288 arch/powerpc/kvm/book3s_hv_rm_xics.c struct kvmppc_ics *ics; ics 309 arch/powerpc/kvm/book3s_hv_rm_xics.c ics = kvmppc_xics_find_ics(xics, new_irq, &src); ics 310 arch/powerpc/kvm/book3s_hv_rm_xics.c if (!ics) { ics 315 arch/powerpc/kvm/book3s_hv_rm_xics.c state = &ics->irq_state[src]; ics 318 arch/powerpc/kvm/book3s_hv_rm_xics.c arch_spin_lock(&ics->lock); ics 378 arch/powerpc/kvm/book3s_hv_rm_xics.c arch_spin_unlock(&ics->lock); ics 396 arch/powerpc/kvm/book3s_hv_rm_xics.c set_bit(ics->icsid, icp->resend_map); ics 407 arch/powerpc/kvm/book3s_hv_rm_xics.c arch_spin_unlock(&ics->lock); ics 413 arch/powerpc/kvm/book3s_hv_rm_xics.c arch_spin_unlock(&ics->lock); ics 681 arch/powerpc/kvm/book3s_hv_rm_xics.c struct kvmppc_ics *ics; ics 694 arch/powerpc/kvm/book3s_hv_rm_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 695 arch/powerpc/kvm/book3s_hv_rm_xics.c if (!ics) ics 698 arch/powerpc/kvm/book3s_hv_rm_xics.c state = &ics->irq_state[src]; ics 861 arch/powerpc/kvm/book3s_hv_rm_xics.c struct kvmppc_ics *ics; ics 873 arch/powerpc/kvm/book3s_hv_rm_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 874 arch/powerpc/kvm/book3s_hv_rm_xics.c if (!ics) ics 877 arch/powerpc/kvm/book3s_hv_rm_xics.c state = &ics->irq_state[src]; ics 72 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 78 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 79 arch/powerpc/kvm/book3s_xics.c if (!ics) { ics 83 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 125 arch/powerpc/kvm/book3s_xics.c static void ics_check_resend(struct kvmppc_xics *xics, struct kvmppc_ics *ics, ics 131 arch/powerpc/kvm/book3s_xics.c struct ics_irq_state *state = &ics->irq_state[i]; ics 140 arch/powerpc/kvm/book3s_xics.c static bool write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, ics 148 arch/powerpc/kvm/book3s_xics.c arch_spin_lock(&ics->lock); ics 160 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 170 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 177 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 178 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 180 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 190 arch/powerpc/kvm/book3s_xics.c if (write_xive(xics, ics, state, server, priority, priority)) ics 199 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 207 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 208 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 210 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 213 arch/powerpc/kvm/book3s_xics.c arch_spin_lock(&ics->lock); ics 216 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 226 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 233 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 234 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 236 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 242 arch/powerpc/kvm/book3s_xics.c if (write_xive(xics, ics, state, state->server, state->saved_priority, ics 252 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 259 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 260 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 262 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 264 arch/powerpc/kvm/book3s_xics.c write_xive(xics, ics, state, state->server, MASKED, state->priority); ics 326 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics = xics->ics[icsid]; ics 330 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 332 arch/powerpc/kvm/book3s_xics.c ics_check_resend(xics, ics, icp); ics 381 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 403 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, new_irq, &src); ics 404 arch/powerpc/kvm/book3s_xics.c if (!ics) { ics 408 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 412 arch/powerpc/kvm/book3s_xics.c arch_spin_lock(&ics->lock); ics 473 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 491 arch/powerpc/kvm/book3s_xics.c set_bit(ics->icsid, icp->resend_map); ics 502 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 509 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 781 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 794 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &src); ics 795 arch/powerpc/kvm/book3s_xics.c if (!ics) { ics 799 arch/powerpc/kvm/book3s_xics.c state = &ics->irq_state[src]; ics 989 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics = xics->ics[icsid]; ics 991 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 998 arch/powerpc/kvm/book3s_xics.c arch_spin_lock(&ics->lock); ics 1001 arch/powerpc/kvm/book3s_xics.c struct ics_irq_state *irq = &ics->irq_state[i]; ics 1009 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 1037 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 1045 arch/powerpc/kvm/book3s_xics.c if (xics->ics[icsid]) ics 1049 arch/powerpc/kvm/book3s_xics.c ics = kzalloc(sizeof(struct kvmppc_ics), GFP_KERNEL); ics 1050 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 1053 arch/powerpc/kvm/book3s_xics.c ics->icsid = icsid; ics 1056 arch/powerpc/kvm/book3s_xics.c ics->irq_state[i].number = (icsid << KVMPPC_XICS_ICS_SHIFT) | i; ics 1057 arch/powerpc/kvm/book3s_xics.c ics->irq_state[i].priority = MASKED; ics 1058 arch/powerpc/kvm/book3s_xics.c ics->irq_state[i].saved_priority = MASKED; ics 1061 arch/powerpc/kvm/book3s_xics.c xics->ics[icsid] = ics; ics 1068 arch/powerpc/kvm/book3s_xics.c return xics->ics[icsid]; ics 1115 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 1140 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, xisr, &src); ics 1141 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 1188 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 1195 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &idx); ics 1196 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 1199 arch/powerpc/kvm/book3s_xics.c irqp = &ics->irq_state[idx]; ics 1201 arch/powerpc/kvm/book3s_xics.c arch_spin_lock(&ics->lock); ics 1226 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 1237 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 1249 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &idx); ics 1250 arch/powerpc/kvm/book3s_xics.c if (!ics) { ics 1251 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_create_ics(xics->kvm, xics, irq); ics 1252 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 1255 arch/powerpc/kvm/book3s_xics.c irqp = &ics->irq_state[idx]; ics 1266 arch/powerpc/kvm/book3s_xics.c arch_spin_lock(&ics->lock); ics 1284 arch/powerpc/kvm/book3s_xics.c arch_spin_unlock(&ics->lock); ics 1349 arch/powerpc/kvm/book3s_xics.c kfree(xics->ics[i]); ics 1441 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 1444 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &idx); ics 1445 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 1448 arch/powerpc/kvm/book3s_xics.c ics->irq_state[idx].host_irq = host_irq; ics 1449 arch/powerpc/kvm/book3s_xics.c ics->irq_state[idx].intr_cpu = -1; ics 1457 arch/powerpc/kvm/book3s_xics.c struct kvmppc_ics *ics; ics 1460 arch/powerpc/kvm/book3s_xics.c ics = kvmppc_xics_find_ics(xics, irq, &idx); ics 1461 arch/powerpc/kvm/book3s_xics.c if (!ics) ics 1464 arch/powerpc/kvm/book3s_xics.c ics->irq_state[idx].host_irq = 0; ics 112 arch/powerpc/kvm/book3s_xics.h struct kvmppc_ics *ics[KVMPPC_XICS_MAX_ICS_ID + 1]; ics 133 arch/powerpc/kvm/book3s_xics.h struct kvmppc_ics *ics; ics 139 arch/powerpc/kvm/book3s_xics.h ics = xics->ics[icsid]; ics 140 arch/powerpc/kvm/book3s_xics.h if (!ics) ics 142 arch/powerpc/kvm/book3s_xics.h return ics; ics 160 arch/powerpc/sysdev/xics/ics-opal.c static int ics_opal_map(struct ics *ics, unsigned int virq); ics 161 arch/powerpc/sysdev/xics/ics-opal.c static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec); ics 162 arch/powerpc/sysdev/xics/ics-opal.c static long ics_opal_get_server(struct ics *ics, unsigned long vec); ics 164 arch/powerpc/sysdev/xics/ics-opal.c static int ics_opal_host_match(struct ics *ics, struct device_node *node) ics 170 arch/powerpc/sysdev/xics/ics-opal.c static struct ics ics_hal = { ics 177 arch/powerpc/sysdev/xics/ics-opal.c static int ics_opal_map(struct ics *ics, unsigned int virq) ics 198 arch/powerpc/sysdev/xics/ics-opal.c static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) ics 212 arch/powerpc/sysdev/xics/ics-opal.c static long ics_opal_get_server(struct ics *ics, unsigned long vec) ics 27 arch/powerpc/sysdev/xics/ics-rtas.c static int ics_rtas_map(struct ics *ics, unsigned int virq); ics 28 arch/powerpc/sysdev/xics/ics-rtas.c static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec); ics 29 arch/powerpc/sysdev/xics/ics-rtas.c static long ics_rtas_get_server(struct ics *ics, unsigned long vec); ics 30 arch/powerpc/sysdev/xics/ics-rtas.c static int ics_rtas_host_match(struct ics *ics, struct device_node *node); ics 33 arch/powerpc/sysdev/xics/ics-rtas.c static struct ics ics_rtas = { ics 172 arch/powerpc/sysdev/xics/ics-rtas.c static int ics_rtas_map(struct ics *ics, unsigned int virq) ics 192 arch/powerpc/sysdev/xics/ics-rtas.c static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) ics 197 arch/powerpc/sysdev/xics/ics-rtas.c static long ics_rtas_get_server(struct ics *ics, unsigned long vec) ics 207 arch/powerpc/sysdev/xics/ics-rtas.c static int ics_rtas_host_match(struct ics *ics, struct device_node *node) ics 114 arch/powerpc/sysdev/xics/xics-common.c struct ics *ics; ics 118 arch/powerpc/sysdev/xics/xics-common.c list_for_each_entry(ics, &ics_list, link) ics 119 arch/powerpc/sysdev/xics/xics-common.c ics->mask_unknown(ics, vec); ics 201 arch/powerpc/sysdev/xics/xics-common.c struct ics *ics; ics 223 arch/powerpc/sysdev/xics/xics-common.c ics = irq_desc_get_chip_data(desc); ics 224 arch/powerpc/sysdev/xics/xics-common.c if (ics) ics 225 arch/powerpc/sysdev/xics/xics-common.c server = ics->get_server(ics, irq); ics 310 arch/powerpc/sysdev/xics/xics-common.c struct ics *ics; ics 312 arch/powerpc/sysdev/xics/xics-common.c list_for_each_entry(ics, &ics_list, link) ics 313 arch/powerpc/sysdev/xics/xics-common.c if (ics->host_match(ics, node)) ics 333 arch/powerpc/sysdev/xics/xics-common.c struct ics *ics; ics 352 arch/powerpc/sysdev/xics/xics-common.c list_for_each_entry(ics, &ics_list, link) ics 353 arch/powerpc/sysdev/xics/xics-common.c if (ics->map(ics, virq) == 0) ics 428 arch/powerpc/sysdev/xics/xics-common.c void __init xics_register_ics(struct ics *ics) ics 430 arch/powerpc/sysdev/xics/xics-common.c list_add(&ics->link, &ics_list); ics 332 arch/x86/platform/intel-mid/pwr.c u32 ics; ics 334 arch/x86/platform/intel-mid/pwr.c ics = readl(pwr->regs + PM_ICS); ics 335 arch/x86/platform/intel-mid/pwr.c if (!(ics & PM_ICS_IP)) ics 338 arch/x86/platform/intel-mid/pwr.c writel(ics | PM_ICS_IP, pwr->regs + PM_ICS); ics 340 arch/x86/platform/intel-mid/pwr.c dev_warn(pwr->dev, "Unexpected IRQ: %#x\n", PM_ICS_INT_STATUS(ics)); ics 555 drivers/gpu/drm/imx/ipuv3-plane.c enum ipu_color_space ics; ics 615 drivers/gpu/drm/imx/ipuv3-plane.c ics = ipu_drm_fourcc_to_colorspace(fb->format->format); ics 618 drivers/gpu/drm/imx/ipuv3-plane.c ipu_dp_setup_channel(ipu_plane->dp, ics, IPUV3_COLORSPACE_RGB); ics 621 drivers/gpu/drm/imx/ipuv3-plane.c ipu_dp_setup_channel(ipu_plane->dp, ics, ics 212 drivers/iio/adc/stmpe-adc.c static void stmpe_adc_voltage_chan(struct iio_chan_spec *ics, int chan) ics 214 drivers/iio/adc/stmpe-adc.c ics->type = IIO_VOLTAGE; ics 215 drivers/iio/adc/stmpe-adc.c ics->info_mask_separate = BIT(IIO_CHAN_INFO_RAW); ics 216 drivers/iio/adc/stmpe-adc.c ics->info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE); ics 217 drivers/iio/adc/stmpe-adc.c ics->indexed = 1; ics 218 drivers/iio/adc/stmpe-adc.c ics->channel = chan; ics 221 drivers/iio/adc/stmpe-adc.c static void stmpe_adc_temp_chan(struct iio_chan_spec *ics, int chan) ics 223 drivers/iio/adc/stmpe-adc.c ics->type = IIO_TEMP; ics 224 drivers/iio/adc/stmpe-adc.c ics->info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED); ics 225 drivers/iio/adc/stmpe-adc.c ics->indexed = 1; ics 226 drivers/iio/adc/stmpe-adc.c ics->channel = chan; ics 175 drivers/media/pci/saa7134/saa7134-tvaudio.c int ausel=0, ics=0, ocs=0; ics 215 drivers/media/pci/saa7134/saa7134-tvaudio.c case TV: ausel=0xc0; ics=0x00; ocs=0x02; break; ics 216 drivers/media/pci/saa7134/saa7134-tvaudio.c case LINE1: ausel=0x80; ics=0x00; ocs=0x00; break; ics 217 drivers/media/pci/saa7134/saa7134-tvaudio.c case LINE2: ausel=0x80; ics=0x08; ocs=0x01; break; ics 218 drivers/media/pci/saa7134/saa7134-tvaudio.c case LINE2_LEFT: ausel=0x80; ics=0x08; ocs=0x05; break; ics 221 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x08, ics);