/arch/powerpc/platforms/cell/ |
D | beat_spu_priv1.c | 27 static inline void _int_mask_set(struct spu *spu, int class, u64 mask) in _int_mask_set() argument 29 spu->shadow_int_mask_RW[class] = mask; in _int_mask_set() 30 beat_set_irq_mask_for_spe(spu->spe_id, class, mask); in _int_mask_set() 33 static inline u64 _int_mask_get(struct spu *spu, int class) in _int_mask_get() argument 35 return spu->shadow_int_mask_RW[class]; in _int_mask_get() 38 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument 40 _int_mask_set(spu, class, mask); in int_mask_set() 43 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get() argument 45 return _int_mask_get(spu, class); in int_mask_get() 48 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument [all …]
|
D | spu_priv1_mmio.c | 39 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument 43 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and() 44 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and() 47 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or() argument 51 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or() 52 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or() 55 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument 57 out_be64(&spu->priv1->int_mask_RW[class], mask); in int_mask_set() 60 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get() argument 62 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get() [all …]
|
/arch/powerpc/include/asm/ |
D | spu_priv1.h | 32 void (*int_mask_and) (struct spu *spu, int class, u64 mask); 33 void (*int_mask_or) (struct spu *spu, int class, u64 mask); 34 void (*int_mask_set) (struct spu *spu, int class, u64 mask); 35 u64 (*int_mask_get) (struct spu *spu, int class); 36 void (*int_stat_clear) (struct spu *spu, int class, u64 stat); 37 u64 (*int_stat_get) (struct spu *spu, int class); 57 spu_int_mask_and (struct spu *spu, int class, u64 mask) in spu_int_mask_and() argument 59 spu_priv1_ops->int_mask_and(spu, class, mask); in spu_int_mask_and() 63 spu_int_mask_or (struct spu *spu, int class, u64 mask) in spu_int_mask_or() argument 65 spu_priv1_ops->int_mask_or(spu, class, mask); in spu_int_mask_or() [all …]
|
/arch/powerpc/perf/ |
D | mpc7450-pmu.c | 157 int pmc, class; in mpc7450_get_constraint() local 161 class = mpc7450_classify_event(event); in mpc7450_get_constraint() 162 if (class < 0) in mpc7450_get_constraint() 164 if (class == 4) { in mpc7450_get_constraint() 169 mask = classbits[class][0]; in mpc7450_get_constraint() 170 value = classbits[class][1]; in mpc7450_get_constraint() 268 int i, j, class, tuse; in mpc7450_compute_mmcr() local 280 class = mpc7450_classify_event(event[i]); in mpc7450_compute_mmcr() 281 if (class < 0) in mpc7450_compute_mmcr() 283 j = n_classevent[class]++; in mpc7450_compute_mmcr() [all …]
|
/arch/avr32/boards/merisc/ |
D | merisc_sysfs.c | 21 static ssize_t merisc_model_show(struct class *class, char *buf) in merisc_model_show() argument 31 static ssize_t merisc_revision_show(struct class *class, char *buf) in merisc_revision_show() argument 47 struct class merisc_class = {
|
/arch/alpha/kernel/ |
D | err_common.c | 95 if (header->class != EL_CLASS__HEADER) { in el_process_header_subpacket() 98 header->class, header->type); in el_process_header_subpacket() 133 header->class, header->type); in el_process_header_subpacket() 141 header->class, header->type); in el_process_header_subpacket() 161 for (; h && h->class != header->class; h = h->next); in el_process_subpacket_reg() 198 switch(header->class) { in el_process_subpacket() 210 header->class, header->type); in el_process_subpacket() 225 if (a->class == header->class && in el_annotate_subpacket() 251 for (err = 0; header && (header->class != EL_CLASS__TERMINATION); err++) in cdl_process_console_data_log() 286 if ((a->class == new->class && a->type == new->type) || in cdl_register_subpacket_annotation() [all …]
|
D | err_ev7.c | 32 if (el_ptr->class != EL_CLASS__HEADER || in ev7_collect_logout_frame_subpackets() 45 if (el_ptr->class != EL_CLASS__PAL || in ev7_collect_logout_frame_subpackets() 64 if (subpacket->class != EL_CLASS__PAL) { in ev7_collect_logout_frame_subpackets() 67 err_print_prefix, subpacket->class, i); in ev7_collect_logout_frame_subpackets() 238 if (header->class != EL_CLASS__PAL) { in ev7_process_pal_subpacket() 241 header->class, header->type); in ev7_process_pal_subpacket()
|
D | pci.c | 65 dev->class = PCI_CLASS_BRIDGE_ISA << 8; in quirk_isa_bridge() 77 if (dev->class >> 8 == PCI_CLASS_STORAGE_IDE) { in quirk_cypress() 95 if (dev->class >> 8 == PCI_CLASS_BRIDGE_ISA) { in quirk_cypress() 112 unsigned int class = dev->class >> 8; in pcibios_fixup_final() local 114 if (class == PCI_CLASS_BRIDGE_ISA || class == PCI_CLASS_BRIDGE_EISA) { in pcibios_fixup_final() 259 (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) { in pcibios_fixup_bus()
|
/arch/arm/mach-omap2/ |
D | omap_hwmod.c | 181 if (!oh->class->sysc) { in _update_sysc_cache() 188 oh->_sysc_cache = omap_hwmod_read(oh, oh->class->sysc->sysc_offs); in _update_sysc_cache() 190 if (!(oh->class->sysc->sysc_flags & SYSC_NO_CACHE)) in _update_sysc_cache() 206 if (!oh->class->sysc) { in _write_sysconfig() 215 omap_hwmod_write(v, oh, oh->class->sysc->sysc_offs); in _write_sysconfig() 234 if (!oh->class->sysc || in _set_master_standbymode() 235 !(oh->class->sysc->sysc_flags & SYSC_HAS_MIDLEMODE)) in _set_master_standbymode() 238 if (!oh->class->sysc->sysc_fields) { in _set_master_standbymode() 243 mstandby_shift = oh->class->sysc->sysc_fields->midle_shift; in _set_master_standbymode() 267 if (!oh->class->sysc || in _set_slave_idlemode() [all …]
|
D | common.c | 47 .class = OMAP242X_CLASS, 70 .class = OMAP243X_CLASS, 93 .class = OMAP343X_CLASS, 121 .class = OMAP343X_CLASS, 142 .class = AM335X_CLASS, 162 .class = OMAP443X_CLASS,
|
D | omap_hwmod_2430_data.c | 108 .class = &l3_hwmod_class, 247 .class = &l4_hwmod_class, 297 .class = &l4_hwmod_class, 313 .class = &mpu_hwmod_class, 341 .class = &iva_hwmod_class, 399 .class = &omap2xxx_timer_hwmod_class, 436 .class = &omap2xxx_timer_hwmod_class, 473 .class = &omap2xxx_timer_hwmod_class, 510 .class = &omap2xxx_timer_hwmod_class, 547 .class = &omap2xxx_timer_hwmod_class, [all …]
|
D | omap_hwmod_2420_data.c | 98 .class = &l3_hwmod_class, 203 .class = &l4_hwmod_class, 223 .class = &l4_hwmod_class, 239 .class = &mpu_hwmod_class, 267 .class = &iva_hwmod_class, 325 .class = &omap2xxx_timer_hwmod_class, 362 .class = &omap2xxx_timer_hwmod_class, 399 .class = &omap2xxx_timer_hwmod_class, 436 .class = &omap2xxx_timer_hwmod_class, 473 .class = &omap2xxx_timer_hwmod_class, [all …]
|
D | mcbsp.c | 178 if (oh->class->rev < MCBSP_CONFIG_TYPE2) { in omap_init_mcbsp() 187 if (id == 1 && oh->class->rev < MCBSP_CONFIG_TYPE4) in omap_init_mcbsp() 191 if (id == 4 && oh->class->rev == MCBSP_CONFIG_TYPE4) in omap_init_mcbsp() 194 if (oh->class->rev == MCBSP_CONFIG_TYPE3) { in omap_init_mcbsp() 201 } else if (oh->class->rev == MCBSP_CONFIG_TYPE4) { in omap_init_mcbsp() 206 if (oh->class->rev >= MCBSP_CONFIG_TYPE3) in omap_init_mcbsp()
|
D | i2c.c | 70 if (oh->class->rev == OMAP_I2C_IP_VERSION_2) { in omap_i2c_reset() 72 } else if (oh->class->rev == OMAP_I2C_IP_VERSION_1) { in omap_i2c_reset() 95 oh->class->sysc->syss_offs) in omap_i2c_reset()
|
D | omap_hwmod_3xxx_data.c | 156 .class = &l3_hwmod_class, 489 .class = &l4_hwmod_class, 503 .class = &l4_hwmod_class, 517 .class = &l4_hwmod_class, 531 .class = &mpu_hwmod_class, 559 .class = &iva_hwmod_class, 656 .class = &omap3xxx_timer_1ms_hwmod_class, 702 .class = &omap3xxx_timer_1ms_hwmod_class, 748 .class = &omap3xxx_timer_hwmod_class, 794 .class = &omap3xxx_timer_hwmod_class, [all …]
|
D | omap_hwmod_44xx_data.c | 129 .class = &omap44xx_dmm_hwmod_class, 185 .class = &omap44xx_emif_fw_hwmod_class, 230 .class = &omap44xx_l3_hwmod_class, 329 .class = &omap44xx_l3_hwmod_class, 431 .class = &omap44xx_l3_hwmod_class, 487 .class = &omap44xx_l3_hwmod_class, 551 .class = &omap44xx_l4_hwmod_class, 578 .class = &omap44xx_l4_hwmod_class, 606 .class = &omap44xx_l4_hwmod_class, 634 .class = &omap44xx_l4_hwmod_class, [all …]
|
/arch/frv/mb93090-mb00/ |
D | pci-frv.c | 154 int class = dev->class >> 8; in pcibios_assign_resources() local 157 if (!class || class == PCI_CLASS_BRIDGE_HOST) in pcibios_assign_resources() 166 if ((class == PCI_CLASS_STORAGE_IDE && idx < 4) || in pcibios_assign_resources() 167 (class == PCI_CLASS_DISPLAY_VGA && (r->flags & IORESOURCE_IO))) in pcibios_assign_resources()
|
/arch/mips/include/asm/ |
D | mips_mt.h | 23 struct class; 24 extern struct class *mt_class;
|
/arch/powerpc/platforms/ps3/ |
D | spu.c | 479 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument 484 old_mask = spu_int_mask_get(spu, class); in int_mask_and() 485 spu_int_mask_set(spu, class, old_mask & mask); in int_mask_and() 488 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or() argument 492 old_mask = spu_int_mask_get(spu, class); in int_mask_or() 493 spu_int_mask_set(spu, class, old_mask | mask); in int_mask_or() 496 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument 498 spu_pdata(spu)->cache.masks[class] = mask; in int_mask_set() 499 lv1_set_spe_interrupt_mask(spu_pdata(spu)->spe_id, class, in int_mask_set() 500 spu_pdata(spu)->cache.masks[class]); in int_mask_set() [all …]
|
/arch/powerpc/kernel/ |
D | pci_dn.c | 94 u32 class; in traverse_pci_devices() local 98 class = classp ? *classp : 0; in traverse_pci_devices() 104 if (dn->child && ((class >> 8) == PCI_CLASS_BRIDGE_PCI || in traverse_pci_devices() 105 (class >> 8) == PCI_CLASS_BRIDGE_CARDBUS)) in traverse_pci_devices()
|
/arch/x86/ia32/ |
D | Makefile | 13 audit-class-$(CONFIG_AUDIT) := audit.o 14 obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y)
|
/arch/x86/kernel/ |
D | early-quirks.c | 201 u32 class; member 240 u16 class; in check_dev_quirk() local 246 class = read_pci_config_16(num, slot, func, PCI_CLASS_DEVICE); in check_dev_quirk() 248 if (class == 0xffff) in check_dev_quirk() 260 (!((early_qrk[i].class ^ class) & in check_dev_quirk()
|
/arch/cris/arch-v32/drivers/pci/ |
D | bios.c | 113 int class = dev->class >> 8; in pcibios_assign_resources() local 116 if (!class || class == PCI_CLASS_BRIDGE_HOST) in pcibios_assign_resources()
|
/arch/arm/kernel/ |
D | bios32.c | 149 dev->class &= 0xff; in pci_fixup_dec21285() 150 dev->class |= PCI_CLASS_BRIDGE_HOST << 8; in pci_fixup_dec21285() 168 if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) in pci_fixup_ide_bases() 208 if ((dev->class >> 8) == PCI_CLASS_STORAGE_IDE) { in pci_fixup_cy82c693() 211 if (dev->class & 0x80) { /* primary */ in pci_fixup_cy82c693() 261 if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST || in pci_fixup_it8152() 262 dev->class == 0x68000 || in pci_fixup_it8152() 263 dev->class == 0x80103) { in pci_fixup_it8152() 326 switch (dev->class >> 8) { in pcibios_fixup_bus() 580 if ((dev->class >> 16) == PCI_BASE_CLASS_BRIDGE) in pcibios_enable_device()
|
/arch/mips/pci/ |
D | fixup-emma2rh.c | 75 dev->class &= 0xff; in emma2rh_pci_host_fixup() 76 dev->class |= PCI_CLASS_BRIDGE_HOST << 8; in emma2rh_pci_host_fixup()
|