/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 734 static void vmw_sou_surface_fifo_commit(struct vmw_kms_dirty *dirty) in vmw_sou_surface_fifo_commit() argument 737 container_of(dirty, typeof(*sdirty), base); in vmw_sou_surface_fifo_commit() 738 struct vmw_kms_sou_dirty_cmd *cmd = dirty->cmd; in vmw_sou_surface_fifo_commit() 739 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit() 740 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit() 741 size_t region_size = dirty->num_hits * sizeof(SVGASignedRect); in vmw_sou_surface_fifo_commit() 763 cmd->body.destScreenId = dirty->unit->unit; in vmw_sou_surface_fifo_commit() 766 for (i = 0; i < dirty->num_hits; ++i, ++blit) { in vmw_sou_surface_fifo_commit() 773 vmw_fifo_commit(dirty->dev_priv, region_size + sizeof(*cmd)); in vmw_sou_surface_fifo_commit() 787 static void vmw_sou_surface_clip(struct vmw_kms_dirty *dirty) in vmw_sou_surface_clip() argument [all …]
|
D | vmwgfx_stdu.c | 743 static void vmw_stdu_dmabuf_clip(struct vmw_kms_dirty *dirty) in vmw_stdu_dmabuf_clip() argument 746 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_dmabuf_clip() 747 struct vmw_stdu_dma *cmd = dirty->cmd; in vmw_stdu_dmabuf_clip() 750 blit += dirty->num_hits; in vmw_stdu_dmabuf_clip() 751 blit->srcx = dirty->fb_x; in vmw_stdu_dmabuf_clip() 752 blit->srcy = dirty->fb_y; in vmw_stdu_dmabuf_clip() 753 blit->x = dirty->unit_x1; in vmw_stdu_dmabuf_clip() 754 blit->y = dirty->unit_y1; in vmw_stdu_dmabuf_clip() 756 blit->w = dirty->unit_x2 - dirty->unit_x1; in vmw_stdu_dmabuf_clip() 757 blit->h = dirty->unit_y2 - dirty->unit_y1; in vmw_stdu_dmabuf_clip() [all …]
|
D | vmwgfx_fb.c | 67 } dirty; member 190 spin_lock_irqsave(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush() 191 if (!par->dirty.active) { in vmw_fb_dirty_flush() 192 spin_unlock_irqrestore(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush() 204 dst_x1 = par->dirty.x1 - par->fb_x; in vmw_fb_dirty_flush() 205 dst_y1 = par->dirty.y1 - par->fb_y; in vmw_fb_dirty_flush() 209 dst_x2 = par->dirty.x2 - par->fb_x; in vmw_fb_dirty_flush() 210 dst_y2 = par->dirty.y2 - par->fb_y; in vmw_fb_dirty_flush() 218 par->dirty.x1 = par->dirty.x2 = 0; in vmw_fb_dirty_flush() 219 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_dirty_flush() [all …]
|
D | vmwgfx_kms.c | 512 .dirty = vmw_framebuffer_surface_dirty, 689 .dirty = vmw_framebuffer_dmabuf_dirty, 1720 struct vmw_kms_dirty *dirty) in vmw_kms_helper_dirty() argument 1727 dirty->dev_priv = dev_priv; in vmw_kms_helper_dirty() 1744 dirty->unit = unit; in vmw_kms_helper_dirty() 1745 if (dirty->fifo_reserve_size > 0) { in vmw_kms_helper_dirty() 1746 dirty->cmd = vmw_fifo_reserve(dev_priv, in vmw_kms_helper_dirty() 1747 dirty->fifo_reserve_size); in vmw_kms_helper_dirty() 1748 if (!dirty->cmd) { in vmw_kms_helper_dirty() 1753 memset(dirty->cmd, 0, dirty->fifo_reserve_size); in vmw_kms_helper_dirty() [all …]
|
D | vmwgfx_binding.c | 103 unsigned long dirty; member 720 unsigned long *dirty, in vmw_collect_dirty_view_ids() argument 728 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_view_ids() 739 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_view_ids() 927 if (!test_bit(VMW_BINDING_PS_SR_BIT, &sb->dirty)) in vmw_binding_emit_dirty_ps() 934 __clear_bit(VMW_BINDING_PS_SR_BIT, &sb->dirty); in vmw_binding_emit_dirty_ps() 957 unsigned long *dirty, in vmw_collect_dirty_vbs() argument 966 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_vbs() 983 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_vbs() 1049 while ((hit = find_next_bit(&cbs->dirty, VMW_BINDING_NUM_BITS, hit)) in vmw_binding_emit_dirty() [all …]
|
/drivers/gpu/drm/qxl/ |
D | qxl_fb.c | 58 } dirty; member 98 spin_lock_irqsave(&qfbdev->dirty.lock, flags); in qxl_fb_dirty_flush() 100 x1 = qfbdev->dirty.x1; in qxl_fb_dirty_flush() 101 x2 = qfbdev->dirty.x2; in qxl_fb_dirty_flush() 102 y1 = qfbdev->dirty.y1; in qxl_fb_dirty_flush() 103 y2 = qfbdev->dirty.y2; in qxl_fb_dirty_flush() 104 qfbdev->dirty.x1 = 0; in qxl_fb_dirty_flush() 105 qfbdev->dirty.x2 = 0; in qxl_fb_dirty_flush() 106 qfbdev->dirty.y1 = 0; in qxl_fb_dirty_flush() 107 qfbdev->dirty.y2 = 0; in qxl_fb_dirty_flush() [all …]
|
/drivers/gpu/drm/mga/ |
D | mga_state.c | 332 unsigned int dirty = sarea_priv->dirty; in mga_g200_emit_state() local 339 if (dirty & MGA_UPLOAD_CONTEXT) { in mga_g200_emit_state() 341 sarea_priv->dirty &= ~MGA_UPLOAD_CONTEXT; in mga_g200_emit_state() 344 if (dirty & MGA_UPLOAD_TEX0) { in mga_g200_emit_state() 346 sarea_priv->dirty &= ~MGA_UPLOAD_TEX0; in mga_g200_emit_state() 353 unsigned int dirty = sarea_priv->dirty; in mga_g400_emit_state() local 361 if (dirty & MGA_UPLOAD_CONTEXT) { in mga_g400_emit_state() 363 sarea_priv->dirty &= ~MGA_UPLOAD_CONTEXT; in mga_g400_emit_state() 366 if (dirty & MGA_UPLOAD_TEX0) { in mga_g400_emit_state() 368 sarea_priv->dirty &= ~MGA_UPLOAD_TEX0; in mga_g400_emit_state() [all …]
|
/drivers/md/ |
D | dm-cache-policy-cleaner.c | 28 bool dirty:1; member 45 struct list_head dirty; member 233 if (!e->dirty) { in __set_clear_dirty() 234 e->dirty = true; in __set_clear_dirty() 235 list_move(&e->list, &p->dirty); in __set_clear_dirty() 239 if (e->dirty) { in __set_clear_dirty() 241 e->dirty = false; in __set_clear_dirty() 270 if (e->dirty) in add_cache_entry() 271 list_add(&e->list, &p->dirty); in add_cache_entry() 287 e->dirty = false; /* blocks default to clean */ in wb_load_mapping() [all …]
|
D | dm-cache-policy-smq.c | 42 bool dirty:1; member 802 struct queue dirty; member 853 struct queue *q = &mq->dirty; in __update_writeback_sentinels() 899 q_push(&mq->dirty, sentinel); in __sentinels_init() 928 struct queue *q = e->dirty ? &mq->dirty : &mq->clean; in push_new() 943 if (e->dirty) { in push() 945 q_push_before(&mq->dirty, sentinel, e); in push() 963 __del(mq, e->dirty ? &mq->dirty : &mq->clean, e); in del() 984 if (e->dirty) { in requeue() 986 q_requeue_before(&mq->dirty, sentinel, e, 1u); in requeue() [all …]
|
D | dm-cache-metadata.h | 87 dm_cblock_t cblock, bool dirty, 94 int dm_cache_set_dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty);
|
D | dm-cache-policy-mq.c | 314 bool dirty:1; member 566 queue_push(e->dirty ? &mq->cache_dirty : &mq->cache_clean, in push() 578 queue_remove(e->dirty ? &mq->cache_dirty : &mq->cache_clean, &e->list); in del() 828 new_e->dirty = false; in pre_cache_to_cache() 879 e->dirty = false; in insert_in_pre_cache() 913 e->dirty = false; in insert_in_cache() 1082 e->dirty = set; in __mq_set_clear_dirty() 1113 e->dirty = false; /* this gets corrected in a minute */ in mq_load_mapping() 1232 e->dirty = false; in __mq_writeback_work() 1259 e->dirty = true; in __force_mapping()
|
/drivers/misc/sgi-gru/ |
D | gruhandles.c | 170 unsigned long vaddr, int asid, int dirty, in tfh_write_only() argument 177 tfh->dirty = dirty; in tfh_write_only() 186 unsigned long vaddr, int asid, int dirty, in tfh_write_restart() argument 193 tfh->dirty = dirty; in tfh_write_restart()
|
D | gruhandles.h | 298 unsigned int dirty:1; member 524 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize); 526 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
|
/drivers/gpu/drm/r128/ |
D | r128_state.c | 224 unsigned int dirty = sarea_priv->dirty; in r128_emit_state() local 226 DRM_DEBUG("dirty=0x%08x\n", dirty); in r128_emit_state() 228 if (dirty & R128_UPLOAD_CORE) { in r128_emit_state() 230 sarea_priv->dirty &= ~R128_UPLOAD_CORE; in r128_emit_state() 233 if (dirty & R128_UPLOAD_CONTEXT) { in r128_emit_state() 235 sarea_priv->dirty &= ~R128_UPLOAD_CONTEXT; in r128_emit_state() 238 if (dirty & R128_UPLOAD_SETUP) { in r128_emit_state() 240 sarea_priv->dirty &= ~R128_UPLOAD_SETUP; in r128_emit_state() 243 if (dirty & R128_UPLOAD_MASKS) { in r128_emit_state() 245 sarea_priv->dirty &= ~R128_UPLOAD_MASKS; in r128_emit_state() [all …]
|
/drivers/md/persistent-data/ |
D | dm-bitset.c | 68 if (!info->current_index_set || !info->dirty) in dm_bitset_flush() 80 info->dirty = false; in dm_bitset_flush() 99 info->dirty = false; in read_bits() 133 info->dirty = true; in dm_bitset_set_bit() 150 info->dirty = true; in dm_bitset_clear_bit()
|
/drivers/char/xilinx_hwicap/ |
D | buffer_icap.c | 273 bool dirty = false; in buffer_icap_set_configuration() local 282 dirty = true; in buffer_icap_set_configuration() 302 dirty = false; in buffer_icap_set_configuration() 306 if (dirty) { in buffer_icap_set_configuration()
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 28 uint32_t dirty; member 83 tilcdc_crtc->dirty &= ~stat[n]; in set_scanout() 108 tilcdc_crtc->dirty |= LCDC_END_OF_FRAME0 | LCDC_END_OF_FRAME1; in update_scanout() 631 uint32_t dirty = tilcdc_crtc->dirty & stat; in tilcdc_crtc_irq() local 635 if (dirty & LCDC_END_OF_FRAME0) in tilcdc_crtc_irq() 638 if (dirty & LCDC_END_OF_FRAME1) in tilcdc_crtc_irq() 650 if (dirty && !tilcdc_crtc->dirty) in tilcdc_crtc_irq()
|
/drivers/input/joystick/ |
D | grip_mp.c | 47 int dirty; /* has the state been updated? */ member 414 port->dirty = 1; in get_and_decode_packet() 425 port->dirty = 0; in get_and_decode_packet() 528 port->dirty = 0; in report_slot() 552 if (grip->port[i]->dirty) in grip_poll() 623 if (port->dirty) /* report initial state, if any */ in register_slot()
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 560 unsigned int dirty = sarea_priv->dirty; in i810EmitState() local 562 DRM_DEBUG("%x\n", dirty); in i810EmitState() 564 if (dirty & I810_UPLOAD_BUFFERS) { in i810EmitState() 566 sarea_priv->dirty &= ~I810_UPLOAD_BUFFERS; in i810EmitState() 569 if (dirty & I810_UPLOAD_CTX) { in i810EmitState() 571 sarea_priv->dirty &= ~I810_UPLOAD_CTX; in i810EmitState() 574 if (dirty & I810_UPLOAD_TEX0) { in i810EmitState() 576 sarea_priv->dirty &= ~I810_UPLOAD_TEX0; in i810EmitState() 579 if (dirty & I810_UPLOAD_TEX1) { in i810EmitState() 581 sarea_priv->dirty &= ~I810_UPLOAD_TEX1; in i810EmitState() [all …]
|
/drivers/staging/rdma/hfi1/ |
D | user_pages.c | 57 int dirty) in __hfi1_release_user_pages() argument 62 if (dirty) in __hfi1_release_user_pages()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 40 int dirty) in __qib_release_user_pages() argument 45 if (dirty) in __qib_release_user_pages()
|
/drivers/gpu/drm/radeon/ |
D | radeon_state.c | 471 unsigned int dirty) in radeon_emit_state() argument 474 DRM_DEBUG("dirty=0x%08x\n", dirty); in radeon_emit_state() 476 if (dirty & RADEON_UPLOAD_CONTEXT) { in radeon_emit_state() 507 if (dirty & RADEON_UPLOAD_VERTFMT) { in radeon_emit_state() 514 if (dirty & RADEON_UPLOAD_LINE) { in radeon_emit_state() 524 if (dirty & RADEON_UPLOAD_BUMPMAP) { in radeon_emit_state() 534 if (dirty & RADEON_UPLOAD_MASKS) { in radeon_emit_state() 543 if (dirty & RADEON_UPLOAD_VIEWPORT) { in radeon_emit_state() 555 if (dirty & RADEON_UPLOAD_SETUP) { in radeon_emit_state() 564 if (dirty & RADEON_UPLOAD_MISC) { in radeon_emit_state() [all …]
|
/drivers/char/ |
D | ps3flash.c | 40 bool dirty; member 65 if (!priv->dirty || priv->tag < 0) in ps3flash_writeback() 72 priv->dirty = false; in ps3flash_writeback() 232 priv->dirty = true; in ps3flash_write()
|
/drivers/staging/rdma/ipath/ |
D | ipath_user_pages.c | 41 int dirty) in __ipath_release_user_pages() argument 48 if (dirty) in __ipath_release_user_pages()
|
/drivers/net/ethernet/via/ |
D | via-velocity.c | 553 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes() 1441 int avail, dirty, unusable; in velocity_give_many_rx_descs() local 1453 dirty = vptr->rx.dirty - unusable; in velocity_give_many_rx_descs() 1455 dirty = (dirty > 0) ? dirty - 1 : vptr->options.numrx - 1; in velocity_give_many_rx_descs() 1456 vptr->rx.ring[dirty].rdesc0.len |= OWNED_BY_NIC; in velocity_give_many_rx_descs() 1556 int dirty = vptr->rx.dirty, done = 0; in velocity_rx_refill() local 1559 struct rx_desc *rd = vptr->rx.ring + dirty; in velocity_rx_refill() 1565 if (!vptr->rx.info[dirty].skb) { in velocity_rx_refill() 1566 if (velocity_alloc_rx_buf(vptr, dirty) < 0) in velocity_rx_refill() 1570 dirty = (dirty < vptr->options.numrx - 1) ? dirty + 1 : 0; in velocity_rx_refill() [all …]
|