Home
last modified time | relevance | path

Searched refs:curs (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv50/
H A Dcurs507a.c83 if (asyh->curs.handle != handle || asyh->curs.offset != offset) { in curs507a_prepare()
84 asyh->curs.handle = handle; in curs507a_prepare()
85 asyh->curs.offset = offset; in curs507a_prepare()
86 asyh->set.curs = asyh->curs.visible; in curs507a_prepare()
94 asyh->curs.visible = false; in curs507a_release()
108 asyh->curs.visible = asyw->state.visible; in curs507a_acquire()
109 if (ret || !asyh->curs.visible) in curs507a_acquire()
H A Dhead917d.c90 NVVAL(NV917D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head917d_curs_set()
91 NVVAL(NV917D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head917d_curs_set()
96 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head917d_curs_set()
98 PUSH_MTHD(push, NV917D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head917d_curs_set()
107 case 32: asyh->curs.layout = NV917D_HEAD_SET_CONTROL_CURSOR_SIZE_W32_H32; break; in head917d_curs_layout()
108 case 64: asyh->curs.layout = NV917D_HEAD_SET_CONTROL_CURSOR_SIZE_W64_H64; break; in head917d_curs_layout()
109 case 128: asyh->curs.layout = NV917D_HEAD_SET_CONTROL_CURSOR_SIZE_W128_H128; break; in head917d_curs_layout()
110 case 256: asyh->curs.layout = NV917D_HEAD_SET_CONTROL_CURSOR_SIZE_W256_H256; break; in head917d_curs_layout()
H A Dhead.c48 if (clr.curs) head->func->curs_clr(head); in nv50_head_flush_clr()
54 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw()
384 asyh->curs.visible = false; in nv50_head_atomic_check()
398 if (asyh->curs.visible) { in nv50_head_atomic_check()
399 if (memcmp(&armh->curs, &asyh->curs, sizeof(asyh->curs))) in nv50_head_atomic_check()
400 asyh->set.curs = true; in nv50_head_atomic_check()
402 if (armh->curs.visible) { in nv50_head_atomic_check()
403 asyh->clr.curs = true; in nv50_head_atomic_check()
416 asyh->clr.curs = armh->curs.visible; in nv50_head_atomic_check()
419 asyh->set.curs = asyh->curs.visible; in nv50_head_atomic_check()
[all …]
H A Dhead507d.c151 NVVAL(NV507D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head507d_curs_set()
152 NVVAL(NV507D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head507d_curs_set()
158 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head507d_curs_set()
167 case 0xcf: asyh->curs.format = NV507D_HEAD_SET_CONTROL_CURSOR_FORMAT_A8R8G8B8; break; in head507d_curs_format()
180 case 32: asyh->curs.layout = NV507D_HEAD_SET_CONTROL_CURSOR_SIZE_W32_H32; break; in head507d_curs_layout()
181 case 64: asyh->curs.layout = NV507D_HEAD_SET_CONTROL_CURSOR_SIZE_W64_H64; break; in head507d_curs_layout()
241 asyh->set.curs = asyh->curs.visible; in head507d_core_set()
257 (asyh->core.visible = asyh->curs.visible)) { in head507d_core_calc()
H A Dhead827d.c60 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head827d_curs_set()
61 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head827d_curs_set()
67 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head827d_curs_set()
69 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head827d_curs_set()
H A Dheadc37d.c134 NVVAL(NVC37D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in headc37d_curs_set()
135 NVVAL(NVC37D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in headc37d_curs_set()
148 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CURSOR(i, 0), asyh->curs.handle); in headc37d_curs_set()
149 PUSH_MTHD(push, NVC37D, HEAD_SET_OFFSET_CURSOR(i, 0), asyh->curs.offset >> 8); in headc37d_curs_set()
157 asyh->curs.format = asyw->image.format; in headc37d_curs_format()
H A Datom.h89 } curs; member
137 bool curs:1; member
H A Dhead907d.c183 NVVAL(NV907D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head907d_curs_set()
184 NVVAL(NV907D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head907d_curs_set()
189 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head907d_curs_set()
191 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head907d_curs_set()
H A DKbuild47 nouveau-y += dispnv50/curs.o
/OK3568_Linux_fs/kernel/net/smc/
H A Dsmc_cdc.c226 union smc_host_cursor curs; in smcd_cdc_msg_send() local
232 curs.acurs.counter = atomic64_read(&conn->local_tx_ctrl.prod.acurs); in smcd_cdc_msg_send()
233 cdc.prod.wrap = curs.wrap; in smcd_cdc_msg_send()
234 cdc.prod.count = curs.count; in smcd_cdc_msg_send()
235 curs.acurs.counter = atomic64_read(&conn->local_tx_ctrl.cons.acurs); in smcd_cdc_msg_send()
236 cdc.cons.wrap = curs.wrap; in smcd_cdc_msg_send()
237 cdc.cons.count = curs.count; in smcd_cdc_msg_send()
243 smc_curs_copy(&conn->rx_curs_confirmed, &curs, conn); in smcd_cdc_msg_send()
H A Dsmc_cdc.h90 static inline void smc_curs_add(int size, union smc_host_cursor *curs, in smc_curs_add() argument
93 curs->count += value; in smc_curs_add()
94 if (curs->count >= size) { in smc_curs_add()
95 curs->wrap++; in smc_curs_add()
96 curs->count -= size; in smc_curs_add()
/OK3568_Linux_fs/external/xserver/dix/
H A Dcursor.c493 CursorPtr curs; in CreateRootCursor() local
509 &curs, serverClient, (XID) 0) != Success) in CreateRootCursor()
512 if (!AddResource(FakeClientID(0), RT_CURSOR, (void *) curs)) in CreateRootCursor()
515 return curs; in CreateRootCursor()
H A Devents.c5032 int grabtype, Cursor curs, Window confineToWin, CARD8 *status) in GrabDevice() argument
5069 if (curs == None) in GrabDevice()
5072 rc = dixLookupResourceByType((void **) &cursor, curs, RT_CURSOR, in GrabDevice()
5075 client->errorValue = curs; in GrabDevice()
/OK3568_Linux_fs/kernel/drivers/video/console/
H A Dvgacon.c476 int curs, cure; in vgacon_set_cursor_size() local
486 curs = inb_p(vga_video_port_val); in vgacon_set_cursor_size()
490 curs = 0; in vgacon_set_cursor_size()
494 curs = (curs & 0xc0) | from; in vgacon_set_cursor_size()
498 outb_p(curs, vga_video_port_val); in vgacon_set_cursor_size()
/OK3568_Linux_fs/kernel/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c191 …er12_rx(struct net_device *dev, struct baycom_state *bc, struct timespec64 *ts, unsigned char curs) in ser12_rx() argument
224 if (bc->modem.ser12.last_rxbit != curs) { in ser12_rx()
225 bc->modem.ser12.last_rxbit = curs; in ser12_rx()
/OK3568_Linux_fs/external/xserver/xfixes/
H A Dcursor.c631 CursorPtr curs = RefCursor(rcl->pNew); in ReplaceCursorLookup() local
634 *pCursorRef = curs; in ReplaceCursorLookup()
636 ChangeResourceValue(id, RT_CURSOR, curs); in ReplaceCursorLookup()
/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image.h3347 __m128i curs = _mm_slli_epi16(curr, 2); in stbi__resample_row_hv_2_simd() local
3350 __m128i curb = _mm_add_epi16(curs, bias); in stbi__resample_row_hv_2_simd()
3386 int16x8_t curs = vshlq_n_s16(curr, 2); in stbi__resample_row_hv_2_simd()
3389 int16x8_t even = vaddq_s16(curs, prvd); in stbi__resample_row_hv_2_simd()
3390 int16x8_t odd = vaddq_s16(curs, nxtd); in stbi__resample_row_hv_2_simd()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image.h3347 __m128i curs = _mm_slli_epi16(curr, 2); in stbi__resample_row_hv_2_simd() local
3350 __m128i curb = _mm_add_epi16(curs, bias); in stbi__resample_row_hv_2_simd()
3386 int16x8_t curs = vshlq_n_s16(curr, 2); in stbi__resample_row_hv_2_simd()
3389 int16x8_t even = vaddq_s16(curs, prvd); in stbi__resample_row_hv_2_simd()
3390 int16x8_t odd = vaddq_s16(curs, nxtd); in stbi__resample_row_hv_2_simd()
/OK3568_Linux_fs/buildroot/package/oracle-mysql/
H A D0005-bison_3_breaks_mysql_server_build.patch311 $$.conds= $$.hndlrs= $$.curs= 0;
319 $$.vars= $$.hndlrs= $$.curs= 0;