Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 22 of 22) sorted by relevance

/arch/alpha/kernel/
Dcore_mcpcia.c91 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_read() local
99 addr, type1, mid)); in conf_read()
102 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_read()
103 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; in conf_read()
105 *(vuip)MCPCIA_CAP_ERR(mid); in conf_read()
106 DBG_CFG(("conf_read: MCPCIA_CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_read()
112 mcheck_extra(cpu) = mid; in conf_read()
139 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_write() local
147 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_write()
148 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; mb(); in conf_write()
[all …]
/arch/sparc/kernel/
Ddevices.c36 phandle *prom_node, int *mid) in check_cpu_node() argument
41 if (mid) { in check_cpu_node()
42 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in check_cpu_node()
44 *mid &= 3; in check_cpu_node()
55 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by() argument
64 prom_node, mid); in __cpu_find_by()
83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance() argument
86 prom_node, mid); in cpu_find_by_instance()
101 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid() argument
103 return __cpu_find_by(cpu_mid_compare, (void *)mid, in cpu_find_by_mid()
Dsmp_32.c59 int mid; in smp_store_cpu_info() local
67 mid = cpu_get_hwmid(cpu_node); in smp_store_cpu_info()
69 if (mid < 0) { in smp_store_cpu_info()
71 mid = 0; in smp_store_cpu_info()
73 cpu_data(id).mid = mid; in smp_store_cpu_info()
230 int instance, mid; in smp_setup_cpu_possible_map() local
233 while (!cpu_find_by_instance(instance, NULL, &mid)) { in smp_setup_cpu_possible_map()
234 if (mid < NR_CPUS) { in smp_setup_cpu_possible_map()
235 set_cpu_possible(mid, true); in smp_setup_cpu_possible_map()
236 set_cpu_present(mid, true); in smp_setup_cpu_possible_map()
Dsun4m_irq.c438 int len, i, mid, num_cpu_iregs; in sun4m_init_IRQ() local
464 for (i = 0; !cpu_find_by_instance(i, NULL, &mid); i++) in sun4m_init_IRQ()
465 sbus_writel(~0x17fff, &sun4m_irq_percpu[mid]->clear); in sun4m_init_IRQ()
Dsun4d_irq.c281 int cpu = 0, mid; in sun4d_load_profile_irqs() local
283 while (!cpu_find_by_instance(cpu, NULL, &mid)) { in sun4d_load_profile_irqs()
284 sun4d_load_profile_irq(mid >> 3, 0); in sun4d_load_profile_irqs()
/arch/hexagon/lib/
Dchecksum.c88 int i, start, mid, end, mask; in do_csum() local
100 mid = len - start; in do_csum()
101 end = mid & 0xF; in do_csum()
102 mid = mid>>4; in do_csum()
103 sum0 = mid << 18; in do_csum()
128 if (mid) { in do_csum()
131 if (mid > 1) in do_csum()
132 for (i = 0; i < mid-1; i++) { in do_csum()
148 ptr4 = (unsigned int *) &ptr[start + (mid * 16) + (end & 8)]; in do_csum()
155 ptr2 = (unsigned short *) &ptr[start + (mid * 16) + (end & 12)]; in do_csum()
[all …]
/arch/arm/kernel/
Dunwind.c124 const struct unwind_idx *mid = start + ((stop - start) >> 1); in search_index() local
130 if (addr_prel31 - ((unsigned long)mid - (unsigned long)start) < in search_index()
131 mid->addr_offset) in search_index()
132 stop = mid; in search_index()
135 addr_prel31 -= ((unsigned long)mid - in search_index()
137 start = mid; in search_index()
154 const struct unwind_idx *mid = start + ((stop - start) >> 1); in unwind_find_origin() local
156 if (mid->addr_offset >= 0x40000000) in unwind_find_origin()
158 start = mid + 1; in unwind_find_origin()
161 stop = mid; in unwind_find_origin()
Dptrace.c343 long mid = ARM_MAX_BRP << 1; in ptrace_hbp_idx_to_num() local
345 return num > mid ? mid - num : num; in ptrace_hbp_idx_to_num()
/arch/sparc/include/asm/
Doplib_32.h178 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid);
179 int cpu_find_by_mid(int mid, phandle *prom_node);
Dcpudata_32.h24 int mid; member
Diommu_32.h42 volatile unsigned long mid; /* IOMMU module-id */ member
Dhypervisor.h3377 unsigned long mid; /* MAU ID, 1 per core on Niagara */ member
3384 unsigned long mid; /* MAU ID, 1 per core on Niagara */ member
/arch/x86/platform/intel-mid/
DMakefile2 obj-$(CONFIG_X86_INTEL_MID) += intel-mid.o pwr.o
/arch/x86/platform/
DMakefile9 obj-y += intel-mid/
/arch/parisc/kernel/
Dunwind.c52 unsigned long lo, hi, mid; in find_unwind_entry_in_table() local
58 mid = (hi - lo) / 2 + lo; in find_unwind_entry_in_table()
59 e = &table->table[mid]; in find_unwind_entry_in_table()
61 hi = mid - 1; in find_unwind_entry_in_table()
63 lo = mid + 1; in find_unwind_entry_in_table()
/arch/x86/kernel/
Dunwind_orc.c38 int *mid = first, *found = first; in __orc_find() local
50 mid = first + ((last - first) / 2); in __orc_find()
52 if (orc_ip(mid) <= ip) { in __orc_find()
53 found = mid; in __orc_find()
54 first = mid + 1; in __orc_find()
56 last = mid - 1; in __orc_find()
/arch/arm/boot/dts/
Dwm8650-mid.dts3 * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet
Darmada-370-synology-ds213j.dts242 fan_ctrl_mid_pin: fan-ctrl-mid-pin {
DMakefile1358 wm8650-mid.dtb \
/arch/x86/xen/
Dp2m.c158 static void p2m_mid_mfn_init(unsigned long *mid, unsigned long *leaf) in p2m_mid_mfn_init() argument
163 mid[i] = virt_to_mfn(leaf); in p2m_mid_mfn_init()
/arch/ia64/kernel/
Dunwind.c1504 unsigned long lo, hi, mid; in lookup() local
1508 mid = (lo + hi) / 2; in lookup()
1509 e = &table->array[mid]; in lookup()
1511 hi = mid; in lookup()
1513 lo = mid + 1; in lookup()
/arch/powerpc/xmon/
Dxmon.c191 static void xmon_print_symbol(unsigned long address, const char *mid,
3717 static void xmon_print_symbol(unsigned long address, const char *mid, in xmon_print_symbol() argument
3738 printf("%s%s+%#lx/%#lx", mid, name, offset, size); in xmon_print_symbol()