Lines Matching refs:buffer_depth
91 u32 buffer_depth; member
110 depth = drvdata->buffer_depth; in __etb_enable_hw()
316 depth = drvdata->buffer_depth; in etb_dump_hw()
444 capacity = drvdata->buffer_depth * ETB_FRAME_SIZE_WORDS; in etb_update_buffer()
485 to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth); in etb_update_buffer()
508 read_ptr = (write_ptr + drvdata->buffer_depth) - in etb_update_buffer()
511 if (read_ptr > (drvdata->buffer_depth - 1)) in etb_update_buffer()
512 read_ptr -= drvdata->buffer_depth; in etb_update_buffer()
623 depth = drvdata->buffer_depth; in etb_read()
751 drvdata->buffer_depth = etb_get_buffer_depth(drvdata); in etb_probe()
753 if (drvdata->buffer_depth & 0x80000000) in etb_probe()
757 drvdata->buffer_depth, 4, GFP_KERNEL); in etb_probe()