Lines Matching refs:hmask

74 	unsigned long hmask = 0;  in __sbi_v01_cpumask_to_hartmask()  local
89 hmask |= BIT(hartid); in __sbi_v01_cpumask_to_hartmask()
92 return hmask; in __sbi_v01_cpumask_to_hartmask()
253 unsigned long hartid, cpuid, hmask = 0, hbase = 0, htop = 0; in __sbi_send_ipi_v02() local
262 if (hmask) { in __sbi_send_ipi_v02()
266 SBI_EXT_IPI_SEND_IPI, hmask, in __sbi_send_ipi_v02()
270 hmask = 0; in __sbi_send_ipi_v02()
273 hmask <<= hbase - hartid; in __sbi_send_ipi_v02()
277 if (!hmask) { in __sbi_send_ipi_v02()
283 hmask |= BIT(hartid - hbase); in __sbi_send_ipi_v02()
286 if (hmask) { in __sbi_send_ipi_v02()
288 hmask, hbase, 0, 0, 0, 0); in __sbi_send_ipi_v02()
298 __func__, hbase, hmask, result); in __sbi_send_ipi_v02()
302 static int __sbi_rfence_v02_call(unsigned long fid, unsigned long hmask, in __sbi_rfence_v02_call() argument
313 ret = sbi_ecall(ext, fid, hmask, hbase, 0, 0, 0, 0); in __sbi_rfence_v02_call()
316 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call()
320 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call()
325 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call()
329 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call()
333 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call()
337 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call()
349 __func__, hbase, hmask, result); in __sbi_rfence_v02_call()
359 unsigned long hartid, cpuid, hmask = 0, hbase = 0, htop = 0; in __sbi_rfence_v02() local
367 if (hmask) { in __sbi_rfence_v02()
370 result = __sbi_rfence_v02_call(fid, hmask, in __sbi_rfence_v02()
374 hmask = 0; in __sbi_rfence_v02()
377 hmask <<= hbase - hartid; in __sbi_rfence_v02()
381 if (!hmask) { in __sbi_rfence_v02()
387 hmask |= BIT(hartid - hbase); in __sbi_rfence_v02()
390 if (hmask) { in __sbi_rfence_v02()
391 result = __sbi_rfence_v02_call(fid, hmask, hbase, in __sbi_rfence_v02()