Searched refs:string_words (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_context.c | 97 int string_words = len / 4; in nv50_emit_string_marker() local 102 string_words = MIN2(string_words, NV04_PFIFO_MAX_PACKET_LEN); in nv50_emit_string_marker() 103 if (string_words == NV04_PFIFO_MAX_PACKET_LEN) in nv50_emit_string_marker() 104 data_words = string_words; in nv50_emit_string_marker() 106 data_words = string_words + !!(len & 3); in nv50_emit_string_marker() 108 if (string_words) in nv50_emit_string_marker() 109 PUSH_DATAp(push, str, string_words); in nv50_emit_string_marker() 110 if (string_words != data_words) { in nv50_emit_string_marker() 112 memcpy(&data, &str[string_words * 4], len & 3); in nv50_emit_string_marker()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_context.c | 114 int string_words = len / 4; in nvc0_emit_string_marker() local 119 string_words = MIN2(string_words, NV04_PFIFO_MAX_PACKET_LEN); in nvc0_emit_string_marker() 120 if (string_words == NV04_PFIFO_MAX_PACKET_LEN) in nvc0_emit_string_marker() 121 data_words = string_words; in nvc0_emit_string_marker() 123 data_words = string_words + !!(len & 3); in nvc0_emit_string_marker() 125 if (string_words) in nvc0_emit_string_marker() 126 PUSH_DATAp(push, str, string_words); in nvc0_emit_string_marker() 127 if (string_words != data_words) { in nvc0_emit_string_marker() 129 memcpy(&data, &str[string_words * 4], len & 3); in nvc0_emit_string_marker()
|