Home
last modified time | relevance | path

Searched refs:hwt (Results 1 – 3 of 3) sorted by relevance

/arch/tile/kernel/
Dhardwall.c162 #define mtspr_XDN(hwt, name, val) \ argument
163 do { (void)(hwt); __insn_mtspr(SPR_UDN_##name, (val)); } while (0)
164 #define mtspr_MPL_XDN(hwt, name, val) \ argument
165 do { (void)(hwt); __insn_mtspr(SPR_MPL_UDN_##name, (val)); } while (0)
166 #define mfspr_XDN(hwt, name) \ argument
167 ((void)(hwt), __insn_mfspr(SPR_UDN_##name))
169 #define mtspr_XDN(hwt, name, val) \ argument
171 if ((hwt)->is_idn) \
176 #define mtspr_MPL_XDN(hwt, name, val) \ argument
178 if ((hwt)->is_idn) \
[all …]
/arch/mips/include/asm/netlogic/xlp-hal/
Dpic.h333 nlm_pic_send_ipi(uint64_t base, int hwt, int irq, int nmi) in nlm_pic_send_ipi() argument
339 (0/*mcm*/ << 20) | (0/*ptr*/ << 16) | hwt; in nlm_pic_send_ipi()
342 ((hwt >> 4) << 16) | (1 << (hwt & 0xf)); in nlm_pic_send_ipi()
358 nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt, int en) in nlm_pic_init_irt() argument
360 nlm_pic_write_irt_direct(base, irt, en, 0, 0, irq, hwt); in nlm_pic_init_irt()
/arch/mips/include/asm/netlogic/xlr/
Dpic.h241 nlm_pic_send_ipi(uint64_t base, int hwt, int irq, int nmi) in nlm_pic_send_ipi() argument
245 tid = hwt & 0x3; in nlm_pic_send_ipi()
246 pid = (hwt >> 2) & 0x07; in nlm_pic_send_ipi()
258 nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt, int en) in nlm_pic_init_irt() argument
260 nlm_write_reg(base, PIC_IRT_0(irt), (1u << hwt)); in nlm_pic_init_irt()