/arch/sh/mm/ |
D | extable_64.c | 49 const struct exception_table_entry *mid; in search_extable() local 51 mid = check_exception_ranges(value); in search_extable() 52 if (mid) in search_extable() 53 return mid; in search_extable() 58 mid = (last - first) / 2 + first; in search_extable() 59 diff = mid->insn - value; in search_extable() 61 return mid; in search_extable() 63 first = mid+1; in search_extable() 65 last = mid-1; in search_extable()
|
/arch/alpha/kernel/ |
D | core_mcpcia.c | 90 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_read() local 98 addr, type1, mid)); in conf_read() 101 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_read() 102 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; in conf_read() 104 *(vuip)MCPCIA_CAP_ERR(mid); in conf_read() 105 DBG_CFG(("conf_read: MCPCIA_CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_read() 111 mcheck_extra(cpu) = mid; in conf_read() 138 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_write() local 146 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_write() 147 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; mb(); in conf_write() [all …]
|
/arch/sparc/kernel/ |
D | devices.c | 35 phandle *prom_node, int *mid) in check_cpu_node() argument 40 if (mid) { in check_cpu_node() 41 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in check_cpu_node() 43 *mid &= 3; in check_cpu_node() 54 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by() argument 63 prom_node, mid); in __cpu_find_by() 82 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance() argument 85 prom_node, mid); in cpu_find_by_instance() 100 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid() argument 102 return __cpu_find_by(cpu_mid_compare, (void *)mid, in cpu_find_by_mid()
|
D | smp_32.c | 60 int mid; in smp_store_cpu_info() local 68 mid = cpu_get_hwmid(cpu_node); in smp_store_cpu_info() 70 if (mid < 0) { in smp_store_cpu_info() 72 mid = 0; in smp_store_cpu_info() 74 cpu_data(id).mid = mid; in smp_store_cpu_info() 231 int instance, mid; in smp_setup_cpu_possible_map() local 234 while (!cpu_find_by_instance(instance, NULL, &mid)) { in smp_setup_cpu_possible_map() 235 if (mid < NR_CPUS) { in smp_setup_cpu_possible_map() 236 set_cpu_possible(mid, true); in smp_setup_cpu_possible_map() 237 set_cpu_present(mid, true); in smp_setup_cpu_possible_map()
|
D | sun4d_irq.c | 280 int cpu = 0, mid; in sun4d_load_profile_irqs() local 282 while (!cpu_find_by_instance(cpu, NULL, &mid)) { in sun4d_load_profile_irqs() 283 sun4d_load_profile_irq(mid >> 3, 0); in sun4d_load_profile_irqs()
|
D | sun4m_irq.c | 435 int len, i, mid, num_cpu_iregs; in sun4m_init_IRQ() local 461 for (i = 0; !cpu_find_by_instance(i, NULL, &mid); i++) in sun4m_init_IRQ() 462 sbus_writel(~0x17fff, &sun4m_irq_percpu[mid]->clear); in sun4m_init_IRQ()
|
D | leon_kernel.c | 492 int mid; in leon_trans_init() local 494 memcpy(&mid, p->value, p->length); in leon_trans_init() 495 sprintf((char *)dp->name, "cpu%.2d", mid); in leon_trans_init()
|
/arch/frv/mm/ |
D | extable.c | 22 const struct exception_table_entry __attribute__((aligned(8))) *mid; in search_one_table() local 25 mid = (last - first) / 2 + first; in search_one_table() 26 diff = mid->insn - value; in search_one_table() 28 return mid->fixup; in search_one_table() 30 first = mid + 1; in search_one_table() 32 last = mid - 1; in search_one_table()
|
/arch/hexagon/lib/ |
D | checksum.c | 103 int i, start, mid, end, mask; in do_csum() local 115 mid = len - start; in do_csum() 116 end = mid & 0xF; in do_csum() 117 mid = mid>>4; in do_csum() 118 sum0 = mid << 18; in do_csum() 143 if (mid) { in do_csum() 146 if (mid > 1) in do_csum() 147 for (i = 0; i < mid-1; i++) { in do_csum() 163 ptr4 = (unsigned int *) &ptr[start + (mid * 16) + (end & 8)]; in do_csum() 170 ptr2 = (unsigned short *) &ptr[start + (mid * 16) + (end & 12)]; in do_csum() [all …]
|
/arch/s390/mm/ |
D | extable.c | 17 const struct exception_table_entry *mid; in search_extable() local 21 mid = ((last - first) >> 1) + first; in search_extable() 22 addr = extable_insn(mid); in search_extable() 24 first = mid + 1; in search_extable() 26 last = mid - 1; in search_extable() 28 return mid; in search_extable()
|
/arch/ia64/mm/ |
D | extable.c | 87 const struct exception_table_entry *mid; in search_extable() local 92 mid = &first[(last - first)/2]; in search_extable() 93 mid_ip = (u64) &mid->addr + mid->addr; in search_extable() 96 return mid; in search_extable() 98 first = mid + 1; in search_extable() 100 last = mid - 1; in search_extable()
|
/arch/alpha/mm/ |
D | extable.c | 78 const struct exception_table_entry *mid; in search_extable() local 81 mid = (last - first) / 2 + first; in search_extable() 82 mid_value = ex_to_addr(mid); in search_extable() 84 return mid; in search_extable() 86 first = mid+1; in search_extable() 88 last = mid-1; in search_extable()
|
/arch/x86/mm/ |
D | extable.c | 87 const struct exception_table_entry *mid; in search_extable() local 90 mid = ((last - first) >> 1) + first; in search_extable() 91 addr = ex_insn_addr(mid); in search_extable() 93 first = mid + 1; in search_extable() 95 last = mid - 1; in search_extable() 97 return mid; in search_extable()
|
/arch/x86/xen/ |
D | p2m.c | 247 static void p2m_mid_init(unsigned long **mid, unsigned long *leaf) in p2m_mid_init() argument 252 mid[i] = leaf; in p2m_mid_init() 255 static void p2m_mid_mfn_init(unsigned long *mid, unsigned long *leaf) in p2m_mid_mfn_init() argument 260 mid[i] = virt_to_mfn(leaf); in p2m_mid_mfn_init() 306 unsigned long **mid; in xen_build_mfn_list_list() local 309 mid = p2m_top[topidx]; in xen_build_mfn_list_list() 316 if (mid == p2m_mid_missing) { in xen_build_mfn_list_list() 337 mid_mfn_p[mididx] = virt_to_mfn(mid[mididx]); in xen_build_mfn_list_list() 390 unsigned long **mid = extend_brk(PAGE_SIZE, PAGE_SIZE); in xen_build_dynamic_phys_to_machine() local 391 p2m_mid_init(mid, p2m_missing); in xen_build_dynamic_phys_to_machine() [all …]
|
/arch/arm/kernel/ |
D | unwind.c | 140 const struct unwind_idx *mid = start + ((stop - start) >> 1); in search_index() local 146 if (addr_prel31 - ((unsigned long)mid - (unsigned long)start) < in search_index() 147 mid->addr_offset) in search_index() 148 stop = mid; in search_index() 151 addr_prel31 -= ((unsigned long)mid - in search_index() 153 start = mid; in search_index() 170 const struct unwind_idx *mid = start + ((stop - start) >> 1); in unwind_find_origin() local 172 if (mid->addr_offset >= 0x40000000) in unwind_find_origin() 174 start = mid + 1; in unwind_find_origin() 177 stop = mid; in unwind_find_origin()
|
/arch/sparc/include/asm/ |
D | oplib_32.h | 177 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid); 178 int cpu_find_by_mid(int mid, phandle *prom_node);
|
D | cpudata_32.h | 23 int mid; member
|
D | iommu_32.h | 41 volatile unsigned long mid; /* IOMMU module-id */ member
|
D | hypervisor.h | 2876 unsigned long mid; /* MAU ID, 1 per core on Niagara */ member 2883 unsigned long mid; /* MAU ID, 1 per core on Niagara */ member
|
/arch/x86/platform/ |
D | Makefile | 7 obj-y += intel-mid/
|
/arch/x86/platform/intel-mid/ |
D | Makefile | 1 obj-$(CONFIG_X86_INTEL_MID) += intel-mid.o intel_mid_vrtc.o mfld.o mrfl.o
|
/arch/parisc/kernel/ |
D | unwind.c | 50 unsigned long lo, hi, mid; in find_unwind_entry_in_table() local 56 mid = (hi - lo) / 2 + lo; in find_unwind_entry_in_table() 57 e = &table->table[mid]; in find_unwind_entry_in_table() 59 hi = mid - 1; in find_unwind_entry_in_table() 61 lo = mid + 1; in find_unwind_entry_in_table()
|
/arch/avr32/kernel/ |
D | cpu.c | 208 u16 mid; member 214 { .mid = 0x1f, .pn = 0x1e82, .name = "AT32AP700x" }, 244 unsigned int mid = avr32_get_manufacturer_id(cpu); in get_chip_name() local 248 if (chip_names[i].mid == mid && chip_names[i].pn == pn) in get_chip_name()
|
/arch/s390/net/ |
D | bpf_jit_comp.c | 42 u8 *mid; member 74 if (jit->prg + 2 <= jit->mid) \ 81 if (jit->prg + 4 <= jit->mid) \ 106 if (jit->prg + 6 <= jit->mid) { \ 772 jit.lit = jit.mid; in bpf_jit_compile() 788 lit_len = jit.lit - jit.mid; in bpf_jit_compile() 796 jit.prg = jit.mid = jit.start + prg_len; in bpf_jit_compile() 807 print_fn_code(jit.start, jit.mid - jit.start); in bpf_jit_compile()
|
/arch/arm/boot/dts/ |
D | wm8650-mid.dts | 2 * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet
|