/arch/mips/include/asm/ |
D | mips-cps.h | 16 #define CPS_ACCESSOR_A(unit, off, name) \ argument 17 static inline void *addr_##unit##_##name(void) \ 19 return mips_##unit##_base + (off); \ 22 #define CPS_ACCESSOR_R(unit, sz, name) \ argument 23 static inline uint##sz##_t read_##unit##_##name(void) \ 29 return __raw_readl(addr_##unit##_##name()); \ 33 return __raw_readq(addr_##unit##_##name()); \ 35 val64 = __raw_readl(addr_##unit##_##name() + 4); \ 37 val64 |= __raw_readl(addr_##unit##_##name()); \ 45 #define CPS_ACCESSOR_W(unit, sz, name) \ argument [all …]
|
/arch/powerpc/perf/ |
D | power5-pmu.c | 139 int pmc, byte, unit, sh; in power5_get_constraint() local 157 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power5_get_constraint() 158 if (unit > PM_LASTUNIT) in power5_get_constraint() 160 if (unit == PM_ISU0_ALT) in power5_get_constraint() 161 unit = PM_ISU0; in power5_get_constraint() 162 mask |= unit_cons[unit][0]; in power5_get_constraint() 163 value |= unit_cons[unit][1]; in power5_get_constraint() 166 if (unit != PM_LSU1) in power5_get_constraint() 169 ++unit; in power5_get_constraint() 172 if (unit == PM_GRS) { in power5_get_constraint() [all …]
|
D | ppc970-pmu.c | 145 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local 163 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p970_marked_instr_event() 165 switch (unit) { in p970_marked_instr_event() 193 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local 206 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p970_get_constraint() 207 if (unit) { in p970_get_constraint() 208 if (unit > PM_LASTUNIT) in p970_get_constraint() 210 mask |= unit_cons[unit][0]; in p970_get_constraint() 211 value |= unit_cons[unit][1]; in p970_get_constraint() 221 value |= (unsigned long)unit << (28 - 4 * byte); in p970_get_constraint() [all …]
|
D | power5+-pmu.c | 135 int pmc, byte, unit, sh; in power5p_get_constraint() local 150 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power5p_get_constraint() 151 if (unit > PM_LASTUNIT) in power5p_get_constraint() 153 if (unit == PM_ISU0_ALT) in power5p_get_constraint() 154 unit = PM_ISU0; in power5p_get_constraint() 155 mask |= unit_cons[unit][0]; in power5p_get_constraint() 156 value |= unit_cons[unit][1]; in power5p_get_constraint() 159 if (unit != PM_LSU1) in power5p_get_constraint() 162 ++unit; in power5p_get_constraint() 165 if (unit == PM_GRS) { in power5p_get_constraint() [all …]
|
D | power7-pmu.c | 84 int pmc, sh, unit; in power7_get_constraint() local 103 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_get_constraint() 104 if (unit == 6) { in power7_get_constraint() 214 int unit; in power7_marked_instr_event() local 217 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_marked_instr_event() 233 return unit == 0xd; in power7_marked_instr_event() 239 return unit == 0xd; in power7_marked_instr_event() 249 unsigned int pmc, unit, combine, l2sel, psel; in power7_compute_mmcr() local 268 unit = (event[i] >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_compute_mmcr() 286 mmcr1 |= (unsigned long) unit in power7_compute_mmcr() [all …]
|
D | isa207-common.c | 15 PMU_FORMAT_ATTR(unit, "config:12-15"); 244 unsigned int unit, pmc, cache, ebb; in isa207_get_constraint() local 253 unit = (event >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK; in isa207_get_constraint() 285 if (unit >= 6 && unit <= 9) { in isa207_get_constraint() 369 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; in isa207_compute_mmcr() local 387 unit = (event[i] >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK; in isa207_compute_mmcr() 401 mmcr1 |= unit << MMCR1_UNIT_SHIFT(pmc); in isa207_compute_mmcr()
|
/arch/alpha/include/asm/ |
D | extable.h | 29 unsigned unit; member 52 (a)->fixup.unit = (b)->fixup.unit; \ 53 (b)->fixup.unit = (tmp).fixup.unit; \
|
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/ |
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";
|
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";
|
D | mpc8641_hpcn.dts | 132 message-unit@0 { 133 compatible = "fsl,srio-msg-unit"; 139 message-unit@100 { 140 compatible = "fsl,srio-msg-unit"; 146 doorbell-unit@400 { 147 compatible = "fsl,srio-dbell-unit"; 153 port-write-unit@4e0 { 154 compatible = "fsl,srio-port-write-unit";
|
/arch/x86/kvm/ |
D | mtrr.c | 186 static bool fixed_msr_to_seg_unit(u32 msr, int *seg, int *unit) in fixed_msr_to_seg_unit() argument 191 *unit = 0; in fixed_msr_to_seg_unit() 195 *unit = msr - MSR_MTRRfix16K_80000; in fixed_msr_to_seg_unit() 199 *unit = msr - MSR_MTRRfix4K_C0000; in fixed_msr_to_seg_unit() 208 static void fixed_mtrr_seg_unit_range(int seg, int unit, u64 *start, u64 *end) in fixed_mtrr_seg_unit_range() argument 213 *start = mtrr_seg->start + unit * unit_size; in fixed_mtrr_seg_unit_range() 218 static int fixed_mtrr_seg_unit_range_index(int seg, int unit) in fixed_mtrr_seg_unit_range_index() argument 222 WARN_ON(mtrr_seg->start + unit * fixed_mtrr_seg_unit_size(seg) in fixed_mtrr_seg_unit_range_index() 226 return mtrr_seg->range_start + 8 * unit; in fixed_mtrr_seg_unit_range_index() 240 int seg, unit; in fixed_msr_to_range() local [all …]
|
/arch/mips/bcm63xx/ |
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/powerpc/oprofile/ |
D | op_model_power4.c | 40 u64 psel, unit; in power7_marked_instr_event() local 53 unit = mmcr1 & (OPROFILE_PM_UNIT_MSK in power7_marked_instr_event() 56 unit = unit >> (OPROFILE_PM_UNIT_SHIFT in power7_marked_instr_event() 78 cntr_marked_events |= (unit == 0xd) << pmc; in power7_marked_instr_event() 85 cntr_marked_events |= (unit == 0xd) << pmc; in power7_marked_instr_event()
|
/arch/m68k/emu/ |
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/ia64/mm/ |
D | discontig.c | 189 int node, prev_node, unit, nr_units; in setup_per_cpu_areas() local 204 unit = 0; in setup_per_cpu_areas() 208 cpu_map[unit++] = cpu; in setup_per_cpu_areas() 209 nr_units = unit; in setup_per_cpu_areas() 232 for (unit = 0; unit < nr_units; unit++) { in setup_per_cpu_areas() 233 cpu = cpu_map[unit]; in setup_per_cpu_areas() 245 gi->cpu_map = &cpu_map[unit]; in setup_per_cpu_areas()
|
/arch/powerpc/platforms/cell/ |
D | interrupt.c | 51 unsigned char unit = bits.source & 0xf; in iic_pending_to_hwnum() local 59 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; in iic_pending_to_hwnum() 236 unsigned int node, ext, unit, class; in iic_host_xlate() local 251 unit = intspec[0] & 0xff; in iic_host_xlate() 259 if (unit == IIC_UNIT_IIC && class == 1) in iic_host_xlate() 263 (class << IIC_IRQ_CLASS_SHIFT) | unit; in iic_host_xlate()
|
D | spider-pic.c | 219 int imaplen, intsize, unit; in spider_find_cascade_and_node() local 251 unit = imap[intsize - 1]; in spider_find_cascade_and_node() 270 unit); in spider_find_cascade_and_node()
|
/arch/mips/alchemy/common/ |
D | platform.c | 158 int unit; in alchemy_ohci_power_on() local 160 unit = (pdev->id == 1) ? in alchemy_ohci_power_on() 163 return alchemy_usb_control(unit, 1); in alchemy_ohci_power_on() 169 int unit; in alchemy_ohci_power_off() local 171 unit = (pdev->id == 1) ? in alchemy_ohci_power_off() 174 alchemy_usb_control(unit, 0); in alchemy_ohci_power_off()
|
/arch/mips/include/asm/sgi/ |
D | wd.h | 14 unsigned int unit; member
|
/arch/s390/mm/ |
D | dump_pagetables.c | 72 const char *unit = units; in note_page() local 97 while (!(delta & 0x3ff) && unit[1]) { in note_page() 99 unit++; in note_page() 101 seq_printf(m, "%9lu%c ", delta, *unit); in note_page()
|
/arch/um/drivers/ |
D | ubd_kern.c | 868 static int ubd_disk_register(int major, u64 size, int unit, in ubd_disk_register() argument 879 disk->first_minor = unit << UBD_SHIFT; in ubd_disk_register() 883 sprintf(disk->disk_name, "ubd%c", 'a' + unit); in ubd_disk_register() 885 sprintf(disk->disk_name, "ubd_fake%d", unit); in ubd_disk_register() 889 ubd_devs[unit].pdev.id = unit; in ubd_disk_register() 890 ubd_devs[unit].pdev.name = DRIVER_NAME; in ubd_disk_register() 891 ubd_devs[unit].pdev.dev.release = ubd_device_release; in ubd_disk_register() 892 dev_set_drvdata(&ubd_devs[unit].pdev.dev, &ubd_devs[unit]); in ubd_disk_register() 893 platform_device_register(&ubd_devs[unit].pdev); in ubd_disk_register() 894 parent = &ubd_devs[unit].pdev.dev; in ubd_disk_register() [all …]
|
/arch/sparc/mm/ |
D | Makefile | 11 obj-$(CONFIG_SPARC32) += extable.o srmmu.o iommu.o io-unit.o
|
/arch/arm64/mm/ |
D | dump.c | 256 const char *unit = units; in note_page() local 266 while (!(delta & 1023) && unit[1]) { in note_page() 268 unit++; in note_page() 270 pt_dump_seq_printf(st->seq, "%9lu%c %s", delta, *unit, in note_page()
|
/arch/powerpc/mm/ptdump/ |
D | ptdump.c | 148 const char *unit = units; in dump_addr() local 166 while (!(delta & 1023) && unit[1]) { in dump_addr() 168 unit++; in dump_addr() 170 pt_dump_seq_printf(st->seq, "%9lu%c", delta, *unit); in dump_addr()
|