/arch/arm/mach-pxa/include/mach/ |
D | hardware.h | 104 #define __cpu_is_pxa210(id) \ argument 106 unsigned int _id = (id) & 0xf3f0; \ 110 #define __cpu_is_pxa250(id) \ argument 112 unsigned int _id = (id) & 0xf3ff; \ 116 #define __cpu_is_pxa255(id) \ argument 118 unsigned int _id = (id) & 0xffff; \ 122 #define __cpu_is_pxa25x(id) \ argument 124 unsigned int _id = (id) & 0xf300; \ 128 #define __cpu_is_pxa210(id) (0) argument 129 #define __cpu_is_pxa250(id) (0) argument [all …]
|
/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 109 static unsigned int steal_context_smp(unsigned int id) in steal_context_smp() argument 119 mm = context_mm[id]; in steal_context_smp() 125 id++; in steal_context_smp() 126 if (id > LAST_CONTEXT) in steal_context_smp() 127 id = FIRST_CONTEXT; in steal_context_smp() 130 pr_hardcont(" | steal %d from 0x%p", id, mm); in steal_context_smp() 133 mm->context.id = MMU_NO_CONTEXT; in steal_context_smp() 144 __set_bit(id, stale_map[i]); in steal_context_smp() 148 return id; in steal_context_smp() 169 unsigned int id; in steal_all_contexts() local [all …]
|
/arch/s390/include/asm/ |
D | debug.h | 54 typedef int (debug_header_proc_t) (debug_info_t *id, 60 typedef int (debug_format_proc_t) (debug_info_t *id, 63 typedef int (debug_prolog_proc_t) (debug_info_t *id, 66 typedef int (debug_input_proc_t) (debug_info_t *id, 72 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, 90 debug_entry_t *debug_event_common(debug_info_t *id, int level, 93 debug_entry_t *debug_exception_common(debug_info_t *id, int level, 105 void debug_unregister(debug_info_t *id); 107 void debug_set_level(debug_info_t *id, int new_level); 123 static inline bool debug_level_enabled(debug_info_t *id, int level) in debug_level_enabled() argument [all …]
|
/arch/s390/kernel/ |
D | debug.c | 78 static int debug_prolog_level_fn(debug_info_t *id, 80 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 83 static int debug_prolog_pages_fn(debug_info_t *id, 85 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 88 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 91 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 93 static int debug_raw_format_fn(debug_info_t *id, 96 static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view, 99 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, 451 if (act_entry->id.stck == 0LL) in debug_format_entry() [all …]
|
/arch/s390/kvm/ |
D | trace-s390.h | 43 TP_PROTO(unsigned int id, struct kvm_vcpu *vcpu, 45 TP_ARGS(id, vcpu, sie_block), 48 __field(unsigned int, id) 54 __entry->id = id; 60 __entry->id, __entry->vcpu, __entry->sie_block) 64 TP_PROTO(unsigned int id), 65 TP_ARGS(id), 68 __field(unsigned int, id) 72 __entry->id = id; 75 TP_printk("destroy cpu %d", __entry->id) [all …]
|
/arch/arm/mach-davinci/include/mach/ |
D | time.h | 24 #define IS_TIMER1(id) (id & 0x2) argument 25 #define IS_TIMER0(id) (!IS_TIMER1(id)) argument 26 #define IS_TIMER_TOP(id) ((id & 0x1)) argument 27 #define IS_TIMER_BOT(id) (!IS_TIMER_TOP(id)) argument 29 #define ID_TO_TIMER(id) (IS_TIMER1(id) != 0) argument
|
/arch/mips/paravirt/ |
D | paravirt-smp.c | 47 int id; in paravirt_smp_setup() local 54 for (id = 0; id < NR_CPUS; id++) { in paravirt_smp_setup() 55 set_cpu_possible(id, id == 0); in paravirt_smp_setup() 56 set_cpu_present(id, id == 0); in paravirt_smp_setup() 61 for (id = 0; id < numcpus; id++) { in paravirt_smp_setup() 62 set_cpu_possible(id, true); in paravirt_smp_setup() 63 set_cpu_present(id, true); in paravirt_smp_setup() 64 __cpu_number_map[id] = id; in paravirt_smp_setup() 65 __cpu_logical_map[id] = id; in paravirt_smp_setup()
|
/arch/mips/bcm63xx/ |
D | timer.c | 57 int bcm63xx_timer_enable(int id) in bcm63xx_timer_enable() argument 62 if (id >= BCM63XX_TIMER_COUNT) in bcm63xx_timer_enable() 67 reg = bcm_timer_readl(TIMER_CTLx_REG(id)); in bcm63xx_timer_enable() 69 bcm_timer_writel(reg, TIMER_CTLx_REG(id)); in bcm63xx_timer_enable() 72 reg |= TIMER_IRQSTAT_TIMER_IR_EN(id); in bcm63xx_timer_enable() 81 int bcm63xx_timer_disable(int id) in bcm63xx_timer_disable() argument 86 if (id >= BCM63XX_TIMER_COUNT) in bcm63xx_timer_disable() 91 reg = bcm_timer_readl(TIMER_CTLx_REG(id)); in bcm63xx_timer_disable() 93 bcm_timer_writel(reg, TIMER_CTLx_REG(id)); in bcm63xx_timer_disable() 96 reg &= ~TIMER_IRQSTAT_TIMER_IR_EN(id); in bcm63xx_timer_disable() [all …]
|
D | dev-uart.c | 39 .id = 0, 46 .id = 1, 52 int __init bcm63xx_uart_register(unsigned int id) in bcm63xx_uart_register() argument 54 if (id >= ARRAY_SIZE(bcm63xx_uart_devices)) in bcm63xx_uart_register() 57 if (id == 1 && (!BCMCPU_IS_3368() && !BCMCPU_IS_6358() && in bcm63xx_uart_register() 61 if (id == 0) { in bcm63xx_uart_register() 68 if (id == 1) { in bcm63xx_uart_register() 75 return platform_device_register(&bcm63xx_uart_devices[id]); in bcm63xx_uart_register()
|
/arch/mips/ath79/ |
D | setup.c | 56 u32 id; in ath79_detect_sys_type() local 62 id = ath79_reset_rr(AR71XX_RESET_REG_REV_ID); in ath79_detect_sys_type() 63 major = id & REV_ID_MAJOR_MASK; in ath79_detect_sys_type() 67 minor = id & AR71XX_REV_ID_MINOR_MASK; in ath79_detect_sys_type() 68 rev = id >> AR71XX_REV_ID_REVISION_SHIFT; in ath79_detect_sys_type() 91 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 97 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 103 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 107 minor = id & AR913X_REV_ID_MINOR_MASK; in ath79_detect_sys_type() 108 rev = id >> AR913X_REV_ID_REVISION_SHIFT; in ath79_detect_sys_type() [all …]
|
/arch/m68k/emu/ |
D | natfeat.c | 68 long id = nf_get_id("NF_SHUTDOWN"); in nf_poweroff() local 70 if (id) in nf_poweroff() 71 nf_call(id); in nf_poweroff() 76 unsigned long id, version; in nf_init() local 79 id = nf_get_id("NF_VERSION"); in nf_init() 80 if (!id) in nf_init() 82 version = nf_call(id); in nf_init() 84 id = nf_get_id("NF_NAME"); in nf_init() 85 if (!id) in nf_init() 87 nf_call(id, virt_to_phys(buf), 256); in nf_init()
|
/arch/arm/mach-s3c64xx/ |
D | mach-crag6410-module.c | 324 u8 id; member 334 { .id = 0x01, .rev = 0xff, .name = "1250-EV1 Springbank" }, 335 { .id = 0x02, .rev = 0xff, .name = "1251-EV1 Jura" }, 336 { .id = 0x03, .rev = 0xff, .name = "1252-EV1 Glenlivet" }, 337 { .id = 0x06, .rev = 0xff, .name = "WM8997-6721-CS96-EV1 Lapraoig" }, 338 { .id = 0x07, .rev = 0xff, .name = "WM5110-6271 Deanston", 341 { .id = 0x08, .rev = 0xff, .name = "WM8903-6102 Tamdhu" }, 342 { .id = 0x09, .rev = 0xff, .name = "WM1811A-6305 Adelphi" }, 343 { .id = 0x0a, .rev = 0xff, .name = "WM8996-6272 Blackadder" }, 344 { .id = 0x0b, .rev = 0xff, .name = "WM8994-6235 Benromach" }, [all …]
|
/arch/arm/mach-imx/ |
D | devices-imx27.h | 29 #define imx27_add_imx_i2c(id, pdata) \ argument 30 imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata) 37 #define imx27_add_imx_ssi(id, pdata) \ argument 38 imx_add_imx_ssi(&imx27_imx_ssi_data[id], pdata) 41 #define imx27_add_imx_uart(id, pdata) \ argument 42 imx_add_imx_uart_1irq(&imx27_imx_uart_data[id], pdata) 62 #define imx27_add_mxc_ehci_hs(id, pdata) \ argument 63 imx_add_mxc_ehci(&imx27_mxc_ehci_hs_data[id - 1], pdata) 66 #define imx27_add_mxc_mmc(id, pdata) \ argument 67 imx_add_mxc_mmc(&imx27_mxc_mmc_data[id], pdata) [all …]
|
D | devices-imx35.h | 17 #define imx35_add_flexcan(id) \ argument 18 imx_add_flexcan(&imx35_flexcan_data[id]) 27 #define imx35_add_imx_i2c(id, pdata) \ argument 28 imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) 38 #define imx35_add_imx_ssi(id, pdata) \ argument 39 imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata) 42 #define imx35_add_imx_uart(id, pdata) \ argument 43 imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) 76 #define imx35_add_sdhci_esdhc_imx(id, pdata) \ argument 77 imx_add_sdhci_esdhc_imx(&imx35_sdhci_esdhc_imx_data[id], pdata) [all …]
|
D | devices-imx31.h | 17 #define imx31_add_imx_i2c(id, pdata) \ argument 18 imx_add_imx_i2c(&imx31_imx_i2c_data[id], pdata) 28 #define imx31_add_imx_ssi(id, pdata) \ argument 29 imx_add_imx_ssi(&imx31_imx_ssi_data[id], pdata) 32 #define imx31_add_imx_uart(id, pdata) \ argument 33 imx_add_imx_uart_1irq(&imx31_imx_uart_data[id], pdata) 52 #define imx31_add_mxc_ehci_hs(id, pdata) \ argument 53 imx_add_mxc_ehci(&imx31_mxc_ehci_hs_data[id - 1], pdata) 56 #define imx31_add_mxc_mmc(id, pdata) \ argument 57 imx_add_mxc_mmc(&imx31_mxc_mmc_data[id], pdata) [all …]
|
D | devices-imx21.h | 29 #define imx21_add_imx_ssi(id, pdata) \ argument 30 imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) 33 #define imx21_add_imx_uart(id, pdata) \ argument 34 imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata) 41 #define imx21_add_mxc_mmc(id, pdata) \ argument 42 imx_add_mxc_mmc(&imx21_mxc_mmc_data[id], pdata) 53 #define imx21_add_cspi(id, pdata) \ argument 54 imx_add_spi_imx(&imx21_cspi_data[id], pdata)
|
/arch/arm/mach-clps711x/ |
D | board-dt.c | 46 u32 id[5]; in clps711x_init() local 48 id[0] = readl(CLPS711X_VIRT_BASE + UNIQID); in clps711x_init() 49 id[1] = readl(CLPS711X_VIRT_BASE + RANDID0); in clps711x_init() 50 id[2] = readl(CLPS711X_VIRT_BASE + RANDID1); in clps711x_init() 51 id[3] = readl(CLPS711X_VIRT_BASE + RANDID2); in clps711x_init() 52 id[4] = readl(CLPS711X_VIRT_BASE + RANDID3); in clps711x_init() 55 add_device_randomness(id, sizeof(id)); in clps711x_init() 57 system_serial_low = id[0]; in clps711x_init()
|
/arch/mips/ralink/ |
D | reset.c | 26 unsigned long id) in ralink_assert_device() argument 30 if (id < 8) in ralink_assert_device() 34 val |= BIT(id); in ralink_assert_device() 41 unsigned long id) in ralink_deassert_device() argument 45 if (id < 8) in ralink_deassert_device() 49 val &= ~BIT(id); in ralink_deassert_device() 56 unsigned long id) in ralink_reset_device() argument 58 ralink_assert_device(rcdev, id); in ralink_reset_device() 59 return ralink_deassert_device(rcdev, id); in ralink_reset_device()
|
/arch/mips/sgi-ip22/ |
D | ip22-gio.c | 19 __u8 id; member 21 { .name = "SGI Impact", .id = 0x10 }, 22 { .name = "Phobos G160", .id = 0x35 }, 23 { .name = "Phobos G130", .id = 0x36 }, 24 { .name = "Phobos G100", .id = 0x37 }, 25 { .name = "Set Engineering GFE", .id = 0x38 }, 27 { .name = "SGI Newport", .id = 0x7e }, 28 { .name = "SGI GR2/GR3", .id = 0x7f }, 55 for (ids = match; ids->id != 0xff; ids++) in gio_match_device() 56 if (ids->id == dev->id.id) in gio_match_device() [all …]
|
/arch/arm/mach-pxa/ |
D | devices.c | 48 .id = -1, 70 .id = 0, 111 .id = -1, 122 .id = -1, 147 .id = -1, 175 .id = -1, 204 .id = 0, 228 .id = 1, 252 .id = 2, 276 .id = 3, [all …]
|
D | stargate2.c | 148 .id = -1, 329 .id = 0, 461 .id = -1, 470 .id = DA9030_ID_LDO2, 474 .id = DA9030_ID_LDO3, 478 .id = DA9030_ID_LDO4, 482 .id = DA9030_ID_LDO5, 486 .id = DA9030_ID_LDO6, 490 .id = DA9030_ID_LDO7, 494 .id = DA9030_ID_LDO8, [all …]
|
/arch/powerpc/mm/book3s64/ |
D | mmu_context.c | 31 void hash__reserve_context_id(int id) in hash__reserve_context_id() argument 33 int result = ida_alloc_range(&mmu_context_ida, id, id, GFP_KERNEL); in hash__reserve_context_id() 35 WARN(result != id, "mmu: Failed to reserve context id %d (rc %d)\n", id, result); in hash__reserve_context_id() 55 int i, id; in realloc_context_ids() local 71 id = hash__alloc_context_id(); in realloc_context_ids() 72 if (id < 0) in realloc_context_ids() 75 ctx->extended_id[i] = id; in realloc_context_ids() 80 return ctx->id; in realloc_context_ids() 88 return id; in realloc_context_ids() 114 if (mm->context.id == 0) { in hash__init_new_context() [all …]
|
/arch/um/kernel/skas/ |
D | mmu.c | 62 to_mm->id.stack = stack; in init_new_context() 68 to_mm->id.u.pid = copy_context_skas0(stack, in init_new_context() 69 from_mm->id.u.pid); in init_new_context() 70 else to_mm->id.u.pid = start_userspace(stack); in init_new_context() 73 if (to_mm->id.u.pid < 0) { in init_new_context() 74 ret = to_mm->id.u.pid; in init_new_context() 88 if (to_mm->id.stack != 0) in init_new_context() 89 free_page(to_mm->id.stack); in init_new_context() 103 ret = init_stub_pte(mm, STUB_DATA, mm->context.id.stack); in uml_setup_stubs() 108 mm->context.stub_pages[1] = virt_to_page(mm->context.id.stack); in uml_setup_stubs() [all …]
|
/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_timer.h | 5 int bcm63xx_timer_register(int id, void (*callback)(void *data), void *data); 6 void bcm63xx_timer_unregister(int id); 7 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us); 8 int bcm63xx_timer_enable(int id); 9 int bcm63xx_timer_disable(int id);
|
/arch/arm/kvm/ |
D | coproc.c | 721 static bool index_to_params(u64 id, struct coproc_params *params) in index_to_params() argument 723 switch (id & KVM_REG_SIZE_MASK) { in index_to_params() 726 if (id & ~(KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK in index_to_params() 735 params->CRn = ((id & KVM_REG_ARM_32_CRN_MASK) in index_to_params() 737 params->CRm = ((id & KVM_REG_ARM_CRM_MASK) in index_to_params() 739 params->Op1 = ((id & KVM_REG_ARM_OPC1_MASK) in index_to_params() 741 params->Op2 = ((id & KVM_REG_ARM_32_OPC2_MASK) in index_to_params() 746 if (id & ~(KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK in index_to_params() 753 params->CRn = ((id & KVM_REG_ARM_CRM_MASK) in index_to_params() 755 params->Op1 = ((id & KVM_REG_ARM_OPC1_MASK) in index_to_params() [all …]
|