| /arch/mips/include/asm/ |
| A D | mips-cps.h | 21 return mips_##unit##_base + (off); \ 62 addr_##unit##_##name() + 4); \ 79 write_##unit##_##name(reg_val); \ 89 change_##unit##_##name(val, 0); \ 93 CPS_ACCESSOR_A(unit, off, name) \ 94 CPS_ACCESSOR_R(unit, sz, name) 97 CPS_ACCESSOR_A(unit, off, name) \ 98 CPS_ACCESSOR_W(unit, sz, name) 102 CPS_ACCESSOR_R(unit, sz, name) \ 103 CPS_ACCESSOR_W(unit, sz, name) \ [all …]
|
| /arch/x86/events/intel/ |
| A D | uncore_discovery.c | 147 return unit; in intel_uncore_find_discovery_unit() 156 return unit; in intel_uncore_find_discovery_unit() 168 if (unit) in intel_uncore_find_discovery_unit_id() 169 return unit->id; in intel_uncore_find_discovery_unit_id() 203 return unit; in uncore_find_unit() 214 if (unit) in uncore_find_add_unit() 229 if (!unit->ctl || !unit->ctl_offset || !unit->ctr_offset) { in uncore_insert_box_info() 232 unit->box_type, unit->box_id); in uncore_insert_box_info() 487 return unit->addr; in intel_generic_uncore_box_ctl() 641 if (!unit) { in intel_generic_uncore_mmio_init_box() [all …]
|
| A D | uncore_discovery.h | 39 #define uncore_discovery_invalid_unit(unit) \ argument 40 (!unit.table1 || !unit.ctl || \ 41 unit.table1 == -1ULL || unit.ctl == -1ULL || \ 42 unit.table3 == -1ULL)
|
| A D | uncore_snbep.c | 5252 INTEL_UNCORE_EVENT_DESC(read.unit, "MiB"), 5255 INTEL_UNCORE_EVENT_DESC(write.unit, "MiB"), 6453 struct intel_uncore_discovery_unit *unit; in uncore_type_max_boxes() local 6465 if (unit->id > max) in uncore_type_max_boxes() 6466 max = unit->id; in uncore_type_max_boxes() 6509 struct intel_uncore_discovery_unit *unit; in spr_update_device_location() local 6540 unit = kzalloc(sizeof(*unit), GFP_KERNEL); in spr_update_device_location() 6541 if (!unit) in spr_update_device_location() 6543 unit->die = die; in spr_update_device_location() 6550 unit->pmu_idx = unit->id; in spr_update_device_location() [all …]
|
| /arch/powerpc/perf/ |
| A D | power5-pmu.c | 163 unit = PM_ISU0; in power5_get_constraint() 168 if (unit != PM_LSU1) in power5_get_constraint() 171 ++unit; in power5_get_constraint() 174 if (unit == PM_GRS) { in power5_get_constraint() 342 int bit, byte, unit; in power5_marked_instr_event() local 424 unit = PM_ISU0; in power5_compute_mmcr() 428 ++unit; in power5_compute_mmcr() 436 unituse[unit] = 1; in power5_compute_mmcr() 476 if (!unit) in power5_compute_mmcr() 480 unit = PM_ISU0_ALT; in power5_compute_mmcr() [all …]
|
| A D | ppc970-pmu.c | 167 switch (unit) { in p970_marked_instr_event() 209 if (unit) { in p970_get_constraint() 210 if (unit > PM_LASTUNIT) in p970_get_constraint() 293 if (unit) { in p970_compute_mmcr() 300 busbyte[byte] = unit; in p970_compute_mmcr() 301 unituse[unit] = 1; in p970_compute_mmcr() 331 unit = busbyte[byte]; in p970_compute_mmcr() 332 if (!unit) in p970_compute_mmcr() 334 if (unit <= PM_STS) in p970_compute_mmcr() 356 if (unit) in p970_compute_mmcr() [all …]
|
| A D | power5+-pmu.c | 156 unit = PM_ISU0; in power5p_get_constraint() 161 if (unit != PM_LSU1) in power5p_get_constraint() 164 ++unit; in power5p_get_constraint() 167 if (unit == PM_GRS) { in power5p_get_constraint() 406 int bit, byte, unit; in power5p_marked_instr_event() local 488 unit = PM_ISU0; in power5p_compute_mmcr() 492 ++unit; in power5p_compute_mmcr() 498 unituse[unit] = 1; in power5p_compute_mmcr() 536 if (!unit) in power5p_compute_mmcr() 540 unit = PM_ISU0_ALT; in power5p_compute_mmcr() [all …]
|
| A D | power7-pmu.c | 86 int pmc, sh, unit; in power7_get_constraint() local 105 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_get_constraint() 106 if (unit == 6) { in power7_get_constraint() 216 int unit; in power7_marked_instr_event() local 219 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_marked_instr_event() 235 return unit == 0xd; in power7_marked_instr_event() 241 return unit == 0xd; in power7_marked_instr_event() 253 unsigned int pmc, unit, combine, l2sel, psel; in power7_compute_mmcr() local 272 unit = (event[i] >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_compute_mmcr() 290 mmcr1 |= (unsigned long) unit in power7_compute_mmcr() [all …]
|
| A D | isa207-common.c | 15 PMU_FORMAT_ATTR(unit, "config:12-15"); 415 unsigned int unit, pmc, cache, ebb; in isa207_get_constraint() local 424 unit = (event >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK; in isa207_get_constraint() 470 if (unit >= 6 && unit <= 9) { in isa207_get_constraint() 472 if (unit == 6) { in isa207_get_constraint() 574 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; in isa207_compute_mmcr() local 600 unit = (event[i] >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK; in isa207_compute_mmcr() 614 mmcr1 |= unit << MMCR1_UNIT_SHIFT(pmc); in isa207_compute_mmcr() 672 if (cpu_has_feature(CPU_FTR_ARCH_31) && (unit == 6)) { in isa207_compute_mmcr()
|
| /arch/alpha/include/asm/ |
| A D | extable.h | 29 unsigned unit; member 52 (a)->fixup.unit = (b)->fixup.unit; \ 53 (b)->fixup.unit = (tmp).fixup.unit; \
|
| A D | console.h | 8 extern long callback_puts(long unit, const char *s, long length); 9 extern long callback_getc(long unit); 13 extern long callback_close(long unit);
|
| /arch/powerpc/boot/dts/fsl/ |
| A D | qoriq-rmu-0.dtsi | 42 message-unit@0 { 43 compatible = "fsl,srio-msg-unit"; 49 message-unit@100 { 50 compatible = "fsl,srio-msg-unit"; 56 doorbell-unit@400 { 57 compatible = "fsl,srio-dbell-unit"; 63 port-write-unit@4e0 { 64 compatible = "fsl,srio-port-write-unit";
|
| A D | pq3-rmu-0.dtsi | 42 message-unit@0 { 43 compatible = "fsl,srio-msg-unit"; 49 message-unit@100 { 50 compatible = "fsl,srio-msg-unit"; 56 doorbell-unit@400 { 57 compatible = "fsl,srio-dbell-unit"; 63 port-write-unit@4e0 { 64 compatible = "fsl,srio-port-write-unit";
|
| /arch/mips/bcm63xx/ |
| A D | dev-enet.c | 210 int __init bcm63xx_enet_register(int unit, in bcm63xx_enet_register() argument 217 if (unit > 1) in bcm63xx_enet_register() 220 if (unit == 1 && (BCMCPU_IS_6338() || BCMCPU_IS_6345())) in bcm63xx_enet_register() 227 if (unit == 0) { in bcm63xx_enet_register() 253 if (unit == 1) in bcm63xx_enet_register() 276 if (unit == 0) { in bcm63xx_enet_register()
|
| /arch/m68k/emu/ |
| A D | nfeth.c | 185 static struct net_device * __init nfeth_probe(int unit) in nfeth_probe() argument 192 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe() 206 priv->ethX = unit; in nfeth_probe() 214 nf_call(nfEtherID + XIF_GET_IPHOST, unit, in nfeth_probe() 216 nf_call(nfEtherID + XIF_GET_IPATARI, unit, in nfeth_probe()
|
| /arch/mips/alchemy/common/ |
| A D | platform.c | 164 int unit; in alchemy_ohci_power_on() local 166 unit = (pdev->id == 1) ? in alchemy_ohci_power_on() 169 return alchemy_usb_control(unit, 1); in alchemy_ohci_power_on() 175 int unit; in alchemy_ohci_power_off() local 177 unit = (pdev->id == 1) ? in alchemy_ohci_power_off() 180 alchemy_usb_control(unit, 0); in alchemy_ohci_power_off()
|
| /arch/mips/include/asm/sgi/ |
| A D | wd.h | 14 unsigned int unit; member
|
| /arch/powerpc/mm/ptdump/ |
| A D | ptdump.c | 128 const char *unit = units; in pt_dump_size() local 131 while (!(size & 1023) && unit[1]) { in pt_dump_size() 133 unit++; in pt_dump_size() 135 pt_dump_seq_printf(m, "%9lu%c ", size, *unit); in pt_dump_size()
|
| /arch/s390/mm/ |
| A D | dump_pagetables.c | 113 const char *unit = units; in note_page() local 140 while (!(delta & 0x3ff) && unit[1]) { in note_page() 142 unit++; in note_page() 144 pt_dump_seq_printf(m, "%9lu%c ", delta, *unit); in note_page()
|
| /arch/arm64/mm/ |
| A D | ptdump.c | 214 const char *unit = units; in note_page() local 226 while (!(delta & 1023) && unit[1]) { in note_page() 228 unit++; in note_page() 230 pt_dump_seq_printf(st->seq, "%9lu%c %s", delta, *unit, in note_page()
|
| /arch/riscv/mm/ |
| A D | ptdump.c | 245 const char *unit = units; in dump_addr() local 254 while (!(delta & 1023) && unit[1]) { in dump_addr() 256 unit++; in dump_addr() 259 pt_dump_seq_printf(st->seq, "%9lu%c %s", delta, *unit, in dump_addr()
|
| /arch/sparc/mm/ |
| A D | Makefile | 10 obj-$(CONFIG_SPARC32) += srmmu.o iommu.o io-unit.o
|
| /arch/mips/cavium-octeon/ |
| A D | octeon-memcpy.S | 132 #define FIRST(unit) ((unit)*NBYTES) argument 133 #define REST(unit) (FIRST(unit)+NBYTES-1) argument 134 #define UNIT(unit) FIRST(unit) argument
|
| /arch/mips/sgi-ip22/ |
| A D | ip22-platform.c | 25 .unit = 0, 53 .unit = 1,
|
| /arch/arm/mm/ |
| A D | dump.c | 275 const char *unit = units; in note_page() local 284 while (!(delta & 1023) && unit[1]) { in note_page() 286 unit++; in note_page() 288 pt_dump_seq_printf(st->seq, "%9lu%c %s", delta, *unit, in note_page()
|