Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/pci/ttpci/
Dbudget-core.c124 if (budget->buffer_size > budget->buffer_height * budget->buffer_width) { in start_ts_capture()
126 saa7146_write(dev, BASE_EVEN3, budget->buffer_height * budget->buffer_width); in start_ts_capture()
136 (budget->buffer_height << 16) | budget->buffer_width); in start_ts_capture()
450 budget->buffer_height = dma_buffer_size * 1024 / budget->buffer_width; in ttpci_budget_init()
451 if (budget->buffer_height > 0xfff) { in ttpci_budget_init()
452 budget->buffer_height /= 2; in ttpci_budget_init()
453 budget->buffer_height &= height_mask; in ttpci_budget_init()
454 budget->buffer_size = 2 * budget->buffer_height * budget->buffer_width; in ttpci_budget_init()
456 budget->buffer_height &= height_mask; in ttpci_budget_init()
457 budget->buffer_size = budget->buffer_height * budget->buffer_width; in ttpci_budget_init()
[all …]
Dbudget.h65 u32 buffer_height; member
Dbudget-patch.c604 saa7146_write(dev, RPS_THRESH1, budget->buffer_height | MASK_12 ); in budget_patch_attach()