Home
last modified time | relevance | path

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

/drivers/misc/sgi-gru/
Dgrukdump.c83 bytes = GRU_NUM_TFM * GRU_CACHE_LINE_BYTES; in gru_dump_tfm()
92 return GRU_NUM_TFM * GRU_CACHE_LINE_BYTES; in gru_dump_tfm()
104 bytes = GRU_NUM_TGH * GRU_CACHE_LINE_BYTES; in gru_dump_tgh()
113 return GRU_NUM_TGH * GRU_CACHE_LINE_BYTES; in gru_dump_tgh()
146 bytes = sizeof(hdr) + GRU_CACHE_LINE_BYTES; in gru_dump_context()
160 bytes += (3 * cbrcnt + dsrcnt) * GRU_CACHE_LINE_BYTES; in gru_dump_context()
Dgrukservices.c106 GRU_CACHE_LINE_BYTES)
113 __attribute__((__aligned__(GRU_CACHE_LINE_BYTES)))
538 struct message_header *mhdr = p + GRU_CACHE_LINE_BYTES; in get_present2()
544 struct message_header *mhdr = p + GRU_CACHE_LINE_BYTES; in restore_present2()
558 qlines = bytes / GRU_CACHE_LINE_BYTES - 2; in gru_create_message_queue()
561 mq->start2 = &mq->data + (qlines / 2 - 1) * GRU_CACHE_LINE_BYTES; in gru_create_message_queue()
563 mq->limit = &mq->data + (qlines - 2) * GRU_CACHE_LINE_BYTES; in gru_create_message_queue()
806 BUG_ON(bytes < sizeof(int) || bytes > 2 * GRU_CACHE_LINE_BYTES); in gru_send_message_gpa()
808 clines = DIV_ROUND_UP(bytes, GRU_CACHE_LINE_BYTES); in gru_send_message_gpa()
851 next = pnext + GRU_CACHE_LINE_BYTES * lines; in gru_free_message()
[all …]
Dgruhandles.h65 #define GRU_DSR_CL (GRU_NUM_DSR_BYTES / GRU_CACHE_LINE_BYTES)
66 #define GRU_DSR_AU_CL (GRU_DSR_AU_BYTES / GRU_CACHE_LINE_BYTES)
115 GRU_CACHE_LINE_BYTES * line); in get_gseg_base_address_ds()
Dgrumain.c481 prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES, in gru_prefetch_context()
482 GRU_CACHE_LINE_BYTES); in gru_prefetch_context()
485 prefetch_data(cb, 1, GRU_CACHE_LINE_BYTES); in gru_prefetch_context()
487 GRU_CACHE_LINE_BYTES); in gru_prefetch_context()
512 memset(cb, 0, GRU_CACHE_LINE_BYTES); in gru_load_context_data()
514 GRU_CACHE_LINE_BYTES); in gru_load_context_data()
Dgru.h25 #define GRU_CACHE_LINE_BYTES 64 macro
Dgru_instructions.h352 #define GRU_DINDEX(i) ((i) * GRU_CACHE_LINE_BYTES)
725 return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES; in gru_get_data_pointer()
Dgrufault.c332 vaddr = fault_vaddr + GRU_CACHE_LINE_BYTES * cbe->cbe_src_cl - 1; in gru_preload_tlb()
/drivers/misc/sgi-xp/
Dxpc_uv.c54 #define XPC_ACTIVATE_MSG_SIZE_UV (1 * GRU_CACHE_LINE_BYTES)
59 #define XPC_NOTIFY_MSG_SIZE_UV (2 * GRU_CACHE_LINE_BYTES)