| /drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_hw_pingpong.c | 79 struct dpu_hw_tear_check *te) in dpu_hw_pp_enable_te() argument 84 if (!pp || !te) in dpu_hw_pp_enable_te() 89 if (te->hw_vsync_mode) in dpu_hw_pp_enable_te() 92 cfg |= te->vsync_count; in dpu_hw_pp_enable_te() 95 DPU_REG_WRITE(c, PP_SYNC_CONFIG_HEIGHT, te->sync_cfg_height); in dpu_hw_pp_enable_te() 96 DPU_REG_WRITE(c, PP_VSYNC_INIT_VAL, te->vsync_init_val); in dpu_hw_pp_enable_te() 97 DPU_REG_WRITE(c, PP_RD_PTR_IRQ, te->rd_ptr_irq); in dpu_hw_pp_enable_te() 98 DPU_REG_WRITE(c, PP_START_POS, te->start_pos); in dpu_hw_pp_enable_te() 100 ((te->sync_threshold_continue << 16) | in dpu_hw_pp_enable_te() 101 te->sync_threshold_start)); in dpu_hw_pp_enable_te() [all …]
|
| A D | dpu_hw_intf.c | 350 struct dpu_hw_tear_check *te) in dpu_hw_intf_enable_te() argument 361 if (te->hw_vsync_mode) in dpu_hw_intf_enable_te() 364 cfg |= te->vsync_count; in dpu_hw_intf_enable_te() 367 DPU_REG_WRITE(c, INTF_TEAR_SYNC_CONFIG_HEIGHT, te->sync_cfg_height); in dpu_hw_intf_enable_te() 368 DPU_REG_WRITE(c, INTF_TEAR_VSYNC_INIT_VAL, te->vsync_init_val); in dpu_hw_intf_enable_te() 369 DPU_REG_WRITE(c, INTF_TEAR_RD_PTR_IRQ, te->rd_ptr_irq); in dpu_hw_intf_enable_te() 370 DPU_REG_WRITE(c, INTF_TEAR_START_POS, te->start_pos); in dpu_hw_intf_enable_te() 372 ((te->sync_threshold_continue << 16) | in dpu_hw_intf_enable_te() 373 te->sync_threshold_start)); in dpu_hw_intf_enable_te() 375 (te->start_pos + te->sync_threshold_start + 1)); in dpu_hw_intf_enable_te()
|
| /drivers/staging/fbtft/ |
| A D | fb_st7789v.c | 94 struct gpio_desc *te; in init_tearing_effect_line() local 97 te = gpiod_get_optional(dev, "te", GPIOD_IN); in init_tearing_effect_line() 98 if (IS_ERR(te)) in init_tearing_effect_line() 99 return dev_err_probe(dev, PTR_ERR(te), "Failed to request te GPIO\n"); in init_tearing_effect_line() 102 if (!te) { in init_tearing_effect_line() 107 irq = gpiod_to_irq(te); in init_tearing_effect_line() 110 gpiod_put(te); in init_tearing_effect_line()
|
| /drivers/staging/greybus/ |
| A D | loopback.c | 365 static u64 gb_loopback_calc_latency(ktime_t ts, ktime_t te) in gb_loopback_calc_latency() argument 375 ktime_t ts, te; in gb_loopback_operation_sync() local 406 te = ktime_get(); in gb_loopback_operation_sync() 409 gb->elapsed_nsecs = gb_loopback_calc_latency(ts, te); in gb_loopback_operation_sync() 427 ktime_t te; in gb_loopback_async_operation_callback() local 430 te = ktime_get(); in gb_loopback_async_operation_callback() 441 gb->elapsed_nsecs = gb_loopback_calc_latency(op_async->ts, te); in gb_loopback_async_operation_callback() 802 ktime_t te; in gb_loopback_calculate_stats() local 809 te = ktime_get(); in gb_loopback_calculate_stats() 810 nlat = gb_loopback_calc_latency(gb->ts, te); in gb_loopback_calculate_stats() [all …]
|
| /drivers/block/aoe/ |
| A D | aoeblk.c | 62 struct aoetgt **t, **te; in aoedisk_show_netif() local 70 te = t + d->ntargets; in aoedisk_show_netif() 71 for (; t < te && *t; t++) { in aoedisk_show_netif() 114 struct aoetgt **t, **te; in aoe_debugfs_show() local 130 te = t + d->ntargets; in aoe_debugfs_show() 131 for (; t < te && *t; t++) { in aoe_debugfs_show()
|
| A D | aoedev.c | 199 struct aoetgt *t, **tt, **te; in aoedev_downdev() local 221 te = tt + d->ntargets; in aoedev_downdev() 222 for (; tt < te && (t = *tt); tt++) { in aoedev_downdev()
|
| A D | aoecmd.c | 1449 struct aoetgt *t, **tt, **te; in addtgt() local 1452 te = tt + d->ntargets; in addtgt() 1453 for (; tt < te && *tt; tt++) in addtgt() 1456 if (tt == te) { in addtgt() 1622 struct aoetgt **t, **te; in aoecmd_cleanslate() local 1629 te = t + d->ntargets; in aoecmd_cleanslate() 1630 for (; t < te && *t; t++) in aoecmd_cleanslate()
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | display-sysfs.c | 72 bool te; in display_tear_store() local 77 r = kstrtobool(buf, &te); in display_tear_store() 81 r = dssdev->driver->enable_te(dssdev, te); in display_tear_store()
|
| /drivers/net/ethernet/chelsio/cxgb3/ |
| A D | cxgb3_offload.c | 1081 struct t3c_tid_entry *te; in cxgb_redirect() local 1100 te = lookup_tid(ti, tid); in cxgb_redirect() 1101 BUG_ON(!te); in cxgb_redirect() 1102 if (te && te->ctx && te->client && te->client->redirect) { in cxgb_redirect() 1103 update_tcb = te->client->redirect(te->ctx, old, new, e); in cxgb_redirect()
|
| /drivers/ata/ |
| A D | libata-core.c | 6561 struct ata_force_ent te = { .port = -1, .device = -1 }; in ata_parse_force_param() local 6564 if (ata_parse_force_one(&next, &te, &reason)) { in ata_parse_force_param() 6571 if (te.port == -1) { in ata_parse_force_param() 6572 te.port = last_port; in ata_parse_force_param() 6573 te.device = last_device; in ata_parse_force_param() 6576 ata_force_tbl[idx++] = te; in ata_parse_force_param() 6578 last_port = te.port; in ata_parse_force_param() 6579 last_device = te.device; in ata_parse_force_param()
|
| /drivers/pci/ |
| A D | quirks.c | 5874 int te; in quirk_switchtec_ntb_dma_alias() local 5896 for (te = 0; te < table_sz; te++) { in quirk_switchtec_ntb_dma_alias() 5900 rid_entry = ioread32(&mmio_peer_ctrl->req_id_table[te]); in quirk_switchtec_ntb_dma_alias()
|