Home
last modified time | relevance | path

Searched refs:GRU_CACHE_LINE_BYTES (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/misc/sgi-gru/
H A Dgrukdump.c73 if (GRU_NUM_TFM * GRU_CACHE_LINE_BYTES > ubufend - ubuf) in gru_dump_tfm()
81 return GRU_NUM_TFM * GRU_CACHE_LINE_BYTES; in gru_dump_tfm()
93 if (GRU_NUM_TGH * GRU_CACHE_LINE_BYTES > ubufend - ubuf) in gru_dump_tgh()
101 return GRU_NUM_TGH * GRU_CACHE_LINE_BYTES; in gru_dump_tgh()
137 bytes = sizeof(hdr) + GRU_CACHE_LINE_BYTES; in gru_dump_context()
151 bytes += (3 * cbrcnt + dsrcnt) * GRU_CACHE_LINE_BYTES; in gru_dump_context()
H A Dgrukservices.c94 GRU_CACHE_LINE_BYTES)
101 __attribute__((__aligned__(GRU_CACHE_LINE_BYTES)))
529 struct message_header *mhdr = p + GRU_CACHE_LINE_BYTES; in get_present2()
535 struct message_header *mhdr = p + GRU_CACHE_LINE_BYTES; in restore_present2()
549 qlines = bytes / GRU_CACHE_LINE_BYTES - 2; in gru_create_message_queue()
552 mq->start2 = &mq->data + (qlines / 2 - 1) * GRU_CACHE_LINE_BYTES; in gru_create_message_queue()
554 mq->limit = &mq->data + (qlines - 2) * GRU_CACHE_LINE_BYTES; in gru_create_message_queue()
803 BUG_ON(bytes < sizeof(int) || bytes > 2 * GRU_CACHE_LINE_BYTES); in gru_send_message_gpa()
805 clines = DIV_ROUND_UP(bytes, GRU_CACHE_LINE_BYTES); in gru_send_message_gpa()
848 next = pnext + GRU_CACHE_LINE_BYTES * lines; in gru_free_message()
[all …]
H A Dgruhandles.h52 #define GRU_DSR_CL (GRU_NUM_DSR_BYTES / GRU_CACHE_LINE_BYTES)
53 #define GRU_DSR_AU_CL (GRU_DSR_AU_BYTES / GRU_CACHE_LINE_BYTES)
102 GRU_CACHE_LINE_BYTES * line); in get_gseg_base_address_ds()
H A Dgru.h25 #define GRU_CACHE_LINE_BYTES 64 macro
H A Dgrumain.c464 prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES, in gru_prefetch_context()
465 GRU_CACHE_LINE_BYTES); in gru_prefetch_context()
468 prefetch_data(cb, 1, GRU_CACHE_LINE_BYTES); in gru_prefetch_context()
470 GRU_CACHE_LINE_BYTES); in gru_prefetch_context()
495 memset(cb, 0, GRU_CACHE_LINE_BYTES); in gru_load_context_data()
497 GRU_CACHE_LINE_BYTES); in gru_load_context_data()
H A Dgru_instructions.h342 #define GRU_DINDEX(i) ((i) * GRU_CACHE_LINE_BYTES)
715 return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES; in gru_get_data_pointer()
H A Dgrufault.c323 vaddr = fault_vaddr + GRU_CACHE_LINE_BYTES * cbe->cbe_src_cl - 1; in gru_preload_tlb()
/linux/drivers/misc/sgi-xp/
H A Dxpc_uv.c35 #define XPC_ACTIVATE_MSG_SIZE_UV (1 * GRU_CACHE_LINE_BYTES)
40 #define XPC_NOTIFY_MSG_SIZE_UV (2 * GRU_CACHE_LINE_BYTES)