Home
last modified time | relevance | path

Searched refs:dma_socket_fd (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Dxv.c93 int dma_socket_fd; member
103 close(port_priv->dma_socket_fd); in ms_exa_xv_set_dma_client()
110 port_priv->dma_socket_fd = socket(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0); in ms_exa_xv_set_dma_client()
111 if (port_priv->dma_socket_fd < 0) in ms_exa_xv_set_dma_client()
120 if (bind(port_priv->dma_socket_fd, in ms_exa_xv_set_dma_client()
128 if (port_priv->dma_socket_fd > 0) { in ms_exa_xv_set_dma_client()
129 close(port_priv->dma_socket_fd); in ms_exa_xv_set_dma_client()
130 port_priv->dma_socket_fd = 0; in ms_exa_xv_set_dma_client()
249 if (!port_priv->dma_client || port_priv->dma_socket_fd <= 0) in ms_exa_xv_create_dma_pixmap()
268 if (recvmsg(port_priv->dma_socket_fd, &msg, 0) < 0) in ms_exa_xv_create_dma_pixmap()
[all …]
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_xv.c287 close(port_priv->dma_socket_fd); in glamor_xv_set_dma_client()
294 port_priv->dma_socket_fd = socket(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0); in glamor_xv_set_dma_client()
295 if (port_priv->dma_socket_fd < 0) in glamor_xv_set_dma_client()
304 if (bind(port_priv->dma_socket_fd, in glamor_xv_set_dma_client()
312 if (port_priv->dma_socket_fd > 0) { in glamor_xv_set_dma_client()
313 close(port_priv->dma_socket_fd); in glamor_xv_set_dma_client()
314 port_priv->dma_socket_fd = 0; in glamor_xv_set_dma_client()
881 if (!port_priv->dma_client || port_priv->dma_socket_fd <= 0) in glamor_xv_put_dma_image()
901 if (recvmsg(port_priv->dma_socket_fd, &msg, 0) < 0) in glamor_xv_put_dma_image()
1135 port_priv->dma_socket_fd = 0; in glamor_xv_init_port()
H A Dglamor_priv.h896 int dma_socket_fd; member