Searched refs:read_loc (Results 1 – 2 of 2) sorted by relevance
/drivers/hv/ |
D | ring_buffer.c | 143 u32 read_loc, write_loc, dsize; in hv_get_ringbuffer_availbytes() local 146 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_ringbuffer_availbytes() 150 *write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : in hv_get_ringbuffer_availbytes() 151 read_loc - write_loc; in hv_get_ringbuffer_availbytes()
|
/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 1593 int ret, reg_off = FLASH_BUF_ACC, read_loc = 0; in qcom_nandc_read_cw_raw() local 1617 nandc_set_read_loc(nandc, 0, read_loc, data_size1, 0); in qcom_nandc_read_cw_raw() 1618 read_loc += data_size1; in qcom_nandc_read_cw_raw() 1620 nandc_set_read_loc(nandc, 1, read_loc, oob_size1, 0); in qcom_nandc_read_cw_raw() 1621 read_loc += oob_size1; in qcom_nandc_read_cw_raw() 1623 nandc_set_read_loc(nandc, 2, read_loc, data_size2, 0); in qcom_nandc_read_cw_raw() 1624 read_loc += data_size2; in qcom_nandc_read_cw_raw() 1626 nandc_set_read_loc(nandc, 3, read_loc, oob_size2, 1); in qcom_nandc_read_cw_raw()
|