Searched refs:sh2 (Results 1 - 16 of 16) sorted by relevance

/linux-4.1.27/arch/sh/include/cpu-common/cpu/
H A Dmmu_context.h2 * include/asm-sh/cpu-sh2/mmu_context.h
/linux-4.1.27/arch/sh/include/cpu-sh2/cpu/
H A Dfreq.h2 * include/asm-sh/cpu-sh2/freq.h
H A Dcache.h2 * include/asm-sh/cpu-sh2/cache.h
H A Dwatchdog.h2 * include/asm-sh/cpu-sh2/watchdog.h
/linux-4.1.27/lib/
H A Dreciprocal_div.c23 R.sh2 = max(l - 1, 0); reciprocal_value()
/linux-4.1.27/include/linux/
H A Dreciprocal_div.h24 u8 sh1, sh2; member in struct:reciprocal_value
32 return (t + ((a - t) >> R.sh1)) >> R.sh2; reciprocal_divide()
/linux-4.1.27/arch/sh/kernel/cpu/sh2/
H A Dex.S2 * arch/sh/kernel/cpu/sh2/ex.S
H A Dprobe.c2 * arch/sh/kernel/cpu/sh2/probe.c
H A Dclock-sh7619.c2 * arch/sh/kernel/cpu/sh2/clock-sh7619.c
H A Dentry.S2 * arch/sh/kernel/cpu/sh2/entry.S
/linux-4.1.27/arch/sh/mm/
H A Dcache-sh2.c2 * arch/sh/mm/cache-sh2.c
H A DMakefile7 cacheops-$(CONFIG_CPU_SH2) := cache-sh2.o
/linux-4.1.27/arch/sh/
H A DMakefile20 isa-$(CONFIG_CPU_SH2) := sh2
176 cpuincdir-$(CONFIG_CPU_SH2) += cpu-sh2
/linux-4.1.27/arch/sh/include/asm/
H A Dwatchdog.h30 * See cpu-sh2/watchdog.h for explanation of this stupidity..
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
H A Dentry.S7 * Based on arch/sh/kernel/cpu/sh2/entry.S
/linux-4.1.27/drivers/md/
H A Draid5.c729 static void lock_two_stripes(struct stripe_head *sh1, struct stripe_head *sh2) lock_two_stripes() argument
732 if (sh1 > sh2) { lock_two_stripes()
733 spin_lock(&sh2->stripe_lock); lock_two_stripes()
737 spin_lock_nested(&sh2->stripe_lock, 1); lock_two_stripes()
741 static void unlock_two_stripes(struct stripe_head *sh1, struct stripe_head *sh2) unlock_two_stripes() argument
744 spin_unlock(&sh2->stripe_lock); unlock_two_stripes()
2753 struct stripe_head sh2; compute_blocknr() local
2848 previous, &dummy1, &sh2); compute_blocknr()
2849 if (check != sh->sector || dummy1 != dd_idx || sh2.pd_idx != sh->pd_idx compute_blocknr()
2850 || sh2.qd_idx != sh->qd_idx) { compute_blocknr()
3946 struct stripe_head *sh2; handle_stripe_expansion() local
3952 sh2 = get_active_stripe(conf, s, 0, 1, 1); handle_stripe_expansion()
3953 if (sh2 == NULL) handle_stripe_expansion()
3959 if (!test_bit(STRIPE_EXPANDING, &sh2->state) || handle_stripe_expansion()
3960 test_bit(R5_Expanded, &sh2->dev[dd_idx].flags)) { handle_stripe_expansion()
3962 release_stripe(sh2); handle_stripe_expansion()
3968 tx = async_memcpy(sh2->dev[dd_idx].page, handle_stripe_expansion()
3972 set_bit(R5_Expanded, &sh2->dev[dd_idx].flags); handle_stripe_expansion()
3973 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); handle_stripe_expansion()
3975 if (j != sh2->pd_idx && handle_stripe_expansion()
3976 j != sh2->qd_idx && handle_stripe_expansion()
3977 !test_bit(R5_Expanded, &sh2->dev[j].flags)) handle_stripe_expansion()
3980 set_bit(STRIPE_EXPAND_READY, &sh2->state); handle_stripe_expansion()
3981 set_bit(STRIPE_HANDLE, &sh2->state); handle_stripe_expansion()
3983 release_stripe(sh2); handle_stripe_expansion()

Completed in 225 milliseconds