/drivers/gpu/drm/mga/ |
D | mga_drv.h | 67 drm_mga_age_t age; member 335 #define SET_AGE(age, h, w) \ argument 337 (age)->head = h; \ 338 (age)->wrap = w; \ 341 #define TEST_AGE(age, h, w) ((age)->wrap < w || \ argument 342 ((age)->wrap == w && \ 343 (age)->head < h)) 349 entry->age.head = (dev_priv->prim.tail + \ 351 entry->age.wrap = dev_priv->sarea_priv->last_wrap; \ 353 entry->age.head = 0; \ [all …]
|
D | mga_dma.c | 239 entry, entry->buf->idx, entry->age.head, in mga_freelist_print() 240 (unsigned long)(entry->age.head - dev_priv->primary->offset)); in mga_freelist_print() 259 SET_AGE(&dev_priv->head->age, MGA_BUFFER_USED, 0); in mga_freelist_init() 271 SET_AGE(&entry->age, MGA_BUFFER_FREE, 0); in mga_freelist_init() 319 SET_AGE(&buf_priv->list_entry->age, MGA_BUFFER_FREE, 0); 337 tail->age.head ? in mga_freelist_get() 338 (unsigned long)(tail->age.head - dev_priv->primary->offset) : 0, in mga_freelist_get() 339 tail->age.wrap); in mga_freelist_get() 343 if (TEST_AGE(&tail->age, head, wrap)) { in mga_freelist_get() 349 SET_AGE(&next->age, MGA_BUFFER_USED, 0); in mga_freelist_get() [all …]
|
/drivers/gpu/drm/savage/ |
D | savage_drv.h | 60 drm_savage_age_t age; member 65 drm_savage_age_t age; member 567 #define SET_AGE( age, e, w ) do { \ argument 568 (age)->event = e; \ 569 (age)->wrap = w; \ 572 #define TEST_AGE( age, e, w ) \ argument 573 ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) )
|
D | savage_bci.c | 227 SET_AGE(&entry->age, 0, 0); in savage_freelist_init() 256 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap); in savage_freelist_get() 259 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) { in savage_freelist_get() 277 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap); in savage_freelist_put() 307 SET_AGE(&dev_priv->dma_pages[i].age, 0, 0); in savage_dma_init() 326 SET_AGE(&dev_priv->dma_pages[i].age, event, wrap); in savage_dma_reset() 352 if (dev_priv->dma_pages[page].age.wrap > wrap || in savage_dma_wait() 353 (dev_priv->dma_pages[page].age.wrap == wrap && in savage_dma_wait() 354 dev_priv->dma_pages[page].age.event > event)) { in savage_dma_wait() 356 dev_priv->dma_pages[page].age.event) in savage_dma_wait() [all …]
|
D | savage_state.c | 1152 SET_AGE(&buf_priv->age, event, dev_priv->event_wrap); in savage_bci_cmdbuf()
|
/drivers/scsi/ |
D | libiscsi.c | 370 task->conn->session->age); in iscsi_prep_scsi_cmd_pdu() 767 task->conn->session->age); in __iscsi_conn_send_pdu() 1261 int age = 0, i = 0; in iscsi_verify_itt() local 1267 session->tt->parse_pdu_itt(conn, itt, &i, &age); in iscsi_verify_itt() 1270 age = ((__force u32)itt >> ISCSI_AGE_SHIFT) & ISCSI_AGE_MASK; in iscsi_verify_itt() 1273 if (age != session->age) { in iscsi_verify_itt() 1276 (__force u32)itt, session->age); in iscsi_verify_itt() 1310 if (task->sc->SCp.phase != conn->session->age) { in iscsi_itt_to_ctask() 1313 task->sc->SCp.phase, conn->session->age); in iscsi_itt_to_ctask() 1561 sc->SCp.phase = conn->session->age; in iscsi_alloc_task() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_drv.h | 123 unsigned int age; member 316 u32 age; member 2027 #define RADEON_DISPATCH_AGE( age ) do { \ argument 2029 OUT_RING( age ); \ 2032 #define RADEON_FRAME_AGE( age ) do { \ argument 2034 OUT_RING( age ); \ 2037 #define RADEON_CLEAR_AGE( age ) do { \ argument 2039 OUT_RING( age ); \ 2042 #define R600_DISPATCH_AGE(age) do { \ argument 2045 OUT_RING(age); \ [all …]
|
D | radeon_state.c | 1585 buf_priv->age = ++master_priv->sarea_priv->last_dispatch; in radeon_cp_discard_buffer() 1590 R600_DISPATCH_AGE(buf_priv->age); in radeon_cp_discard_buffer() 1594 RADEON_DISPATCH_AGE(buf_priv->age); in radeon_cp_discard_buffer()
|
D | r300_cmdbuf.c | 855 buf_priv->age = ++master_priv->sarea_priv->last_dispatch; in r300_discard_buffer()
|
D | radeon_cp.c | 1958 buf_priv->age <= in radeon_freelist_get() 1987 buf_priv->age = 0; in radeon_freelist_reset()
|
/drivers/net/wireless/prism54/ |
D | oid_mgt.c | 293 bss->age = le16_to_cpu(bss->age); in mgt_le_to_cpu() 362 bss->age = cpu_to_le16(bss->age); in mgt_cpu_to_le() 812 "basic_rates=0x%X\n", bss->age, in mgt_response_to_str() 826 i, list->bsslist[i].age, in mgt_response_to_str()
|
D | isl_oid.h | 67 short age; member
|
/drivers/gpu/drm/r128/ |
D | r128_cce.c | 779 dev_priv->head->age = R128_BUFFER_USED; 789 entry->age = R128_BUFFER_FREE; 834 if (buf->pending && buf_priv->age <= done_age) { in r128_freelist_get() 857 buf_priv->age = 0; in r128_freelist_reset()
|
D | r128_state.c | 612 buf_priv->age = dev_priv->sarea_priv->last_dispatch; in r128_cce_dispatch_vertex() 618 OUT_RING(buf_priv->age); in r128_cce_dispatch_vertex() 670 buf_priv->age = dev_priv->sarea_priv->last_dispatch; in r128_cce_dispatch_indirect() 676 OUT_RING(buf_priv->age); in r128_cce_dispatch_indirect() 751 buf_priv->age = dev_priv->sarea_priv->last_dispatch; in r128_cce_dispatch_indices() 757 OUT_RING(buf_priv->age); in r128_cce_dispatch_indices()
|
D | r128_drv.h | 59 unsigned int age; member 127 u32 age; member
|
/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1468 u32 sw_tag = (sess->age << cconn->task_idx_bits) | task->itt; in task_reserve_itt() 1493 chba->cdev, task, sw_tag, task->itt, sess->age, tag, *hdr_itt); in task_reserve_itt() 1497 void cxgbi_parse_pdu_itt(struct iscsi_conn *conn, itt_t itt, int *idx, int *age) in cxgbi_parse_pdu_itt() argument 1508 if (age) in cxgbi_parse_pdu_itt() 1509 *age = (sw_bits >> cconn->task_idx_bits) & ISCSI_AGE_MASK; in cxgbi_parse_pdu_itt() 1514 age ? *age : 0xFF); in cxgbi_parse_pdu_itt()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 305 hba->age++; in bnx2i_init_one()
|
D | bnx2i.h | 354 u32 age; member
|
D | bnx2i_iscsi.c | 397 bnx2i_ep->hba_age = hba->age; in bnx2i_alloc_ep() 1809 bnx2i_ep->hba_age = hba->age; in bnx2i_ep_connect() 2138 (bnx2i_ep->hba_age != hba->age)) { in bnx2i_ep_disconnect()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 217 du->cursor_age = du->cursor_surface->snooper.age; in vmw_du_crtc_cursor_set() 333 srf->snooper.age++; in vmw_kms_cursor_snoop() 360 du->cursor_age == du->cursor_surface->snooper.age) in vmw_kms_cursor_post_execbuf() 363 du->cursor_age = du->cursor_surface->snooper.age; in vmw_kms_cursor_post_execbuf()
|
D | vmwgfx_drv.h | 99 size_t age; member
|
/drivers/scsi/be2iscsi/ |
D | be_main.h | 309 unsigned int age; member
|
D | be_main.c | 3786 int *index, int *age) in beiscsi_parse_pdu() argument 3789 if (age) in beiscsi_parse_pdu() 3790 *age = conn->session->age; in beiscsi_parse_pdu()
|