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 | 117 int string_words = len / 4; in nvc0_emit_string_marker() local 122 string_words = MIN2(string_words, NV04_PFIFO_MAX_PACKET_LEN); in nvc0_emit_string_marker() 123 if (string_words == NV04_PFIFO_MAX_PACKET_LEN) in nvc0_emit_string_marker() 124 data_words = string_words; in nvc0_emit_string_marker() 126 data_words = string_words + !!(len & 3); in nvc0_emit_string_marker() 128 if (string_words) in nvc0_emit_string_marker() 129 PUSH_DATAp(push, str, string_words); in nvc0_emit_string_marker() 130 if (string_words != data_words) { in nvc0_emit_string_marker() 132 memcpy(&data, &str[string_words * 4], len & 3); in nvc0_emit_string_marker()
|